Activity log for bug #1522773

Date Who What changed Old value New value Message
2015-12-04 10:23:34 Antonio Ojea bug added bug
2015-12-04 10:26:17 Antonio Ojea description You can't to add a second router to a network ( to use extra-route)m it throws the following error neutron router-interface-add ojmgmt port=94040cf8-4f0b-42fd-9788-c5d2d261f6ed {"message":"Operation failed because the Dhcp with ID f754ada3-1381-4ef4-8443-203a423d927c already references the Port with ID 27bd30a1-cbd6-4400-a50e-59f52f75ca9e via the field router_if_port_id. This field can accommodate only one reference.","code":409} As you can see below the port is created and out of the range of the dhcp leases venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron subnet-show f754ada3-1381-4ef4-8443-203a423d927c +-------------------+-------------------------------------------+ | Field | Value | +-------------------+-------------------------------------------+ | allocation_pools | {"start": "5.5.5.10", "end": "5.5.5.254"} | | cidr | 5.5.5.0/24 | | dns_nameservers | 8.8.8.8 | | enable_dhcp | True | | gateway_ip | 5.5.5.1 | | host_routes | | | id | f754ada3-1381-4ef4-8443-203a423d927c | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | oj-subnet | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | subnetpool_id | | | tenant_id | 75acb75dde024e4bad3d98bc18952329 | +-------------------+-------------------------------------------+ (venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron port-create oj-net --fixed-ip ip_address=5.5.5.5 Created a new port: +-----------------------+--------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | | | binding:vif_details | {"port_filter": true} | | binding:vif_type | midonet | | binding:vnic_type | normal | | device_id | | | device_owner | | | fixed_ips | {"subnet_id": "f754ada3-1381-4ef4-8443-203a423d927c", "ip_address": "5.5.5.5"} | | id | 94040cf8-4f0b-42fd-9788-c5d2d261f6ed | | mac_address | fa:16:3e:1a:54:67 | | name | | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | security_groups | e018054b-8e89-4c5c-913c-03cdf3c437bb | | status | ACTIVE | | tenant_id | 245d70d652504ba3aaa02f17209e5a25 | +-----------------------+--------------------------------------------------------------------------------+ The environment is openstack kilo + midonet 5.0.1rc0 + python-neutron-plugin-midonet-2015.1.0-1.el7.noarch You can't to add a second router to a network ( to use extra-route)m it throws the following error  neutron router-interface-add ojmgmt port=94040cf8-4f0b-42fd-9788-c5d2d261f6ed {"message":"Operation failed because the Dhcp with ID f754ada3-1381-4ef4-8443-203a423d927c already references the Port with ID 27bd30a1-cbd6-4400-a50e-59f52f75ca9e via the field router_if_port_id. This field can accommodate only one reference.","code":409} As you can see below the port is created and out of the range of the dhcp leases venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron subnet-show f754ada3-1381-4ef4-8443-203a423d927c +-------------------+-------------------------------------------+ | Field | Value | +-------------------+-------------------------------------------+ | allocation_pools | {"start": "5.5.5.10", "end": "5.5.5.254"} | | cidr | 5.5.5.0/24 | | dns_nameservers | 8.8.8.8 | | enable_dhcp | True | | gateway_ip | 5.5.5.1 | | host_routes | | | id | f754ada3-1381-4ef4-8443-203a423d927c | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | oj-subnet | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | subnetpool_id | | | tenant_id | 75acb75dde024e4bad3d98bc18952329 | +-------------------+-------------------------------------------+ (venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron port-create oj-net --fixed-ip ip_address=5.5.5.5 Created a new port: +-----------------------+--------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | | | binding:vif_details | {"port_filter": true} | | binding:vif_type | midonet | | binding:vnic_type | normal | | device_id | | | device_owner | | | fixed_ips | {"subnet_id": "f754ada3-1381-4ef4-8443-203a423d927c", "ip_address": "5.5.5.5"} | | id | 94040cf8-4f0b-42fd-9788-c5d2d261f6ed | | mac_address | fa:16:3e:1a:54:67 | | name | | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | security_groups | e018054b-8e89-4c5c-913c-03cdf3c437bb | | status | ACTIVE | | tenant_id | 245d70d652504ba3aaa02f17209e5a25 | +-----------------------+--------------------------------------------------------------------------------+
2015-12-04 13:48:01 Antonio Ojea description The environment is openstack kilo + midonet 5.0.1rc0 + python-neutron-plugin-midonet-2015.1.0-1.el7.noarch You can't to add a second router to a network ( to use extra-route)m it throws the following error  neutron router-interface-add ojmgmt port=94040cf8-4f0b-42fd-9788-c5d2d261f6ed {"message":"Operation failed because the Dhcp with ID f754ada3-1381-4ef4-8443-203a423d927c already references the Port with ID 27bd30a1-cbd6-4400-a50e-59f52f75ca9e via the field router_if_port_id. This field can accommodate only one reference.","code":409} As you can see below the port is created and out of the range of the dhcp leases venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron subnet-show f754ada3-1381-4ef4-8443-203a423d927c +-------------------+-------------------------------------------+ | Field | Value | +-------------------+-------------------------------------------+ | allocation_pools | {"start": "5.5.5.10", "end": "5.5.5.254"} | | cidr | 5.5.5.0/24 | | dns_nameservers | 8.8.8.8 | | enable_dhcp | True | | gateway_ip | 5.5.5.1 | | host_routes | | | id | f754ada3-1381-4ef4-8443-203a423d927c | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | oj-subnet | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | subnetpool_id | | | tenant_id | 75acb75dde024e4bad3d98bc18952329 | +-------------------+-------------------------------------------+ (venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron port-create oj-net --fixed-ip ip_address=5.5.5.5 Created a new port: +-----------------------+--------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | | | binding:vif_details | {"port_filter": true} | | binding:vif_type | midonet | | binding:vnic_type | normal | | device_id | | | device_owner | | | fixed_ips | {"subnet_id": "f754ada3-1381-4ef4-8443-203a423d927c", "ip_address": "5.5.5.5"} | | id | 94040cf8-4f0b-42fd-9788-c5d2d261f6ed | | mac_address | fa:16:3e:1a:54:67 | | name | | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | security_groups | e018054b-8e89-4c5c-913c-03cdf3c437bb | | status | ACTIVE | | tenant_id | 245d70d652504ba3aaa02f17209e5a25 | +-----------------------+--------------------------------------------------------------------------------+ The environment is openstack kilo + midonet 5.0.1rc0 + python-neutron-plugin-midonet-2015.1.0-1.el7.noarch You can't to add a second router to a network ( to use extra-route)m it throws the following error  neutron router-interface-add ojmgmt port=94040cf8-4f0b-42fd-9788-c5d2d261f6ed {"message":"Operation failed because the Dhcp with ID f754ada3-1381-4ef4-8443-203a423d927c already references the Port with ID 27bd30a1-cbd6-4400-a50e-59f52f75ca9e via the field router_if_port_id. This field can accommodate only one reference.","code":409} The port referenced only appears in midonet-cli port 27bd30a1-cbd6-4400-a50e-59f52f75ca9e device f19863e5-d4b1-4439-9a9d-0377b3d0d1c7 state up plugged no mac fa:16:3e:d5:25:ff address 5.5.5.1 net 5.5.5.0/24 peer bb8d00af-02c9-4b19-ad4a-c4c2c96eaa6e As you can see below the port is created and out of the range of the dhcp leases venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron subnet-show f754ada3-1381-4ef4-8443-203a423d927c +-------------------+-------------------------------------------+ | Field | Value | +-------------------+-------------------------------------------+ | allocation_pools | {"start": "5.5.5.10", "end": "5.5.5.254"} | | cidr | 5.5.5.0/24 | | dns_nameservers | 8.8.8.8 | | enable_dhcp | True | | gateway_ip | 5.5.5.1 | | host_routes | | | id | f754ada3-1381-4ef4-8443-203a423d927c | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | oj-subnet | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | subnetpool_id | | | tenant_id | 75acb75dde024e4bad3d98bc18952329 | +-------------------+-------------------------------------------+ (venv-rally)root@sa-lab-08 ~(keystone_admin)$ neutron port-create oj-net --fixed-ip ip_address=5.5.5.5 Created a new port: +-----------------------+--------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:host_id | | | binding:profile | | | binding:vif_details | {"port_filter": true} | | binding:vif_type | midonet | | binding:vnic_type | normal | | device_id | | | device_owner | | | fixed_ips | {"subnet_id": "f754ada3-1381-4ef4-8443-203a423d927c", "ip_address": "5.5.5.5"} | | id | 94040cf8-4f0b-42fd-9788-c5d2d261f6ed | | mac_address | fa:16:3e:1a:54:67 | | name | | | network_id | 20cf2457-c6b6-4f9c-9578-64a089b6e9ee | | security_groups | e018054b-8e89-4c5c-913c-03cdf3c437bb | | status | ACTIVE | | tenant_id | 245d70d652504ba3aaa02f17209e5a25 | +-----------------------+--------------------------------------------------------------------------------+
2015-12-05 04:57:06 YAMAMOTO Takashi networking-midonet: status New Incomplete
2016-01-14 04:19:33 YAMAMOTO Takashi bug task added midonet
2016-01-14 04:20:22 YAMAMOTO Takashi midonet: status New Fix Committed
2016-01-14 04:20:22 YAMAMOTO Takashi midonet: milestone 5.1
2016-01-14 04:20:22 YAMAMOTO Takashi midonet: assignee Brandon Berg (bberg-s)
2016-01-14 04:20:41 YAMAMOTO Takashi networking-midonet: status Incomplete Invalid
2016-01-14 04:39:13 Ryu Ishimoto midonet: importance Undecided High