-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default zero disk flavor to RULE_ADMIN_API in Stein
The policy to allow booting instances without a volume when root_gb is set to 0 was to be set to default to admin-only in Stein. Depends-On: I537c299b0cd400982189f35b31df74755422737e Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com> Related-Bug: #1739646 Change-Id: I247402b6c4ff8a7cb71ef247a218478194d68ff8
- Loading branch information
Showing
4 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/default-zero-disk-flavor-to-admin-api-fd99e162812c2c7f.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The defalut value for policy rule | ||
``os_compute_api:servers:create:zero_disk_flavor`` has changed from | ||
``rule:admin_or_owner`` to ``rule:admin_api`` which means that by default, | ||
users without the admin role will not be allowed to create servers using | ||
a flavor with ``disk=0`` *unless* they are creating a volume-backed server. | ||
If you have these kinds of flavors, you may need to take action or | ||
temporarily override the policy rule. Refer to | ||
`bug 1739646 <https://launchpad.net/bugs/1739646>`_ for more details. |