redstack script failing to create flavors

Bug #1421029 reported by Saurabh Surana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Committed
Undecided
Saurabh Surana

Bug Description

in redstack script we use service tenant to create flavors and looks like in latest devstack, service tenants do not have the privileges to create flavors anymore. Ideally we should be using admin tenant to create flavors

2015-02-11 17:56:39.242 | 2015-02-11 17:56:39.228 | + export BRIDGE_IP=10.1.0.1
2015-02-11 17:56:39.245 | 2015-02-11 17:56:39.230 | + BRIDGE_IP=10.1.0.1
2015-02-11 17:56:39.246 | 2015-02-11 17:56:39.232 | + export DEST=/opt/stack/new
2015-02-11 17:56:39.248 | 2015-02-11 17:56:39.234 | + DEST=/opt/stack/new
2015-02-11 17:56:39.251 | 2015-02-11 17:56:39.236 | + export PATH_DEVSTACK_SRC=/opt/stack/new/devstack
2015-02-11 17:56:39.252 | 2015-02-11 17:56:39.238 | + PATH_DEVSTACK_SRC=/opt/stack/new/devstack
2015-02-11 17:56:39.254 | 2015-02-11 17:56:39.240 | + cd /opt/stack/new/trove-integration/scripts
2015-02-11 17:56:39.256 | 2015-02-11 17:56:39.242 | + ./redstack dsvm-gate-tests mysql
2015-02-11 17:56:40.409 | 2015-02-11 17:56:40.394 | Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
2015-02-11 17:56:40.444 | 2015-02-11 17:56:40.430 | Collecting dib-utils
2015-02-11 17:56:40.461 | 2015-02-11 17:56:40.447 | Downloading http://pypi.DFW.openstack.org/packages/source/d/dib-utils/dib-utils-0.0.8.tar.gz
2015-02-11 17:56:40.980 | 2015-02-11 17:56:40.966 | [pbr] Processing SOURCES.txt
2015-02-11 17:56:40.981 | 2015-02-11 17:56:40.967 | warning: LocalManifestMaker: standard file '-c' not found
2015-02-11 17:56:41.017 | 2015-02-11 17:56:41.002 | Installing collected packages: dib-utils
2015-02-11 17:56:41.018 | 2015-02-11 17:56:41.004 | Running setup.py install for dib-utils
2015-02-11 17:56:41.376 | 2015-02-11 17:56:41.361 | [pbr] Reusing existing SOURCES.txt
2015-02-11 17:56:41.377 | 2015-02-11 17:56:41.363 | changing mode of /usr/local/bin/dib-run-parts to 755
2015-02-11 17:56:41.433 | 2015-02-11 17:56:41.419 | Successfully installed dib-utils-0.0.8
2015-02-11 17:56:41.461 | 2015-02-11 17:56:41.446 | *******************************************************************************
2015-02-11 17:56:41.462 | 2015-02-11 17:56:41.448 | Initializing Configuration for Running Tests...
2015-02-11 17:56:41.464 | 2015-02-11 17:56:41.449 | *******************************************************************************
2015-02-11 17:56:41.465 | 2015-02-11 17:56:41.451 | *******************************************************************************
2015-02-11 17:56:41.467 | 2015-02-11 17:56:41.452 | Installing python test packages.
2015-02-11 17:56:41.468 | 2015-02-11 17:56:41.454 | *******************************************************************************
2015-02-11 17:56:42.256 | 2015-02-11 17:56:42.241 | Collecting openstack.nose-plugin
2015-02-11 17:56:42.321 | 2015-02-11 17:56:42.306 | Downloading http://pypi.DFW.openstack.org/packages/source/o/openstack.nose_plugin/openstack.nose_plugin-0.11.tar.gz
2015-02-11 17:56:42.773 | 2015-02-11 17:56:42.758 | Collecting proboscis
2015-02-11 17:56:42.810 | 2015-02-11 17:56:42.796 | Downloading http://pypi.DFW.openstack.org/packages/source/p/proboscis/proboscis-1.2.6.0.tar.gz
2015-02-11 17:56:43.130 | 2015-02-11 17:56:43.115 | Requirement already satisfied (use --upgrade to upgrade): pexpect in /usr/local/lib/python2.7/dist-packages
2015-02-11 17:56:43.131 | 2015-02-11 17:56:43.117 | Requirement already satisfied (use --upgrade to upgrade): nose in /usr/lib/python2.7/dist-packages (from openstack.nose-plugin)
2015-02-11 17:56:43.133 | 2015-02-11 17:56:43.119 | Requirement already satisfied (use --upgrade to upgrade): colorama in /usr/lib/python2.7/dist-packages (from openstack.nose-plugin)
2015-02-11 17:56:43.168 | 2015-02-11 17:56:43.153 | Collecting termcolor (from openstack.nose-plugin)
2015-02-11 17:56:43.187 | 2015-02-11 17:56:43.172 | Downloading http://pypi.DFW.openstack.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz
2015-02-11 17:56:43.504 | 2015-02-11 17:56:43.489 | Installing collected packages: termcolor, proboscis, openstack.nose-plugin
2015-02-11 17:56:43.505 | 2015-02-11 17:56:43.491 | Running setup.py install for termcolor
2015-02-11 17:56:43.800 | 2015-02-11 17:56:43.785 | Running setup.py install for proboscis
2015-02-11 17:56:44.129 | 2015-02-11 17:56:44.115 | Running setup.py install for openstack.nose-plugin
2015-02-11 17:56:44.432 | 2015-02-11 17:56:44.417 | Skipping installation of /usr/local/lib/python2.7/dist-packages/openstack/__init__.py (namespace package)
2015-02-11 17:56:44.433 | 2015-02-11 17:56:44.419 | Installing /usr/local/lib/python2.7/dist-packages/openstack.nose_plugin-0.11-py2.7-nspkg.pth
2015-02-11 17:56:44.595 | 2015-02-11 17:56:44.580 | Successfully installed openstack.nose-plugin-0.11 proboscis-1.2.6.0 termcolor-1.1.0
2015-02-11 17:56:44.626 | 2015-02-11 17:56:44.611 | *******************************************************************************
2015-02-11 17:56:44.628 | 2015-02-11 17:56:44.613 | Modifying test.conf and guest.conf with appropriate values.
2015-02-11 17:56:44.629 | 2015-02-11 17:56:44.615 | *******************************************************************************
2015-02-11 17:56:45.956 | 2015-02-11 17:56:45.941 | *******************************************************************************
2015-02-11 17:56:45.958 | 2015-02-11 17:56:45.943 | Creating Test Flavors.
2015-02-11 17:56:45.959 | 2015-02-11 17:56:45.945 | *******************************************************************************
2015-02-11 17:56:47.491 | 2015-02-11 17:56:47.476 | ERROR (Forbidden): Policy doesn't allow compute_extension:flavormanage to be performed. (HTTP 403) (Request-ID: req-e1a5e1e7-0b26-45b0-9379-814c22098b8e)
2015-02-11 17:56:47.524 | + local ret_val=1

Changed in trove-integration:
assignee: nobody → Saurabh Surana (saurabh-surana)
status: New → In Progress
Revision history for this message
Peter Stachowski (peterstac) wrote :

There's already a patchset in flight to correct this issue: https://review.openstack.org/#/c/155141/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove-integration (master)

Reviewed: https://review.openstack.org/155151
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=c0da3ccf9aa5e28aa03cfb94c8a852980efe4b1a
Submitter: Jenkins
Branch: master

commit c0da3ccf9aa5e28aa03cfb94c8a852980efe4b1a
Author: Saurabh Surana <email address hidden>
Date: Wed Feb 11 17:21:20 2015 -0800

    using admin tenant to create flavors

    something changed in nova and we cannot create new flavors with service tenant
    so we will use admin tenant instead

    Change-Id: I8674980fc57092140ae8df3e13ae7b5341dbbc50
    Closes-Bug: 1421029

Changed in trove-integration:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.