Bugfix: Bad Floating IP Address – OpenStack Folsom Basic Install

I ran into a problem in the final step of this tutorial, where I had to assign a floating IP address to a newly created VM. Following the instructions gave me this error:

Bad floatingip request: Cannot create floating IP and bind it to Port ......., since that port is owned by a different tenant.

The problem was using the Controller Node to run the command, without properly re-sourcing the environmental variables involved. To do this, I needed to change the [novarc] file the tutorial had me create when I set up the Controller Node.

This:

export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL="http://localhost:5000/v2.0"
export SERVICE_ENDPOINT="http://localhost:35357/v2.0"
export SERVICE_TOKEN=password

needs to be changed to:

export OS_TENANT_NAME=demo
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL="http://localhost:5000/v2.0"
export SERVICE_ENDPOINT="http://localhost:35357/v2.0"
export SERVICE_TOKEN=password

then re-sourced before running the command:

source novarc
quantum floatingip-create ...

And how!

Advertisements

2 thoughts on “Bugfix: Bad Floating IP Address – OpenStack Folsom Basic Install

  1. Hi
    I also accroding to the document installed. Now the problem is

    when I ssh to vm, the vm can not access outside, like can not ping 8.8.8.8

    • Hi Shake, it sounds like you’re having a problem with routing. I would check to see if the routing table has the Public Network’s default gateway listed. (route -n)

Comments are closed.