Bug 1315959 - Cannot move the master storage domain to maintenance
Summary: Cannot move the master storage domain to maintenance
Keywords:
Status: CLOSED DUPLICATE of bug 1315960
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 3.6.3.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.6
: ---
Assignee: Ala Hino
QA Contact: Aharon Canan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-09 06:55 UTC by Nelly Credi
Modified: 2016-03-09 09:23 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-09 09:23:34 UTC
oVirt Team: Storage
Embargoed:
tnisan: ovirt-3.6.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
engine log (9.22 MB, text/plain)
2016-03-09 06:55 UTC, Nelly Credi
no flags Details

Description Nelly Credi 2016-03-09 06:55:42 UTC
Created attachment 1134396 [details]
engine log

Description of problem:
Sometimes the master domain cannot be moved to maintenance mode, with this error
Failed to deactivate storage domain nfs_0 (Data Center golden_env_mixed)

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


How reproducible:
30%

Steps to Reproduce:
1.add master domain wait for everything to be up
2. try to put it into maintenance 
3.

Actual results:
Failed to deactivate storage domain nfs_0 (Data Center golden_env_mixed)

Expected results:
should be able to put it into maintenance

Additional info:
 looking at the logs I saw that there are tasks causing the failure:

SpmStopVDSCommand::Not stopping SPM on vds 'host_mixed_4', pool id '457833c9-adf9-4939-ae00-9dc198c50039' as there are uncleared tasks
.....
DeactivateStorageDomainCommand] (org.ovirt.thread.pool-6-thread-5) [253137b9] Aborting execution due to failure to stop SPM

 when I checked the tasks table I saw a lot of them (123) with:
 status | action_type 
--------+-------------
      2 |        1010
    
vdsm_task_id = 00000000-0000-0000-0000-000000000000 


I have kept an environment in this state and we see it happening in dev ci as well

Comment 1 Nelly Credi 2016-03-09 09:23:34 UTC
Accidentally opened twice.

*** This bug has been marked as a duplicate of bug 1315960 ***


Note You need to log in before you can comment on or make changes to this bug.