Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 13

Comment by Anonymouslemming for Try to click (+), if it won't help test via CLI : # source keystonerc_admin [root@juno1 ~(keystone_admin)]# neutron floatingip-create public Created a new floatingip: +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | fixed_ip_address | | | floating_ip_address | 192.168.1.158 | | floating_network_id | 65cbd354-daae-41bb-9d3c-e58b1062be19 | | id | 723242ca-61df-4d70-acf8-7678628b14f9 | | port_id | | | router_id | | | status | DOWN | | tenant_id | 2561f253faca48399d0cc77886574e1d | +---------------------+--------------------------------------+ Then run [root@juno1 ~(keystone_admin)]# neutron floatingip-list Make sure created floating IP is there and run [root@juno1 ~(keystone_admin)]# nova list Your instance should come up with instance-id, name , status ACTIVE. Next command [root@juno1 ~(keystone_admin)]# neutron port-list --device-id instance-id should return you port-id to be assigned floating IP [root@juno1 ~(keystone_admin)]# neutron floatingip-associate 723242ca-61df-4d70-acf8-7678628b14f9 port-id [root@juno1 ~(keystone_admin)]# neutron floatingip-show 723242ca-61df-4d70-acf8-7678628b14f9 Of course your floatingip-id ( in my case 723242ca-61df-4d70-acf8-7678628b14f9 ) would be different from mine.

Next: Comment by dbaxps for Try to click (+), if it won't help test via CLI : # source keystonerc_admin [root@juno1 ~(keystone_admin)]# neutron floatingip-create public Created a new floatingip: +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | fixed_ip_address | | | floating_ip_address | 192.168.1.158 | | floating_network_id | 65cbd354-daae-41bb-9d3c-e58b1062be19 | | id | 723242ca-61df-4d70-acf8-7678628b14f9 | | port_id | | | router_id | | | status | DOWN | | tenant_id | 2561f253faca48399d0cc77886574e1d | +---------------------+--------------------------------------+ Then run [root@juno1 ~(keystone_admin)]# neutron floatingip-list Make sure created floating IP is there and run [root@juno1 ~(keystone_admin)]# nova list Your instance should come up with instance-id, name , status ACTIVE. Next command [root@juno1 ~(keystone_admin)]# neutron port-list --device-id instance-id should return you port-id to be assigned floating IP [root@juno1 ~(keystone_admin)]# neutron floatingip-associate 723242ca-61df-4d70-acf8-7678628b14f9 port-id [root@juno1 ~(keystone_admin)]# neutron floatingip-show 723242ca-61df-4d70-acf8-7678628b14f9 Of course your floatingip-id ( in my case 723242ca-61df-4d70-acf8-7678628b14f9 ) would be different from mine.
Previous: Answer by pvinodp for I've deployed Openstack using RedHat's Packastack allinone option on Centos7. I then followed the instructions at https://openstack.redhat.com/Neutron_with_existing_external_network to use my existing external network. Next, I created a private network for the admin project with a range of 192.168.13.0/24. I then started up a guest in the admin project, and it was allocated an IP from this range (192.168.13.2). However, when I come to associate a floating IP with this guest so that I can access it internally, I am receiving a message saying "No Ports Available". I am able to select an IP address from the pool that I setup when following the document above. Can anyone advise what I have to do in order to complete this setup and map floating IPs to my compute instances on the private network please ?
$
0
0
The advice in this answer pointed me to the following: [https://ask.openstack.org/en/question/1980/how-to-configure-multiple-floating-ip-pools/](https://ask.openstack.org/en/question/1980/how-to-configure-multiple-floating-ip-pools/). Having created a router with an interface in private, this works.

Viewing all articles
Browse latest Browse all 13

Trending Articles