rally job failure with "Multiple possible networks"

Bug #1589876 reported by YAMAMOTO Takashi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
YAMAMOTO Takashi
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

http://logs.openstack.org/44/325144/1/check/gate-networking-midonet-v2-rally-dsvm-nv/3d39496/console.html

2016-06-06 02:30:23.567 | 2016-06-06 02:30:23.565 | + source /home/jenkins/.rally/openrc
2016-06-06 02:30:23.568 | 2016-06-06 02:30:23.567 | ++ export OS_AUTH_URL=http://127.0.0.1:5000/v2.0
2016-06-06 02:30:23.570 | 2016-06-06 02:30:23.568 | ++ OS_AUTH_URL=http://127.0.0.1:5000/v2.0
2016-06-06 02:30:23.572 | 2016-06-06 02:30:23.570 | ++ export OS_USERNAME=admin
2016-06-06 02:30:23.573 | 2016-06-06 02:30:23.571 | ++ OS_USERNAME=admin
2016-06-06 02:30:23.575 | 2016-06-06 02:30:23.574 | ++ export OS_PASSWORD=secretadmin
2016-06-06 02:30:23.577 | 2016-06-06 02:30:23.575 | ++ OS_PASSWORD=secretadmin
2016-06-06 02:30:23.579 | 2016-06-06 02:30:23.577 | ++ export OS_TENANT_NAME=admin
2016-06-06 02:30:23.580 | 2016-06-06 02:30:23.579 | ++ OS_TENANT_NAME=admin
2016-06-06 02:30:23.582 | 2016-06-06 02:30:23.580 | ++ export OS_REGION_NAME=RegionOne
2016-06-06 02:30:23.583 | 2016-06-06 02:30:23.581 | ++ OS_REGION_NAME=RegionOne
2016-06-06 02:30:23.588 | 2016-06-06 02:30:23.587 | ++ export OS_ENDPOINT_TYPE=publicURL
2016-06-06 02:30:23.590 | 2016-06-06 02:30:23.588 | ++ OS_ENDPOINT_TYPE=publicURL
2016-06-06 02:30:23.592 | 2016-06-06 02:30:23.590 | ++ export OS_INTERFACE=public
2016-06-06 02:30:23.593 | 2016-06-06 02:30:23.591 | ++ OS_INTERFACE=public
2016-06-06 02:30:23.596 | 2016-06-06 02:30:23.593 | + rally deployment check
2016-06-06 02:30:23.597 | 2016-06-06 02:30:23.595 | + grep nova
2016-06-06 02:30:23.599 | 2016-06-06 02:30:23.597 | + grep Available
2016-06-06 02:30:28.406 | 2016-06-06 02:30:28.404 | + nova flavor-create m1.nano 42 64 0 1
2016-06-06 02:30:29.326 | 2016-06-06 02:30:29.324 | +----+---------+-----------+------+-----------+------+-------+-------------+-----------+
2016-06-06 02:30:29.329 | 2016-06-06 02:30:29.326 | | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
2016-06-06 02:30:29.330 | 2016-06-06 02:30:29.328 | +----+---------+-----------+------+-----------+------+-------+-------------+-----------+
2016-06-06 02:30:29.332 | 2016-06-06 02:30:29.330 | | 42 | m1.nano | 64 | 0 | 0 | | 1 | 1.0 | True |
2016-06-06 02:30:29.333 | 2016-06-06 02:30:29.331 | +----+---------+-----------+------+-----------+------+-------+-------------+-----------+
2016-06-06 02:30:29.347 | 2016-06-06 02:30:29.345 | + nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --poll test-server
2016-06-06 02:30:30.776 | 2016-06-06 02:30:30.774 | ERROR (Conflict): Multiple possible networks found, use a Network ID to be more specific. (HTTP 409) (Request-ID: req-9ad1209d-ce94-40ea-8b44-7c680e6bd007)

Tags: gate-failure
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
milestone: none → 2.0.0
status: New → In Progress
importance: Undecided → Critical
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

actually it seems like a rally bug to me.

after the change Ic8a25eb1a7119a610c255ffa5ce80a8efcd27a0e ,
rally rally-gate.sh creates a VM with admin tenant.
with devstack-created topology, it ends up with booting a VM on public network.
i think it isn't the intended behaviour.

in case of networking-midonet, there are two admin networks (devstack-created
public network and midonet "uplink" network) and ends up with the "Multiple possible networks"
error.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-midonet (master)

Change abandoned by YAMAMOTO Takashi (<email address hidden>) on branch: master
Review: https://review.openstack.org/326325
Reason: not a right fix

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in rally:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (master)

Change abandoned by Antonio Ojea (<email address hidden>) on branch: master
Review: https://review.openstack.org/329176
Reason: Reverted the patch causing the jobs failures because of nova prepopulation

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

Reviewed: https://review.openstack.org/328093
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=633d0ff464553882143e6432f3c7423c0b75b407
Submitter: Jenkins
Branch: master

commit 633d0ff464553882143e6432f3c7423c0b75b407
Author: YAMAMOTO Takashi <email address hidden>
Date: Fri Jun 10 06:20:35 2016 +0000

    Revert "Gate: prepopulate cluster with one server"

    This reverts commit 994ed06f64577fd1e719852047b72f95600561e5
    (and its follow-up, b861c0cd4259deac7a0d371436006d78957ec47c)
    because it broke gate-networking-midonet-v2-rally-dsvm-nv job.

    In midonet, typically admin tenant has two networks,
    the usual "public" and midonet-specific "uplink".
    booting a VM without specifying a network fails with
    "Multiple possible networks" error there.

    The reasoning of the original commit is rather unclear to me,
    as listing security groups is enough to populate the default
    security groups for the tenant.

    Closes-Bug: #1589876
    Change-Id: Ia90a8f4a68f558205ddae87c0a3c2ff0bdc89945

Changed in rally:
status: In Progress → Fix Released
tags: added: gate-failure
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

the code in a question has been reverted in rally

Changed in networking-midonet:
status: In Progress → Fix Released
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.