Bug 1639822 - Error allowing access IP to Ganesha
Summary: Error allowing access IP to Ganesha
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-manila
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Tom Barron
QA Contact: Dustin Schoenbrun
mmurray
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-16 16:51 UTC by Alberto Gonzalez
Modified: 2018-10-16 20:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 20:59:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alberto Gonzalez 2018-10-16 16:51:16 UTC
Description of problem:
It is not possible allow access to a NFS Ganesha share. State column in the "manila access-list <share>" shows error and the logs (in DEBUG mode) shows:

2018-10-16 12:36:52.010 21 DEBUG oslo_concurrency.processutils [req-bd18f440-b83b-4cc8-93e7-0a93f93f5bca a7ebf28c9453482caaad1044cc619e80 94b36491febf41ee90d1db714da46747 - - -] u'sudo manila-rootwrap /etc/manil
a/rootwrap.conf dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:/etc/ganesha/export.d/share-2eeb359e-ac3b-442f-81c0-fc592a9bf061.c
onf.pgxlla string:EXPORT(Export_Id=1008)' failed. Not Retrying. execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:457
2018-10-16 12:36:52.011 21 ERROR manila.share.drivers.ganesha.manager [req-bd18f440-b83b-4cc8-93e7-0a93f93f5bca a7ebf28c9453482caaad1044cc619e80 94b36491febf41ee90d1db714da46747 - - -] Error while executing mana
gement command on Ganesha node <no name>: dbus call exportmgr.AddExport.: ProcessExecutionError: Unexpected error while running command.


Version-Release number of selected component (if applicable):
                "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp13/openstack-manila-share/images/13.0-54",


How reproducible:
Execute  manila access-allow testnfs2 ip <one ip or range>

Steps to Reproduce:
1. Create a share
2. Check is correctly created
3. Try to allow access to the previously created share

Actual results:
Error allowing IP

Expected results:
Able to allow IP/Network to access to the share

Additional info:
Templates used:
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-rgw.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-mds.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsganesha-config-docker.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services-docker/manila.yaml \

Comment 1 Alberto Gonzalez 2018-10-16 20:59:05 UTC
Investigating the puppet code, the manila.yaml template needs to be included before the manila-ephfsganesha-config-docker.yaml, then is creating a pacemaker bundle with the correct bind mounts (/run for the dbus)


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