Bug 1351203
Summary: | VDSM fails to mount hosted-engine gluster volume | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Ralf Schenk <rs> | ||||
Component: | Gluster | Assignee: | sankarshan <sankarshan> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | SATHEESARAN <sasundar> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.18.15 | CC: | bugs, rs, sabose, stirabos | ||||
Target Milestone: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? rule-engine: testing_ack? |
||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-06-30 12:21:02 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
Ralf Schenk
2016-06-29 13:04:07 UTC
Wouldn't the vfsType be correctly picked as "glusterfs" from the hosted-engine.conf file? Ralf, can you please attach here /etc/ovirt-hosted-engine/hosted-engine.conf from one of your hosts and /var/log/vdsm/vdsm.log? Sahina, ovirt-ha-agent will initially mount based on hosted-engine.conf, then when we have an engine the engine will try to remount as for a regular host based on how it auto-imported the hosted-engine storage domain. In the past we had a bug there: https://bugzilla.redhat.com/1317699 Ralf, which engine version did you initially installed? Initially I installed 3.6.5, I sometimes (i.e: after Host-Reboot/Upgrade) had the problem that my gluster volume hosted_storage was not mounted by VDSM. I got around by mounting the gluster Volume manually. I investigated the problem deeper and patched my storageServer.py after upgrading to 3.6.6. (I think this is when the -o backup-volfile-servers=server1,server2,server3) was introduced. Now I upgraded to 4.0.0 and the problem still exists because my patched storageServer.py was overwritten. My /etc/ovirt-hosted-engine/hosted-engine.conf is attached. I have to search for a piece of vdsm.log where it happened because I patched the storageServer.py also with 3.6.6 Created attachment 1174459 [details]
hosted-engine.conf for HA-Engine on Gluster
Something i have to notice: I'm not sure if the above problem also occured on a node which was installed as hosted_engine host. It was definitly on a node of the cluster that is not installed as hosted_engine host. So I attach the vdsm.log of such a host. (In reply to Ralf Schenk from comment #3) > Initially I installed 3.6.5, OK, so it's just a duplicate of 1317699 since it got in only with 3.6.7 and it fixes only for new deployments. To get it automatically fixed you need to destroy (without deleting its content!!!) the hosted-engine storage domain to trigger again the auto-import procedure. If you are brave enough you can quickly tweak the missing value in the DB: on the engine VM: sudo -u postgres psql \c engine select * from storage_server_connections; # and identify the ID of your affected connection update storage_server_connections set vfs_type = 'glusterfs' where id = 'THE_ID_YOU_FOUND_IN_THE_OUTPUT_ABOVE_FOR_THE_HOSTED_ENGINE_CONNECTION'; commit; \q > I sometimes (i.e: after Host-Reboot/Upgrade) had the problem that my gluster > volume hosted_storage was not mounted by VDSM. I got around by mounting the > gluster Volume manually. > > I investigated the problem deeper and patched my storageServer.py after > upgrading to 3.6.6. (I think this is when the -o > backup-volfile-servers=server1,server2,server3) was introduced. Please avoid touching it since the issue is not there. > Now I upgraded to 4.0.0 and the problem still exists because my patched > storageServer.py was overwritten. > > My /etc/ovirt-hosted-engine/hosted-engine.conf is attached. > I have to search for a piece of vdsm.log where it happened because I patched > the storageServer.py also with 3.6.6 *** This bug has been marked as a duplicate of bug 1317699 *** |