Sunday, January 28, 2018

TripleO QuickStart (Master) overcloud containerized deployment with several compute nodes

UPDATE 01/30/2018
   See TripleO QuickStart (Master) overcloud containerized HA deployment ( 3 Nodes HA PCS Cluster + 1 Compute Node )
END UPDATE

In general, we follow Carslos's Camacho New TripleO quickstart cheatsheet 
However, syntax of deploy-config.yaml template was slightly changed to handle several compute nodes deployment. Also standard configuration  connecting Fedora WorkStation 27 to VIRTHOST (32 GB) stack account has been used as usual. Containerized deployment Overcloud with One Controller and Two Compute nodes has been done and tested via external connection (sshuttle supported) from fedora 27 workstation. Files /etc/nova/nova.conf updated on both compute nodes "virt_type=kvm" followed by corresponding docker container restart, the one running openstack-nova-compute service. Two VMs successfully launched in overcloud each one on it's own Compute Node.

$ git clone  https://github.com/openstack/tripleo-quickstart
$ bash ./tripleo-quickstart/quickstart.sh \
  --install-deps
# setenforce 0 (on VIRTHOST)

Configure the TripleO deployment with Docker. 

export CONFIG=~boris/deploy-config2.yaml
cat > $CONFIG << EOF
overcloud_nodes:
  - name: control_0
    flavor: control
    virtualbmc_port: 6230
  - name: compute_0
    flavor: compute
    virtualbmc_port: 6231
  - name: compute_1
    flavor: compute
    virtualbmc_port: 6232 
node_count: 3
containerized_overcloud: true
delete_docker_cache: true
enable_pacemaker: true
run_tempest: false
extra_args: >-
  --libvirt-type qemu
  --ntp-server pool.ntp.org
  --control-scale 1
  --compute-scale 2 
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml
EOF
*************************************
Deploy TripleO QuickStart
*************************************
export VIRTHOST=192.168.0.74
$bash ./tripleo-quickstart/quickstart.sh \
      --clean          \
      --release master \
      --teardown all   \
      --tags all       \
      -e @$CONFIG      \
       $VIRTHOST

PLAY RECAP **************************************************************************************
192.168.0.74               : ok=141  changed=69   unreachable=0    failed=0   
localhost                  : ok=21   changed=10   unreachable=0    failed=1   
undercloud                 : ok=105  changed=65   unreachable=0    failed=0   

Sunday 28 January 2018  16:01:31 +0300 (0:00:01.478)       3:09:44.463 ******** 
=============================================================================== 
overcloud-prep-containers : Prepare for the containerized deployment ------------------ 4423.88s
/home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-prep-containers/tasks/overcloud-prep-containers.yml:28 
overcloud-deploy : Deploy the overcloud ----------------------------------------------- 3022.06s
/home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/deploy-overcloud.yml:1 
undercloud-deploy : Install the undercloud -------------------------------------------- 1493.27s
/home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/install-undercloud.yml:20 
tripleo-validations : Run validations tests through Mistral ---------------------------- 270.80s
/home/boris/.quickstart/usr/local/share/ansible/roles/tripleo-validations/tasks/main.yml:21 ----
overcloud-prep-images : Prepare the overcloud images for deploy ------------------------ 267.93s
/home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-prep-images/tasks/overcloud-prep-images.yml:1 
tripleo-validations : Run validations tests through Mistral ---------------------------- 208.46s
/home/boris/.quickstart/usr/local/share/ansible/roles/tripleo-validations/tasks/main.yml:21 ----
tripleo-validations : Run validations tests through Mistral ---------------------------- 153.09s
/home/boris/.quickstart/usr/local/share/ansible/roles/tripleo-validations/tasks/main.yml:21 ----
convert-image : convert image ---------------------------------------------------------- 144.48s
/home/boris/.quickstart/tripleo-quickstart/roles/convert-image/tasks/main.yml:25 ---------------
modify-image : Run virt-customize on the provided image -------------------------------- 117.83s
/home/boris/.quickstart/usr/local/share/ansible/roles/modify-image/tasks/libguestfs.yml:46 -----
setup/undercloud : Perform selinux relabel on undercloud image ------------------------- 111.60s
/home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:162 ---
setup/undercloud : Upload undercloud volume to storage pool ----------------------------- 80.43s
/home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:280 ---
modify-image : ensure libguestfs_kernel_override kernel is installed -------------------- 63.18s
/home/boris/.quickstart/usr/local/share/ansible/roles/modify-image/tasks/libguestfs.yml:40 -----
overcloud-prep-flavors : Prepare the scripts for overcloud flavors ---------------------- 45.20s
/home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-prep-flavors/tasks/overcloud-prep-flavors.yml:1 
setup/undercloud : Inject additional images --------------------------------------------- 42.57s
/home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:67 ----
tripleo-validations : Run negative tests for pre-introspection group -------------------- 36.72s
/home/boris/.quickstart/usr/local/share/ansible/roles/tripleo-validations/tasks/main.yml:55 ----
validate-tempest : Install openstack services tempest plugins --------------------------- 29.87s
/home/boris/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/pre-tempest.yml:32 
undercloud-deploy : Start the Virtual BMCs ---------------------------------------------- 21.20s
/home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/configure-vbmc.yml:107 
setup/undercloud : iptables ------------------------------------------------------------- 20.02s
/home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:387 ---
fetch-images : Get tar images from cache ------------------------------------------------ 19.12s
/home/boris/.quickstart/tripleo-quickstart/roles/fetch-images/tasks/fetch.yml:186 --------------
convert-image : Resize the undercloud image using qemu-image resize --------------------- 15.93s
/home/boris/.quickstart/tripleo-quickstart/roles/convert-image/tasks/main.yml:19 ---------------
+ set +x
##################################
Virtual Environment Setup Complete
##################################

