ipaddr is not assigned when creating a port on shared network with different tenant_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Salvatore Orlando |
Bug Description
When I create a port on a shared network with different tenant_id,
IP address is not assigned to the port created.
After ./stack.sh,
(1) (User=admin/
(2) (User=demo/
(3) Then, (User=demo/
public network 'pub1'.
(4) The port creation succeeds but fixed_ips are not assigned.
I expects IP address will be assinged on the created port.
In the above case, get_subnets() in db_base_plugin_v2 returns an empty list.
Since subnet has no attribute 'shared', _model_query() for subnets queries "subnets" table with tenant_id.
It seems "shared" attribute is necessasry for "subnets" table.
I hope my understanding of public network is correct.
Changed in quantum: | |
status: | Fix Committed → Fix Released |
Changed in quantum: | |
milestone: | folsom-rc1 → 2012.2 |
Detail commandlines are as follows: paste.openstack .org/show/ 20344/
http://