yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68367
[Bug 1693104] Re: Cannot add custom port to router
On a second thought, the reported issue is not a bug.
In the neutron API and CLI, a user needs two steps when specifying an IP
address of a new router interface: first create a port with a specific
port and then add a router interface by specifying the created port.
On the other hand, horizon provides a convenient way to do this in a
single form. The horizon form provides a way to specify an IP address of
the router interface.
Considering the reported case, a user is suggested to specify an IP
address of the add interface form without creating a port in advance.
In addition, there is no way that horizon knows a pre-created port is a
port for a router interface or a port for other purposes. The horizon
already returns a proper error when an IP address conflict happens.
As a conclusion, this is not a bug.
** Changed in: horizon
Status: New => Invalid
--
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):
Invalid
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
References