neutron create_[router|network] can run before admin tenant is created

Bug #1385491 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Sergii Golovatiuk

Bug Description

see failed ci for https://review.openstack.org/#/c/130772/3

Fri Oct 24 17:29:44 +0000 2014 /Stage[main]/Openstack::Controller/Openstack::Network::Create_network[net04]/Neutron_network[net04]/ensure (err): change from absent to present failed: Could not set 'present' on ensure: Unable to get tenant-ID for tenant 'admin' at 42:/etc/puppet/modules/openstack/manifests/network/create_network.pp
Fri Oct 24 17:29:44 +0000 2014 /Stage[main]/Openstack::Controller/Openstack::Network::Create_network[net04]/Neutron_network[net04] (debug): Nothing to manage: no ensure and the resource doesn't exist

Tags: puppet
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/130889

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Andrew Woodward (xarses) wrote :
description: updated
Changed in fuel:
assignee: Andrew Woodward (xarses) → Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Mike Scherbakov (mihgen) → Fuel Library Team (fuel-library)
Changed in fuel:
status: In Progress → Triaged
assignee: Fuel Library Team (fuel-library) → Andrew Woodward (xarses)
status: Triaged → In Progress
Revision history for this message
Sergey Vasilenko (xenolog) wrote :

The core of this issue not in the ordering.
Message "Unable to get tenant-ID for tenant 'admin' at 42:/etc/puppet/modules/openstack/manifests/network/create_network.pp" mean, that Keystone can't get ID for tenant with name 'admin'. Because in this test admin tenant named as "simpleGre".

Changed in fuel:
assignee: Andrew Woodward (xarses) → Sergey Vasilenko (xenolog)
Revision history for this message
Sergey Vasilenko (xenolog) wrote :
Revision history for this message
Sergey Vasilenko (xenolog) wrote :
Changed in fuel:
assignee: Sergey Vasilenko (xenolog) → Sergii Golovatiuk (sgolovatiuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/131074
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=2dfcd2f780b895a43dc5b9e2fd1ebcdde37f0fcf
Submitter: Jenkins
Branch: master

commit 2dfcd2f780b895a43dc5b9e2fd1ebcdde37f0fcf
Author: Sergey Vasilenko <email address hidden>
Date: Mon Oct 27 13:25:27 2014 +0300

    Don't use tenant name from predefined_networks section

    Closes-bug: #1385491
    Change-Id: Id0cafbe24bd04b967ef98d35b34ae207821f4bfc

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #75

"build_id": "2014-11-04_16-38-46", "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa", "build_number": "75", "auth_required": true, "api": "1.0", "nailgun_sha": "35946b1f225c984f11915ba8e985584160f0b129", "production": "docker", "fuelmain_sha": "d498d9153494b412cc75900ab8a1f4e18bc26c13", "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-11-04_16-38-46", "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa", "build_number": "75", "api": "1.0", "nailgun_sha": "35946b1f225c984f11915ba8e985584160f0b129", "production": "docker", "fuelmain_sha": "d498d9153494b412cc75900ab8a1f4e18bc26c13", "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "2a314f9d14ea045b4b917d01d6c8f9a732ca1d7f"}}}, "fuellib_sha": "2a314f9d14ea045b4b917d01d6c8f9a732ca1d7f"

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Andrew Woodward (<email address hidden>) on branch: master
Review: https://review.openstack.org/130889

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.