Bug 1314450

Summary: Failed to put host into maintenance while host is SPM
Product: [oVirt] ovirt-engine Reporter: Meni Yakove <myakove>
Component: BLL.StorageAssignee: Allon Mureinik <amureini>
Status: CLOSED NOTABUG QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.4CC: bugs
Target Milestone: ovirt-3.6.5Keywords: Regression
Target Release: ---Flags: amureini: ovirt-3.6.z?
myakove: planning_ack?
myakove: devel_ack?
myakove: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-06 08:27:12 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:
Attachments:
Description Flags
rhevm logs
none
vdsm logs none

Description Meni Yakove 2016-03-03 16:08:22 UTC
Created attachment 1132856 [details]
rhevm logs

Description of problem:
Failed to put host into maintenance while host is SPM

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


Steps to Reproduce:
1. Put SPM host into maintenance

Actual results:
Failed

Expected results:
Succeed



2016-03-03 12:26:18,800 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand] (ajp-/127.0.0.1:8702-1) [hosts_syncAction_312ae900-077b-4176] SpmStopVDSComm
and::Not stopping SPM on vds 'host_mixed_1', pool id '37f6ae0b-9b57-4f55-bdc5-d8782e55ffc0' as there are uncleared tasks
2016-03-03 12:26:18,800 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand] (ajp-/127.0.0.1:8702-1) [hosts_syncAction_312ae900-077b-4176] FINISH, SpmSto
pVDSCommand, log id: 2d13103e
2016-03-03 12:26:18,800 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.ResetIrsVDSCommand] (ajp-/127.0.0.1:8702-1) [hosts_syncAction_312ae900-077b-4176] FINISH, Reset
IrsVDSCommand, log id: 56e0eb39
2016-03-03 12:26:18,803 WARN  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-1) [hosts_syncAction_312ae900-077b-4176] Corre
lation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to change status of host host_mixed_1 due to a failure to stop the spm.

Comment 1 Meni Yakove 2016-03-03 16:10:03 UTC
rhevm-3.6.5-0.1000.1032.c40eb89.master.el6.noarch
vdsm-4.17.23-0.el7ev.noarch

Comment 2 Meni Yakove 2016-03-03 16:10:30 UTC
Created attachment 1132857 [details]
vdsm logs

Comment 3 Allon Mureinik 2016-03-06 08:27:12 UTC
The SPM has tasks on it, it should not be stopped. This is not a bug.