I believe the post bellow will bring some more light on TripleO QuickStart
procedure suggested on RDO QuickStart page ( size of memory 32 GB
is a must. During minimal configuration runtime 23 GB of RAM are
required ). Following tips from Deploying OpenStack on just one hosted server
Overcloud deployed .
************************************************************************
First of all taking look at routing tables on undercloud VM
************************************************************************
[root@undercloud ~]# ifconfig
br-ctlplane: flags=4163 mtu 1500
inet 192.0.2.1 netmask 255.255.255.0 broadcast 192.0.2.255
inet6 fe80::285:8cff:feee:4c12 prefixlen 64 scopeid 0x20
ether 00:85:8c:ee:4c:12 txqueuelen 0 (Ethernet)
RX packets 5458173 bytes 430801023 (410.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8562456 bytes 31493865046 (29.3 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163 mtu 1500
inet 192.168.23.28 netmask 255.255.255.0 broadcast 192.168.23.255
inet6 fe80::285:8cff:feee:4c10 prefixlen 64 scopeid 0x20
ether 00:85:8c:ee:4c:10 txqueuelen 1000 (Ethernet)
RX packets 4550861 bytes 7090076105 (6.6 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1597556 bytes 760511620 (725.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163 mtu 1500
inet6 fe80::285:8cff:feee:4c12 prefixlen 64 scopeid 0x20
ether 00:85:8c:ee:4c:12 txqueuelen 1000 (Ethernet)
RX packets 5459780 bytes 430920997 (410.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8564443 bytes 31494029129 (29.3 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 4361647 bytes 24858373851 (23.1 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4361647 bytes 24858373851 (23.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099 mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:39:0a:ae txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vlan10: flags=4163 mtu 1500
inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::804e:69ff:fe19:844b prefixlen 64 scopeid 0x20
ether 82:4e:69:19:84:4b txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 816 (816.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@undercloud ~]# ip route
default via 192.168.23.1 dev eth0
10.0.0.0/24 dev vlan10 proto kernel scope link src 10.0.0.1
192.0.2.0/24 dev br-ctlplane proto kernel scope link src 192.0.2.1
192.168.23.0/24 dev eth0 proto kernel scope link src 192.168.23.28
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
[root@undercloud ~]# ovs-vsctl show
83b044ee-44ac-4575-88b3-4951a6e9847f
Bridge br-int
fail_mode: secure
Port "tapb3ad6627-29"
tag: 1
Interface "tapb3ad6627-29"
type: internal
Port int-br-ctlplane
Interface int-br-ctlplane
type: patch
options: {peer=phy-br-ctlplane}
Port br-int
Interface br-int
type: internal
Bridge br-ctlplane
Port "vlan10"
tag: 10
Interface "vlan10"
type: internal
Port phy-br-ctlplane
Interface phy-br-ctlplane
type: patch
options: {peer=int-br-ctlplane}
Port "eth1"
Interface "eth1"
Port br-ctlplane
Interface br-ctlplane
type: internal
ovs_version: "2.5.0"
*********************************************************
Here admin credentials on overcloud controller
*********************************************************
[stack@undercloud ~]$ cat overcloudrc
export OS_NO_CACHE=True
export OS_CLOUDNAME=overcloud
export OS_AUTH_URL=http://192.0.2.10:5000/v2.0
export NOVA_VERSION=1.1
export COMPUTE_API_VERSION=1.1
export OS_USERNAME=admin
export no_proxy=,192.0.2.10,192.0.2.10
export OS_PASSWORD=pWyQpHsaXAWskcmYEq2ja4WaU
export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available"
export OS_TENANT_NAME=admin
*******************************
At the same on VIRTHOST
*******************************
[root@ServerCentOS72 ~]# virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
external active yes yes
overcloud active yes yes
[root@ServerCentOS72 ~]# virsh net-dumpxml external
<network>
<name>external</name>
<uuid>d585615b-c1c5-4e30-bf2d-ea247591c2b0</uuid>
<forward mode='nat'>
<nat>
<port start='1024' end='65535'/>
</nat>
</forward>
<bridge name='brext' stp='off' delay='0'/>
<mac address='52:54:00:9d:b4:1d'/>
<ip address='192.168.23.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.23.10' end='192.168.23.50'/>
</dhcp>
</ip>
</network>
[root@ServerCentOS72 ~]# su - stack
Last login: Thu May 26 18:01:31 MSK 2016 on :0
[stack@ServerCentOS72 ~]$ virsh list
Id Name State
----------------------------------------------------
2 undercloud running
11 compute_0 running
12 control_0 running
*************************************************************************
Source stackrc and run openstack-status on undercloud
Overcloud deployment is already done on undercloud VM
*************************************************************************
[root@undercloud ~]# . stackrc
[root@undercloud ~]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-compute: active
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-cert: active
openstack-nova-conductor: active
openstack-nova-console: inactive (disabled on boot)
openstack-nova-consoleauth: inactive (disabled on boot)
openstack-nova-xvpvncproxy: inactive (disabled on boot)
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: inactive (disabled on boot)
== Horizon service ==
openstack-dashboard: 404
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: inactive (disabled on boot)
neutron-metadata-agent: inactive (disabled on boot)
neutron-lbaas-agent: inactive (disabled on boot)
neutron-openvswitch-agent: active
neutron-metering-agent: inactive (disabled on boot)
== Swift services ==
openstack-swift-proxy: active
openstack-swift-account: active
openstack-swift-container: active
openstack-swift-object: active
== Cinder services ==
openstack-cinder-api: inactive (disabled on boot)
openstack-cinder-scheduler: inactive (disabled on boot)
openstack-cinder-volume: inactive (disabled on boot)
openstack-cinder-backup: inactive (disabled on boot)
== Ceilometer services ==
openstack-ceilometer-api: active
openstack-ceilometer-central: active
openstack-ceilometer-compute: inactive (disabled on boot)
openstack-ceilometer-collector: active
openstack-ceilometer-notification: active
== Heat services ==
openstack-heat-api: active
openstack-heat-api-cfn: active
openstack-heat-api-cloudwatch: inactive (disabled on boot)
openstack-heat-engine: active
== Sahara services ==
openstack-sahara-all: inactive (disabled on boot)
== Ironic services ==
openstack-ironic-api: active
openstack-ironic-conductor: active
== Support services ==
mysqld: inactive (disabled on boot)
libvirtd: active
openvswitch: active
dbus: active
rabbitmq-server: active
memcached: active
====Keystone users ======
+----------------------------------+------------------+---------+-----------------------------------+
| id | name | enabled | email |
+----------------------------------+------------------+---------+-----------------------------------+
| c1668084d057422ab21c9180424b3e4a | admin | True | root@localhost |
| db938fe459c94cd09fe227a118f8be0f | aodh | True | aodh@localhost |
| 001a56a0872048a592db95dc9885292d | ceilometer | True | ceilometer@localhost |
| e038f5b685b84e6aa601b37312d84a56 | glance | True | glance@localhost |
| d7ddbfd73b814c13926c1ecd5ebe1bb2 | heat | True | heat@localhost |
| dc784308498d40568b649fbf12eaeb51 | ironic | True | ironic@localhost |
| 0c1f829c533240cdbec944236048ee1a | ironic-inspector | True | baremetal-introspection@localhost |
| ddbcb1dd885845c698f8d65f6f9ff44f | neutron | True | neutron@localhost |
| 987bd356963e4a5cbf2bd50c50919f9b | nova | True | nova@localhost |
| a5c862796ef24615afc2881e1a59f9d5 | swift | True | swift@localhost |
+----------------------------------+------------------+---------+-----------------------------------+
== Glance images ==
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| c734ff64-7723-43ee-a5d2-d662e1e206eb | bm-deploy-kernel | aki | aki | 5157360 | active |
| f80e32c4-cfce-4dcc-993a-939800440fbf | bm-deploy-ramdisk | ari | ari | 380554146 | active |
| 8616adc8-7136-4536-8562-5ed9cf129ed2 | overcloud-full | qcow2 | bare | 1175351296 | active |
| 73f5bfc7-99c2-46dc-8507-e5978ec61b84 | overcloud-full-initrd | ari | ari | 36444678 | active |
| 0d30aa5d-869c-4716-bdd4-87685e4790ca | overcloud-full-vmlinuz | aki | aki | 5157360 | active |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
== Nova managed services ==
+----+----------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+----------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | undercloud | internal | enabled | up | 2016-05-26T18:41:57.000000 | - |
| 7 | nova-scheduler | undercloud | internal | enabled | up | 2016-05-26T18:41:55.000000 | - |
| 8 | nova-conductor | undercloud | internal | enabled | up | 2016-05-26T18:41:56.000000 | - |
| 10 | nova-compute | undercloud | nova | enabled | up | 2016-05-26T18:41:54.000000 | - |
+----+----------------+------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID | Label | Cidr |
+--------------------------------------+----------+------+
| c27b8d62-f838-4c7e-8828-64ae1503f4c4 | ctlplane | - |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
| 1320d766-7051-4639-9554-a42e7c7fd958 | control | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 1b0ad845-6273-437f-8573-e4922a256ec7 | block-storage | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 27a0e9ee-c909-4d7d-8e86-1eb2e61fb1cb | oooq_control | 8192 | 49 | 0 | | 1 | 1.0 | True |
| 40057aa6-5e8b-4d4b-85d4-f21418d01b5d | baremetal | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 5750def3-dc08-43dd-b194-02d4ea73b8d7 | compute | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 769969da-f429-4f5f-84c9-6456f39539f8 | ceph-storage | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 9c1622bc-ee0f-4dfa-a988-1e89cad47015 | oooq_compute | 8192 | 49 | 0 | | 1 | 1.0 | True |
| a2e5a055-3334-4080-86f9-4887931aee22 | swift-storage | 4096 | 40 | 0 | | 1 | 1.0 | True |
| b05b3c15-7928-4f59-9f8d-7d3947e19bee | oooq_ceph | 8192 | 49 | 0 | | 1 | 1.0 | True |
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
| 88f841ac-1ca0-4339-ba8a-c2895c0dc57c | overcloud-controller-0 | ccf0e5fdbebb4335ad7875ec821af91d | ACTIVE | - | Running | ctlplane=192.0.2.13 |
| f12a1086-7e23-4acb-80a7-8b2efe1e4ef2 | overcloud-novacompute-0 | ccf0e5fdbebb4335ad7875ec821af91d | ACTIVE | - | Running | ctlplane=192.0.2.12 |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
******************************************************
Neutron reports on undercloud VM
******************************************************
[root@undercloud ~]# neutron net-list
+--------------------------------------+----------+------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+------------------------------------------+
| c27b8d62-f838-4c7e-8828-64ae1503f4c4 | ctlplane | 631022c3-cfc5-4353-b038-1592cceea57e |
| | | 192.0.2.0/24 |
+--------------------------------------+----------+------------------------------------------+
[root@undercloud ~]# neutron net-show ctlplane
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | nova |
| created_at | 2016-05-26T11:32:18 |
| description | |
| id | c27b8d62-f838-4c7e-8828-64ae1503f4c4 |
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1500 |
| name | ctlplane |
| provider:network_type | flat |
| provider:physical_network | ctlplane |
| provider:segmentation_id | |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | 631022c3-cfc5-4353-b038-1592cceea57e |
| tags | |
| tenant_id | ccf0e5fdbebb4335ad7875ec821af91d |
| updated_at | 2016-05-26T11:32:18 |
+---------------------------+--------------------------------------+
[root@undercloud ~]# neutron subnet-list
+------------------------------------+------+--------------+------------------------------------+
| id | name | cidr | allocation_pools |
+------------------------------------+------+--------------+------------------------------------+
| 631022c3-cfc5-4353-b038-1592cceea5 | | 192.0.2.0/24 | {"start": "192.0.2.5", "end": |
| 7e | | | "192.0.2.30"} |
+------------------------------------+------+--------------+------------------------------------+
[root@undercloud ~]# neutron subnet-show 631022c3-cfc5-4353-b038-1592cceea57e
+-------------------+---------------------------------------------------------------+
| Field | Value |
+-------------------+---------------------------------------------------------------+
| allocation_pools | {"start": "192.0.2.5", "end": "192.0.2.30"} |
| cidr | 192.0.2.0/24 |
| created_at | 2016-05-26T11:32:18 |
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 192.0.2.1 |
| host_routes | {"destination": "169.254.169.254/32", "nexthop": "192.0.2.1"} |
| id | 631022c3-cfc5-4353-b038-1592cceea57e |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | c27b8d62-f838-4c7e-8828-64ae1503f4c4 |
| subnetpool_id | |
| tenant_id | ccf0e5fdbebb4335ad7875ec821af91d |
| updated_at | 2016-05-26T11:32:18 |
+-------------------+---------------------------------------------------------------+
**********************************************
When overcloud deployment is done
**********************************************
[stack@undercloud ~]$ heat stack-list
+--------------------------------------+------------+-----------------+---------------------+--------------+
| id | stack_name | stack_status | creation_time | updated_time |
+--------------------------------------+------------+-----------------+---------------------+--------------+
| 7002392b-cd2d-439f-b3cd-024979f153a5 | overcloud | CREATE_COMPLETE | 2016-05-26T13:35:17 | None |
+--------------------------------------+------------+-----------------+---------------------+--------------+
[stack@undercloud ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| 88f841ac-1ca0-4339-ba8a-c2895c0dc57c | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.0.2.13 |
| f12a1086-7e23-4acb-80a7-8b2efe1e4ef2 | overcloud-novacompute-0 | ACTIVE | - | Running | ctlplane=192.0.2.12 |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
*******************************************
Log into overcloud controller
*******************************************
[stack@undercloud ~]$ ssh heat-admin@192.0.2.13
Last login: Thu May 26 16:52:28 2016 from gateway
[heat-admin@overcloud-controller-0 ~]$ sudo su -
Last login: Thu May 26 15:42:23 UTC 2016 on pts/0
[root@overcloud-controller-0 ~]# ls
keystonerc_admin oskey01.pem
[root@overcloud-controller-0 ~]# . keystonerc_admin
[root@overcloud-controller-0 ~]# ifconfig
br-ex: flags=4163 mtu 1500
inet 192.0.2.13 netmask 255.255.255.0 broadcast 192.0.2.255
inet6 fe80::2f7:7fff:fe1a:ca59 prefixlen 64 scopeid 0x20
ether 00:f7:7f:1a:ca:59 txqueuelen 0 (Ethernet)
RX packets 689651 bytes 1362839189 (1.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2346450 bytes 3243444405 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163 mtu 1500
inet6 fe80::2f7:7fff:fe1a:ca59 prefixlen 64 scopeid 0x20
ether 00:f7:7f:1a:ca:59 txqueuelen 1000 (Ethernet)
RX packets 2783352 bytes 4201989574 (3.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2876264 bytes 3280863833 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 2962545 bytes 8418607495 (7.8 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2962545 bytes 8418607495 (7.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@overcloud-controller-0 ~]# ovs-vsctl show
cc8be4fb-f96f-4679-b85d-d0afc7dd7f72
Bridge br-int
fail_mode: secure
Port "tapb86d48f2-45"
tag: 2
Interface "tapb86d48f2-45"
type: internal
Port "tapa4fa2a9d-a4"
tag: 3
Interface "tapa4fa2a9d-a4"
type: internal
Port "qr-eb92ffa9-da"
tag: 2
Interface "qr-eb92ffa9-da"
type: internal
Port "qr-e8146f9f-51"
tag: 3
Interface "qr-e8146f9f-51"
type: internal
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Bridge br-tun
fail_mode: secure
Port "vxlan-c000020c"
Interface "vxlan-c000020c"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="192.0.2.13", out_key=flow, remote_ip="192.0.2.12"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port "qg-df23145d-8f"
Interface "qg-df23145d-8f"
type: internal
Port "qg-53315134-1d"
Interface "qg-53315134-1d"
type: internal
Port br-ex
Interface br-ex
type: internal
Port "eth0"
Interface "eth0"
ovs_version: "2.5.0"
**************************************
Routing table on overcloud controller
*************************************
[root@overcloud-controller-0 ~]# ip route
default via 192.0.2.1 dev br-ex proto static
169.254.169.254 via 192.0.2.1 dev br-ex proto static
192.0.2.0/24 dev br-ex proto kernel scope link src 192.0.2.13
Network topology
[root@overcloud-controller-0 ~]# neutron net-list
+--------------------------------------+--------------+----------------------------------------+
| id | name | subnets |
+--------------------------------------+--------------+----------------------------------------+
| 1dad601c-c865-41d8-94cb-efc634c1fc83 | public | 12787d8b-1b72-402d-9b93-2821f0a18b7b |
| | | 192.0.2.0/24 |
| 0086836e-2dc3-4d40-a2e2-21f222b159f4 | demo_network | dcc40bfc-9293-47bb-8788-d4b5f090d076 |
| | | 90.0.0.0/24 |
| 59168b6e-adca-4ec6-982a-f94a0eb770c8 | private | ede9bbc2-5099-4d9f-91af-2fd4387d52be |
| | | 50.0.0.0/24 |
+--------------------------------------+--------------+----------------------------------------+
[root@overcloud-controller-0 ~]# nova service-list
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:20.000000 | - |
| 2 | nova-consoleauth | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:20.000000 | - |
| 5 | nova-scheduler | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:22.000000 | - |
| 6 | nova-conductor | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:24.000000 | - |
| 7 | nova-compute | overcloud-novacompute-0.localdomain | nova | enabled | up | 2016-05-26T17:09:19.000000 | - |
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
Running VMs
*************************************************************************
Verfication outbound connectivity. Connecting via floating IPs belong
192.0.2.0/24 to VMs running in overcloud from undercloud VM
*************************************************************************
*********************************************************
`ip netns` on overcloud controller
**********************************************************
It won't work on 16 GB even minimal configuration.
Server memory allocation for minimal virtual environment
procedure suggested on RDO QuickStart page ( size of memory 32 GB
is a must. During minimal configuration runtime 23 GB of RAM are
required ). Following tips from Deploying OpenStack on just one hosted server
Overcloud deployed .
************************************************************************
First of all taking look at routing tables on undercloud VM
************************************************************************
[root@undercloud ~]# ifconfig
br-ctlplane: flags=4163
inet 192.0.2.1 netmask 255.255.255.0 broadcast 192.0.2.255
inet6 fe80::285:8cff:feee:4c12 prefixlen 64 scopeid 0x20
ether 00:85:8c:ee:4c:12 txqueuelen 0 (Ethernet)
RX packets 5458173 bytes 430801023 (410.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8562456 bytes 31493865046 (29.3 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163
inet 192.168.23.28 netmask 255.255.255.0 broadcast 192.168.23.255
inet6 fe80::285:8cff:feee:4c10 prefixlen 64 scopeid 0x20
ether 00:85:8c:ee:4c:10 txqueuelen 1000 (Ethernet)
RX packets 4550861 bytes 7090076105 (6.6 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1597556 bytes 760511620 (725.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163
inet6 fe80::285:8cff:feee:4c12 prefixlen 64 scopeid 0x20
ether 00:85:8c:ee:4c:12 txqueuelen 1000 (Ethernet)
RX packets 5459780 bytes 430920997 (410.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8564443 bytes 31494029129 (29.3 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 4361647 bytes 24858373851 (23.1 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4361647 bytes 24858373851 (23.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:39:0a:ae txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vlan10: flags=4163
inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::804e:69ff:fe19:844b prefixlen 64 scopeid 0x20
ether 82:4e:69:19:84:4b txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12 bytes 816 (816.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@undercloud ~]# ip route
default via 192.168.23.1 dev eth0
10.0.0.0/24 dev vlan10 proto kernel scope link src 10.0.0.1
192.0.2.0/24 dev br-ctlplane proto kernel scope link src 192.0.2.1
192.168.23.0/24 dev eth0 proto kernel scope link src 192.168.23.28
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
83b044ee-44ac-4575-88b3-4951a6e9847f
Bridge br-int
fail_mode: secure
Port "tapb3ad6627-29"
tag: 1
Interface "tapb3ad6627-29"
type: internal
Port int-br-ctlplane
Interface int-br-ctlplane
type: patch
options: {peer=phy-br-ctlplane}
Port br-int
Interface br-int
type: internal
Bridge br-ctlplane
Port "vlan10"
tag: 10
Interface "vlan10"
type: internal
Port phy-br-ctlplane
Interface phy-br-ctlplane
type: patch
options: {peer=int-br-ctlplane}
Port "eth1"
Interface "eth1"
Port br-ctlplane
Interface br-ctlplane
type: internal
ovs_version: "2.5.0"
*********************************************************
export OS_NO_CACHE=True
export OS_CLOUDNAME=overcloud
export OS_AUTH_URL=http://192.0.2.10:5000/v2.0
export NOVA_VERSION=1.1
export COMPUTE_API_VERSION=1.1
export OS_USERNAME=admin
export no_proxy=,192.0.2.10,192.0.2.10
export OS_PASSWORD=pWyQpHsaXAWskcmYEq2ja4WaU
export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available"
export OS_TENANT_NAME=admin
At the same on VIRTHOST
*******************************
[root@ServerCentOS72 ~]# virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
external active yes yes
overcloud active yes yes
[root@ServerCentOS72 ~]# virsh net-dumpxml external
<network>
<name>external</name>
<uuid>d585615b-c1c5-4e30-bf2d-ea247591c2b0</uuid>
<forward mode='nat'>
<nat>
<port start='1024' end='65535'/>
</nat>
</forward>
<bridge name='brext' stp='off' delay='0'/>
<mac address='52:54:00:9d:b4:1d'/>
<ip address='192.168.23.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.23.10' end='192.168.23.50'/>
</dhcp>
</ip>
</network>
[root@ServerCentOS72 ~]# su - stack
Last login: Thu May 26 18:01:31 MSK 2016 on :0
[stack@ServerCentOS72 ~]$ virsh list
Id Name State
----------------------------------------------------
2 undercloud running
11 compute_0 running
12 control_0 running
*************************************************************************
Source stackrc and run openstack-status on undercloud
Overcloud deployment is already done on undercloud VM
*************************************************************************
[root@undercloud ~]# . stackrc
[root@undercloud ~]# openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-compute: active
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-cert: active
openstack-nova-conductor: active
openstack-nova-console: inactive (disabled on boot)
openstack-nova-consoleauth: inactive (disabled on boot)
openstack-nova-xvpvncproxy: inactive (disabled on boot)
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: inactive (disabled on boot)
== Horizon service ==
openstack-dashboard: 404
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: inactive (disabled on boot)
neutron-metadata-agent: inactive (disabled on boot)
neutron-lbaas-agent: inactive (disabled on boot)
neutron-openvswitch-agent: active
neutron-metering-agent: inactive (disabled on boot)
== Swift services ==
openstack-swift-proxy: active
openstack-swift-account: active
openstack-swift-container: active
openstack-swift-object: active
== Cinder services ==
openstack-cinder-api: inactive (disabled on boot)
openstack-cinder-scheduler: inactive (disabled on boot)
openstack-cinder-volume: inactive (disabled on boot)
openstack-cinder-backup: inactive (disabled on boot)
== Ceilometer services ==
openstack-ceilometer-api: active
openstack-ceilometer-central: active
openstack-ceilometer-compute: inactive (disabled on boot)
openstack-ceilometer-collector: active
openstack-ceilometer-notification: active
== Heat services ==
openstack-heat-api: active
openstack-heat-api-cfn: active
openstack-heat-api-cloudwatch: inactive (disabled on boot)
openstack-heat-engine: active
== Sahara services ==
openstack-sahara-all: inactive (disabled on boot)
== Ironic services ==
openstack-ironic-api: active
openstack-ironic-conductor: active
== Support services ==
mysqld: inactive (disabled on boot)
libvirtd: active
openvswitch: active
dbus: active
rabbitmq-server: active
memcached: active
====Keystone users ======
+----------------------------------+------------------+---------+-----------------------------------+
| id | name | enabled | email |
+----------------------------------+------------------+---------+-----------------------------------+
| c1668084d057422ab21c9180424b3e4a | admin | True | root@localhost |
| db938fe459c94cd09fe227a118f8be0f | aodh | True | aodh@localhost |
| 001a56a0872048a592db95dc9885292d | ceilometer | True | ceilometer@localhost |
| e038f5b685b84e6aa601b37312d84a56 | glance | True | glance@localhost |
| d7ddbfd73b814c13926c1ecd5ebe1bb2 | heat | True | heat@localhost |
| dc784308498d40568b649fbf12eaeb51 | ironic | True | ironic@localhost |
| 0c1f829c533240cdbec944236048ee1a | ironic-inspector | True | baremetal-introspection@localhost |
| ddbcb1dd885845c698f8d65f6f9ff44f | neutron | True | neutron@localhost |
| 987bd356963e4a5cbf2bd50c50919f9b | nova | True | nova@localhost |
| a5c862796ef24615afc2881e1a59f9d5 | swift | True | swift@localhost |
+----------------------------------+------------------+---------+-----------------------------------+
== Glance images ==
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| c734ff64-7723-43ee-a5d2-d662e1e206eb | bm-deploy-kernel | aki | aki | 5157360 | active |
| f80e32c4-cfce-4dcc-993a-939800440fbf | bm-deploy-ramdisk | ari | ari | 380554146 | active |
| 8616adc8-7136-4536-8562-5ed9cf129ed2 | overcloud-full | qcow2 | bare | 1175351296 | active |
| 73f5bfc7-99c2-46dc-8507-e5978ec61b84 | overcloud-full-initrd | ari | ari | 36444678 | active |
| 0d30aa5d-869c-4716-bdd4-87685e4790ca | overcloud-full-vmlinuz | aki | aki | 5157360 | active |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
== Nova managed services ==
+----+----------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+----------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | undercloud | internal | enabled | up | 2016-05-26T18:41:57.000000 | - |
| 7 | nova-scheduler | undercloud | internal | enabled | up | 2016-05-26T18:41:55.000000 | - |
| 8 | nova-conductor | undercloud | internal | enabled | up | 2016-05-26T18:41:56.000000 | - |
| 10 | nova-compute | undercloud | nova | enabled | up | 2016-05-26T18:41:54.000000 | - |
+----+----------------+------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID | Label | Cidr |
+--------------------------------------+----------+------+
| c27b8d62-f838-4c7e-8828-64ae1503f4c4 | ctlplane | - |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
| 1320d766-7051-4639-9554-a42e7c7fd958 | control | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 1b0ad845-6273-437f-8573-e4922a256ec7 | block-storage | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 27a0e9ee-c909-4d7d-8e86-1eb2e61fb1cb | oooq_control | 8192 | 49 | 0 | | 1 | 1.0 | True |
| 40057aa6-5e8b-4d4b-85d4-f21418d01b5d | baremetal | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 5750def3-dc08-43dd-b194-02d4ea73b8d7 | compute | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 769969da-f429-4f5f-84c9-6456f39539f8 | ceph-storage | 4096 | 40 | 0 | | 1 | 1.0 | True |
| 9c1622bc-ee0f-4dfa-a988-1e89cad47015 | oooq_compute | 8192 | 49 | 0 | | 1 | 1.0 | True |
| a2e5a055-3334-4080-86f9-4887931aee22 | swift-storage | 4096 | 40 | 0 | | 1 | 1.0 | True |
| b05b3c15-7928-4f59-9f8d-7d3947e19bee | oooq_ceph | 8192 | 49 | 0 | | 1 | 1.0 | True |
+--------------------------------------+---------------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
| 88f841ac-1ca0-4339-ba8a-c2895c0dc57c | overcloud-controller-0 | ccf0e5fdbebb4335ad7875ec821af91d | ACTIVE | - | Running | ctlplane=192.0.2.13 |
| f12a1086-7e23-4acb-80a7-8b2efe1e4ef2 | overcloud-novacompute-0 | ccf0e5fdbebb4335ad7875ec821af91d | ACTIVE | - | Running | ctlplane=192.0.2.12 |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+---------------------+
******************************************************
Neutron reports on undercloud VM
******************************************************
[root@undercloud ~]# neutron net-list
+--------------------------------------+----------+------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+------------------------------------------+
| c27b8d62-f838-4c7e-8828-64ae1503f4c4 | ctlplane | 631022c3-cfc5-4353-b038-1592cceea57e |
| | | 192.0.2.0/24 |
+--------------------------------------+----------+------------------------------------------+
[root@undercloud ~]# neutron net-show ctlplane
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | nova |
| created_at | 2016-05-26T11:32:18 |
| description | |
| id | c27b8d62-f838-4c7e-8828-64ae1503f4c4 |
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1500 |
| name | ctlplane |
| provider:network_type | flat |
| provider:physical_network | ctlplane |
| provider:segmentation_id | |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | 631022c3-cfc5-4353-b038-1592cceea57e |
| tags | |
| tenant_id | ccf0e5fdbebb4335ad7875ec821af91d |
| updated_at | 2016-05-26T11:32:18 |
+---------------------------+--------------------------------------+
[root@undercloud ~]# neutron subnet-list
+------------------------------------+------+--------------+------------------------------------+
| id | name | cidr | allocation_pools |
+------------------------------------+------+--------------+------------------------------------+
| 631022c3-cfc5-4353-b038-1592cceea5 | | 192.0.2.0/24 | {"start": "192.0.2.5", "end": |
| 7e | | | "192.0.2.30"} |
+------------------------------------+------+--------------+------------------------------------+
[root@undercloud ~]# neutron subnet-show 631022c3-cfc5-4353-b038-1592cceea57e
+-------------------+---------------------------------------------------------------+
| Field | Value |
+-------------------+---------------------------------------------------------------+
| allocation_pools | {"start": "192.0.2.5", "end": "192.0.2.30"} |
| cidr | 192.0.2.0/24 |
| created_at | 2016-05-26T11:32:18 |
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 192.0.2.1 |
| host_routes | {"destination": "169.254.169.254/32", "nexthop": "192.0.2.1"} |
| id | 631022c3-cfc5-4353-b038-1592cceea57e |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | c27b8d62-f838-4c7e-8828-64ae1503f4c4 |
| subnetpool_id | |
| tenant_id | ccf0e5fdbebb4335ad7875ec821af91d |
| updated_at | 2016-05-26T11:32:18 |
+-------------------+---------------------------------------------------------------+
**********************************************
When overcloud deployment is done
**********************************************
[stack@undercloud ~]$ heat stack-list
+--------------------------------------+------------+-----------------+---------------------+--------------+
| id | stack_name | stack_status | creation_time | updated_time |
+--------------------------------------+------------+-----------------+---------------------+--------------+
| 7002392b-cd2d-439f-b3cd-024979f153a5 | overcloud | CREATE_COMPLETE | 2016-05-26T13:35:17 | None |
+--------------------------------------+------------+-----------------+---------------------+--------------+
[stack@undercloud ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| 88f841ac-1ca0-4339-ba8a-c2895c0dc57c | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.0.2.13 |
| f12a1086-7e23-4acb-80a7-8b2efe1e4ef2 | overcloud-novacompute-0 | ACTIVE | - | Running | ctlplane=192.0.2.12 |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
*******************************************
Log into overcloud controller
*******************************************
[stack@undercloud ~]$ ssh heat-admin@192.0.2.13
Last login: Thu May 26 16:52:28 2016 from gateway
[heat-admin@overcloud-controller-0 ~]$ sudo su -
Last login: Thu May 26 15:42:23 UTC 2016 on pts/0
[root@overcloud-controller-0 ~]# ls
keystonerc_admin oskey01.pem
[root@overcloud-controller-0 ~]# . keystonerc_admin
[root@overcloud-controller-0 ~]# ifconfig
br-ex: flags=4163
inet 192.0.2.13 netmask 255.255.255.0 broadcast 192.0.2.255
inet6 fe80::2f7:7fff:fe1a:ca59 prefixlen 64 scopeid 0x20
ether 00:f7:7f:1a:ca:59 txqueuelen 0 (Ethernet)
RX packets 689651 bytes 1362839189 (1.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2346450 bytes 3243444405 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163
inet6 fe80::2f7:7fff:fe1a:ca59 prefixlen 64 scopeid 0x20
ether 00:f7:7f:1a:ca:59 txqueuelen 1000 (Ethernet)
RX packets 2783352 bytes 4201989574 (3.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2876264 bytes 3280863833 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 2962545 bytes 8418607495 (7.8 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2962545 bytes 8418607495 (7.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@overcloud-controller-0 ~]# ovs-vsctl show
cc8be4fb-f96f-4679-b85d-d0afc7dd7f72
Bridge br-int
fail_mode: secure
Port "tapb86d48f2-45"
tag: 2
Interface "tapb86d48f2-45"
type: internal
Port "tapa4fa2a9d-a4"
tag: 3
Interface "tapa4fa2a9d-a4"
type: internal
Port "qr-eb92ffa9-da"
tag: 2
Interface "qr-eb92ffa9-da"
type: internal
Port "qr-e8146f9f-51"
tag: 3
Interface "qr-e8146f9f-51"
type: internal
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Bridge br-tun
fail_mode: secure
Port "vxlan-c000020c"
Interface "vxlan-c000020c"
type: vxlan
options: {df_default="true", in_key=flow, local_ip="192.0.2.13", out_key=flow, remote_ip="192.0.2.12"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Port "qg-df23145d-8f"
Interface "qg-df23145d-8f"
type: internal
Port "qg-53315134-1d"
Interface "qg-53315134-1d"
type: internal
Port br-ex
Interface br-ex
type: internal
Port "eth0"
Interface "eth0"
ovs_version: "2.5.0"
**************************************
Routing table on overcloud controller
*************************************
[root@overcloud-controller-0 ~]# ip route
default via 192.0.2.1 dev br-ex proto static
169.254.169.254 via 192.0.2.1 dev br-ex proto static
192.0.2.0/24 dev br-ex proto kernel scope link src 192.0.2.13
Network topology
[root@overcloud-controller-0 ~]# neutron net-list
+--------------------------------------+--------------+----------------------------------------+
| id | name | subnets |
+--------------------------------------+--------------+----------------------------------------+
| 1dad601c-c865-41d8-94cb-efc634c1fc83 | public | 12787d8b-1b72-402d-9b93-2821f0a18b7b |
| | | 192.0.2.0/24 |
| 0086836e-2dc3-4d40-a2e2-21f222b159f4 | demo_network | dcc40bfc-9293-47bb-8788-d4b5f090d076 |
| | | 90.0.0.0/24 |
| 59168b6e-adca-4ec6-982a-f94a0eb770c8 | private | ede9bbc2-5099-4d9f-91af-2fd4387d52be |
| | | 50.0.0.0/24 |
+--------------------------------------+--------------+----------------------------------------+
[root@overcloud-controller-0 ~]# nova service-list
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:20.000000 | - |
| 2 | nova-consoleauth | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:20.000000 | - |
| 5 | nova-scheduler | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:22.000000 | - |
| 6 | nova-conductor | overcloud-controller-0 | internal | enabled | up | 2016-05-26T17:09:24.000000 | - |
| 7 | nova-compute | overcloud-novacompute-0.localdomain | nova | enabled | up | 2016-05-26T17:09:19.000000 | - |
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
Running VMs
*************************************************************************
Verfication outbound connectivity. Connecting via floating IPs belong
192.0.2.0/24 to VMs running in overcloud from undercloud VM
*************************************************************************
*********************************************************
`ip netns` on overcloud controller
**********************************************************
It won't work on 16 GB even minimal configuration.
Server memory allocation for minimal virtual environment