Sunday, October 23, 2016

KSM as instack-virt-setup accelerator HA Overcloud Deployment (RDO Newton) with two Compute Nodes

Due to getting errors in /var/log/mistral/executor.log on regular basis attempting
to deploy overcloud via TripleO QuickStart setting up undercloud as follows
$ bash quickstart.sh -R newton \
--config ./config/general_config/ha.yml $VIRTHOST
I was just wondering how much can assist KSM&&KSMTUNED  to achieve a goal to set up 5 VMs (6.7 GB,1 VCPU) running in overcloud and "instack VM" undercloud  with 4 VCPUs , 8 GB RAM and 4 GB swap file. I clearly realized that
missing advantages and flexibility providing by ansible and switching off prebuilt images undercloud.qcow2 , ironic-python-agent.tar ,overcloud-full.tar  located on  http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean/  wouldn't make easy to tune deployment with instack-virt-setup. However , in meantime I am getting performance almost the same as provide
QuickStart  deploying same configuration based RDO Mitaka, current-passed-ci
trunks. Particular deployment is based  RDO Newton trunks as well "current-passed-ci".

Setup on 32 GB VIRTHOST

=======================
VIRTHOST -  configuration
=======================
 Create user stack
  useradd stack
  echo "stack:stack" | chpasswd
  echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack
  sudo chmod 0440 /etc/sudoers.d/stack
  su - stack
 ************************************************
 Create stack's .bachrc && relogin to stack
 ************************************************
export NODE_DIST=centos7
export NODE_DISK=45
export UNDERCLOUD_NODE_DISK=35
export NODE_CPU=1
# KSM is enabled
export NODE_MEM=6700
export NODE_COUNT=5
export UNDERCLOUD_NODE_CPU=4
export UNDERCLOUD_NODE_MEM=8000
export FS_TYPE=ext4

*****************************************
Set up Newton DLRN repos
*****************************************
sudo yum -y install yum-plugin-priorities
sudo curl -o /etc/yum.repos.d/delorean-newton.repo  http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
$ sudo yum -y update
$ sudo yum install -y instack-undercloud
$ instack-virt-setup

=============
INSTACK
=============
After log into "instack VM" (undercloud VM) create 4GB swap file and restart "instack VM"

[root@instack ~]# dd if=/dev/zero of=/swapfile bs=1024 count=4194304
4194304+0 records in
4194304+0 records out
4294967296 bytes (4.3 GB) copied, 6.13213 s, 700 MB/s
[root@instack ~]# mkswap /swapfile
Setting up swapspace version 1, size = 4194300 KiB
no label, UUID=5d32541b-09f1-4fdd-a4a8-fd284c358255
[root@instack ~]# chmod 600 /swapfile
[root@instack ~]#  swapon /swapfile
[root@instack ~]# echo "/swapfile swap swap defaults 0 0" >> /etc/fstab

Restart and logging again

# su - stack

************************************************
Update .bashrc && relogin to stack
************************************************
[stack@Server72Centos ~]$ cat .bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
export NODE_DIST=centos7
export USE_DELOREAN_TRUNK=1
export DELOREAN_TRUNK_REPO=" http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/"
export DELOREAN_REPO_FILE="delorean.repo"

# User specific aliases and functions


*****************************************
Set up Newton DLRN repos
*****************************************

sudo yum -y install yum-plugin-priorities
sudo curl -o /etc/yum.repos.d/delorean-newton.repo  http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo

