On Thu, Sep 11, 2014 at 01:00:12AM +0300, Dimitris Aragiorgis wrote:
> From the man page, the --online option is supposed to mark an
> instance down only if it is already offline. Otherwise it should
> fail. With this patch we avoid undesired transitions to ADMIN_down
> state while the instance is already up and running.
> 
> Fix the corresponding QA test as well (TestInstanceModify).
> 
> Signed-off-by: Dimitris Aragiorgis <[email protected]>
> ---
>  lib/cmdlib/instance.py |    9 +++++++--
>  qa/qa_instance.py      |    5 +++--
>  2 files changed, 10 insertions(+), 4 deletions(-)

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to