Bug 1546920 - [RFE] [Glance] Inject metadata properties automatically to non-admin images
Summary: [RFE] [Glance] Inject metadata properties automatically to non-admin images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: x86_64
OS: Linux
low
low
Target Milestone: Upstream M1
: 14.0 (Rocky)
Assignee: Cyril Roelandt
QA Contact: Mike Abrams
James Smith
URL:
Whiteboard:
Depends On:
Blocks: 1640759
TreeView+ depends on / blocked
 
Reported: 2018-02-20 03:09 UTC by MD Sufiyan
Modified: 2021-03-11 17:13 UTC (History)
16 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060867.ffbe879.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1640759 (view as bug list)
Environment:
Last Closed: 2019-01-11 11:48:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 503443 0 None MERGED Inject metadata properties automatically to non-admin images 2020-09-08 07:51:31 UTC
OpenStack gerrit 527635 0 None MERGED Implementation of Inject metadata properties 2020-09-08 07:51:31 UTC
OpenStack gerrit 598560 0 None MERGED Pass image import conf file to command which runs glance server 2020-09-08 07:51:31 UTC
RDO 16160 0 None None None 2018-09-06 13:11:52 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:49:12 UTC

Description MD Sufiyan 2018-02-20 03:09:19 UTC
1. Description

The operator provides public images to the users and users can also add their own images in glance and use these images to launch VMs. As an operator, all images provided by an operator should be launched on a specific set of compute nodes whereas images that are created by non-admin users should be launched on other set of compute nodes. The decision to launch VMs on certain compute nodes will be decided based on image metadata. When an operator will create images, they can specify certain image metadata which will be used by placement api or scheduler service to decide where the vm should be launched but if user creates image, there is no way user will know what image metadata properties to set and hence in the present placement api and scheduler logic, it is possible to launch a VM on any compute nodes. This is a big problem.

3. Upstream reference
        Bugzillas? No
        Blueprints? Yes https://blueprints.launchpad.net/glance/+spec/inject-automatic-metadata
        Specs? No

4. RH bugzilla dependencies?
   No


5. Primary Red Hat contact:
   a. Name:  MD Sufiyan
   b. Email:   msufiyan

Comment 1 Cyril Roelandt 2018-02-20 16:59:26 UTC
Adding a link to the merged lite-spec.

Someone upstream seems assigned to this feature. Depending on when the upstream patches merge, we may or may not have time to test and include this feature in Queens.

Comment 3 Christian Schwede (cschwede) 2018-03-07 12:22:01 UTC
Upstream work done: https://review.openstack.org/#/c/527635/ -> TestOnly for OSP14.

Comment 8 Cyril Roelandt 2018-05-04 15:03:26 UTC
The upstream patch was merged.

Comment 23 Cyril Roelandt 2018-10-17 12:49:59 UTC
Pranali's patches have been merged, let's go to QA!

Comment 39 errata-xmlrpc 2019-01-11 11:48:46 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.

https://access.redhat.com/errata/RHEA-2019:0045


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