[SRU] Cannot associate a second network/vlan to a tenant with "nova-manage network modify"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
MotoKen | ||
Essex |
Fix Released
|
Undecided
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
I want to start an instance with two NICs:
NIC1: eth0 connected to network1 (10.10.1.0/24 vlan1)
NIC2: eth1 connected to network2 (10.10.2.0/24 vlan2)
Let's say that network1/vlan1 was already associated automatically to my tenant.
In diablo, I would do this to associate the second network/vlan to my tenant:
# nova-manage network modify --network 10.10.2.0/24 --project 10 --host node1
In Essex, when I do the same, I get an error:
# nova-manage network modify --fixed_range 10.10.2.0/24 --project ca1d23c6d2fe4f4
2012-03-11 12:23:31 CRITICAL nova [-] 'bool' object has no attribute 'decode'
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/
(nova): TRACE: fn_kwargs[k] = v.decode('utf-8')
(nova): TRACE: AttributeError: 'bool' object has no attribute 'decode'
If I do the network-tenant association in the DB directly, it works:
mysql> update networks set host='node1' where cidr='10.
mysql> update networks set project_
# nova-manage network list
id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid
1 10.10.1.0/24 None 10.10.1.3 None None 1 ca1d... 477a...
2 10.10.2.0/24 None 10.10.2.3 None None 2 ca1d... 9d41...
3 10.10.3.0/24 None 10.10.3.3 None None 3 None 2296...
4 10.10.4.0/24 None 10.10.4.3 None None 4 None 0eca...
# nova boot --flavor 7 --image ae9076a1-
I am running:
OS: Ubuntu Precise (beta1)
Nova: 2012.1~
Related branches
- Chuck Short: Pending requested
-
Diff: 56 lines (+14/-4)3 files modifieddebian/changelog (+8/-0)
debian/control (+6/-3)
debian/nova-console.install (+0/-1)
Changed in nova: | |
importance: | Undecided → Medium |
milestone: | none → folsom-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | New → In Progress |
Changed in nova (Ubuntu Precise): | |
status: | New → In Progress |
summary: |
- Cannot associate a second network/vlan to a tenant with "nova-manage - network modify" + [SRU] Cannot associate a second network/vlan to a tenant with "nova- + manage network modify" |
Changed in nova (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
assignee: | nobody → Chuck Short (zulcss) |
tags: |
added: verification-done removed: verification-needed |
Changed in nova (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6358
Review: https:/