Public bug reported:

Hi team,

>From the horizon dashboard, user unable to attach the existing custom
port to the router. Kindly refer the following steps to reproduce the
error:

1. Openstack port create --network <net_name> --fixed-ip 
(15.15.15.6)<<ip_address>> port_name
2. From the dashboard, trying to attach the interface to router by specifying 
the ip_address as input in the input_box.
3. Facing following error:
           Failed to add_interface: IP address 15.15.15.6 already allocated in 
subnet 2f5e470b-c785-4cdc-b88b-2d8296cbb925 Neutron server returns request_ids: 
['req-6ac8b2e6-ae5d-467e-a502-9638e8003bdc']

4. By openstack router add port <<router>> <<port_id>>, above same port
is able to attach to the router.

Suggestions:
When the user specifying the ip_address in the horizon dashboard, the function 
is not checking for existing port. It tries to create the new port with 
specific address. So we are facing ip address already allocated error.

Code or function call need to be change in horizon.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: dashboard neutron

** Tags added: dashboard neutron

** Description changed:

  Hi team,
  
  From the horizon dashboard, user unable to attach the existing custom
  port to the router. Kindly refer the following steps to reproduce the
  error:
  
  1. Openstack port create --network <net_name> --fixed-ip 
(15.15.15.6)<<ip_address>> port_name
  2. From the dashboard, trying to attach the interface to router by specifying 
the ip_address as input in the input_box.
- 3. Facing following error: 
-            Failed to add_interface: IP address 15.15.15.6 already allocated 
in subnet 2f5e470b-c785-4cdc-b88b-2d8296cbb925 Neutron server returns 
request_ids: ['req-6ac8b2e6-ae5d-467e-a502-9638e8003bdc']
+ 3. Facing following error:
+            Failed to add_interface: IP address 15.15.15.6 already allocated 
in subnet 2f5e470b-c785-4cdc-b88b-2d8296cbb925 Neutron server returns 
request_ids: ['req-6ac8b2e6-ae5d-467e-a502-9638e8003bdc']
  
  4. By openstack router add port <<router>> <<port_id>>, above same port
  is able to attach to the router.
- 
  
  Suggestions:
  When the user specifying the ip_address in the horizon dashboard, the 
function is not checking for existing port. It tries to create the new port 
with specific address. So we are facing ip address already allocated error.
  
  Code or function call need to be change in horizon.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1693104

Title:
  Cannot add custom port to router

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Hi team,

  From the horizon dashboard, user unable to attach the existing custom
  port to the router. Kindly refer the following steps to reproduce the
  error:

  1. Openstack port create --network <net_name> --fixed-ip 
(15.15.15.6)<<ip_address>> port_name
  2. From the dashboard, trying to attach the interface to router by specifying 
the ip_address as input in the input_box.
  3. Facing following error:
             Failed to add_interface: IP address 15.15.15.6 already allocated 
in subnet 2f5e470b-c785-4cdc-b88b-2d8296cbb925 Neutron server returns 
request_ids: ['req-6ac8b2e6-ae5d-467e-a502-9638e8003bdc']

  4. By openstack router add port <<router>> <<port_id>>, above same
  port is able to attach to the router.

  Suggestions:
  When the user specifying the ip_address in the horizon dashboard, the 
function is not checking for existing port. It tries to create the new port 
with specific address. So we are facing ip address already allocated error.

  Code or function call need to be change in horizon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1693104/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to