[boris@fedora27workstation ~]$ ssh -F /home/boris/.quickstart/ssh.config.ansible undercloud
Warning: Permanently added '192.168.0.74' (ECDSA) to the list of known hosts.
Warning: Permanently added 'undercloud' (ECDSA) to the list of known hosts.
Last login: Sun Jan 28 13:00:51 2018 from gateway
[stack@undercloud ~]$ . stackrc
(undercloud) [stack@undercloud ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
| ID                                   | Name                    | Status | Task State | Power State | Networks               |
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
| 265e9da0-367e-4d51-bb52-b591fa76b592 | overcloud-controller-0  | ACTIVE | -          | Running     | ctlplane=192.168.24.11 |
| 1de1bfa1-a22c-4858-9949-fec325fb460b | overcloud-novacompute-0 | ACTIVE | -          | Running     | ctlplane=192.168.24.7  |
| 5e503c70-c0d4-4432-bf94-f206a782ee95 | overcloud-novacompute-1 | ACTIVE | -          | Running     | ctlplane=192.168.24.6  |
+--------------------------------------+-------------------------+--------+------------+---------------------------------------

Access the undercloud by:

    ssh -F /home/boris/.quickstart/ssh.config.ansible undercloud

Follow the documentation in the link below to complete your deployment.

    http://ow.ly/c44w304begR

 
(overcloud) [root@overcloud-controller-0 ~]# openstack image list
+--------------------------------------+-------------------------+--------+
| ID                                   | Name                    | Status |
+--------------------------------------+-------------------------+--------+
| 7c99aa5f-6581-407d-acb7-4bf0683170e5 | VF27Cloud-image         | active |
| 18bcc4ce-9919-422a-bab8-c42166d47b30 | XenialServerCloud-image | active |
+--------------------------------------+-------------------------+--------+
(overcloud) [root@overcloud-controller-0 ~]# clear

(overcloud) [root@overcloud-controller-0 ~]# openstack flavor create --public m1.small --id 2 \
>   --ram 2000 --disk 20 --vcpus 1 --rxtx-factor 1
+----------------------------+----------+
| Field                      | Value    |
+----------------------------+----------+
| OS-FLV-DISABLED:disabled   | False    |
| OS-FLV-EXT-DATA:ephemeral  | 0        |
| disk                       | 20       |
| id                         | 2        |
| name                       | m1.small |
| os-flavor-access:is_public | True     |
| properties                 |          |
| ram                        | 2000     |
| rxtx_factor                | 1.0      |
| swap                       |          |
| vcpus                      | 1        |
+----------------------------+----------+
(overcloud) [root@overcloud-controller-0 ~]# openstack keypair create oskey280118 > oskey280118.pem
(overcloud) [root@overcloud-controller-0 ~]# openstack  network create ext-net --external \
> --provider-physical-network datacentre  --provider-network-type flat
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2018-01-28T14:35:09Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | 12518a11-b51e-4622-bf1b-c56c038c9567 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | False                                |
| is_vlan_transparent       | None                                 |
| mtu                       | 1500                                 |
| name                      | ext-net                              |
| port_security_enabled     | True                                 |
| project_id                | ab728192785847d4af892546b61aedb3     |
| provider:network_type     | flat                                 |
| provider:physical_network | datacentre                           |
| provider:segmentation_id  | None                                 |
| qos_policy_id             | None                                 |
| revision_number           | 4                                    |
| router:external           | External                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| updated_at                | 2018-01-28T14:35:09Z                 |
+---------------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]#  openstack subnet create ext-subnet --network ext-net \
>  --subnet-range 192.168.24.0/24  --allocation-pool start=192.168.24.100,end=192.168.24.120 \
>  --no-dhcp --gateway 192.168.24.1
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| allocation_pools  | 192.168.24.100-192.168.24.120        |
| cidr              | 192.168.24.0/24                      |
| created_at        | 2018-01-28T14:35:42Z                 |
| description       |                                      |
| dns_nameservers   |                                      |
| enable_dhcp       | False                                |
| gateway_ip        | 192.168.24.1                         |
| host_routes       |                                      |
| id                | 475b6d92-da35-46e9-8e4c-18d98c696f62 |
| ip_version        | 4                                    |
| ipv6_address_mode | None                                 |
| ipv6_ra_mode      | None                                 |
| name              | ext-subnet                           |
| network_id        | 12518a11-b51e-4622-bf1b-c56c038c9567 |
| project_id        | ab728192785847d4af892546b61aedb3     |
| revision_number   | 0                                    |
| segment_id        | None                                 |
| service_types     |                                      |
| subnetpool_id     | None                                 |
| tags              |                                      |
| updated_at        | 2018-01-28T14:35:42Z                 |
+-------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack router create RouterDSA
+-------------------------+--------------------------------------+
| Field                   | Value                                |
+-------------------------+--------------------------------------+
| admin_state_up          | UP                                   |
| availability_zone_hints |                                      |
| availability_zones      |                                      |
| created_at              | 2018-01-28T14:36:12Z                 |
| description             |                                      |
| distributed             | False                                |
| external_gateway_info   | None                                 |
| flavor_id               | None                                 |
| ha                      | False                                |
| id                      | 4d6e29cf-2895-49ed-b703-e6dcde0eb0fc |
| name                    | RouterDSA                            |
| project_id              | ab728192785847d4af892546b61aedb3     |
| revision_number         | None                                 |
| routes                  |                                      |
| status                  | ACTIVE                               |
| tags                    |                                      |
| updated_at              | 2018-01-28T14:36:12Z                 |
+-------------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack router set RouterDSA --external-gateway ext-net
(overcloud) [root@overcloud-controller-0 ~]# openstack network create internal01
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2018-01-28T14:36:56Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | 9acb080a-199f-44c7-93db-8bf2f3957562 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | False                                |
| is_vlan_transparent       | None                                 |
| mtu                       | 1450                                 |
| name                      | internal01                           |
| port_security_enabled     | True                                 |
| project_id                | ab728192785847d4af892546b61aedb3     |
| provider:network_type     | vxlan                                |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 72                                   |
| qos_policy_id             | None                                 |
| revision_number           | 3                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| tags                      |                                      |
| updated_at                | 2018-01-28T14:36:56Z                 |
+---------------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack subnet create sub-internal01 --network internal01 \
>  --subnet-range 50.0.0.0/24  --dns-nameserver  83.221.202.254
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| allocation_pools  | 50.0.0.2-50.0.0.254                  |
| cidr              | 50.0.0.0/24                          |
| created_at        | 2018-01-28T14:37:17Z                 |
| description       |                                      |
| dns_nameservers   | 83.221.202.254                       |
| enable_dhcp       | True                                 |
| gateway_ip        | 50.0.0.1                             |
| host_routes       |                                      |
| id                | b7bdd8d2-87dc-4029-8187-f2602d4a05b9 |
| ip_version        | 4                                    |
| ipv6_address_mode | None                                 |
| ipv6_ra_mode      | None                                 |
| name              | sub-internal01                       |
| network_id        | 9acb080a-199f-44c7-93db-8bf2f3957562 |
| project_id        | ab728192785847d4af892546b61aedb3     |
| revision_number   | 0                                    |
| segment_id        | None                                 |
| service_types     |                                      |
| subnetpool_id     | None                                 |
| tags              |                                      |
| updated_at        | 2018-01-28T14:37:17Z                 |
+-------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack router add subnet RouterDSA b7bdd8d2-87dc-4029-8187-f2602d4a05b9
(overcloud) [root@overcloud-controller-0 ~]# neutron router-port-list RouterDSA
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
| id                                   | name | tenant_id                        | mac_address       | fixed_ips                                                                             |
+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
| 01554f73-f626-4f85-825b-ea553dc90e55 |      |                                  | fa:16:3e:05:01:e8 | {"subnet_id": "475b6d92-da35-46e9-8e4c-18d98c696f62", "ip_address": "192.168.24.101"} |
| a370fb2a-428a-415b-943b-dd65890a9a62 |      | ab728192785847d4af892546b61aedb3 | fa:16:3e:17:15:01 | {"subnet_id": "b7bdd8d2-87dc-4029-8187-f2602d4a05b9", "ip_address": "50.0.0.1"}       |
+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# neutron port-show a370fb2a-428a-415b-943b-dd65890a9a62
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-----------------------+---------------------------------------------------------------------------------+
| Field                 | Value                                                                           |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up        | True                                                                            |
| allowed_address_pairs |                                                                                 |
| binding:host_id       | overcloud-controller-0.localdomain                                              |
| binding:profile       | {}                                                                              |
| binding:vif_details   | {"ovs_hybrid_plug": true, "datapath_type": "system", "port_filter": true}       |
| binding:vif_type      | ovs                                                                             |
| binding:vnic_type     | normal                                                                          |
| created_at            | 2018-01-28T14:38:05Z                                                            |
| description           |                                                                                 |
| device_id             | 4d6e29cf-2895-49ed-b703-e6dcde0eb0fc                                            |
| device_owner          | network:router_interface                                                        |
| extra_dhcp_opts       |                                                                                 |
| fixed_ips             | {"subnet_id": "b7bdd8d2-87dc-4029-8187-f2602d4a05b9", "ip_address": "50.0.0.1"} |
| id                    | a370fb2a-428a-415b-943b-dd65890a9a62                                            |
| mac_address           | fa:16:3e:17:15:01                                                               |
| name                  |                                                                                 |
| network_id            | 9acb080a-199f-44c7-93db-8bf2f3957562                                            |
| port_security_enabled | False                                                                           |
| project_id            | ab728192785847d4af892546b61aedb3                                                |
| qos_policy_id         |                                                                                 |
| revision_number       | 9                                                                               |
| security_groups       |                                                                                 |
| status                | ACTIVE                                                                          |
| tags                  |                                                                                 |
| tenant_id             | ab728192785847d4af892546b61aedb3                                                |
| updated_at            | 2018-01-28T14:38:12Z                                                            |
+-----------------------+---------------------------------------------------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack project list
+----------------------------------+---------+
| ID                               | Name    |
+----------------------------------+---------+
| a59e9a225c1f40919a0fdf2e3bf36960 | service |
| ab728192785847d4af892546b61aedb3 | admin   |
+----------------------------------+---------+
(overcloud) [root@overcloud-controller-0 ~]# openstack security group list
+--------------------------------------+---------+------------------------+----------------------------------+
| ID                                   | Name    | Description            | Project                          |
+--------------------------------------+---------+------------------------+----------------------------------+
| 7f5a1573-9e95-497e-a203-48ba9b6a6ac9 | default | Default security group |                                  |
| b03114c5-23ae-4bac-874f-56e5a73ae19a | default | Default security group | ab728192785847d4af892546b61aedb3 |
+--------------------------------------+---------+------------------------+----------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack security group rule create b03114c5-23ae-4bac-874f-56e5a73ae19a \
>  --protocol tcp --dst-port 22:22 --remote-ip 0.0.0.0/0
+-------------------+--------------------------------------+
| Field             | Value                                |
+-------------------+--------------------------------------+
| created_at        | 2018-01-28T14:42:27Z                 |
| description       |                                      |
| direction         | ingress                              |
| ether_type        | IPv4                                 |
| id                | 855ac7a4-ae6a-4ad7-b637-f080e790be97 |
| name              | None                                 |
| port_range_max    | 22                                   |
| port_range_min    | 22                                   |
| project_id        | ab728192785847d4af892546b61aedb3     |
| protocol          | tcp                                  |
| remote_group_id   | None                                 |
| remote_ip_prefix  | 0.0.0.0/0                            |
| revision_number   | 0                                    |
| security_group_id | b03114c5-23ae-4bac-874f-56e5a73ae19a |
| updated_at        | 2018-01-28T14:42:27Z                 |
+-------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack image list
+--------------------------------------+-------------------------+--------+
| ID                                   | Name                    | Status |
+--------------------------------------+-------------------------+--------+
| 7c99aa5f-6581-407d-acb7-4bf0683170e5 | VF27Cloud-image         | active |
| 18bcc4ce-9919-422a-bab8-c42166d47b30 | XenialServerCloud-image | active |
+--------------------------------------+-------------------------+--------+
(overcloud) [root@overcloud-controller-0 ~]# openstack network list
+--------------------------------------+------------+--------------------------------------+
| ID                                   | Name       | Subnets                              |
+--------------------------------------+------------+--------------------------------------+
| 12518a11-b51e-4622-bf1b-c56c038c9567 | ext-net    | 475b6d92-da35-46e9-8e4c-18d98c696f62 |
| 9acb080a-199f-44c7-93db-8bf2f3957562 | internal01 | b7bdd8d2-87dc-4029-8187-f2602d4a05b9 |
+--------------------------------------+------------+--------------------------------------+

-rw-r--r--. 1 root root 289603584 Jan 26 06:43 xenial-server-cloudimg-amd64-disk1.img
(overcloud) [root@overcloud-controller-0 ~]# cat oskey280118.pem
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAybq8ueamFyJeSsgTeoaOmq8CpMZ3bm3iivHctXBJT44Bd91D
iDs1xJreiVdJyQMOVbAvmoJ16osnpVDOodQGJxAP4elmCTrHnW4oZ1WyHaB5tskD
0pc9997WWBkVezjRLU8o9z48es9Kt1dnu/1Mf/gBon7X0ZAziqPyi/mtpC0flbfr
11qCCWcpL+59zdurjrxKpKjtWge1OTDc3IVNrf/sY95fMdopFBJ2UCz2auR4gsxJ
JYY8uJNHiMnPLN4OIsbUK6slYIimpe51RvEpcVIGRA3W/Dh2PF2XQ2MjdqKpVk9b
PpGP7eACodSov8K3ABGiEB9Aok9B6s7CqNSn3wIDAQABAoIBABfnjvGgiVH4ep/1
8Yj1ZPSjhHauJfzp/IxmeLbvZWCN/VKM37HHAmoXyAMSWuX8/LfetuViTELM1pfa
aYH3s/rxBlDI7ZRuaLUZFqSYHRExsPqd+1v7HBbBSzkJT+hYJUFvPfV+ZIBRDBOJ
wfse2u/XHap5yW1F3zWwk89OeOsZT8swZUrdoAt+ecmHrC5VsQVPKF+gjtBZPdQx
mnSMqhbUlqGiJ46Czdd5wo9NT6S4yaqVjPqvHQtvhkS5uiQ7eCiLU//EWemRnQSo
9z/4quPxln0JIgIg9iusJojs20qf6GQwt5u+TUwb+B94u58cEhxRLCuF+TtByeKZ
Uqrou9ECgYEA8jANiGp3ogghuxBpjfOmQnA1jbph8uJOmjbwVGznSDtQA14KYJfM
wq5du+QJdjrlrWv99TYZCBhA4NoprpYlmcNbLC8dfOSMnkH65NXCLGWif4+0DdVZ
9qyz6etpZY17FxZ4YqBJjfk3ICv44t+J+JCoLMWBaCbFJKVfBzaVslsCgYEA1Tv+
GgFkhrN1YkF9fx1T9Oufq1oxZ79A6YPi08mBt4mKvo68SXl4ySYZItFoscO6BGbN
jRZjIKHA6ChDeCScfPFnJ7g9bxA1Cp98PJ3A/dEPPW/+1gg/EtMH8qo1VX9MyY9g
90jXTTt9saA45M0tsZD+PhYiAdhVRJ4i4kU8j80CgYAIhYxUWnqvJt4Y+PDd387f
05buz7oWk8P0RS6bqeFRd1TPaYWv9GduCjieHd3/XP8r5Prgn/CtijzuLH7+96WH
DYqtuVKuTFRuVSAA4Uydx026c1IAkptBxL3n4zKoMhw8qbu+rKkp57T62tE9GmR+
bIieWqy8/3A8Y90+IbuOtQKBgFxGAcevIplHv1wtiuke/93UuNulxAtpL+XdNKMB
aCjMVEXx7ni9IA+rdOUkSXHjiPOuqPSM44iTdq7//XJYJX/L1x/REoSlNs7KBTEV
8xXjCf1EIbrtBp5Ww/G2xi2hUNFIQmXAF6tMOzBKbVRVlZhpbhvf6Ad0XjG7XM0d
uP9hAoGBAM+oz4rFvwwUQfaRPYRPfLCuH68lqGDqXN7quxTy6AnY+3K9bGfM88iS
63rwNadRR4h8RWWi1Qygh3yeQeA2O4LuHG7imHO5Fwz0RRKBKf062/YP9dkig1J+
XLIRSxQ3QeRGuZZZrOhgL+bLgmrWkQDBDo/Gcp+IYKlWCZ9fdLiw
-----END RSA PRIVATE KEY-----

