Bug 1082785

Summary: [RFE] foreman should allow the configuraiton of glance using RHS/NFS and direct file access
Product: Red Hat OpenStack Reporter: Steve Reichard <sreichar>
Component: openstack-foreman-installerAssignee: Crag Wolfe <cwolfe>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: aberezin, ajeain, cpelland, cwolfe, morazi, rhos-maint, scohen, sreichar, yeylon
Target Milestone: gaKeywords: FutureFeature, ZStream
Target Release: Installer   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1064050 Environment:
Last Closed: 2014-08-21 18:04:02 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:
Bug Depends On: 1064050    
Bug Blocks: 1040649, 1045196    

Comment 2 Crag Wolfe 2014-06-24 22:47:13 UTC
This exists right now for the ha-all-in-one-controller.  The relevant options are in quickstack::pacemaker::glance are:

pcmk_fs_manage - set to 'true' if pacemaker should create a filesystem resource to manage for glance.  If set to false, the other pcmk_fs options are ignored.
pcmk_fs_type - 'nfs' or 'glusterfs'
pcmk_fs_device - the location where hold our filesystem (e.g: in NFS, that will be the mount point on the remote server.  As will all pcmk_fs options, backend must be 'file'.
pcmk_fs_dir - this is the location of the local mount.  The default /var/lib/glance/images/ should be good.
pcmk_fs_options - the same syntax to pass to pacemaker when creating a resource. don't forget to escape quotes if needed (e.g:   context=\"system_u:object_r:mysqld_db_t:s0\")

Comment 4 Steve Reichard 2014-06-25 13:24:47 UTC
This is not enabling direct file access.

That requires teh mount on the compute nodes and changed to the nova and glance config file

Comment 14 nlevinki 2014-08-07 08:01:34 UTC
In staypuf you can configure glane backend ad lvm/nfs or any other option

Comment 16 errata-xmlrpc 2014-08-21 18:04:02 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-1090.html