Bug 1267337
Summary: | Hosted engine fails to complete cleanly, can't see hosted engine VM, and can't import HE storage domain. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Christopher Miersma <miersma> | ||||||||||||
Component: | Plugins.Block | Assignee: | Simone Tiraboschi <stirabos> | ||||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Ilanit Stein <istein> | ||||||||||||
Severity: | urgent | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 1.3.0 | CC: | bugs, didi, lveyde, miersma, rgolan, rmartins, sbonazzo, stirabos | ||||||||||||
Target Milestone: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? rule-engine: testing_ack? |
||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | integration | ||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2015-10-14 15:53:24 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: | |||||||||||||||
Attachments: |
|
Description
Christopher Miersma
2015-09-29 17:10:06 UTC
Created attachment 1078436 [details]
Logs from the engine VM in this case
Created attachment 1078437 [details]
Logs from the host
2015-09-28 14:49:53 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.heconf heconflib.create_heconfimage:246 stderr: dd: failed to open ‘/rhev/data-center/mnt/blockSD/da105b33-9ef8-4cbd-bb51-916c223ed218/images/551a55b1-cae1-419c-b8bb-944fad65a594/ba9d6d41-407b-4014-ae4d-0fd407c0f451’: Permission denied 2015-09-28 14:49:53 DEBUG otopi.context context._executeMethod:156 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/heconf.py", line 149, in _closeup_create_tar dest File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/heconflib.py", line 249, in create_heconfimage raise RuntimeError('Unable to write HEConfImage') RuntimeError: Unable to write HEConfImage 2015-09-28 14:49:53 ERROR otopi.context context._executeMethod:165 Failed to execute stage 'Closing up': Unable to write HEConfImage Can you please provide the output of "ausearch -m avc -ts 28/09/2015" ? Can you retry disabling selinux ? Can you provide the output of: "rpm -qv selinux-policy-targeted" ? (In reply to Sandro Bonazzola from comment #3) > 2015-09-28 14:49:53 DEBUG > otopi.plugins.ovirt_hosted_engine_setup.storage.heconf > heconflib.create_heconfimage:246 stderr: dd: failed to open > ‘/rhev/data-center/mnt/blockSD/da105b33-9ef8-4cbd-bb51-916c223ed218/images/ > 551a55b1-cae1-419c-b8bb-944fad65a594/ba9d6d41-407b-4014-ae4d-0fd407c0f451’: > Permission denied > > 2015-09-28 14:49:53 DEBUG otopi.context context._executeMethod:156 method > exception > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in > _executeMethod > method['method']() > File > "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine- > setup/storage/heconf.py", line 149, in _closeup_create_tar > dest > File > "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/heconflib.py", > line 249, in create_heconfimage > raise RuntimeError('Unable to write HEConfImage') > RuntimeError: Unable to write HEConfImage > 2015-09-28 14:49:53 ERROR otopi.context context._executeMethod:165 Failed to > execute stage 'Closing up': Unable to write HEConfImage > > Can you please provide the output of "ausearch -m avc -ts 28/09/2015" ? > > Can you retry disabling selinux ? > > Can you provide the output of: "rpm -qv selinux-policy-targeted" ? Unfortunately, I no longer have that particular install up and running, as I have rebuilt on the same hardware. However, I can guarantee that I was running selinux in Permissive mode on both the host and engine VMs. In addition, the new setup has the same issue, but I can't find that error message above in the logs. Created attachment 1081391 [details]
Host logs
I've retried a clean install with the latest build from the snapshots repo. Everything else is as clean as possible, but the hosted-engine domain still does not appear for import. SELinux is in Permissive mode throughout. If you're searching through these logs, the UUID for the hosted engine storage domain is 78501422-e863-47e2-986d-39e11577dc50.
Created attachment 1081392 [details]
Engine logs with the latest patches
This is from a new clean installation.
*** This bug has been marked as a duplicate of bug 1269768 *** |