(overcloud) [root@overcloud-controller-0 ~]# openstack hypervisor list
+----+-------------------------------------+-----------------+-------------+-------+
| ID | Hypervisor Hostname                 | Hypervisor Type | Host IP     | State |
+----+-------------------------------------+-----------------+-------------+-------+
|  1 | overcloud-novacompute-1.localdomain | QEMU            | 172.16.2.5  | up    |
|  2 | overcloud-novacompute-0.localdomain | QEMU            | 172.16.2.13 | up    |
+----+-------------------------------------+-----------------+-------------+-------+

(overcloud) [root@overcloud-controller-0 ~]# openstack image list
+--------------------------------------+-------------------------+--------+
| ID                                   | Name                    | Status |
+--------------------------------------+-------------------------+--------+
| a5449eed-3a6e-4f72-9d95-b6da1e87a69d | VF27Cloud-image01       | active |
| 18bcc4ce-9919-422a-bab8-c42166d47b30 | XenialServerCloud-image | active |
+--------------------------------------+-------------------------+--------+
(overcloud) [root@overcloud-controller-0 ~]# openstack network list
+--------------------------------------+------------+--------------------------------------+
| ID                                   | Name       | Subnets                              |
+--------------------------------------+------------+--------------------------------------+
| 12518a11-b51e-4622-bf1b-c56c038c9567 | ext-net    | 475b6d92-da35-46e9-8e4c-18d98c696f62 |
| 9acb080a-199f-44c7-93db-8bf2f3957562 | internal01 | b7bdd8d2-87dc-4029-8187-f2602d4a05b9 |
+--------------------------------------+------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack server create --flavor 2 --key-name oskey280118  \
> --image a5449eed-3a6e-4f72-9d95-b6da1e87a69d \
> --nic net-id=9acb080a-199f-44c7-93db-8bf2f3957562 ServerDevs01
+-------------------------------------+----------------------------------------------------------+
| Field                               | Value                                                    |
+-------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                   |
| OS-EXT-AZ:availability_zone         |                                                          |
| OS-EXT-SRV-ATTR:host                | None                                                     |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                                     |
| OS-EXT-SRV-ATTR:instance_name       |                                                          |
| OS-EXT-STS:power_state              | NOSTATE                                                  |
| OS-EXT-STS:task_state               | scheduling                                               |
| OS-EXT-STS:vm_state                 | building                                                 |
| OS-SRV-USG:launched_at              | None                                                     |
| OS-SRV-USG:terminated_at            | None                                                     |
| accessIPv4                          |                                                          |
| accessIPv6                          |                                                          |
| addresses                           |                                                          |
| adminPass                           | o5Cf3t2oyVUF                                             |
| config_drive                        |                                                          |
| created                             | 2018-01-28T15:55:18Z                                     |
| flavor                              | m1.small (2)                                             |
| hostId                              |                                                          |
| id                                  | 79b45151-1398-4ea6-9cde-e69581a84ec3                     |
| image                               | VF27Cloud-image01 (a5449eed-3a6e-4f72-9d95-b6da1e87a69d) |
| key_name                            | oskey280118                                              |
| name                                | ServerDevs01                                             |
| progress                            | 0                                                        |
| project_id                          | ab728192785847d4af892546b61aedb3                         |
| properties                          |                                                          |
| security_groups                     | name='default'                                           |
| status                              | BUILD                                                    |
| updated                             | 2018-01-28T15:55:18Z                                     |
| user_id                             | 7ac365ecac9a411aa60fa4338181b32b                         |
| volumes_attached                    |                                                          |
+-------------------------------------+----------------------------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------+--------+------------+-------------+---------------------+
| ID                                   | Name         | Status | Task State | Power State | Networks            |
+--------------------------------------+--------------+--------+------------+-------------+---------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01 | BUILD  | spawning   | NOSTATE     | internal01=50.0.0.8 |
+--------------------------------------+--------------+--------+------------+-------------+---------------------+
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------+--------+------------+-------------+---------------------+
| ID                                   | Name         | Status | Task State | Power State | Networks            |
+--------------------------------------+--------------+--------+------------+-------------+---------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01 | ACTIVE | -          | Running     | internal01=50.0.0.8 |
+--------------------------------------+--------------+--------+------------+-------------+---------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack console log show ServerDevs01
[    0.000000] random: get_random_bytes called from start_kernel+0x42/0x4e6 with crng_init=0
[    0.000000] Linux version 4.13.9-300.fc27.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Mon Oct 23 13:41:58 UTC 2017
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.13.9-300.fc27.x86_64 root=UUID=d020d197-657b-4030-bde5-0db8417bc39c ro no_timer_check console=tty1 console=ttyS0,115200n8 LANG=en_US.UTF-8
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007cfdbfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007cfdc000-0x000000007cffffff] reserved
. . . . . . . . . 

