Bug 1163385
Summary: | Error trying to add new hosted-engine host to upgraded Hosted Engine cluster | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | David King <david> | ||||
Component: | ovirt-hosted-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 3.5 | CC: | alukiano, daniel.helgenberger, david, didi, ecohen, gklein, iheim, jmoskovc, lsurette, lveyde, msivak, rbalakri, sbonazzo, stirabos, yeylon | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | 3.5.1 | Flags: | sbonazzo:
ovirt_requires_release_note-
|
||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | integration | ||||||
Fixed In Version: | ovirt-3.5.1_rc1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1163649 (view as bug list) | Environment: | |||||
Last Closed: | 2015-01-21 16:04:07 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1155170, 1163649, 1164308, 1164311, 1192937 | ||||||
Attachments: |
|
Description
David King
2014-11-12 15:32:10 UTC
In case of updating from 3.4 we need to use FileSystemBackend to handle the storage init while adding new host. idea: if the answer file lacks lockspace uuid and the storage tyupe is nfs we can assume it's 3.4 answer file, so we should use FileSystemBackend I see that fix already in package ovirt-hosted-engine-setup-1.2.1-7.el6ev.noarch, and setup stage of adding hosts run ok, but after this broker failed to connect to storage: Thread-481::ERROR::2014-12-04 18:43:59,291::listener::192::ovirt_hosted_engine_ha.broker.listener.ConnectionHandler::(handle) Error handling request, data: 'set-storage-domain VdsmBackend hosted-engine.lockspace=7B22696D6167655F75756964223A20224E6F6E65222C202270617468223A206E756C6C2C2022766F6C756D655F75756964223A20224E6F6E65227D sp_uuid=3d30c5d1-a76c-4c79-a6ee-5d92a638e623 dom_type=nfs3 hosted-engine.metadata=7B22696D6167655F75756964223A20224E6F6E65222C202270617468223A206E756C6C2C2022766F6C756D655F75756964223A20224E6F6E65227D sd_uuid=d67ca20f-a4be-4b3e-9a96-78474491111f' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/listener.py", line 166, in handle data) File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/listener.py", line 299, in _dispatch .set_storage_domain(client, sd_type, **options) File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 65, in set_storage_domain self._backends[client].connect() File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 370, in connect raise RuntimeError(response["status"]["message"]) RuntimeError: Volume does not exist: ('None',) I looks like because path, broker now receive some incorrect storage details. So what you prefer, to open new bug or just continue work with this one. Anyway I will add answer file, broker, vdsm and agent logs. Created attachment 964755 [details]
logs and answer file
Artyom, can you please also provide hosted-engine.conf. From the code it looks like setup writes the 'None' as the volume_uuid and agent tries to use it as a real value. Sandro, can you make setup to not write that value to config if it's None? (In reply to Artyom from comment #2) > So what you prefer, to open new bug or just continue work with this one. > > Anyway I will add answer file, broker, vdsm and agent logs. I prefer a new BZ. (In reply to Jiri Moskovcak from comment #4) > Sandro, can you make setup to not write that value to config if it's None? 1) not replacing it in the template will lead to have @LOCKSPACE_VOLUME_UUID@ as value 2) setting it to empty string will lead to still have the key in the file, just set to an empty string. let me know what you prefer, but I guess that a value validation (valid uuid) should be done on ha side as well. Jiri I opened new bug: https://bugzilla.redhat.com/show_bug.cgi?id=1171452 You can find hosted-engine.conf in attached archive. This is an automated message: This bug should be fixed in oVirt 3.5.1 RC1, moving to QA Verified on ovirt-hosted-engine-ha-1.2.4-5.el6ev.noarch oVirt 3.5.1 has been released. If problems still persist, please make note of it in this bug report. |