m1.micro flavor creation error: Policy doesn't allow compute_extension:flavormanage to be performed.

Bug #1400910 reported by Vladimir Kuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Vladimir Kuklin
6.0.x
Fix Released
Critical
Vladimir Kuklin
6.1.x
Fix Released
Critical
Vladimir Kuklin

Bug Description

Centos simple neutron gre installation

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "125"
  build_id: "2014-12-09_19-56-27"
  astute_sha: "16b252d93be6aaa73030b8100cf8c5ca6a970a91"
  fuellib_sha: "2c99931072d951301d395ebd5bf45c8d401301bb"
  ostf_sha: "a9afb68710d809570460c29d6c3293219d3624d4"
  nailgun_sha: "22bd43b89a17843f9199f92d61fc86cb0f8772f1"
  fuelmain_sha: "3aab16667f47dd8384904e27f70f7a87ba15f4ee"

m1.micro flavor is created too early before keystone admin user is created this leads to the error and retry of puppet run

excerpt from logs:

(/Stage[main]/Osnailyfacter::Cluster_simple/Exec[create-m1.micro-flavor]/returns) ERROR (Forbidden): Policy doesn't allow compute_extension:flavormanage to be performed. (HTTP 403) (Request-ID: req-e57b660d-ae10-4532-80c6-bbba834601bd)

while admin user is created in the next step

2014-12-09T22:24:19.907892+00:00 info: (/Stage[main]/Keystone::Roles::Admin/Keystone_user_role[simpleGre@simpleGre]) Starting to evaluate the resource

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/140508

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Vladimir Kuklin (vkuklin)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/140509

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/140508
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=3e2287ed0ae10070288830ef352860c9d9bccc8e
Submitter: Jenkins
Branch: master

commit 3e2287ed0ae10070288830ef352860c9d9bccc8e
Author: Vladimir Kuklin <email address hidden>
Date: Wed Dec 10 01:45:03 2014 +0300

    Create keystone admin user before micro flavor

    Create keystone admin user so that you have
    rights to create m1.micro flavor

    Change-Id: Ie4eeac635c7684be7b705d8fe4d4d145cd47d29a
    Closes-bug: #1400910

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/6.0)

Reviewed: https://review.openstack.org/140509
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=3d21d96df33b2a9ed00d0ea69752a85152254847
Submitter: Jenkins
Branch: stable/6.0

commit 3d21d96df33b2a9ed00d0ea69752a85152254847
Author: Vladimir Kuklin <email address hidden>
Date: Wed Dec 10 01:45:03 2014 +0300

    Create keystone admin user before micro flavor

    Create keystone admin user so that you have
    rights to create m1.micro flavor

    Change-Id: Ie4eeac635c7684be7b705d8fe4d4d145cd47d29a
    Closes-bug: #1400910

tags: added: on-verification
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #56

"build_id": "2014-12-18_01-32-01", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "56", "auth_required": true, "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-18_01-32-01", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "56", "api": "1.0", "nailgun_sha": "5f91157daa6798ff522ca9f6d34e7e135f150a90", "production": "docker", "fuelmain_sha": "45caacadb878abfbd9d60e134d72229698b469c9", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"}}}, "fuellib_sha": "73332192a257ea02c40a39885c502ad1ebdf3eda"

tags: removed: on-verification
tags: added: on-verification
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #61

"build_id": "2015-01-14_22-54-45", "ostf_sha": "92ad9f8e4c509c82e07ceb093b5d579205c76014", "build_number": "61", "auth_required": true, "api": "1.0", "nailgun_sha": "bfb5ee4940555a3270362bb449fc1af4add43f20", "production": "docker", "fuelmain_sha": "", "astute_sha": "82125b0eef4e5a758fd4afa8917812e09a1f7dac", "feature_groups": ["mirantis"], "release": "6.1", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2015-01-14_22-54-45", "ostf_sha": "92ad9f8e4c509c82e07ceb093b5d579205c76014", "build_number": "61", "api": "1.0", "nailgun_sha": "bfb5ee4940555a3270362bb449fc1af4add43f20", "production": "docker", "fuelmain_sha": "", "astute_sha": "82125b0eef4e5a758fd4afa8917812e09a1f7dac", "feature_groups": ["mirantis"], "release": "6.1", "fuellib_sha": "89f7c94d65f75ebff01898b40aa3931bd52a8a61"}}}, "fuellib_sha": "89f7c94d65f75ebff01898b40aa3931bd52a8a61"

tags: removed: on-verification
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.