Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1436837 - OSP10 create flavor fails to set project
OSP10 create flavor fails to set project
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-openstackclient (Show other bugs)
10.0 (Newton)
x86_64 Linux
medium Severity medium
: z8
: 10.0 (Newton)
Assigned To: Julie Pichon
Shai Revivo
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-28 15:32 EDT by Benjamin Schmaus
Modified: 2018-05-17 11:50 EDT (History)
11 users (show)

See Also:
Fixed In Version: python-openstackclient-3.2.1-3.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, when creating a new flavor, meant to be private to a project, the flavor would be created but not assigned to the project. With this update, the code has been modified to use the new flavor's generated ID when an ID is not explicitly set. As a result, it is now possible to assign a flavour to be private to a project when creating a new flavor.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-17 11:49:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1654221 None None None 2017-03-28 15:32 EDT
OpenStack gerrit 416940 None None None 2018-01-23 10:32 EST
Red Hat Product Errata RHBA-2018:1596 None None None 2018-05-17 11:50 EDT

  None (edit)
Description Benjamin Schmaus 2017-03-28 15:32:16 EDT
Description of problem:

openstack flavor create --ram 2000 --disk 20 --vcpus 2 --private --project <project-id> RU-Test

we receive the following: 
Failed to add project <project-id> access to flavor: Flavor auto could not be found. (HTTP 404) (Request-ID: req-f7bd5faa-1dc4-4cc4-b5c7-6244fe516386)


Version-Release number of selected component (if applicable):
OSP10

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Issue is fixed upstream in python-openstackclient 3.7.0
Comment 1 Chris Fields 2017-05-23 11:43:39 EDT
Can I get an idea on when we can expected to see the upstream fix in an errata release?
Comment 2 Beth Elwell 2017-06-14 11:14:13 EDT
This bug is triaged and aimed for current release.
Comment 4 Julie Pichon 2018-01-25 09:02:22 EST
Adjusting status and flags as the original request is for a backport to OSP10. The upstream fix was shipped as part of OSP11 already.
Comment 16 errata-xmlrpc 2018-05-17 11:49:28 EDT
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-2018:1596

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