Change in ovirt-engine[master]: core: Set VDS status to down after ssh shutdown

rgolan at redhat.com rgolan at redhat.com
Thu Jul 23 11:19:07 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: core: Set VDS status to down after ssh shutdown
......................................................................


core: Set VDS status to down after ssh shutdown

Fix that the state was only set to down for the VDS instance which was
passed into the command. When querying for the VDS in the database it
still showed that the VDS was up.

Further the audit log did not show that the ssh shutdown was executed.
Now it logs USER_VDS_STOP on success and USER_FAILED_VDS_STOP otherwise.

Change-Id: I7f837e5d179a3ed0090fa76eef965a7df673940d
Bug-Url: https://bugzilla.redhat.com/1062228
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsPowerDownCommand.java
1 file changed, 11 insertions(+), 6 deletions(-)

Approvals:
  Ravi Nori: Looks good to me, but someone else must approve
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/43855
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f837e5d179a3ed0090fa76eef965a7df673940d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list