Bug 1090381
| Summary: | Failed to create Cinder volume on Gluster backend configured by answer file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Tzach Shefi <tshefi> | ||||
| Component: | openstack-packstack | Assignee: | Lukas Bezdicka <lbezdick> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | nlevinki <nlevinki> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | aortega, derekh, lars, lbezdick, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-03-26 22:11:34 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: |
|
||||||
I am able to deploy RDO Juno with... CONFIG_CINDER_BACKEND=gluster CONFIG_CINDER_GLUSTER_MOUNTS=192.168.122.245:/cinder ...and after a successful deployment I can create cinder volumes without errors or selinux AVC messages. |
Created attachment 888803 [details] Tar of audit and Cinder's api and volume logs Description of problem: Packstack used to deploy AIO on RHEL7, answer file also configured Cinder's Gluster backend, setup completed successfully without errors. When I try to create a new empty Cinder volume -> fails, volume status error. Another issue packstack doesn't enable virt_use_fusefs, bugged already. Setting this to ON, still doesn't help. When set enforce 0 still fails. Then openstack-service restart, now create volume is successful. Version-Release number of selected component (if applicable): RHEL7 openstack-packstack-2014.1.1-0.10.dev1045.el7.noarch openstack-cinder-2014.1-1.el7.noarch How reproducible: Not sure, only tired this now. Steps to Reproduce: 1. Use packstack to deploy, including Cinder's Gluster share. 2. Try to create empty volume - fails 3. setsebool -P virt_use_fusefs on, create new volume -> fails 4. Setenforce 0 , create new volume -> fails 5. Restart openstack-services , create new volume -> successful Actual results: Failed to create volume, status=error Expected results: Should create volume successfully. Additional info: Attached tar of cinder api/volume and audit logs. There is a bug with selinux on RHEL7 and services, this might be related as setting just enforce 0 doesn't help I unless also restart services.