2017-09-28 2:32 GMT+02:00 Alexander Witte <alexander.witte@baicanada.com>:
Hi!

Question hopefully someone can help me out with:

In my Self Hosted Engine environment, the local storage domain DATA (NFS) that was created with the self engine installation has been configured as localhost:/shares


So it seems you're trying to do an Hyperconverged setup on local NFS. Please note this is not a supported configuration.
If you need to have the storage on the hosts you use for running Self Hosted Engine and other VMs, I would suggest to follow https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide/

 

I suspect this is preventing me from adding any additional hosts to the oVirt Datacenter as I am receiving a VDSM error that I cannot mount that domain.  I think since the domain is set as localhost it cannot be resolved correct by any additional hosts...?

You are correct, being the NFS export referenced as localhost:// it is not accessible by other hosts.

 
 The ISO, Data(Master) and EXPORT domains are set as FQDN:/shares/iso and I am not seeing problems specific to them.

I am curious what the correct procedure is to change this hosted engine storage domain path from localhost:/shares to FQDN:/shares ?  I have attempted this:

1) Put hosted engine in Global Maintenance Mode
2) Shutdown hosted engine
3) edit the /etc/ovirt-hosted-engine/hosted-engine.conf file file and change:
storage=10.0.0.223:/shares   to
storage=menmaster.traindemo.local:/shares
4) Restart hosted engine


If this is a fresh install, I would suggest to restart from scratch following the Hyperconverged guide.

 
Although I’m not having any luck restarting the hosted engine after and running a journalctl -u on the overt-ha-agent service is giving me this:

Sep 27 20:17:19 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last):
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _run_agent
                                                                    return action(he)
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in action_proper
                                                                    return he.start_monitoring()
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 409, in start_monitoring
                                                                    self._initialize_storage_images(force=True)
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 651, in _initialize_storage_images
                                                                    img.teardown_images()
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/image.py", line 218, in teardown_images
                                                                    volumeID=volUUID,
                                                                  File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 155, in _callMethod
                                                                    (methodName, args, e))
                                                                Exception: Attempt to call function: teardownImage with arguments: () error: 'teardownImage'
Sep 27 20:17:19 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agent
Sep 27 20:17:24 menmaster.traindemo.local ovirt-ha-agent[2052]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Too many errors occurred, giving up. Please review the log and consider filing
Sep 27 20:17:24 menmaster.traindemo.local systemd[1]: ovirt-ha-agent.service: main process exited, code=exited, status=157/n/a
Sep 27 20:17:24 menmaster.traindemo.local systemd[1]: Unit ovirt-ha-agent.service entered failed state.
Sep 27 20:17:24 menmaster.traindemo.local systemd[1]: ovirt-ha-agent.service failed.
Sep 27 20:17:25 menmaster.traindemo.local systemd[1]: ovirt-ha-agent.service holdoff time over, scheduling restart.
Sep 27 20:17:25 menmaster.traindemo.local systemd[1]: Started oVirt Hosted Engine High Availability Monitoring Agent.
Sep 27 20:17:25 menmaster.traindemo.local systemd[1]: Starting oVirt Hosted Engine High Availability Monitoring Agent...
Sep 27 20:17:35 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.lib.storage_server.StorageServer ERROR The hosted-engine storage domain is already mounted on '/rhev/d
Sep 27 20:17:42 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most recent call last):
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 191, in _run_agent
                                                                    return action(he)
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 64, in action_proper
                                                                    return he.start_monitoring()
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 409, in start_monitoring
                                                                    self._initialize_storage_images(force=True)
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 651, in _initialize_storage_images
                                                                    img.teardown_images()
                                                                  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/image.py", line 218, in teardown_images
                                                                    volumeID=volUUID,
                                                                  File "/usr/lib/python2.7/site-packages/vdsm/jsonrpcvdscli.py", line 155, in _callMethod
                                                                    (methodName, args, e))
                                                                Exception: Attempt to call function: teardownImage with arguments: () error: 'teardownImage'
Sep 27 20:17:42 menmaster.traindemo.local ovirt-ha-agent[2626]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart agent



Any thoughts?  I can attach more logs tomorrow or provide further information if needed.

Thanks!!


Alex Witte





_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA