Bug 1301105
Summary: | hosted_storage Domain does not get imported in case the Storage Domain is renamed | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Martin Tessun <mtessun> |
Component: | ovirt-engine | Assignee: | Jenny Tokar <jtokar> |
Status: | CLOSED ERRATA | QA Contact: | Artyom <alukiano> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.6.0 | CC: | dfediuck, gklein, lsurette, mavital, mgoldboi, mtessun, nsednev, rbalakri, rgolan, Rhev-m-bugs, sbonazzo, srevivo, ykaul |
Target Milestone: | ovirt-4.0.1 | Keywords: | Triaged |
Target Release: | 4.0.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-08-23 20:31:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1283458 |
Description
Martin Tessun
2016-01-22 15:34:48 UTC
On 3.6.3 you can use engine-config -s HostedEngineStorageDomainName=SD_NAME and restart the engine. all should be imported. (you would need to destroy the current import domain and not wipe of course) The long run fix should be to stop depending on the name and that could be done easily by the auto-import - - vm monitoring detects a vm from vdsm with name hostedEngine - looking at the disk list we can see the domain ID - auto import flow should be invoked with that domain ID (rather than a config key) - engine must 'label' that domain as a hosted engine domain - either by config value keeping the id or extra metadata on the domain column in db. Using a config value means we would have to set the config value during runtime, on detecting it from vm details. Using domain extra data on domain is unsupported. Don't know if storage are planning extra metadata on domains on storage_domain_static This would solve Bug 1294457 as well. I'm pretty sure there might be a slightly different but similar issue if you rename the cluster. If you still think it should be fixed quickly let me know. Meanwhile you can use the engine-config key to make the engine look for you renamed storage domain. See https://bugzilla.redhat.com/show_bug.cgi?id=1294457#c14 Hi Roy, I will test the workaround as soon as I find some time and if it works, I am fine for a short term fix. I would create a KBase then as well describing the workaround in C#14. Thanks, Martin Thanks, waiting for your feedback. Somehow my update got lost. So I provide it again: As hosted-engine --deploy does no longer ask for the HE-StorageDomain Name, there can be no loonger any confusion. So I tried to install a current RHEV 3.6 environment, and that did no longer even allow me to supply a name for the HE-SD. As such I think this case can no longer be hit (besides by forcefully changing things in the SD itself before it gets imported). As such I think this Bug can be closed. Kind regards, Martin *** Bug 1294457 has been marked as a duplicate of this bug. *** Verified on rhevm-4.0.1.1-0.1.el7ev.noarch 1) Deploy hosted-engine with answer file that include: ... OVEHOSTED_STORAGE/storageDomainName=str:test_storage ... 2) Add master storage domain 3) Wait for HE auto import PASS Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1743.html |