Bug 1264769
Summary: | set show_multiple_locations = true in glance configuration file | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yogev Rabl <yrabl> |
Component: | openstack-tripleo-heat-templates | Assignee: | Giulio Fidente <gfidente> |
Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 (Kilo) | CC: | fpercoco, jcoufal, jschluet, mburns, pgrist, rhel-osp-director-maint, tshefi |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 10.0 (Newton) | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-5.0.0-0.6.0rc3.el7ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-14 15:16:04 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: |
Description
Yogev Rabl
2015-09-21 07:35:34 UTC
I have a doubt if we should enable the feature, it exposes some security risks. https://github.com/openstack/glance/blob/master/glance/common/config.py#L119-L132 I would like some thoughts from Glance experts. Enabling this feature by default is fine as long as the policies[0] are set to admin-only by default as well. Since I believe these policies should be set as admin-only by default, regardless, I think we should set them in OSPD and then we can enable this feature in the config file. [0] https://github.com/openstack/glance/blob/master/etc/policy.json#L16-L18 This bug did not make the OSP 8.0 release. It is being deferred to OSP 10. Verified Build openstack-tripleo-heat-templates-5.0.0-1.4.el7ost.noarch [root@controller-0 ~]# grep -i show_multiple /etc/glance/glance-api.conf # ``show_multiple_locations`` MUST be set to ``False``. # * show_multiple_locations #show_multiple_locations = false show_multiple_locations = True ----> good for us, it's a CEPH backend. #glance image-create --name cirros --disk-format qcow2 --container-format bare --file cirros-0.3.4-x86_64-disk.img .... | | locations | [{"url": "rbd://babb8e64-a67b- | | | 11e6-8819-525400b77709/images/337a1573-a775-4153-a883-4764f22245ac/snap", | Image-show also shows image location # glance image-show 337a1573-a775-4153-a883-4764f22245ac a1573-a775-4153-a883-4764f22245ac | | locations | [{"url": "rbd://babb8e64-a67b- | | | 11e6-8819-525400b77709/images/337a1573-a775-4153-a883-4764f22245ac/snap", | 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. https://rhn.redhat.com/errata/RHEA-2016-2948.html |