$ sudo yum install -y python-tripleoclient
$ openstack undercloud install
$ source stackrc
$  openstack overcloud image build --all
Image file overcloud-full.qcow2 created...
Successfully built all requested images
[stack@instack ~]$ openstack overcloud image upload
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Image "overcloud-full-vmlinuz" was uploaded.
+--------------------------------------+------------------------+-------------+---------+--------+
|                  ID                  |          Name          | Disk Format |   Size  | Status |
+--------------------------------------+------------------------+-------------+---------+--------+
| 6024454e-efa2-4cb5-b8f1-1991d99745e8 | overcloud-full-vmlinuz |     aki     | 5157936 | active |
+--------------------------------------+------------------------+-------------+---------+--------+
Image "overcloud-full-initrd" was uploaded.
+--------------------------------------+-----------------------+-------------+----------+--------+
|                  ID                  |          Name         | Disk Format |   Size   | Status |
+--------------------------------------+-----------------------+-------------+----------+--------+
| cadb6baf-57ab-4fc1-a7c8-eee321f7e644 | overcloud-full-initrd |     ari     | 42125177 | active |
+--------------------------------------+-----------------------+-------------+----------+--------+
Image "overcloud-full" was uploaded.
+--------------------------------------+----------------+-------------+------------+--------+
|                  ID                  |      Name      | Disk Format |    Size    | Status |
+--------------------------------------+----------------+-------------+------------+--------+
| 3dd423f8-47c2-4fe7-bfe7-8f1b63e147e0 | overcloud-full |    qcow2    | 1122960384 | active |
+--------------------------------------+----------------+-------------+------------+--------+
Image "bm-deploy-kernel" was uploaded.
+--------------------------------------+------------------+-------------+---------+--------+
|                  ID                  |       Name       | Disk Format |   Size  | Status |
+--------------------------------------+------------------+-------------+---------+--------+
| ae9b123f-94d7-4a29-99c4-4355b0fd03e0 | bm-deploy-kernel |     aki     | 5157936 | active |
+--------------------------------------+------------------+-------------+---------+--------+
Image "bm-deploy-ramdisk" was uploaded.
+--------------------------------------+-------------------+-------------+-----------+--------+
|                  ID                  |        Name       | Disk Format |    Size   | Status |
+--------------------------------------+-------------------+-------------+-----------+--------+
| c95ae9c5-2434-46cb-b693-9cbbc9150318 | bm-deploy-ramdisk |     ari     | 308327017 | active |
+--------------------------------------+-------------------+-------------+-----------+--------+
[stack@instack ~]$ openstack baremetal import instackenv.json
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Started Mistral Workflow. Execution ID: 84d7be22-bdc3-4504-96c4-17fbaefad9c9
Successfully registered node UUID bacb5557-c4b5-4b19-b4c0-f35014a01783
Successfully registered node UUID d4310651-6604-4550-926e-710043edd26a
Successfully registered node UUID ea56870a-6ce9-43b0-a4f2-357f26560e0f
Successfully registered node UUID 2c6f2221-2a24-4af5-ad76-98959fc8398b
Successfully registered node UUID 2cf87d04-f260-4568-ac44-e5b7ce53c07d
Started Mistral Workflow. Execution ID: 042a2a10-1333-4cfd-ad9c-2b2782174531
Successfully set all nodes to available.
[stack@instack ~]$ openstack baremetal configure boot
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
[stack@instack ~]$ openstack baremetal introspection bulk start
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Setting nodes for introspection to manageable...
Starting introspection of manageable nodes
Started Mistral Workflow. Execution ID: 1bcf243d-02c3-4fce-b710-0c902c07376c
Waiting for introspection to finish...
Introspection for UUID bacb5557-c4b5-4b19-b4c0-f35014a01783 finished successfully.
Introspection for UUID ea56870a-6ce9-43b0-a4f2-357f26560e0f finished successfully.
Introspection for UUID 2cf87d04-f260-4568-ac44-e5b7ce53c07d finished successfully.
Introspection for UUID d4310651-6604-4550-926e-710043edd26a finished successfully.
Introspection for UUID 2c6f2221-2a24-4af5-ad76-98959fc8398b finished successfully.
Introspection completed.
Setting manageable nodes to available...
Started Mistral Workflow. Execution ID: ec5fb2a2-844d-44ea-9fa7-3e7b2d9b43dd

In case when this command hangs, then start from scratch
follow http://tripleo.org/advanced_deployment/introspect_single_node.html
It might take long time and resolve the issue.

$  neutron subnet-list
$  neutron subnet-update 1b7d82e5-0bf1-4ba5-8008-4aa402598065 --dns-nameserver192.168.122.1

******************************
Set up Network isolation
******************************

 [stack@instack ~]$ sudo vi /etc/sysconfig/network-scripts/ifcfg-vlan10
       DEVICE=vlan10
       ONBOOT=yes
       DEVICETYPE=ovs
       TYPE=OVSIntPort
       BOOTPROTO=static
       IPADDR=10.0.0.1
       NETMASK=255.255.255.0
       OVS_BRIDGE=br-ctlplane
       OVS_OPTIONS="tag=10"

[stack@instack ~]$ sudo ifup vlan10

*********************************************
192.168.122.176 is IP of "instack VM"
*********************************************