[[0;32m  OK  [0m] Started Hostname Service.
[  111.516500] cloud-init[677]: Cloud-init v. 0.7.9 running 'init' at Sun, 28 Jan 2018 15:57:13 +0000. Up 87.92 seconds.
[  111.521869] cloud-init[677]: ci-info: +++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++
[  111.535866] cloud-init[677]: ci-info: +--------+------+-----------+---------------+-------+-------------------+
[  111.539994] cloud-init[677]: ci-info: | Device |  Up  |  Address  |      Mask     | Scope |     Hw-Address    |
[  111.550051] cloud-init[677]: ci-info: +--------+------+-----------+---------------+-------+-------------------+
[  111.557757] cloud-init[677]: ci-info: | eth0:  | True |  50.0.0.8 | 255.255.255.0 |   .   | fa:16:3e:1e:66:50 |
[  111.562624] cloud-init[677]: ci-info: | eth0:  | True |     .     |       .       |   d   | fa:16:3e:1e:66:50 |
[  111.571338] cloud-init[677]: ci-info: |  lo:   | True | 127.0.0.1 |   255.0.0.0   |   .   |         .         |
[  111.577825] cloud-init[677]: ci-info: |  lo:   | True |     .     |       .       |   d   |         .         |
[  111.584432] cloud-init[677]: ci-info: +--------+------+-----------+---------------+-------+-------------------+
[  111.592674] cloud-init[677]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
[  111.606159] cloud-init[677]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[  111.617814] cloud-init[677]: ci-info: | Route |   Destination   | Gateway  |     Genmask     | Interface | Flags |
[  111.622683] cloud-init[677]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[  111.626878] cloud-init[677]: ci-info: |   0   |     0.0.0.0     | 50.0.0.1 |     0.0.0.0     |    eth0   |   UG  |
[  111.643880] cloud-init[677]: ci-info: |   1   |     50.0.0.0    | 0.0.0.0  |  255.255.255.0  |    eth0   |   U   |
[  111.649803] cloud-init[677]: ci-info: |   2   | 169.254.169.254 | 50.0.0.1 | 255.255.255.255 |    eth0   |  UGH  |
[  111.662101] cloud-init[677]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[[0;32m  OK  [0m] Started Initial cloud-init job (metadata service crawler).
         Starting Permit User Sessions...
         Starting OpenSSH server daemon...
[[0;32m  OK  [0m] Reached target Network is Online.
[[0;32m  OK  [0m] Reached target Cloud-config availability.
         Starting Apply the settings specified in cloud-config...
[[0;32m  OK  [0m] Started Permit User Sessions.
[[0;32m  OK  [0m] Started Command Scheduler.
[[0;32m  OK  [0m] Started Serial Getty on ttyS0.
[[0;32m  OK  [0m] Started Getty on tty1.
[[0;32m  OK  [0m] Reached target Login Prompts.
[[0;32m  OK  [0m] Started OpenSSH server daemon.
[[0;32m  OK  [0m] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[[0;32m  OK  [0m] Started Update UTMP about System Runlevel Changes.

Fedora 27 (Cloud Edition)
Kernel 4.13.9-300.fc27.x86_64 on an x86_64 (ttyS0)

serverdevs01 login: (overcloud) [root@overcloud-controller-0 ~]# 
(overcloud) [root@overcloud-controller-0 ~]# openstack image list
+--------------------------------------+-------------------------+--------+
| ID                                   | Name                    | Status |
+--------------------------------------+-------------------------+--------+
| a5449eed-3a6e-4f72-9d95-b6da1e87a69d | VF27Cloud-image01       | active |
| 18bcc4ce-9919-422a-bab8-c42166d47b30 | XenialServerCloud-image | active |
+--------------------------------------+-------------------------+--------+
(overcloud) [root@overcloud-controller-0 ~]# openstack network list
+--------------------------------------+------------+--------------------------------------+
| ID                                   | Name       | Subnets                              |
+--------------------------------------+------------+--------------------------------------+
| 12518a11-b51e-4622-bf1b-c56c038c9567 | ext-net    | 475b6d92-da35-46e9-8e4c-18d98c696f62 |
| 9acb080a-199f-44c7-93db-8bf2f3957562 | internal01 | b7bdd8d2-87dc-4029-8187-f2602d4a05b9 |
+--------------------------------------+------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack server create --flavor 2 --key-name oskey280118  \
>   --image 18bcc4ce-9919-422a-bab8-c42166d47b30  \
>   --nic net-id=9acb080a-199f-44c7-93db-8bf2f3957562 ServerXenialDevs01
+-------------------------------------+----------------------------------------------------------------+
| Field                               | Value                                                          |
+-------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                         |
| OS-EXT-AZ:availability_zone         |                                                                |
| OS-EXT-SRV-ATTR:host                | None                                                           |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                                           |
| OS-EXT-SRV-ATTR:instance_name       |                                                                |
| OS-EXT-STS:power_state              | NOSTATE                                                        |
| OS-EXT-STS:task_state               | scheduling                                                     |
| OS-EXT-STS:vm_state                 | building                                                       |
| OS-SRV-USG:launched_at              | None                                                           |
| OS-SRV-USG:terminated_at            | None                                                           |
| accessIPv4                          |                                                                |
| accessIPv6                          |                                                                |
| addresses                           |                                                                |
| adminPass                           | R6MsnqhN7GjJ                                                   |
| config_drive                        |                                                                |
| created                             | 2018-01-28T16:00:30Z                                           |
| flavor                              | m1.small (2)                                                   |
| hostId                              |                                                                |
| id                                  | 9106685e-bbae-40cf-86b2-e2aeae97f270                           |
| image                               | XenialServerCloud-image (18bcc4ce-9919-422a-bab8-c42166d47b30) |
| key_name                            | oskey280118                                                    |
| name                                | ServerXenialDevs01                                             |
| progress                            | 0                                                              |
| project_id                          | ab728192785847d4af892546b61aedb3                               |
| properties                          |                                                                |
| security_groups                     | name='default'                                                 |
| status                              | BUILD                                                          |
| updated                             | 2018-01-28T16:00:31Z                                           |
| user_id                             | 7ac365ecac9a411aa60fa4338181b32b                               |
| volumes_attached                    |                                                                |
+-------------------------------------+----------------------------------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
| ID                                   | Name               | Status | Task State | Power State | Networks             |
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01       | ACTIVE | -          | Running     | internal01=50.0.0.8  |
| 9106685e-bbae-40cf-86b2-e2aeae97f270 | ServerXenialDevs01 | BUILD  | spawning   | NOSTATE     | internal01=50.0.0.12 |
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
| ID                                   | Name               | Status | Task State | Power State | Networks             |
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01       | ACTIVE | -          | Running     | internal01=50.0.0.8  |
| 9106685e-bbae-40cf-86b2-e2aeae97f270 | ServerXenialDevs01 | ACTIVE | -          | Running     | internal01=50.0.0.12 |
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+ 
(overcloud) [root@overcloud-controller-0 ~]# openstack console log show ServerXenialDevs01
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-112-generic (buildd@lgw01-amd64-010) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 (Ubuntu 4.4.0-112.135-generic 4.4.98)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-112-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Legacy x87 FPU detected.
[    0.000000] x86/fpu: Using 'lazy' FPU context switches.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007cfdbfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007cfdc000-0x000000007cffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] Kernel/User page tables isolation: disabled
[    0.000000] e820: last_pfn = 0x7cfdc max_arch_pfn = 0x400000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT  
[    0.000000] found SMP MP-table at [mem 0x000f72f0-0x000f72ff] mapped at [ffff8800000f72f0]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] RAMDISK: [mem 0x36adc000-0x37565fff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F70A0 000014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 0x000000007CFE14C9 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACP 0x000000007CFE13DD 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x000000007CFE0040 00139D (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.000000] ACPI: FACS 0x000000007CFE0000 000040
[    0.000000] ACPI: APIC 0x000000007CFE1451 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
. . . . . . . . 

         Starting Raise network interfaces...
[[0;32m  OK  [0m] Started Raise network interfaces.
         Starting Initial cloud-init job (metadata service crawler)...
[[0;32m  OK  [0m] Reached target Network.
[  111.969621] cloud-init[919]: Cloud-init v. 17.1 running 'init' at Sun, 28 Jan 2018 16:02:21 +0000. Up 91.04 seconds.
[  111.974549] cloud-init[919]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
[  111.989621] cloud-init[919]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+
[  111.992514] cloud-init[919]: ci-info: | Device |  Up  |           Address           |      Mask     | Scope |     Hw-Address    |
[  112.002184] cloud-init[919]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+
[  112.006584] cloud-init[919]: ci-info: |  ens3  | True |          50.0.0.12          | 255.255.255.0 |   .   | fa:16:3e:d0:04:1b |
[  112.010085] cloud-init[919]: ci-info: |  ens3  | True | fe80::f816:3eff:fed0:41b/64 |       .       |  link | fa:16:3e:d0:04:1b |
[  112.014483] cloud-init[919]: ci-info: |   lo   | True |          127.0.0.1          |   255.0.0.0   |   .   |         .         |
[  112.026665] cloud-init[919]: ci-info: |   lo   | True |           ::1/128           |       .       |  host |         .         |
[  112.034014] cloud-init[919]: ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+
[  112.043049] cloud-init[919]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
[  112.051527] cloud-init[919]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[  112.064007] cloud-init[919]: ci-info: | Route |   Destination   | Gateway  |     Genmask     | Interface | Flags |
[  112.080078] cloud-init[919]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[  112.089075] cloud-init[919]: ci-info: |   0   |     0.0.0.0     | 50.0.0.1 |     0.0.0.0     |    ens3   |   UG  |
[  112.091977] cloud-init[919]: ci-info: |   1   |     50.0.0.0    | 0.0.0.0  |  255.255.255.0  |    ens3   |   U   |
[  112.102559] cloud-init[919]: ci-info: |   2   | 169.254.169.254 | 50.0.0.1 | 255.255.255.255 |    ens3   |  UGH  |
[  112.105964] cloud-init[919]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[  112.116612] cloud-init[919]: Generating public/private rsa key pair.
[  112.122926] cloud-init[919]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
[  112.126052] cloud-init[919]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
[  112.138583] cloud-init[919]: The key fingerprint is:
[  112.141581] cloud-init[919]: SHA256:/94j/mVGYT2iw4ZcxcbTNV8hyIPTWgNkTxacXz2Fs7c root@serverxenialdevs01
[  112.152855] cloud-init[919]: The key's randomart image is:
[  112.156712] cloud-init[919]: +---[RSA 2048]----+
[  112.165868] cloud-init[919]: |        .+*+*o.+O|
[  112.168729] cloud-init[919]: |        .o+X.=++*|
[  112.170902] cloud-init[919]: |          +o=.o*+|
[  112.177799] cloud-init[919]: |        ..+ ..+ +|
[  112.183317] cloud-init[919]: |        So =   .o|
[  112.191453] cloud-init[919]: |         .. .  E |
[  112.198120] cloud-init[919]: |          .     +|
[  112.200502] cloud-init[919]: |           ....+ |
[  112.203172] cloud-init[919]: |           o+oo. |
[  112.210229] cloud-init[919]: +----[SHA256]-----+
[  112.219350] cloud-init[919]: Generating public/private dsa key pair.
[  112.221960] cloud-init[919]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
[  112.224331] cloud-init[919]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
[  112.230327] cloud-init[919]: The key fingerprint is:
[  112.239518] cloud-init[919]: SHA256:MZ/29gZ4K3wOea40gsQ/Km7gWqaOqw7qPIvKRoAARzQ root@serverxenialdevs01
[  112.243052] cloud-init[919]: The key's randomart image is:
[  112.246300] cloud-init[919]: +---[DSA 1024]----+
[  112.256707] cloud-init[919]: |ooE              |
[  112.259568] cloud-init[919]: |.. .             |
[  112.261619] cloud-init[919]: |o       o        |
[  112.271487] cloud-init[919]: |o    .   + .     |
[  112.275206] cloud-init[919]: |.     o S +.     |
[  112.281893] cloud-init[919]: | ..  . o ..oo    |
[  112.290592] cloud-init[919]: |o.o.  . +.=.+o   |
[  112.293791] cloud-init[919]: |B*. o  . +o*o..  |
[  112.298146] cloud-init[919]: |^Xoo...   .=o..  |
[  112.307008] cloud-init[919]: +----[SHA256]-----+
[  112.312454] cloud-init[919]: Generating public/private ecdsa key pair.
[  112.324820] cloud-init[919]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
[  112.327962] cloud-init[919]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
[  112.332874] cloud-init[919]: The key fingerprint is:
[  112.344836] cloud-init[919]: SHA256:+npQJsypiZTWgjvLI7TfmGv+8waPvXdhqvufmeNvWqM root@serverxenialdevs01
[  112.352537] cloud-init[919]: The key's randomart image is:
[  112.355127] cloud-init[919]: +---[ECDSA 256]---+
[  112.366403] cloud-init[919]: |                 |
[  112.369400] cloud-init[919]: |                 |
[  112.372978] cloud-init[919]: | . o o .         |
[  112.379114] cloud-init[919]: |. = . = o        |
[  112.388234] cloud-init[919]: | + o o +S        |
[  112.394154] cloud-init[919]: |o.. o...   o     |
[  112.405328] cloud-init[919]: |oo.   *.  o .o   |
[  112.408617] cloud-init[919]: |o+ .+o =.o o*..  |
[  112.410731] cloud-init[919]: |. =*oo=BB.+E=.   |
[  112.415486] cloud-init[919]: +----[SHA256]-----+
[  112.423268] cloud-init[919]: Generating public/private ed25519 key pair.
[  112.430747] cloud-init[919]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
[  112.439489] cloud-init[919]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
[  112.442699] cloud-init[919]: The key fingerprint is:
[  112.451513] cloud-init[919]: SHA256:KYuG9sZq2L3jJ/EF+Ljb+ScXsJ35rmIRO6tIweCASVo root@serverxenialdevs01
[  112.455040] cloud-init[919]: The key's randomart image is:
[  112.462421] cloud-init[919]: +--[ED25519 256]--+
[  112.472643] cloud-init[919]: | .E              |
[  112.476162] cloud-init[919]: |+o               |
[  112.483896] cloud-init[919]: |= .  .           |
[  112.491295] cloud-init[919]: | o o. . o.       |
[  112.498144] cloud-init[919]: |  . oo..S* o     |
[  112.505642] cloud-init[919]: |   .oo.o* =      |
[  112.514083] cloud-init[919]: | ooo++.. + o     |
[  112.524162] cloud-init[919]: |..o+Boo.= o .    |
[  112.526929] cloud-init[919]: | ..+**++.=.o.    |
[  112.529004] cloud-init[919]: +----[SHA256]-----+
[[0;32m  OK  [0m] Started Initial cloud-init job (metadata service crawler).
[[0;32m  OK  [0m] Reached target Cloud-config availability.
[[0;32m  OK  [0m] Reached target System Initialization.
[[0;32m  OK  [0m] Started Timer to automatically refresh installed snaps.
[[0;32m  OK  [0m] Listening on UUID daemon activation socket.
         Starting Socket activation for snappy daemon.
[[0;32m  OK  [0m] Listening on D-Bus System Message Bus Socket.
         Starting LXD - unix socket.
[[0;32m  OK  [0m] Started ACPI Events Check.
[[0;32m  OK  [0m] Reached target Paths.
[[0;32m  OK  [0m] Started Daily Cleanup of Temporary Directories.
[[0;32m  OK  [0m] Listening on ACPID Listen Socket.
[[0;32m  OK  [0m] Reached target Network is Online.
[[0;32m  OK  [0m] Started Daily apt download activities.
[[0;32m  OK  [0m] Started Daily apt upgrade and clean activities.
[[0;32m  OK  [0m] Reached target Timers.
         Starting iSCSI initiator daemon (iscsid)...
[[0;32m  OK  [0m] Listening on Socket activation for snappy daemon.
[[0;32m  OK  [0m] Listening on LXD - unix socket.
[[0;32m  OK  [0m] Reached target Sockets.
[[0;32m  OK  [0m] Reached target Basic System.
         Starting LSB: Record successful boot for GRUB...
         Starting Accounts Service...
[[0;32m  OK  [0m] Started ACPI event daemon.
[[0;32m  OK  [0m] Started Deferred execution scheduler.
         Starting Snappy daemon...
         Starting LSB: MD monitoring daemon...
[[0;32m  OK  [0m] Started Unattended Upgrades Shutdown.
         Starting System Logging Service...
         Starting /etc/rc.local Compatibility...
         Starting LXD - container startup/shutdown...
         Starting Apply the settings specified in cloud-config...
[[0;32m  OK  [0m] Started FUSE filesystem for LXC.
         Starting Pollinate to seed the pseudo random number generator...
[[0;32m  OK  [0m] Started Regular background program processing daemon.
[[0;32m  OK  [0m] Started D-Bus System Message Bus.
         Starting Login Service...
[[0;32m  OK  [0m] Started System Logging Service.
[[0;32m  OK  [0m] Started /etc/rc.local Compatibility.
[[0;32m  OK  [0m] Started iSCSI initiator daemon (iscsid).
[[0;32m  OK  [0m] Started LXD - container startup/shutdown.
[[0;32m  OK  [0m] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting Login to default iSCSI targets...
[[0;32m  OK  [0m] Started LSB: Record successful boot for GRUB.
[[0;32m  OK  [0m] Started Snappy daemon.
[[0;32m  OK  [0m] Started Login to default iSCSI targets.
[[0;32m  OK  [0m] Reached target Remote File Systems (Pre).
[[0;32m  OK  [0m] Reached target Remote File Systems.
         Starting Permit User Sessions...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting LSB: automatic crash report generation...
         Starting LSB: daemon to balance interrupts for SMP systems...
[[0;32m  OK  [0m] Started Permit User Sessions.
[[0;32m  OK  [0m] Started LSB: MD monitoring daemon.
         Starting Terminate Plymouth Boot Screen...
         Starting Hold until boot process finishes up...
[[0;32m  OK  [0m] Started Hold until boot process finishes up.
[[0;32m  OK  [0m] Started Serial Getty on ttyS0.
         Starting Set console scheme...
[[0;32m  OK  [0m] Started Getty on tty1.
[[0;32m  OK  [0m] Reached target Login Prompts.
[[0;32m  OK  [0m] Started Terminate Plymouth Boot Screen.
[[0;32m  OK  [0m] Started Set console scheme.
[[0;32m  OK  [0m] Started Authenticate and Authorize Users to Run Privileged Tasks.
[[0;32m  OK  [0m] Started Accounts Service.
[[0;32m  OK  [0m] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[[0;32m  OK  [0m] Started LSB: daemon to balance interrupts for SMP systems.
[[0;32m  OK  [0m] Started LSB: automatic crash report generation.

Ubuntu 16.04.3 LTS serverxenialdevs01 ttyS0

serverxenialdevs01 login: [  135.386400] cloud-init[1070]: Generating locales (this might take a while)...
[  142.049125] cloud-init[1070]:   en_US.UTF-8... done
[  142.058462] cloud-init[1070]: Generation complete.
(overcloud) [root@overcloud-controller-0 ~]# openstack floating ip create ext-net
+---------------------+--------------------------------------+
| Field               | Value                                |
+---------------------+--------------------------------------+
| created_at          | 2018-01-28T16:04:14Z                 |
| description         |                                      |
| fixed_ip_address    | None                                 |
| floating_ip_address | 192.168.24.102                       |
| floating_network_id | 12518a11-b51e-4622-bf1b-c56c038c9567 |
| id                  | 272b39c7-4365-485a-ae2d-f0fa6e39c2f5 |
| name                | 192.168.24.102                       |
| port_id             | None                                 |
| project_id          | ab728192785847d4af892546b61aedb3     |
| revision_number     | 0                                    |
| router_id           | None                                 |
| status              | DOWN                                 |
| updated_at          | 2018-01-28T16:04:14Z                 |
+---------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
| ID                                   | Name               | Status | Task State | Power State | Networks             |
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01       | ACTIVE | -          | Running     | internal01=50.0.0.8  |
| 9106685e-bbae-40cf-86b2-e2aeae97f270 | ServerXenialDevs01 | ACTIVE | -          | Running     | internal01=50.0.0.12 |
+--------------------------------------+--------------------+--------+------------+-------------+----------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack server add floating ip ServerDevs01 192.168.24.102
(overcloud) [root@overcloud-controller-0 ~]# openstack floating ip create ext-net
+---------------------+--------------------------------------+
| Field               | Value                                |
+---------------------+--------------------------------------+
| created_at          | 2018-01-28T16:05:24Z                 |
| description         |                                      |
| fixed_ip_address    | None                                 |
| floating_ip_address | 192.168.24.106                       |
| floating_network_id | 12518a11-b51e-4622-bf1b-c56c038c9567 |
| id                  | 60af0274-7049-4fc6-83ae-4cbaa80121c7 |
| name                | 192.168.24.106                       |
| port_id             | None                                 |
| project_id          | ab728192785847d4af892546b61aedb3     |
| revision_number     | 0                                    |
| router_id           | None                                 |
| status              | DOWN                                 |
| updated_at          | 2018-01-28T16:05:24Z                 |
+---------------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack server add floating ip ServerXenialDevs01  192.168.24.106
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
| ID                                   | Name               | Status | Task State | Power State | Networks                             |
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01       | ACTIVE | -          | Running     | internal01=50.0.0.8, 192.168.24.102  |
| 9106685e-bbae-40cf-86b2-e2aeae97f270 | ServerXenialDevs01 | ACTIVE | -          | Running     | internal01=50.0.0.12, 192.168.24.106 |
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+

(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
| ID                                   | Name               | Status | Task State | Power State | Networks                             |
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01       | ACTIVE | -          | Running     | internal01=50.0.0.8, 192.168.24.102  |
| 9106685e-bbae-40cf-86b2-e2aeae97f270 | ServerXenialDevs01 | ACTIVE | -          | Running     | internal01=50.0.0.12, 192.168.24.106 |
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack server show ServerDevs01
+-------------------------------------+----------------------------------------------------------+
| Field                               | Value                                                    |
+-------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                   |
| OS-EXT-AZ:availability_zone         | nova                                                     |
| OS-EXT-SRV-ATTR:host                | overcloud-novacompute-1.localdomain                      |
| OS-EXT-SRV-ATTR:hypervisor_hostname | overcloud-novacompute-1.localdomain                      |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000005                                        |
| OS-EXT-STS:power_state              | Running                                                  |
| OS-EXT-STS:task_state               | None                                                     |
| OS-EXT-STS:vm_state                 | active                                                   |
| OS-SRV-USG:launched_at              | 2018-01-28T15:55:38.000000                               |
| OS-SRV-USG:terminated_at            | None                                                     |
| accessIPv4                          |                                                          |
| accessIPv6                          |                                                          |
| addresses                           | internal01=50.0.0.8, 192.168.24.102                      |
| config_drive                        |                                                          |
| created                             | 2018-01-28T15:55:18Z                                     |
| flavor                              | m1.small (2)                                             |
| hostId                              | f6f18f65348326cf1ccbacbb0a5d02c066bc16064f56b7710b473d45 |
| id                                  | 79b45151-1398-4ea6-9cde-e69581a84ec3                     |
| image                               | VF27Cloud-image01 (a5449eed-3a6e-4f72-9d95-b6da1e87a69d) |
| key_name                            | oskey280118                                              |
| name                                | ServerDevs01                                             |
| progress                            | 0                                                        |
| project_id                          | ab728192785847d4af892546b61aedb3                         |
| properties                          |                                                          |
| security_groups                     | name='default'                                           |
| status                              | ACTIVE                                                   |
| updated                             | 2018-01-28T15:55:38Z                                     |
| user_id                             | 7ac365ecac9a411aa60fa4338181b32b                         |
| volumes_attached                    |                                                          |
+-------------------------------------+----------------------------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# nova list
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
| ID                                   | Name               | Status | Task State | Power State | Networks                             |
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
| 79b45151-1398-4ea6-9cde-e69581a84ec3 | ServerDevs01       | ACTIVE | -          | Running     | internal01=50.0.0.8, 192.168.24.102  |
| 9106685e-bbae-40cf-86b2-e2aeae97f270 | ServerXenialDevs01 | ACTIVE | -          | Running     | internal01=50.0.0.12, 192.168.24.106 |
+--------------------------------------+--------------------+--------+------------+-------------+--------------------------------------+
(overcloud) [root@overcloud-controller-0 ~]# openstack server show ServerXenialDevs01
+-------------------------------------+----------------------------------------------------------------+
| Field                               | Value                                                          |
+-------------------------------------+----------------------------------------------------------------+
| OS-DCF:diskConfig                   | MANUAL                                                         |
| OS-EXT-AZ:availability_zone         | nova                                                           |
| OS-EXT-SRV-ATTR:host                | overcloud-novacompute-0.localdomain                            |
| OS-EXT-SRV-ATTR:hypervisor_hostname | overcloud-novacompute-0.localdomain                            |
| OS-EXT-SRV-ATTR:instance_name       | instance-00000006                                              |
| OS-EXT-STS:power_state              | Running                                                        |
| OS-EXT-STS:task_state               | None                                                           |
| OS-EXT-STS:vm_state                 | active                                                         |
| OS-SRV-USG:launched_at              | 2018-01-28T16:00:45.000000                                     |
| OS-SRV-USG:terminated_at            | None                                                           |
| accessIPv4                          |                                                                |
| accessIPv6                          |                                                                |
| addresses                           | internal01=50.0.0.12, 192.168.24.106                           |
| config_drive                        |                                                                |
| created                             | 2018-01-28T16:00:30Z                                           |
| flavor                              | m1.small (2)                                                   |
| hostId                              | a22b1a62a3b33ec71a53c94795b867944827d1ff370a15b671c10ce2       |
| id                                  | 9106685e-bbae-40cf-86b2-e2aeae97f270                           |
| image                               | XenialServerCloud-image (18bcc4ce-9919-422a-bab8-c42166d47b30) |
| key_name                            | oskey280118                                                    |
| name                                | ServerXenialDevs01                                             |
| progress                            | 0                                                              |
| project_id                          | ab728192785847d4af892546b61aedb3                               |
| properties                          |                                                                |
| security_groups                     | name='default'                                                 |
| status                              | ACTIVE                                                         |
| updated                             | 2018-01-28T16:00:46Z                                           |
| user_id                             | 7ac365ecac9a411aa60fa4338181b32b                               |
| volumes_attached                    |                                                                |
+-------------------------------------+----------------------------------------------------------------+


Status of overcloud nodes on VIRTHOST
   UNDERCLOUD - 12 GB and 6 VCPUS;CONTROLLER && COMPUTE NODES each is 8GB and 2 VCPUS 
   REPORTED via VIRSH DUMPXML and VIRT-MANAGER
  
Openstack show server reports
  
 
SSHUTTLE connection has been setup from WKS to VIRTHOST. Test floating IPs funcnionality of 2 VMs running each one on it's own compute node.
  
 
   

No comments:

Post a Comment