Bug 1119852

Summary: Engine remains indifferent to "Select as SPM" command
Product: [Retired] oVirt Reporter: Ori Gofen <ogofen>
Component: ovirt-engine-webadminAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Ori Gofen <ogofen>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, amureini, bugs, ecohen, gklein, iheim, laravot, mgoldboi, ogofen, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0_rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 12:27:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1093924    
Attachments:
Description Flags
vdsm+engine logs none

Description Ori Gofen 2014-07-15 16:20:38 UTC
Description of problem:
Selecting a certain host as SPM is not available,UI reports vague message "Host $HOST_NAME was force selected by admin"
nothing happens

Version-Release number of selected component (if applicable):
beta

How reproducible:
100%

Steps to Reproduce:
Setup:have dc with 2 or more hosts
1.switch SPM vi UI's "Select as SPM" button

Actual results:
nothing happens but unclear UI message

Expected results:
a message on UI should be something like "switching host $HOST_NAME to be SPM"
and the command should be executed.

Additional info:

Comment 1 Ori Gofen 2014-07-15 16:27:12 UTC
Steps to Reproduce(2):
Setup:have dc with 2 or more hosts

1.maintain the SPM host

Actual results:
nothing happens but a UI message "Failed to change status of host 'vdsb' due to a failure to stop the spm."

Comment 2 Allon Mureinik 2014-07-16 02:06:01 UTC
Ori, please add engine and VDSM logs.

Comment 3 Ori Gofen 2014-07-16 07:39:24 UTC
Created attachment 918339 [details]
vdsm+engine logs

sure Alon.

Comment 4 Ori Gofen 2014-07-17 08:48:44 UTC
actually I have been mistaken regarding steps to reproduce,it seems that it is a little bit more tricky:

Steps to Reproduce:
Setup:have dc with 2 or more hosts

1.reboot the none-SPM host
2.while hosts reboot,remove dc
3.create a new dc (with domain) add the the two hosts
4.switch SPM twice

Comment 5 Liron Aravot 2014-09-03 07:40:11 UTC
This bug isn't a regression, that was happening since this new command was introduced. removing the regression keyword.

Comment 6 Ori Gofen 2014-10-01 12:19:52 UTC
verified on vt4

Comment 7 Sandro Bonazzola 2014-10-17 12:27:16 UTC
oVirt 3.5 has been released and should include the fix for this issue.