RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1090381 - Failed to create Cinder volume on Gluster backend configured by answer file
Summary: Failed to create Cinder volume on Gluster backend configured by answer file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Lukas Bezdicka
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-23 08:22 UTC by Tzach Shefi
Modified: 2015-03-26 22:11 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-03-26 22:11:34 UTC
Embargoed:


Attachments (Terms of Use)
Tar of audit and Cinder's api and volume logs (42.20 KB, application/x-compressed-tar)
2014-04-23 08:22 UTC, Tzach Shefi
no flags Details

Description Tzach Shefi 2014-04-23 08:22:09 UTC
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.

Comment 1 Lars Kellogg-Stedman 2015-03-26 22:11:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.