Bug 1090740
| Summary: | [RFE] [cinder] Restrict users from uploading volume to image based on glance protected properties | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | RHOS Integration <rhos-integ> |
| Component: | openstack-cinder | Assignee: | Eric Harney <eharney> |
| Status: | CLOSED ERRATA | QA Contact: | Yogev Rabl <yrabl> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | ddomingo, eharney, markmc, nlevinki, scohen, sgotliv, srevivo, yrabl |
| Target Milestone: | z5 | Keywords: | FutureFeature, ZStream |
| Target Release: | 6.0 (Juno) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://blueprints.launchpad.net/cinder/+spec/restrict-uploading-volume-to-image | ||
| Whiteboard: | upstream_milestone_juno-2 upstream_definition_approved upstream_status_implemented | ||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-23 18:37:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
RHOS Integration
2014-04-24 04:09:04 UTC
failed verification: 1. set the parameter in the cinder.conf file: glance_core_properties=checksum,container_format,disk_format,image_name,image_id,min_disk,min_ram,name,size 2. restarted the cinder & glance services 3. added Min. RAM & disk size to an image 4. Created a volume from the image: The volume's metadata showed the min requirements 5. upload the volume to glance as a qcow image The result was that the new image didn't had the min. requirements. (In reply to Yogev Rabl from comment #2) > failed verification: > > The result was that the new image didn't had the min. requirements. Does this mean that the metadata wasn't transferred to glance? How is this verified? (In reply to Eric Harney from comment #6) > (In reply to Yogev Rabl from comment #2) > > failed verification: > > > > The result was that the new image didn't had the min. requirements. > > Does this mean that the metadata wasn't transferred to glance? How is this > verified? At the end of the day, the new image didn't had the minimum requirements that were set in the volume's metadata. Verified on python-cinderclient-1.1.1-1.el7ost.noarch python-cinder-2014.2.3-11.el7ost.noarch openstack-cinder-2014.2.3-11.el7ost.noarch 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://access.redhat.com/errata/RHBA-2016:1315 |