[stack@instack ~]$ cat network_env.yaml
{
    "parameter_defaults": {
        "ControlPlaneDefaultRoute": "192.0.2.1",
        "ControlPlaneSubnetCidr": "24",
        "DnsServers": [
            "192.168.122.176"
        ],
        "EC2MetadataIp": "192.0.2.1",
        "ExternalAllocationPools": [
            {
                "end": "10.0.0.250",
                "start": "10.0.0.4"
            }
        ],
        "ExternalNetCidr": "10.0.0.1/24",
        "NeutronExternalNetworkBridge": ""
    }


$ vi overcloud-deploy.sh

#!/bin/bash -x
source /home/stack/stackrc    
openstack overcloud deploy  \
 --control-scale 3 --compute-scale 2  \
 --libvirt-type qemu \
 --ntp-server pool.ntp.org  \
 --templates  /usr/share/openstack-tripleo-heat-templates \
 -e  /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml \ 
 -e  /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
 -e  /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml \
 -e $HOME/network_env.yaml

Raw text overcloud-deploy.sh

$ sudo touch -f  /usr/share/openstack-tripleo-heat-templates/puppet/post.yaml

[stack@instack ~]$ ./overcloud-deploy.sh

+ source /home/stack/stackrc
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
+++ sudo hiera admin_password
++ export OS_PASSWORD=b871a40f8586af3588085c3af95b5ce378f54640
++ OS_PASSWORD=b871a40f8586af3588085c3af95b5ce378f54640
++ export OS_AUTH_URL=http://192.0.2.1:5000/v2.0
++ OS_AUTH_URL=http://192.0.2.1:5000/v2.0
++ export OS_USERNAME=admin
++ OS_USERNAME=admin
++ export OS_TENANT_NAME=admin
++ OS_TENANT_NAME=admin
++ export COMPUTE_API_VERSION=1.1
++ COMPUTE_API_VERSION=1.1
++ export OS_BAREMETAL_API_VERSION=1.15
++ OS_BAREMETAL_API_VERSION=1.15
++ export OS_NO_CACHE=True
++ OS_NO_CACHE=True
++ export OS_CLOUDNAME=undercloud
++ OS_CLOUDNAME=undercloud
++ export OS_IMAGE_API_VERSION=1
++ OS_IMAGE_API_VERSION=1
+ openstack overcloud deploy --control-scale 3 --compute-scale 2 --libvirt-type qemu --ntp-server pool.ntp.org --templates /usr/share/openstack-tripleo-heat-templates -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml -e /home/stack/network_env.yaml
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Removing the current plan files
Uploading new plan files
Started Mistral Workflow. Execution ID: e9d46cde-c0a4-4425-bbce-ef6d257dc390
Plan updated
Deploying templates in the directory /tmp/tripleoclient-81EjTX/tripleo-heat-templates
Started Mistral Workflow. Execution ID: ddf16642-29bc-439f-ba13-10279219a4e7
2016-10-23 16:50:27Z [overcloud]: CREATE_IN_PROGRESS  Stack CREATE started
2016-10-23 16:50:27Z [overcloud.ServiceNetMap]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.HeatAuthEncryptionKey]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.HorizonSecret]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.PcsdPassword]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.Networks]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.RabbitCookie]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.MysqlRootPassword]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.Networks]: CREATE_IN_PROGRESS  Stack CREATE started
2016-10-23 16:50:27Z [overcloud.HeatAuthEncryptionKey]: CREATE_COMPLETE  state changed
2016-10-23 16:50:27Z [overcloud.Networks.NetworkExtraConfig]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.ServiceNetMap]: CREATE_COMPLETE  state changed
2016-10-23 16:50:27Z [overcloud.HorizonSecret]: CREATE_COMPLETE  state changed
2016-10-23 16:50:27Z [overcloud.Networks.StorageMgmtNetwork]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.PcsdPassword]: CREATE_COMPLETE  state changed
2016-10-23 16:50:27Z [overcloud.RabbitCookie]: CREATE_COMPLETE  state changed
2016-10-23 16:50:27Z [overcloud.MysqlRootPassword]: CREATE_COMPLETE  state changed
2016-10-23 16:50:27Z [overcloud.DefaultPasswords]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.Networks.ManagementNetwork]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.Networks.StorageMgmtNetwork]: CREATE_IN_PROGRESS  Stack CREATE started
2016-10-23 16:50:27Z [overcloud.Networks.StorageNetwork]: CREATE_IN_PROGRESS  state changed
2016-10-23 16:50:27Z [overcloud.Networks.StorageMgmtNetwork.StorageMgmtNetwork]: CREATE_IN_PROGRESS  state changed
. . . . . 

