[ovirt-users] [Ovirt 4.0 Python SDK] Host fail to move in Maintenance State

Juan Hernández jhernand at redhat.com
Mon Apr 10 08:18:36 UTC 2017


On 04/07/2017 12:06 PM, TranceWorldLogic . wrote:
> Hi,
> 
> I was trying to deactivate host via python SDK but found that host is
> not moving in Maintenance State.
> 
> In this scenario, I found that I have one additional network added in
> cluster but not setup on Host.
> Hence it retrying in background for network sync.
> Because of this I suspect host is fail to move in maintenance state.
> 
> Can someone help me how to force via python API to deactivate host ?
> Or
> Can I stop background sync of host ?
> 
> Thanks,
> ~Rohit
> 

As far as I know there is no way to "force" moving the host to
maintenance, at least not with the API. I'd suggest that you check the
logs (/var/log/ovirt-engine/engine.log and
/var/log/ovirt-engine/server.log) and see if there is some relevant
message when you try that. If so, share those messages.



More information about the Users mailing list