yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11371
[Bug 1241219] Re: Adding a LBaaS VIP via horizon fails when the optional "Specify a free IP address from <my_subnet>" is not specified
*** This bug is a duplicate of bug 1252811 ***
https://bugs.launchpad.net/bugs/1252811
** This bug has been marked a duplicate of bug 1252811
[LBaaS] Add VIP requires knowing a free ip address instead of subnet
--
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/1241219
Title:
Adding a LBaaS VIP via horizon fails when the optional "Specify a free
IP address from <my_subnet>" is not specified
Status in OpenStack Dashboard (Horizon):
Confirmed
Bug description:
Version
=======
Havan on rhel
Description
===========
I'm trying to add a VIP to my pool via horizon, I didn't specify the
ip address (it's optional both in cli and horizon) because I wanted to
be assigned with the next free ip address from my subnet
automatically, however the whole operation of adding VIP fails with
the following error:
Error: Unable to add VIP "vlan_212_vip".
From /var/log/neutron/server.log
================================
2013-10-18 00:15:20.569 6309 ERROR neutron.api.v2.resource [-] create failed
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource Traceback (most recent call last):
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 84, in resource
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource result = method(request=request, **args)
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 341, in create
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource allow_bulk=self._allow_bulk)
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 594, in prepare_request_body
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource raise webob.exc.HTTPBadRequest(msg)
2013-10-18 00:15:20.569 6309 TRACE neutron.api.v2.resource HTTPBadRequest: Invalid input for address. Reason: '' is not a valid IP address.
The corresponding cli command' help output
==========================================
$ neutron lb-vip-create
usage: neutron lb-vip-create [-h] [-f {shell,table}] [-c COLUMN]
[--variable VARIABLE] [--prefix PREFIX]
[--request-format {json,xml}]
[--tenant-id TENANT_ID] [--address ADDRESS]
[--admin-state-down]
[--connection-limit CONNECTION_LIMIT]
[--description DESCRIPTION] --name NAME
--protocol-port PROTOCOL_PORT --protocol PROTOCOL
--subnet-id SUBNET_ID
pool
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1241219/+subscriptions