2016-10-23 17:22:59Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step5.0]: CREATE_COMPLETE  state changed
2016-10-23 17:22:59Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step5]: CREATE_COMPLETE  Stack CREATE completed successfully
2016-10-23 17:23:00Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step5]: CREATE_COMPLETE  state changed
2016-10-23 17:30:18Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5.2]: SIGNAL_IN_PROGRESS  Signal: deployment c534b13b-34e5-4793-b82b-312c39e77b15 succeeded
2016-10-23 17:30:18Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5.2]: CREATE_COMPLETE  state changed
2016-10-23 17:30:18Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5.1]: SIGNAL_IN_PROGRESS  Signal: deployment 8f724e13-4521-4bf0-aa91-3a3856a19c8f succeeded
2016-10-23 17:30:19Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5.1]: CREATE_COMPLETE  state changed
2016-10-23 17:33:45Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5.0]: SIGNAL_IN_PROGRESS  Signal: deployment 86081b20-c474-40c8-a922-c924d1659f0f succeeded
2016-10-23 17:33:46Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5.0]: CREATE_COMPLETE  state changed
2016-10-23 17:33:46Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5]: CREATE_COMPLETE  Stack CREATE completed successfully
2016-10-23 17:33:47Z [overcloud.AllNodesDeploySteps.ControllerDeployment_Step5]: CREATE_COMPLETE  state changed
2016-10-23 17:33:47Z [overcloud.AllNodesDeploySteps.BlockStoragePostConfig]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:47Z [overcloud.AllNodesDeploySteps.CephStoragePostConfig]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:47Z [overcloud.AllNodesDeploySteps.ControllerPostConfig]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:47Z [overcloud.AllNodesDeploySteps.ComputePostConfig]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:47Z [overcloud.AllNodesDeploySteps.ObjectStoragePostConfig]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.ComputePostConfig]: CREATE_COMPLETE  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.BlockStoragePostConfig]: CREATE_COMPLETE  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.CephStoragePostConfig]: CREATE_COMPLETE  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.ControllerPostConfig]: CREATE_COMPLETE  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.ObjectStoragePostConfig]: CREATE_COMPLETE  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.ComputeExtraConfigPost]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.CephStorageExtraConfigPost]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.ControllerExtraConfigPost]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.ObjectStorageExtraConfigPost]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:48Z [overcloud.AllNodesDeploySteps.BlockStorageExtraConfigPost]: CREATE_IN_PROGRESS  state changed
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps.CephStorageExtraConfigPost]: CREATE_COMPLETE  state changed
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps.ComputeExtraConfigPost]: CREATE_COMPLETE  state changed
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps.ControllerExtraConfigPost]: CREATE_COMPLETE  state changed
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps.ObjectStorageExtraConfigPost]: CREATE_COMPLETE  state changed
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps.BlockStorageExtraConfigPost]: CREATE_COMPLETE  state changed
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE  Stack CREATE completed successfully
2016-10-23 17:33:50Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE  state changed
2016-10-23 17:33:50Z [overcloud]: CREATE_COMPLETE  Stack CREATE completed successfully


 Stack overcloud CREATE_COMPLETE 


Overcloud Endpoint: http://10.0.0.10:5000/v2.0

Overcloud Deployed



[stack@Server72Centos ~]$ ssh root@192.168.122.176
Last login: Sun Oct 23 18:11:28 2016 from gateway
[root@instack ~]# su - stack
Last login: Sun Oct 23 18:11:43 UTC 2016 on pts/2
[stack@instack ~]$ . stackrc
[stack@instack ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| ID                                   | Name                    | Status | Task State | Power State | Networks            |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+
| 80488379-ca0f-410b-b6cc-f38ca38d8ae5 | overcloud-controller-0  | ACTIVE | -          | Running     | ctlplane=192.0.2.7  |
| c4598e57-f427-42ee-b8ef-5efe81359fb4 | overcloud-controller-1  | ACTIVE | -          | Running     | ctlplane=192.0.2.12 |
| 4c3e36de-0cee-4b1f-bd40-7447e0805fd1 | overcloud-controller-2  | ACTIVE | -          | Running     | ctlplane=192.0.2.11 |
| 4422dcb2-35d8-4e32-8e84-2aa41c6f221c | overcloud-novacompute-0 | ACTIVE | -          | Running     | ctlplane=192.0.2.6  |
| 23ca2039-6fb9-46c9-824f-72b7078a84a3 | overcloud-novacompute-1 | ACTIVE | -          | Running     | ctlplane=192.0.2.14 |
+--------------------------------------+-------------------------+--------+------------+-------------+---------------------+

[stack@instack ~]$ ssh heat-admin@192.0.2.7
Last login: Sun Oct 23 18:38:36 2016 from 192.0.2.1
[heat-admin@overcloud-controller-0 ~]$ sudo su -
Last login: Sun Oct 23 18:38:44 UTC 2016 on pts/1
[root@overcloud-controller-0 ~]# pcs status
Cluster name: tripleo_cluster
Last updated: Sun Oct 23 19:32:10 2016        Last change: Sun Oct 23 17:24:25 2016 by root via cibadmin on overcloud-controller-0
Stack: corosync
Current DC: overcloud-controller-1 (version 1.1.13-10.el7_2.4-44eb2dd) - partition with quorum
3 nodes and 19 resources configured

Online: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ]

