[Contrail 3.0.1] Can create port with precreated floatingip as fixed ip

Bug #1574714 reported by Yevgeniy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Contrail plugin
Won't Fix
High
Illia Polliul

Bug Description

Scenario:
  1. Create external network with floating ip
  2. Create port with floating ip as fixed ip
Actual result:
  (neutron) port-create test2 --fixed-ip ip_address=10.100.3.3
  An unknown exception occurred.

 New port without ip addres:
(neutron) port-show 03c38c1c-4192-4725-b220-84cd1686d99c
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| admin_state_up | True |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | vrouter |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | |
| id | 03c38c1c-4192-4725-b220-84cd1686d99c |
| mac_address | 02:03:c3:8c:1c:41 |
| name | 03c38c1c-4192-4725-b220-84cd1686d99c |
| network_id | 00714e8d-ae2a-4750-917d-6ad26711d6de |
| security_groups | bcf5c3b4-2046-42c9-a7ab-5724051dd10e |
| status | DOWN |
| tenant_id | 0721708b1553443a85b886bb4e43454b |

Expected result:
 Port can not be created

Tags: contrail
Revision history for this message
Yevgeniy (yshapovalov) wrote :
Revision history for this message
Oleksandr Martsyniuk (omartsyniuk) wrote :
Download full text (6.0 KiB)

No reproduced with contrail packages 3.0.2.0-25:

root@node-34:~# neutron net-list
+--------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------+
| dc6646f8-8d06-4e37-b2f2-5492d79731c3 | net04 | 66c337fb-0530-48aa-bd8d-256b1520b04a 192.168.111.0/24 |
| 34bba879-fc19-4db3-bed8-602198e72ba1 | default-virtual-network | |
| 66c4ce9c-9cb6-4efd-ab99-4740d20ecdee | snat-si-left_snat_04ab879c-90b1-4bd7-a226-5dd95b0eb798_baad098a-09a4-4cc5-b41d-ecaff0ccc1fb | ab5e6353-0ecd-4482-911e-144079496015 100.64.0.0/29 |
| 60f87810-036c-4add-8d8e-d39a3f2b9cea | __link_local__ | |
| ea3f0a3c-b2b5-4094-bad3-96f833edeb6c | ip-fabric | |
| 2d60cc93-d221-4b95-af2d-47b083c14a02 | net04_ext | c218b650-be40-484d-9fec-822b1e3be1ae 10.100.1.0/24 |
+--------------------------------------+---------------------------------------------------------------------------------------------+-------------------------------------------------------+

root@node-34:~# neutron port-create net04_ext --fixed-ip ip_address=10.100.1.10
Created a new port:
+---------------------+------------------------------------------------------------------------------------+
| Field | Value |
+---------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | vrouter |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "c218b650-be40-484d-9fec-822b1e3be1ae", "ip_address": "10.100.1.10"} |
| id ...

Read more...

Changed in fuel-plugin-contrail:
status: New → Won't Fix
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.