Ask Your Question
0

unable to associate floating ip into instance

asked 2013-10-16 19:44:26 -0500

terry gravatar image

updated 2014-01-22 15:12:51 -0500

Evgeny gravatar image

Dear All,

I setup the openstack on the a ubuntu12.04 laptop (not VM), I have NIC wlan0 wifi interface (192.168.1.111/24). The localrc file indicate that (correct me if i am wrong)

the floating range is 192.168.1.224/27 fixed range = 10.11.12.0/24 flat_interface =wlan0 (not sure if should be wlan0 or eth0, but I am using wlan 0 to internet)

After I installed the devstack, I have two accounts, admin and demo. Thus, I login with both account,

From Admin, I can see two network public: (my floating range in localrc) and private (fixed range in localrc) and all instances created will be automatically assigned with a ip from this public network (like 192.168.1.233).

From demo account, I can only see on network which is private 10.11.12.0/24, and all instance created will be assigned with a private ip, like 10.11.12.2.

Why that ?

So, when I was on admin account, I use nova command to list the floating ip, but they said there is not floating ip defined and I list nothing. But, when I use nova-manage floating-ip create te flotaing ip range (192.168.1.224/27) and want to get one from the pool (like 192.168.1.240) and when I wanted to assign this 240 ip to the instance, it was failed. I use nova floating-ip-bulk-list and it still shows nothing ....

any idea ?

The only goal so far is to make the instance access from outside and ping google. by assigning the floating ip. BTW, anytime instanced created no mater which account I used, there is not ip on the eth0 using ifconfig, but from the horizona GUI console, I can see the ip allocated. Can anyone tell me what I should do to do this ?

Thanks very much for any comment,

edit retag flag offensive close merge delete

Comments

are you solving the problems? please let me know.

seraphboy gravatar imageseraphboy ( 2013-12-29 21:30:28 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-11 23:40:10 -0500

DennyZhang gravatar image

Exactly the same problem for me!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-10-16 19:44:26 -0500

Seen: 1,362 times

Last updated: Nov 11 '13