Full list of resources:

 ip-10.0.0.10    (ocf::heartbeat:IPaddr2):    Started overcloud-controller-0
 ip-192.0.2.10    (ocf::heartbeat:IPaddr2):    Started overcloud-controller-1
 ip-172.16.1.6    (ocf::heartbeat:IPaddr2):    Started overcloud-controller-2
 Clone Set: haproxy-clone [haproxy]
     Started: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ]
 Master/Slave Set: galera-master [galera]
     Masters: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ]
 ip-172.16.2.14    (ocf::heartbeat:IPaddr2):    Started overcloud-controller-0
 ip-172.16.2.4    (ocf::heartbeat:IPaddr2):    Started overcloud-controller-1
 Clone Set: rabbitmq-clone [rabbitmq]
     Started: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ]
 Master/Slave Set: redis-master [redis]
     Masters: [ overcloud-controller-0 ]
     Slaves: [ overcloud-controller-1 overcloud-controller-2 ]
 ip-172.16.3.6    (ocf::heartbeat:IPaddr2):    Started overcloud-controller-2
 openstack-cinder-volume    (systemd:openstack-cinder-volume):    Started overcloud-controller-0

PCSD Status:
  overcloud-controller-0: Online
  overcloud-controller-1: Online
  overcloud-controller-2: Online

Daemon Status:
  corosync: active/enabled
  pacemaker: active/enabled
  pcsd: active/enabled
[root@overcloud-controller-0 ~]# clustercheck
HTTP/1.1 200 OK
Content-Type: text/plain
Connection: close
Content-Length: 32
Galera cluster node is synced.

[root@overcloud-controller-0 ~]# nova service-list
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host                                | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+
| 8  | nova-consoleauth | overcloud-controller-2.localdomain  | internal | enabled | up    | 2016-10-23T17:40:28.000000 | -               |
| 11 | nova-consoleauth | overcloud-controller-0.localdomain  | internal | enabled | up    | 2016-10-23T17:40:31.000000 | -               |
| 20 | nova-consoleauth | overcloud-controller-1.localdomain  | internal | enabled | up    | 2016-10-23T17:40:27.000000 | -               |
| 23 | nova-scheduler   | overcloud-controller-2.localdomain  | internal | enabled | up    | 2016-10-23T17:40:27.000000 | -               |
| 29 | nova-scheduler   | overcloud-controller-0.localdomain  | internal | enabled | up    | 2016-10-23T17:40:36.000000 | -               |
| 35 | nova-conductor   | overcloud-controller-2.localdomain  | internal | enabled | up    | 2016-10-23T17:40:33.000000 | -               |
| 38 | nova-conductor   | overcloud-controller-0.localdomain  | internal | enabled | up    | 2016-10-23T17:40:30.000000 | -               |
| 41 | nova-scheduler   | overcloud-controller-1.localdomain  | internal | enabled | up    | 2016-10-23T17:40:36.000000 | -               |
| 44 | nova-conductor   | overcloud-controller-1.localdomain  | internal | enabled | up    | 2016-10-23T17:40:27.000000 | -               |
| 47 | nova-compute     | overcloud-novacompute-1.localdomain | nova     | enabled | up    | 2016-10-23T17:40:35.000000 | -               |
| 50 | nova-compute     | overcloud-novacompute-0.localdomain | nova     | enabled | up    | 2016-10-23T17:40:28.000000 | -               |
+----+------------------+-------------------------------------+----------+---------+-------+----------------------------+-----------------+



===========================================================
Six VMs -  "instack VM"(undercloud 4VCPUs), 3 PCS/Corosync HA Controllers and two Compute nodes  (1 VCPU each one) . CPU on virthost i7 4790 (4 Cores ,
HT support ) 
===========================================================

  
  

   Network Topology for deployment been done
  
  
  

No comments:

Post a Comment