nova admin can't add additional ips to a slice

Bug #892062 reported by klmitch
6
This bug affects 1 person
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:pvo-python-novaclient paul$ nova list | awk '{print $2}'| grep '[0-9]' | wc -l
      55

I have plenty of ips available. Still debugging.

Revision history for this message
klmitch (q-noreply) wrote :

You need to give the Network UUID not the network ID. There is a bug in nova about network UUID (See here):
https://bugs.launchpad.net/nova/+bug/861160

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.

Revision history for this message
klmitch (q-noreply) wrote :

Hello pvo, gagupta
 i have maybe the same problem with nova add-fixed-ip .

when i tryed it use with uuid, had in nova-network.log "NetworkNotFound: Network 2e786fdb-960a-4d54-b59e-1c9cb31f9a4b could not be found." but i'm using d4 openstack.
should it work with uuid in Diablo release ?

Revision history for this message
Brian Waldon (bcwaldon) wrote :

Is this still an issue?

Changed in nova:
status: Confirmed → Incomplete
importance: High → Undecided
Revision history for this message
Thierry Carrez (ttx) wrote :

Lots of changes on the UUID handling side... Could you confirm this is still an issue ?

Revision history for this message
Thierry Carrez (ttx) wrote :

We cannot solve the issue you reported without more information. Could you please provide the requested information ?

Revision history for this message
Thierry Carrez (ttx) wrote :

This bug lacks the necessary information to effectively reproduce and fix it, therefore it has been closed. Feel free to reopen the bug by providing the requested information and set the bug status back to ''New''.

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.