[LBaaS] Add VIP requires knowing a free ip address instead of subnet
Bug #1252811 reported by
Yves-Gwenael Bourhis
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Leandro Ignacio Costantino |
Bug Description
When following this procedure:
https:/
Neutron CLI allows specifying a subnet:
neutron lb-vip-create --name myvip --protocol-port 80 --protocol HTTP --subnet-id <subnet-id> mypool
And a free IP from the subnet will be assigned to the VIP.
The horizon Form requires knowing in advance an unused IP from the subnet.
Also, if we do not fill this part of the form with an IP (not marked as compulsory in the form), we get the following error:
'Error: Unable to add VIP "myvip".'
Also, the is detected, because the form mentions "Specify a free IP address from <subnet mentioned here>".
Changed in horizon: | |
assignee: | nobody → Leandro Ignacio Costantino (leandro-i-costantino) |
Changed in horizon: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Address is set to empty, so 'invalid address' is returned.
{"vip": {"session_ persistence" : {}, "protocol": "HTTP", "name": "MyVip", "address": "", "subnet_id": "6b69d9cd- f2fc-4cea- b237-a645ec34af 5c", "protocol_port": 55, "admin_state_up": true, "pool_id": "99a1713d- 58cc-433b- 9932-f3a8c4f524 ea", "description": "A vip w/o free ip "}}
HTTP/1.1 400 Bad Request
Content-Length: 84
Content-Type: application/json; charset=UTF-8
{"NeutronError": "Invalid input for address. Reason: '' is not a valid IP address."}
The field can be removed or set to null ( None before json conversion ) if not mandatory