[ovirt-users] Leaving maintenace mode
Stefano Danzi
s.danzi at hawai.it
Tue Jan 10 14:41:14 UTC 2017
Hi!
I have a testing oVirt installation with only one host and running self
hosted engine.
If I put host in global maintenance mode:
hosted-engine --set-maintenance --mode=global
then ssh into self hosted engine VM, shoutdown VM using 'init 0', when
I run on the host:
hosted-engine --set-maintenance --mode=none
I have:
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_maintenance.py",
line 73, in <module>
if not maintenance.set_mode(sys.argv[1]):
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/set_maintenance.py",
line 61, in set_mode
value=m_global,
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 259, in set_maintenance_mode
str(value))
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 202, in set_global_md_flag
self._configure_broker_conn(broker)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 180, in _configure_broker_conn
dom_type=dom_type)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 176, in set_storage_domain
.format(sd_type, options, e))
ovirt_hosted_engine_ha.lib.exceptions.RequestError: Failed to set
storage domain FilesystemBackend, options {'dom_type': 'nfs3',
'sd_uuid': '46f55a31-f35f-465c-b3e2-df45c05e06a7'}: Connection timed out
This because the host has the iso domain nfs export mounted but the self
hosted engine VM is not running, I think...
So I have to reboot the host before change the maintenance mode.
More information about the Users
mailing list