nova admin can't add additional ips to a slice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
# nova-manage network list
IPv4 IPv6 start address DNS1 DNS2 VlanID project
x4.0/24 x:52::/64 x.2 y.8 z.9 None None
No network identifier here.
usage: nova add-fixed-ip <server> <network_id>
Add new IP address to network.
Positional arguments:
<server> Name or ID of server.
<network_id> Network ID.
I've looked up the id of a network in the db and giving it a network id of X which corresponds to the id in the networks table doesn't give an address either.
castor:
55
I have plenty of ips available. Still debugging.
You need to give the Network UUID not the network ID. There is a bug in nova about network UUID (See here): /bugs.launchpad .net/nova/ +bug/861160
https:/
To workaround just insert the uuid on the database manually (use the python uuid module to generate one), and use it with the add-fixed-ip command.