novanetwork create fails in openstack-network-controller.pp task

Bug #1430911 reported by Aleksandr Didenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Aleksandr Didenko
6.0.x
Invalid
Undecided
Aleksandr Didenko
6.1.x
Fix Released
Critical
Aleksandr Didenko

Bug Description

Noticed on custom ISO but it could arrise on any master ISO:

Wed Mar 11 16:19:19 +0000 2015 Scope(Class[main]) (notice): MODULAR: keystone.pp
Wed Mar 11 16:20:34 +0000 2015 Scope(Class[main]) (notice): MODULAR: glance.pp
Wed Mar 11 16:20:53 +0000 2015 Scope(Class[main]) (notice): MODULAR: openstack-controller.pp
Wed Mar 11 16:23:37 +0000 2015 Scope(Class[main]) (notice): MODULAR: openstack-network-controller.pp
Wed Mar 11 16:23:51 +0000 2015 Scope(Class[main]) (notice): MODULAR: openstack-network-controller.pp
Wed Mar 11 16:24:06 +0000 2015 Scope(Class[main]) (notice): MODULAR: heat.pp

As we can see there's a retry for 'openstack-network-controller.pp' task which is caused by this error:

Wed Mar 11 16:23:44 +0000 2015 Puppet (debug): Executing '/usr/bin/nova-manage network create novanetwork 10.0.0.0/16 8 32 --dns1 8.8.4.4 --vlan_start 103 --dns2 8.8.8.8'
Wed Mar 11 16:23:44 +0000 2015 Puppet (err): Execution of '/usr/bin/nova-manage network create novanetwork 10.0.0.0/16 8 32 --dns1 8.8.4.4 --vlan_start 103 --dns2 8.8.8.8' returned 1: 2015-03-11 16:23:44.846 20710 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
..... TRACE ....
2015-03-11 16:23:44.887 20710 TRACE nova NetworkNotCreated: bridge_interface is required to create a network.

It happens because puppet executes this command before Nova_config[DEFAULT/vlan_interface] is configured. We need to fix resource ordering here.

Tags: library
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/163525

Changed in fuel:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/163525
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=7571ad17923613e70d7cda374c92974bf556fbfa
Submitter: Jenkins
Branch: master

commit 7571ad17923613e70d7cda374c92974bf556fbfa
Author: Aleksandr Didenko <email address hidden>
Date: Wed Mar 11 19:10:59 2015 +0200

    Fix ordering for Nova::Manage::Network

    Configure Nova_config[DEFAULT/vlan_interface] before creating
    networks with Nova::Manage::Network.

    Change-Id: I060f71061502df8d7300701d81414d67367a2009
    Closes-bug: #1430911

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Related to granular deployment, so doesn't fit to 6.0. Set as invalid.

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/164706

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

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

commit f8970efcb9b56c97df59df23a003fd7c7027109b
Author: Vladimir Kuklin <email address hidden>
Date: Mon Mar 16 17:07:26 2015 +0300

    Fix ordering for Nova::Manage::Network for all managers

    Configure Nova_config manager stanza before creating
    networks with Nova::Manage::Network.
    Closes-bug: #1430911

    Change-Id: Id030aabd50998985a641c13b3942cbfc7197027e

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

Verified on ISO #304 for CentOS and Ubuntu

"build_id": "2015-04-10_22-54-31", "ostf_sha": "c2a76a60ec4ebbd78e508216c2e12787bf25e423", "build_number": "304", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-10_22-54-31", "ostf_sha": "c2a76a60ec4ebbd78e508216c2e12787bf25e423", "build_number": "304", "api": "1.0", "nailgun_sha": "69547a71abb4696df7e6f44b1f7864b0535f2df7", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "9208ff4a08dcb674ce2df132399a5aa3ddfac21c", "astute_sha": "d96a80b63198a578b2c159edbd76048819039eb0", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "8daac234aea6ac0a98f27871deec039f74f6fdab", "fuellib_sha": "867028fe78837dc2e4635a2cbb976782856964d0"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "69547a71abb4696df7e6f44b1f7864b0535f2df7", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "9208ff4a08dcb674ce2df132399a5aa3ddfac21c", "astute_sha": "d96a80b63198a578b2c159edbd76048819039eb0", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "8daac234aea6ac0a98f27871deec039f74f6fdab", "fuellib_sha": "867028fe78837dc2e4635a2cbb976782856964d0"

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.