-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadefs API #565
Comments
Some research notes regarding the Metadefs API of Glance: The Metadefs API is hosted by Glance yet it is not documented in Image Service API v21. Instead there is a dedicated "Metadata Definitions Service API v2"2. PurposeThe Metadefs API of Glance seems to act similar to XML Schema (XSD) definitions for the existing metadata functionalities of other APIs. Quote from the API reference2 (highlights by me):
So essentially this API seems to allow to specify descriptions and constraints for keys/values of the existing (?) metadata functionalities of the other APIs (instance metadata in Nova API, volume metadata in Cinder API etc.). (Im)mutabilityThe API reference2 also includes an important note:
(... which is most likely a result of OSSN-0088) This means that only a CSP of an SCS cloud would actually be able to create and maintain such metadata definitions. ImplicationsBased on the above, I deduce the following:
We should discuss whether this is something useful/desired in relation to SCS standards which make use of metadata or if we should restrict/ignore it. Resources
Footnotes |
I think it could make sense if, for example, we add meta definitions of the additional meta information of images and flavors, which we have already standardized and use, here. Then, from an SCS perspective, the service would only be used for this purpose and the definitions themselves would not have to be standardized. Then we would already have a few good examples that could be used later for standardization. |
In Glance there exists the Metadef API, that can be used as a catalog to define definitions in metadata, that are not defined by OpenStack itself. It should be investigate, how standards may benefit from this, whether SCS want to use it at all or if we should not enforce it to be there at all due to:
https://wiki.openstack.org/wiki/OSSN/OSSN-0088
What metadefs are can be looked up here:
https://docs.openstack.org/glance/latest/user/metadefs-concepts.html
Definition of Done:
Please refer to scs-0001-v1 for details.
scs-xxxx-v1-slug.md
(only substituteslug
)status
,type
,track
setDraft
, file renamed:xxxx
replaced by document numberDraft
)The text was updated successfully, but these errors were encountered: