1
RDO Juno test M3 Notes multinode VXLAN
Arif Ali edited this page 2014-10-02 19:26:05 +01:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
  • set SELinux to permissive setenforce 0
  • run packstack --gen-answer-file /root/packstack_answers.txt
  • Edit packstack-answers.txt, with the following updates`
CONFIG_KEYSTONE_ADMIN_PW=openstack
CONFIG_HEAT_INSTALL=y
CONFIG_NTP_SERVERS=10.0.0.251

CONFIG_COMPUTE_HOSTS=10.0.0.1,10.0.0.2,10.0.0.3

CONFIG_USE_EPEL=n
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet_internal:br-internal
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-internal:enp2s1f0
CONFIG_PROVISION_DEMO=n
  • run packstack --answer-file=packstack_answers.txt
[root@stack01 ~]# packstack --answer-file=packstack_answers.txt 
Welcome to Installer setup utility

Installing:
Clean Up                                             [ DONE ]
Setting up ssh keys                                  [ DONE ]
Discovering hosts' details                           [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Installing time synchronization via NTP              [ DONE ]
Preparing servers                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MySQL manifest entries                        [ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding Openstack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Adding Horizon manifest entries                      [ DONE ]
Adding Swift Keystone manifest entries               [ DONE ]
Adding Swift builder manifest entries                [ DONE ]
Adding Swift proxy manifest entries                  [ DONE ]
Adding Swift storage manifest entries                [ DONE ]
Adding Swift common manifest entries                 [ DONE ]
Adding Heat manifest entries                         [ DONE ]
Adding Heat Keystone manifest entries                [ DONE ]
Adding MongoDB manifest entries                      [ DONE ]
Adding Ceilometer manifest entries                   [ DONE ]
Adding Ceilometer Keystone manifest entries          [ DONE ]
Adding Nagios server manifest entries                [ DONE ]
Adding Nagios host manifest entries                  [ DONE ]
Adding post install manifest entries                 [ DONE ]
Installing Dependencies                              [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 10.0.0.1_prescript.pp
Applying 10.0.0.3_prescript.pp
Applying 10.0.0.2_prescript.pp
10.0.0.1_prescript.pp:                               [ DONE ]    
10.0.0.2_prescript.pp:                               [ DONE ]    
10.0.0.3_prescript.pp:                               [ DONE ]    
Applying 10.0.0.1_ntpd.pp
Applying 10.0.0.3_ntpd.pp
Applying 10.0.0.2_ntpd.pp
10.0.0.2_ntpd.pp:                                    [ DONE ]
10.0.0.1_ntpd.pp:                                    [ DONE ]
10.0.0.3_ntpd.pp:                                    [ DONE ]
Applying 10.0.0.1_amqp.pp
Applying 10.0.0.1_mysql.pp
10.0.0.1_amqp.pp:                                    [ DONE ]
10.0.0.1_mysql.pp:                                   [ DONE ]
Applying 10.0.0.1_keystone.pp
Applying 10.0.0.1_glance.pp
Applying 10.0.0.1_cinder.pp
10.0.0.1_keystone.pp:                                [ DONE ]   
10.0.0.1_cinder.pp:                                  [ DONE ]   
10.0.0.1_glance.pp:                                  [ DONE ]   
Applying 10.0.0.1_api_nova.pp
10.0.0.1_api_nova.pp:                                [ DONE ]   
Applying 10.0.0.1_nova.pp
Applying 10.0.0.3_nova.pp
Applying 10.0.0.2_nova.pp
10.0.0.1_nova.pp:                                    [ DONE ]
10.0.0.2_nova.pp:                                    [ DONE ]
10.0.0.3_nova.pp:                                    [ DONE ]
Applying 10.0.0.1_neutron.pp
Applying 10.0.0.3_neutron.pp
Applying 10.0.0.2_neutron.pp
10.0.0.3_neutron.pp:                                 [ DONE ]  
10.0.0.2_neutron.pp:                                 [ DONE ]  
10.0.0.1_neutron.pp:                                 [ DONE ]  
Applying 10.0.0.1_neutron_fwaas.pp
Applying 10.0.0.1_osclient.pp
Applying 10.0.0.1_horizon.pp
10.0.0.1_neutron_fwaas.pp:                           [ DONE ]        
10.0.0.1_osclient.pp:                                [ DONE ]        
10.0.0.1_horizon.pp:                                 [ DONE ]        
Applying 10.0.0.1_ring_swift.pp
10.0.0.1_ring_swift.pp:                              [ DONE ]     
Applying 10.0.0.1_swift.pp
Applying 10.0.0.1_heat.pp
10.0.0.1_swift.pp:                                   [ DONE ]
10.0.0.1_heat.pp:                                    [ DONE ]
Applying 10.0.0.1_mongodb.pp
10.0.0.1_mongodb.pp:                                 [ DONE ]  
Applying 10.0.0.1_ceilometer.pp
Applying 10.0.0.1_nagios.pp
Applying 10.0.0.1_nagios_nrpe.pp
Applying 10.0.0.3_nagios_nrpe.pp
Applying 10.0.0.2_nagios_nrpe.pp
10.0.0.3_nagios_nrpe.pp:                             [ DONE ]      
10.0.0.2_nagios_nrpe.pp:                             [ DONE ]      
10.0.0.1_ceilometer.pp:                              [ DONE ]      
10.0.0.1_nagios.pp:                                  [ DONE ]      
10.0.0.1_nagios_nrpe.pp:                             [ DONE ]      
Applying 10.0.0.1_postscript.pp
Applying 10.0.0.3_postscript.pp
Applying 10.0.0.2_postscript.pp
10.0.0.1_postscript.pp:                              [ DONE ]     
10.0.0.2_postscript.pp:                              [ DONE ]     
10.0.0.3_postscript.pp:                              [ DONE ]     
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******


Additional information:
 * Warning: NetworkManager is active on 10.0.0.1, 10.0.0.3, 10.0.0.2. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host 10.0.0.1. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://10.0.0.1/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://10.0.0.1/nagios username: nagiosadmin, password: e6ba2fd9220e4381
 * The installation log file is available at: /var/tmp/packstack/20141001-143933-4mUOyn/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20141001-143933-4mUOyn/manifests

Create and modify the following files to suite in /etc/sysconfig/network-scripts

  • ifcfg-enp2s1f1
  • ifcfg-br-ex

Then restart the networking on the nodes by using, may need to do it twice

systemctl restart network.service
[root@stack01 ~]# nova-manage host list
host                     	zone           
stack01.cluster          	internal       
stack02.cluster          	nova           
stack03.cluster          	nova           
[root@stack01 ~]# . /root/keystonerc_admin
[root@stack01 ~(keystone_admin)]# neutron net-create ext_net --router:external=True
Created a new network:
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 9971787b-1d1b-41cd-9ae2-84c7f52c18be |
| name                      | ext_net                              |
| provider:network_type     | vxlan                                |
| provider:physical_network |                                      |
| provider:segmentation_id  | 10                                   |
| router:external           | True                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tenant_id                 | 423b2784006a42f09293b31389cbe777     |
+---------------------------+--------------------------------------+
[root@stack01 ~(keystone_admin)]# neutron subnet-create --name ext_subnet --disable-dhcp ext_net 192.168.33.0/24 --gateway 192.168.33.254 --allocation-pool start=192.168.33.161,end=192.168.33.190
Created a new subnet:
+-------------------+------------------------------------------------------+
| Field             | Value                                                |
+-------------------+------------------------------------------------------+
| allocation_pools  | {"start": "192.168.33.161", "end": "192.168.33.190"} |
| cidr              | 192.168.33.0/24                                      |
| dns_nameservers   |                                                      |
| enable_dhcp       | False                                                |
| gateway_ip        | 192.168.33.254                                       |
| host_routes       |                                                      |
| id                | cf45aea7-ad57-4fb5-8ad2-296c3a8582ad                 |
| ip_version        | 4                                                    |
| ipv6_address_mode |                                                      |
| ipv6_ra_mode      |                                                      |
| name              | ext_subnet                                           |
| network_id        | 9971787b-1d1b-41cd-9ae2-84c7f52c18be                 |
| tenant_id         | 423b2784006a42f09293b31389cbe777                     |
+-------------------+------------------------------------------------------+
[root@stack01 ~(keystone_admin)]# wget --no-check-certificate https://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
--2014-10-02 01:08:01--  https://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
Resolving download.cirros-cloud.net (download.cirros-cloud.net)... 69.163.241.114
Connecting to download.cirros-cloud.net (download.cirros-cloud.net)|69.163.241.114|:443... connected.
WARNING: cannot verify download.cirros-cloud.net's certificate, issued by /CN=download.cirros-cloud.net:
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Found
Location: http://cdn.download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img [following]
--2014-10-02 01:08:02--  http://cdn.download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
Resolving cdn.download.cirros-cloud.net (cdn.download.cirros-cloud.net)... 23.63.99.137, 23.63.99.161, 2a02:26f0:5d::173f:63a1, ...
Connecting to cdn.download.cirros-cloud.net (cdn.download.cirros-cloud.net)|23.63.99.137|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13200896 (13M) [application/octet-stream]
Saving to: cirros-0.3.3-x86_64-disk.img

100%[=============================================================================================================>] 13,200,896   808KB/s   in 17s    

2014-10-02 01:08:19 (767 KB/s) - cirros-0.3.3-x86_64-disk.img saved [13200896/13200896]

[root@stack01 ~(keystone_admin)]# glance image-create --name cirros --is-public=True --disk-format=qcow2 --container-format=bare --disk-format=qcow2 --file /root/cirros-0.3.3-x86_64-disk.img
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 133eae9fb1c98f45894a4e60d8736619     |
| container_format | bare                                 |
| created_at       | 2014-10-02T00:08:37                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | b2303e06-860b-492b-b89d-0aa384d3d34d |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | cirros                               |
| owner            | 423b2784006a42f09293b31389cbe777     |
| protected        | False                                |
| size             | 13200896                             |
| status           | active                               |
| updated_at       | 2014-10-02T00:08:37                  |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
[root@stack01 ~(keystone_admin)]# keystone tenant-create --name demo
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description |                                  |
|   enabled   |               True               |
|      id     | 289e6f07ef054f71b744825a6c43eba6 |
|     name    |               demo               |
+-------------+----------------------------------+
[root@stack01 ~(keystone_admin)]# keystone user-create --name demo --pass demo
+----------+----------------------------------+
| Property |              Value               |
+----------+----------------------------------+
|  email   |                                  |
| enabled  |               True               |
|    id    | 1b7ff0aad8d448cc90dfc607197e008e |
|   name   |               demo               |
| username |               demo               |
+----------+----------------------------------+
[root@stack01 ~(keystone_admin)]# keystone user-role-add --user demo --role _member_ --tenant demo
[root@stack01 ~(keystone_admin)]# cat > keystonerc_demo << EOF
export OS_USERNAME=demo
export OS_TENANT_NAME=demo
export OS_PASSWORD=demo
export OS_AUTH_URL=http://10.0.0.1:5000/v2.0/
export PS1='[\u@\h \W(keystone_demo)]\$ '
EOF
[root@stack01 ~(keystone_admin)]# . keystonerc_demo 
[root@stack01 ~(keystone_demo)]$ ssh-keygen -t rsa -b 4096 -N '' -f /root/id_rsa_demo
Generating public/private rsa key pair.
Your identification has been saved in /root/id_rsa_demo.
Your public key has been saved in /root/id_rsa_demo.pub.
The key fingerprint is:
7a:fa:9c:8b:de:e5:55:a0:91:32:47:9f:e6:99:80:4a root@stack01.cluster
The key's randomart image is:
+--[ RSA 4096]----+
|          .      |
|         o o .   |
|      E + = =    |
|     . . + * +   |
|      . S . + .  |
|       .     .   |
|      . . . .    |
|       * + .     |
|     .+.*..      |
+-----------------+
[root@stack01 ~(keystone_demo)]$ nova keypair-add --pub-key /root/id_rsa_demo.pub demo_key
[root@stack01 ~(keystone_demo)]$ neutron net-create stack_net_priv
Created a new network:
+----------------+--------------------------------------+
| Field          | Value                                |
+----------------+--------------------------------------+
| admin_state_up | True                                 |
| id             | 7a047e5f-78e8-497f-8b1c-fd8b9bf5c8c0 |
| name           | stack_net_priv                       |
| shared         | False                                |
| status         | ACTIVE                               |
| subnets        |                                      |
| tenant_id      | 289e6f07ef054f71b744825a6c43eba6     |
+----------------+--------------------------------------+
[root@stack01 ~(keystone_demo)]$ neutron subnet-create --name stack_subnet_priv --dns-nameserver 8.8.8.8 stack_net_priv 10.0.8.0/24
Created a new subnet:
+-------------------+--------------------------------------------+
| Field             | Value                                      |
+-------------------+--------------------------------------------+
| allocation_pools  | {"start": "10.0.8.2", "end": "10.0.8.254"} |
| cidr              | 10.0.8.0/24                                |
| dns_nameservers   | 8.8.8.8                                    |
| enable_dhcp       | True                                       |
| gateway_ip        | 10.0.8.1                                   |
| host_routes       |                                            |
| id                | b481a7ce-b277-4cc3-a7c1-282db6a20954       |
| ip_version        | 4                                          |
| ipv6_address_mode |                                            |
| ipv6_ra_mode      |                                            |
| name              | stack_subnet_priv                          |
| network_id        | 7a047e5f-78e8-497f-8b1c-fd8b9bf5c8c0       |
| tenant_id         | 289e6f07ef054f71b744825a6c43eba6           |
+-------------------+--------------------------------------------+
[root@stack01 ~(keystone_demo)]$ neutron router-create extnet_stackrouter
Created a new router:
+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| admin_state_up        | True                                 |
| external_gateway_info |                                      |
| id                    | 0c710500-636d-4e5c-b8ec-e19dd1254bc3 |
| name                  | extnet_stackrouter                   |
| routes                |                                      |
| status                | ACTIVE                               |
| tenant_id             | 289e6f07ef054f71b744825a6c43eba6     |
+-----------------------+--------------------------------------+
[root@stack01 ~(keystone_demo)]$ neutron router-gateway-set extnet_stackrouter ext_net
Set gateway for router extnet_stackrouter
[root@stack01 ~(keystone_demo)]$ neutron router-interface-add extnet_stackrouter stack_subnet_priv
Added interface 32688248-0484-4482-89b6-fd7dc6848140 to router extnet_stackrouter.
[root@stack01 ~(keystone_demo)]$ neutron security-group-rule-create --protocol tcp --port-range-min 22 --port-range-max 22 default
Created a new security_group_rule:
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| direction         | ingress                              |
| ethertype         | IPv4                                 |
| id                | c08250ef-79d5-4473-9f50-18745005f3b0 |
| port_range_max    | 22                                   |
| port_range_min    | 22                                   |
| protocol          | tcp                                  |
| remote_group_id   |                                      |
| remote_ip_prefix  |                                      |
| security_group_id | fd019b6c-7a91-4986-afab-e6dbc3d88451 |
| tenant_id         | 289e6f07ef054f71b744825a6c43eba6     |
+-------------------+--------------------------------------+
[root@stack01 ~(keystone_demo)]$ neutron security-group-rule-create --protocol icmp default
Created a new security_group_rule:
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| direction         | ingress                              |
| ethertype         | IPv4                                 |
| id                | af40835b-e16b-4f4f-aff5-49ba5f5a0ef0 |
| port_range_max    |                                      |
| port_range_min    |                                      |
| protocol          | icmp                                 |
| remote_group_id   |                                      |
| remote_ip_prefix  |                                      |
| security_group_id | fd019b6c-7a91-4986-afab-e6dbc3d88451 |
| tenant_id         | 289e6f07ef054f71b744825a6c43eba6     |
+-------------------+--------------------------------------+
[root@stack01 ~(keystone_demo)]$ nova boot --poll --flavor m1.tiny --image cirros --nic net-id=7a047e5f-78e8-497f-8b1c-fd8b9bf5c8c0 --key-name demo_key --min-count 8 test0
+--------------------------------------+-----------------------------------------------+
| Property                             | Value                                         |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                        |
| OS-EXT-AZ:availability_zone          | nova                                          |
| OS-EXT-STS:power_state               | 0                                             |
| OS-EXT-STS:task_state                | scheduling                                    |
| OS-EXT-STS:vm_state                  | building                                      |
| OS-SRV-USG:launched_at               | -                                             |
| OS-SRV-USG:terminated_at             | -                                             |
| accessIPv4                           |                                               |
| accessIPv6                           |                                               |
| adminPass                            | ZWaz9Znb6Uyi                                  |
| config_drive                         |                                               |
| created                              | 2014-10-02T00:12:25Z                          |
| flavor                               | m1.tiny (1)                                   |
| hostId                               |                                               |
| id                                   | 576b3815-25e4-4836-ab7e-a6fa6c5616c2          |
| image                                | cirros (b2303e06-860b-492b-b89d-0aa384d3d34d) |
| key_name                             | demo_key                                      |
| metadata                             | {}                                            |
| name                                 | test0-576b3815-25e4-4836-ab7e-a6fa6c5616c2    |
| os-extended-volumes:volumes_attached | []                                            |
| progress                             | 0                                             |
| security_groups                      | default                                       |
| status                               | BUILD                                         |
| tenant_id                            | 289e6f07ef054f71b744825a6c43eba6              |
| updated                              | 2014-10-02T00:12:25Z                          |
| user_id                              | 1b7ff0aad8d448cc90dfc607197e008e              |
+--------------------------------------+-----------------------------------------------+
Server building... 100% complete
Finished
[root@stack01 ~(keystone_demo)]$  nova list
+--------------------------------------+--------------------------------------------+--------+------------+-------------+--------------------------+
| ID                                   | Name                                       | Status | Task State | Power State | Networks                 |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+--------------------------+
| 1387d0ea-4d65-4e48-be77-736a5e59d88e | test0-1387d0ea-4d65-4e48-be77-736a5e59d88e | ACTIVE | -          | Running     | stack_net_priv=10.0.8.4  |
| 576b3815-25e4-4836-ab7e-a6fa6c5616c2 | test0-576b3815-25e4-4836-ab7e-a6fa6c5616c2 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.2  |
| 5b0bfd5d-5df3-4529-9474-db02e4fbaf76 | test0-5b0bfd5d-5df3-4529-9474-db02e4fbaf76 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.8  |
| 63917164-4034-43ee-ac1d-bef08a56dc02 | test0-63917164-4034-43ee-ac1d-bef08a56dc02 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.5  |
| 72add084-487c-41f6-a21f-c867046deb72 | test0-72add084-487c-41f6-a21f-c867046deb72 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.7  |
| baf9b656-87bb-4785-8c46-2d8ea403ac5d | test0-baf9b656-87bb-4785-8c46-2d8ea403ac5d | ACTIVE | -          | Running     | stack_net_priv=10.0.8.10 |
| d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d | test0-d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d | ACTIVE | -          | Running     | stack_net_priv=10.0.8.9  |
| eace4cb5-9316-4920-b1f5-abfcc6db7fca | test0-eace4cb5-9316-4920-b1f5-abfcc6db7fca | ACTIVE | -          | Running     | stack_net_priv=10.0.8.6  |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+--------------------------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.162 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.163 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.164 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.165 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.166 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.167 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.168 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-create ext_net
+----------------+-----------+----------+---------+
| Ip             | Server Id | Fixed Ip | Pool    |
+----------------+-----------+----------+---------+
| 192.168.33.169 | -         | -        | ext_net |
+----------------+-----------+----------+---------+
[root@stack01 ~(keystone_demo)]$  nova list
+--------------------------------------+--------------------------------------------+--------+------------+-------------+--------------------------+
| ID                                   | Name                                       | Status | Task State | Power State | Networks                 |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+--------------------------+
| 1387d0ea-4d65-4e48-be77-736a5e59d88e | test0-1387d0ea-4d65-4e48-be77-736a5e59d88e | ACTIVE | -          | Running     | stack_net_priv=10.0.8.4  |
| 576b3815-25e4-4836-ab7e-a6fa6c5616c2 | test0-576b3815-25e4-4836-ab7e-a6fa6c5616c2 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.2  |
| 5b0bfd5d-5df3-4529-9474-db02e4fbaf76 | test0-5b0bfd5d-5df3-4529-9474-db02e4fbaf76 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.8  |
| 63917164-4034-43ee-ac1d-bef08a56dc02 | test0-63917164-4034-43ee-ac1d-bef08a56dc02 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.5  |
| 72add084-487c-41f6-a21f-c867046deb72 | test0-72add084-487c-41f6-a21f-c867046deb72 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.7  |
| baf9b656-87bb-4785-8c46-2d8ea403ac5d | test0-baf9b656-87bb-4785-8c46-2d8ea403ac5d | ACTIVE | -          | Running     | stack_net_priv=10.0.8.10 |
| d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d | test0-d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d | ACTIVE | -          | Running     | stack_net_priv=10.0.8.9  |
| eace4cb5-9316-4920-b1f5-abfcc6db7fca | test0-eace4cb5-9316-4920-b1f5-abfcc6db7fca | ACTIVE | -          | Running     | stack_net_priv=10.0.8.6  |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+--------------------------+
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate 1387d0ea-4d65-4e48-be77-736a5e59d88e 192.168.33.162
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate 576b3815-25e4-4836-ab7e-a6fa6c5616c2 192.168.33.163
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate 5b0bfd5d-5df3-4529-9474-db02e4fbaf76 192.168.33.164
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate 63917164-4034-43ee-ac1d-bef08a56dc02 192.168.33.165
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate 72add084-487c-41f6-a21f-c867046deb72 192.168.33.166
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate baf9b656-87bb-4785-8c46-2d8ea403ac5d 192.168.33.167
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d 192.168.33.168
[root@stack01 ~(keystone_demo)]$ nova floating-ip-associate eace4cb5-9316-4920-b1f5-abfcc6db7fca 192.168.33.169
[root@stack01 ~(keystone_demo)]$ 
[root@stack01 ~(keystone_demo)]$ nova list
+--------------------------------------+--------------------------------------------+--------+------------+-------------+------------------------------------------+
| ID                                   | Name                                       | Status | Task State | Power State | Networks                                 |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+------------------------------------------+
| 1387d0ea-4d65-4e48-be77-736a5e59d88e | test0-1387d0ea-4d65-4e48-be77-736a5e59d88e | ACTIVE | -          | Running     | stack_net_priv=10.0.8.4, 192.168.33.162  |
| 576b3815-25e4-4836-ab7e-a6fa6c5616c2 | test0-576b3815-25e4-4836-ab7e-a6fa6c5616c2 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.2, 192.168.33.163  |
| 5b0bfd5d-5df3-4529-9474-db02e4fbaf76 | test0-5b0bfd5d-5df3-4529-9474-db02e4fbaf76 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.8, 192.168.33.164  |
| 63917164-4034-43ee-ac1d-bef08a56dc02 | test0-63917164-4034-43ee-ac1d-bef08a56dc02 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.5, 192.168.33.165  |
| 72add084-487c-41f6-a21f-c867046deb72 | test0-72add084-487c-41f6-a21f-c867046deb72 | ACTIVE | -          | Running     | stack_net_priv=10.0.8.7, 192.168.33.166  |
| baf9b656-87bb-4785-8c46-2d8ea403ac5d | test0-baf9b656-87bb-4785-8c46-2d8ea403ac5d | ACTIVE | -          | Running     | stack_net_priv=10.0.8.10, 192.168.33.167 |
| d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d | test0-d5ff6154-dcf9-4df3-89fe-1fe2901e3b9d | ACTIVE | -          | Running     | stack_net_priv=10.0.8.9, 192.168.33.168  |
| eace4cb5-9316-4920-b1f5-abfcc6db7fca | test0-eace4cb5-9316-4920-b1f5-abfcc6db7fca | ACTIVE | -          | Running     | stack_net_priv=10.0.8.6, 192.168.33.169  |
+--------------------------------------+--------------------------------------------+--------+------------+-------------+------------------------------------------+
[root@stack01 ~(keystone_demo)]$ ping 192.168.33.161
PING 192.168.33.161 (192.168.33.161) 56(84) bytes of data.
64 bytes from 192.168.33.161: icmp_seq=1 ttl=64 time=1.41 ms
64 bytes from 192.168.33.161: icmp_seq=2 ttl=64 time=0.092 ms
^C
--- 192.168.33.161 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.092/0.751/1.411/0.660 ms
[root@stack01 ~(keystone_demo)]$ ping 192.168.33.162
PING 192.168.33.162 (192.168.33.162) 56(84) bytes of data.
64 bytes from 192.168.33.162: icmp_seq=1 ttl=63 time=1.94 ms
64 bytes from 192.168.33.162: icmp_seq=2 ttl=63 time=0.360 ms
^C
--- 192.168.33.162 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.360/1.151/1.943/0.792 ms
[root@stack01 ~(keystone_demo)]$ ping 192.168.33.163
PING 192.168.33.163 (192.168.33.163) 56(84) bytes of data.
64 bytes from 192.168.33.163: icmp_seq=1 ttl=63 time=1.62 ms
^C
--- 192.168.33.163 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.627/1.627/1.627/0.000 ms
[root@stack01 ~(keystone_demo)]$ ping 192.168.33.164
PING 192.168.33.164 (192.168.33.164) 56(84) bytes of data.
64 bytes from 192.168.33.164: icmp_seq=1 ttl=63 time=1.42 ms
^C
--- 192.168.33.164 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.426/1.426/1.426/0.000 ms
[root@stack01 ~(keystone_demo)]$ ssh -i ~/id_rsa_demo cirros@192.168.33.162 ipa
Warning: Permanently added '192.168.33.162' (RSA) to the list of known hosts.
sh: ipa: not found
[root@stack01 ~(keystone_demo)]$ ssh -i ~/id_rsa_demo cirros@192.168.33.162 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether fa:16:3e:c6:28:48 brd ff:ff:ff:ff:ff:ff
    inet 10.0.8.4/24 brd 10.0.8.255 scope global eth0
    inet6 fe80::f816:3eff:fec6:2848/64 scope link 
       valid_lft forever preferred_lft forever
[root@stack01 ~(keystone_demo)]$ ssh -i ~/id_rsa_demo cirros@192.168.33.163 ip a
Warning: Permanently added '192.168.33.163' (RSA) to the list of known hosts.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether fa:16:3e:d8:1d:eb brd ff:ff:ff:ff:ff:ff
    inet 10.0.8.2/24 brd 10.0.8.255 scope global eth0
    inet6 fe80::f816:3eff:fed8:1deb/64 scope link 
       valid_lft forever preferred_lft forever
[root@stack01 ~(keystone_demo)]$ ssh -i ~/id_rsa_demo cirros@192.168.33.164 ip a
Warning: Permanently added '192.168.33.164' (RSA) to the list of known hosts.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether fa:16:3e:2e:12:6c brd ff:ff:ff:ff:ff:ff
    inet 10.0.8.8/24 brd 10.0.8.255 scope global eth0
    inet6 fe80::f816:3eff:fe2e:126c/64 scope link 
       valid_lft forever preferred_lft forever