Update the documentation regarding Lightbits' multi-tenancy functionality#25
Open
Update the documentation regarding Lightbits' multi-tenancy functionality#25
Conversation
…oject) enablement. Change-Id: Ifbe7558ae9b2260e72496e9dac84c7885eeb0a53
muliby-lb
reviewed
Jan 19, 2025
|
|
||
| .. code-block:: console | ||
|
|
||
| $ openstack volume type create --property lightos:project_name=project-01 type-with-mt |
There was a problem hiding this comment.
Seems OK, but I'm not sure how it is meant to work? Can you point me at the corresponding cinder patch to handle this volume type?
Collaborator
There was a problem hiding this comment.
here we search this property:
https://github.com/openstack/cinder/blob/651bb416899007b49bf4de2a9bd76afafb70de31/cinder/volume/drivers/lightos.py#L517
on create volume we check the volume project name:
https://github.com/openstack/cinder/blob/651bb416899007b49bf4de2a9bd76afafb70de31/cinder/volume/drivers/lightos.py#L673
There was a problem hiding this comment.
Thanks @yuval-lb . I'm fine with the doc update.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the documentation regarding Lightbits' multi-tenancy (multi-project) functionality.