Need to check that there are available floating IPs before deploy

Registered by Anastasia Kuznetsova

Now when we want to create any service with floating IP we should just select "Assign Floating IP" box in the service creation form.

So we can select this parameter but generally we don't know anything about available addresses. Possible situation in this case: we select "Assign Floating IP" and send this environment on deploy, but at this moment there are no addresses that can be chosen.

That's why deploy will finish with error:
Create Failed
Resource Create Failed: Neutronclientexception: 409-{U'Neutronerror': {U'Message': U'No More Ip Addresses Available On Network Cb64af27-8aa3-46cc-8b0a-C5ba4606ff06.', U'Type': U'Ipaddressgenerationfailure', U'Detail': U''}}.

After that we have to disassociate some IP manually and create service again.

Proposal: maybe we can make a some check during service creation, before deploy. Then we could notify users about absence of available addresses.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Anastasia Kuznetsova
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
Accepted for future
Implementation:
Not started
Milestone target:
milestone icon ongoing

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.