Following bellow post attempts TripleO QuickStart deployment based on current pre-built images ( as of 02/10/2017) and creating required openstack environment utilizing python-openstackclient CLI instead on nova&&neutron CLI for creating networks,routers,flavors,keypairs and security rules set up in overcloud.
Worstation Fedora 24 original setup :-
[alan@fedora24wks]$ export VIRTHOST=192.168.0.74
[alan@fedora24wks]$ git clone \
https://github.com/openstack/tripleo-quickstart
[alan@fedora24wks]$ cd tripleo-quickstart
[alan@fedora24wks]$ sudo bash quickstart.sh --install-deps
[alan@fedora24wks]$ sudo dnf install redhat-rpm-config
[alan@fedora24wks]$ ssh-keygen
[alan@fedora24wks]$ ssh-copy-id root@$VIRTHOST
[alan@fedora24wks]$ ssh root@$VIRTHOST uname -a
[alan@fedora24wks tripleo-quickstart]$ cd config/general_config
[alan@fedora24wks general_config]$ cat ha.yml
# Deploy an HA openstack environment.
control_memory: 6700
compute_memory: 6500
undercloud_memory: 8192
# Giving the undercloud additional CPUs can greatly improve heat's
# performance (and result in a shorter deploy time).
undercloud_vcpu: 4
# Since HA has more machines, we set the cpu for controllers and
# compute nodes to 1
control_vcpu: 1
compute_vcpu: 2
# This enables TLS for the undercloud which will also make haproxy bind to the
# configured public-vip and admin-vip.
undercloud_generate_service_certificate: True
# Create three controller nodes and one compute node.
overcloud_nodes:
- name: control_0
flavor: control
virtualbmc_port: 6230
- name: control_1
flavor: control
virtualbmc_port: 6231
- name: control_2
flavor: control
virtualbmc_port: 6232
- name: compute_0
flavor: compute
virtualbmc_port: 6233
- name: compute_1
flavor: compute
virtualbmc_port: 6234
# We don't need introspection in a virtual environment (because we are
# creating all the "hardware" we really know the necessary
# information).
step_introspect: false
# Tell tripleo about our environment.
network_isolation: true
extra_args: >-
--control-scale 3
--compute-scale 2
--ntp-server pool.ntp.org
test_ping: true
enable_pacemaker: true
run_tempest: false
# options below direct automatic doc generation by tripleo-collect-logs
artcl_gen_docs: true
artcl_create_docs_payload:
included_deployment_scripts:
- undercloud-install
- overcloud-custom-tht-script
- overcloud-prep-flavors
- overcloud-prep-images
- overcloud-prep-network
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate
included_static_docs:
- env-setup-virt
table_of_contents:
- env-setup-virt
- undercloud-install
- overcloud-custom-tht-script
- overcloud-prep-flavors
- overcloud-prep-images
- overcloud-prep-network
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate
*****************************************************************************************
To test current shape RDO Okata after clonning git repo bash quickstart runs with option "-R master"
*****************************************************************************************
[alan@fedora24wks tripleo-quickstart]$ bash quickstart.sh -R master \
--config config/general_config/ha.yml $VIRTHOST
Getting undercloud VM running on VIRTHOST quickstart will exit and print statistics related with undercloud generation.
Worstation Fedora 24 original setup :-
[alan@fedora24wks]$ export VIRTHOST=192.168.0.74
[alan@fedora24wks]$ git clone \
https://github.com/openstack/tripleo-quickstart
[alan@fedora24wks]$ cd tripleo-quickstart
[alan@fedora24wks]$ sudo bash quickstart.sh --install-deps
[alan@fedora24wks]$ sudo dnf install redhat-rpm-config
[alan@fedora24wks]$ ssh-keygen
[alan@fedora24wks]$ ssh-copy-id root@$VIRTHOST
[alan@fedora24wks]$ ssh root@$VIRTHOST uname -a
[alan@fedora24wks tripleo-quickstart]$ cd config/general_config
[alan@fedora24wks general_config]$ cat ha.yml
# Deploy an HA openstack environment.
control_memory: 6700
compute_memory: 6500
undercloud_memory: 8192
# Giving the undercloud additional CPUs can greatly improve heat's
# performance (and result in a shorter deploy time).
undercloud_vcpu: 4
# Since HA has more machines, we set the cpu for controllers and
# compute nodes to 1
control_vcpu: 1
compute_vcpu: 2
# This enables TLS for the undercloud which will also make haproxy bind to the
# configured public-vip and admin-vip.
undercloud_generate_service_certificate: True
# Create three controller nodes and one compute node.
overcloud_nodes:
- name: control_0
flavor: control
virtualbmc_port: 6230
- name: control_1
flavor: control
virtualbmc_port: 6231
- name: control_2
flavor: control
virtualbmc_port: 6232
- name: compute_0
flavor: compute
virtualbmc_port: 6233
- name: compute_1
flavor: compute
virtualbmc_port: 6234
# We don't need introspection in a virtual environment (because we are
# creating all the "hardware" we really know the necessary
# information).
step_introspect: false
# Tell tripleo about our environment.
network_isolation: true
extra_args: >-
--control-scale 3
--compute-scale 2
--ntp-server pool.ntp.org
test_ping: true
enable_pacemaker: true
run_tempest: false
# options below direct automatic doc generation by tripleo-collect-logs
artcl_gen_docs: true
artcl_create_docs_payload:
included_deployment_scripts:
- undercloud-install
- overcloud-custom-tht-script
- overcloud-prep-flavors
- overcloud-prep-images
- overcloud-prep-network
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate
included_static_docs:
- env-setup-virt
table_of_contents:
- env-setup-virt
- undercloud-install
- overcloud-custom-tht-script
- overcloud-prep-flavors
- overcloud-prep-images
- overcloud-prep-network
- overcloud-deploy
- overcloud-deploy-post
- overcloud-validate
*****************************************************************************************
To test current shape RDO Okata after clonning git repo bash quickstart runs with option "-R master"
*****************************************************************************************
[alan@fedora24wks tripleo-quickstart]$ bash quickstart.sh -R master \
--config config/general_config/ha.yml $VIRTHOST
Getting undercloud VM running on VIRTHOST quickstart will exit and print statistics related with undercloud generation.
PLAY RECAP ********************************************************************* 192.168.0.74 : ok=116 changed=43 unreachable=0 failed=0 localhost : ok=19 changed=8 unreachable=0 failed=0 undercloud : ok=39 changed=27 unreachable=0 failed=0 Saturday 11 February 2017 12:30:41 +0300 (0:00:01.367) 0:37:46.611 ***** =============================================================================== undercloud-deploy : Install the undercloud --------------------------- 1165.24s /home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/install-undercloud.yml:15 fetch-images : Get image ---------------------------------------------- 288.20s /home/boris/.quickstart/tripleo-quickstart/roles/fetch-images/tasks/fetch.yml:64 overcloud-prep-images : Prepare the overcloud images for deploy ------- 190.02s /home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-prep-images/tasks/overcloud-prep-images.yml:1 setup/undercloud : Perform selinux relabel on undercloud image -------- 100.78s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:154 setup/undercloud : Upload undercloud volume to storage pool ------------ 35.85s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:257 overcloud-prep-flavors : Prepare the scripts for overcloud flavors ----- 29.02s /home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-prep-flavors/tasks/overcloud-prep-flavors.yml:1 setup/undercloud : Copy instackenv.json to appliance ------------------- 26.96s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:73 setup/undercloud : Get undercloud vm ip address ------------------------ 23.79s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:295 parts/libvirt : Install packages for libvirt --------------------------- 16.94s /home/boris/.quickstart/tripleo-quickstart/roles/parts/libvirt/tasks/main.yml:46 undercloud-deploy : Create the Virtual BMCs ---------------------------- 12.27s /home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/configure-vbmc.yml:23 undercloud-deploy : Install VirtualBMC package -------------------------- 7.45s /home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/configure-vbmc.yml:3 setup/undercloud : Inject undercloud ssh public key to appliance -------- 7.02s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/undercloud/tasks/main.yml:99 undercloud-deploy : Create undercloud configuration --------------------- 6.88s /home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/create-scripts.yml:3 undercloud-deploy : Start the Virtual BMCs ------------------------------ 6.76s /home/boris/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/configure-vbmc.yml:55 overcloud-prep-network : Prepare the network-isolation required networks on the undercloud --- 6.64s /home/boris/.quickstart/usr/local/share/ansible/roles/overcloud-prep-network/tasks/overcloud-prep-network.yml:1 fetch-images : Get actual md5 checksum of image ------------------------- 6.32s /home/boris/.quickstart/tripleo-quickstart/roles/fetch-images/tasks/fetch.yml:75 setup/overcloud : Create overcloud vm storage --------------------------- 6.20s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/overcloud/tasks/main.yml:72 setup/overcloud : Define overcloud vms ---------------------------------- 5.99s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/setup/overcloud/tasks/main.yml:84 setup ------------------------------------------------------------------- 5.38s ------------------------------------------------------------------------------ teardown/nodes : Delete baremetal vm storage ---------------------------- 5.33s /home/boris/.quickstart/tripleo-quickstart/roles/libvirt/teardown/nodes/tasks/main.yml:53 + set +x [boris@fedora24wks tripleo-quickstart]$ 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: Sat Feb 11 09:30:36 2017 from gateway [stack@undercloud ~]$ . stackrc [stack@undercloud ~]$ ironic node-list +--------------------------------------+-----------+---------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+-----------+---------------+-------------+--------------------+-------------+ | 834875af-b440-4787-be9b-ee30c86b1704 | control-0 | None | power off | available | False | | ef9b7d86-c3e7-4394-b880-0d11a61d2bf3 | control-1 | None | power off | available | False | | a9d4d1cb-0f37-4fd8-972b-34a4c36b8895 | control-2 | None | power off | available | False | | 9617b412-eef0-4862-b5fc-3698b0505ad5 | compute-0 | None | power off | available | False | | fa2fdce2-e544-4975-9de1-bfaf329f9bb7 | compute-1 | None | power off | available | False | +--------------------------------------+-----------+---------------+-------------+--------------------+-------------+ [stack@undercloud ~]$ ls -l total 1631440 -rw-rw-r--. 1 stack stack 357 Feb 11 09:30 cloud-names.yaml -rwxr-xr-x. 1 stack stack 770 Feb 11 09:25 containers-default-parameters.yaml -rw-rw-r--. 1 stack stack 2113 Feb 11 09:01 instackenv.json -rw-r--r--. 1 stack stack 356711736 Feb 10 13:38 ironic-python-agent.initramfs -rw-r--r--. 1 stack stack 5392752 Feb 10 13:38 ironic-python-agent.kernel -rw-r--r--. 1 stack stack 474 Feb 11 09:25 network-environment.yaml -rw-rw-r--. 1 stack stack 208 Feb 11 09:30 neutronl3ha.yaml -rw-rw-r--. 1 stack stack 0 Feb 11 09:25 overcloud_custom_tht_script.log -rwxr-xr-x. 1 stack stack 293 Feb 11 09:25 overcloud-custom-tht-script.sh -rwxr-xr-x. 1 stack stack 1012 Feb 11 09:30 overcloud-deploy-post.sh -rwxr-xr-x. 1 stack stack 2800 Feb 11 09:30 overcloud-deploy.sh -rw-r--r--. 1 stack stack 46823892 Feb 10 13:38 overcloud-full.initrd -rw-r--r--. 1 stack stack 1255866368 Feb 10 13:38 overcloud-full.qcow2 -rw-r--r--. 1 stack stack 5392752 Feb 10 13:39 overcloud-full.vmlinuz -rwxr-xr-x. 1 stack stack 3588 Feb 11 09:25 overcloud-prep-containers.sh -rw-rw-r--. 1 stack stack 7337 Feb 11 09:29 overcloud_prep_flavors.log -rwxr-xr-x. 1 stack stack 3672 Feb 11 09:29 overcloud-prep-flavors.sh -rw-rw-r--. 1 stack stack 5265 Feb 11 09:29 overcloud_prep_images.log -rwxr-xr-x. 1 stack stack 642 Feb 11 09:26 overcloud-prep-images.sh -rw-rw-r--. 1 stack stack 1316 Feb 11 09:29 overcloud_prep_network.log -rwxr-xr-x. 1 stack stack 861 Feb 11 09:29 overcloud-prep-network.sh -rw-------. 1 stack stack 542 Feb 11 09:05 quickstart-hieradata-overrides.yaml -rw-------. 1 stack stack 673 Feb 11 09:24 stackrc -rw-------. 1 stack stack 8219 Feb 11 09:05 undercloud.conf -rw-rw-r--. 1 stack stack 297524 Feb 11 09:24 undercloud_install.log -rwxr-xr-x. 1 stack stack 151 Feb 11 09:05 undercloud-install.sh -rw-rw-r--. 1 stack stack 1854 Feb 11 09:05 undercloud-passwords.conf -rwxr-xr-x. 1 stack stack 463 Feb 11 09:25 upload_images_to_local_registry.py
********************************************************************** Update file neutronl3ha.yaml as follows:- **********************************************************************
# Note: we need to disable the L3 HA for Neutron if we want to use pacemaker
# and only 1 controller.
# This particular use case is used with the upgrade CI workflow
parameter_defaults:
NeutronL3HA: true
Via my experience python-openstackclient won't understand " --ha=True " when creating router for Controller's PCS/Corosync Cluster[stack@undercloud ~]$ ./overcloud-deploy.sh + source /home/stack/stackrc +++ set +++ awk '{FS="="} /^OS_/ {print $1}' ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_AUTH_URL ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_BAREMETAL_API_VERSION ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_CLOUDNAME ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_NO_CACHE ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_PASSWORD ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_TENANT_NAME ++ for key in '$( set | awk '\''{FS="="} /^OS_/ {print $1}'\'' )' ++ unset OS_USERNAME ++ NOVA_VERSION=1.1 ++ export NOVA_VERSION +++ sudo hiera admin_password ++ OS_PASSWORD=a24b4230d8b6a62342f1f2ab67aa211ad2a3ef69 ++ export OS_PASSWORD ++ OS_AUTH_URL=https://192.168.24.2:13000/v2.0 ++ PYTHONWARNINGS='ignore:Certificate has no, ignore:A true SSLContext object is not available' ++ export OS_AUTH_URL ++ export PYTHONWARNINGS ++ OS_USERNAME=admin ++ OS_TENANT_NAME=admin ++ COMPUTE_API_VERSION=1.1 ++ OS_BAREMETAL_API_VERSION=1.15 ++ OS_NO_CACHE=True ++ OS_CLOUDNAME=undercloud ++ export OS_USERNAME ++ export OS_TENANT_NAME ++ export COMPUTE_API_VERSION ++ export OS_BAREMETAL_API_VERSION ++ export OS_NO_CACHE ++ export OS_CLOUDNAME + true ++ openstack hypervisor stats show -c count -f value + count=5 + '[' 5 -gt 0 ']' + break + openstack overcloud deploy --templates /usr/share/openstack-tripleo-heat-templates --libvirt-type qemu --control-flavor oooq_control --compute-flavor oooq_compute --ceph-storage-flavor oooq_ceph --block-storage-flavor oooq_blockstorage --swift-storage-flavor oooq_objectstorage --timeout 90 -e /home/stack/cloud-names.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-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml -e /home/stack/neutronl3ha.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml --validation-warnings-fatal --control-scale 3 --compute-scale 2 --ntp-server pool.ntp.org os-cloud-config is DEPRECATED in the Ocata release and will be removed in Pike. Removing the current plan files Uploading new plan files Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. Execution ID: 10f7ed57-35cb-4a17-aae5-ac3ae015ed0f Plan updated Deploying templates in the directory /tmp/tripleoclient-sszKfO/tripleo-heat-templates Started Mistral Workflow tripleo.deployment.v1.deploy_plan. Execution ID: 4e9e453d-4835-4f01-861f-1362c14c31ee 2017-02-11 09:35:58Z [overcloud]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:35:58Z [overcloud.RabbitCookie]: CREATE_IN_PROGRESS state changed 2017-02-11 09:35:58Z [overcloud.MysqlRootPassword]: CREATE_IN_PROGRESS state changed 2017-02-11 09:35:58Z [overcloud.Networks]: CREATE_IN_PROGRESS state changed 2017-02-11 09:35:59Z [overcloud.ServiceNetMap]: CREATE_IN_PROGRESS state changed 2017-02-11 09:35:59Z [overcloud.Networks]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:35:59Z [overcloud.Networks.TenantNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.ServiceNetMap]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:36:00Z [overcloud.HorizonSecret]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.ServiceNetMap.ServiceNetMapValue]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.HeatAuthEncryptionKey]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.Networks.ManagementNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.ServiceNetMap.ServiceNetMapValue]: CREATE_COMPLETE state changed 2017-02-11 09:36:00Z [overcloud.Networks.TenantNetwork]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:36:00Z [overcloud.ServiceNetMap]: CREATE_COMPLETE Stack CREATE completed successfully 2017-02-11 09:36:00Z [overcloud.Networks.InternalNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.PcsdPassword]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.Networks.TenantNetwork.TenantNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.RabbitCookie]: CREATE_COMPLETE state changed 2017-02-11 09:36:00Z [overcloud.ServiceNetMap]: CREATE_COMPLETE state changed 2017-02-11 09:36:00Z [overcloud.Networks.StorageNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:00Z [overcloud.Networks.InternalNetwork]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:36:00Z [overcloud.HorizonSecret]: CREATE_COMPLETE state changed 2017-02-11 09:36:01Z [overcloud.HeatAuthEncryptionKey]: CREATE_COMPLETE state changed 2017-02-11 09:36:01Z [overcloud.MysqlRootPassword]: CREATE_COMPLETE state changed 2017-02-11 09:36:01Z [overcloud.Networks.InternalNetwork.InternalApiNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:01Z [overcloud.PcsdPassword]: CREATE_COMPLETE state changed 2017-02-11 09:36:01Z [overcloud.Networks.TenantNetwork.TenantNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:01Z [overcloud.Networks.StorageMgmtNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:01Z [overcloud.Networks.StorageNetwork]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:36:01Z [overcloud.DefaultPasswords]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:01Z [overcloud.Networks.TenantNetwork.TenantSubnet]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:01Z [overcloud.Networks.StorageNetwork.StorageNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:01Z [overcloud.Networks.ExternalNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:01Z [overcloud.Networks.StorageMgmtNetwork]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:36:02Z [overcloud.Networks.InternalNetwork.InternalApiNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:02Z [overcloud.Networks.StorageMgmtNetwork.StorageMgmtNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:02Z [overcloud.Networks.InternalNetwork.InternalApiSubnet]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:02Z [overcloud.Networks.StorageNetwork.StorageNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:02Z [overcloud.Networks.NetworkExtraConfig]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:02Z [overcloud.Networks.ExternalNetwork]: CREATE_IN_PROGRESS Stack CREATE started 2017-02-11 09:36:02Z [overcloud.Networks.ManagementNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:02Z [overcloud.Networks.ExternalNetwork.ExternalNetwork]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:02Z [overcloud.Networks.NetworkExtraConfig]: CREATE_COMPLETE state changed 2017-02-11 09:36:02Z [overcloud.Networks.StorageNetwork.StorageSubnet]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:03Z [overcloud.DefaultPasswords]: CREATE_COMPLETE state changed 2017-02-11 09:36:03Z [overcloud.Networks.StorageMgmtNetwork.StorageMgmtNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:03Z [overcloud.Networks.StorageMgmtNetwork.StorageMgmtSubnet]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:03Z [overcloud.Networks.ExternalNetwork.ExternalNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:03Z [overcloud.Networks.ExternalNetwork.ExternalSubnet]: CREATE_IN_PROGRESS state changed 2017-02-11 09:36:03Z [overcloud.Networks.TenantNetwork.TenantSubnet]: CREATE_COMPLETE state changed 2017-02-11 09:36:03Z [overcloud.Networks.TenantNetwork]: CREATE_COMPLETE Stack CREATE completed successfully 2017-02-11 09:36:04Z [overcloud.Networks.InternalNetwork.InternalApiSubnet]: CREATE_COMPLETE state changed 2017-02-11 09:36:04Z [overcloud.Networks.InternalNetwork]: CREATE_COMPLETE Stack CREATE completed successfully 2017-02-11 09:36:04Z [overcloud.Networks.TenantNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:04Z [overcloud.Networks.InternalNetwork]: CREATE_COMPLETE state changed 2017-02-11 09:36:04Z [overcloud.Networks.StorageNetwork.StorageSubnet]: CREATE_COMPLETE state changed 2017-02-11 09:36:05Z [overcloud.Networks.StorageNetwork]: CREATE_COMPLETE Stack CREATE completed successfully 2017-02-11 09:36:05Z [overcloud.Networks.StorageMgmtNetwork.StorageMgmtSubnet]: CREATE_COMPLETE state changed . . . . . . . . . 2017-02-11 16:38:56Z [overcloud.AllNodesDeploySteps.ControllerPostPuppet.ControllerPostPuppetMaintenanceModeDeployment]: CREATE_IN_PROGRESS state changed 2017-02-11 16:39:19Z [overcloud.AllNodesDeploySteps.ControllerPostPuppet.ControllerPostPuppetMaintenanceModeDeployment]: CREATE_COMPLETE state changed 2017-02-11 16:39:19Z [overcloud.AllNodesDeploySteps.ControllerPostPuppet.ControllerPostPuppetRestart]: CREATE_IN_PROGRESS state changed 2017-02-11 16:39:41Z [overcloud.AllNodesDeploySteps.ControllerPostPuppet.ControllerPostPuppetRestart]: CREATE_COMPLETE state changed 2017-02-11 16:39:41Z [overcloud.AllNodesDeploySteps.ControllerPostPuppet]: CREATE_COMPLETE Stack CREATE completed successfully 2017-02-11 16:39:42Z [overcloud.AllNodesDeploySteps.ControllerPostPuppet]: CREATE_COMPLETE state changed 2017-02-11 16:39:42Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE Stack CREATE completed successfully 2017-02-11 16:39:43Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE state changed 2017-02-11 16:39:43Z [overcloud]: CREATE_COMPLETE Stack CREATE completed successfully Stack overcloud CREATE_COMPLETE /home/stack/.ssh/known_hosts updated. Original contents retained as /home/stack/.ssh/known_hosts.old Overcloud Endpoint: http://10.0.0.4:5000/v2.0 Overcloud Deployed + status_code=0 + heat stack-list + grep -q CREATE_FAILED WARNING (shell) "heat stack-list" is deprecated, please use "openstack stack list" instead + exit 0 [stack@undercloud ~]$ nova list /usr/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored. warnings.warn(msg) +--------------------------------------+-------------------------+--------+------------+-------------+------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------------------------+--------+------------+-------------+------------------------+ | d3dcacc5-a020-4284-99e3-6e0ea1229bb7 | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.168.24.16 | | 35805a71-2581-44d8-934d-cc2b69c11e3f | overcloud-controller-1 | ACTIVE | - | Running | ctlplane=192.168.24.11 | | b0a000c0-da94-4369-8f69-e9c018bc2b01 | overcloud-controller-2 | ACTIVE | - | Running | ctlplane=192.168.24.20 | | 332a8769-56f9-4005-9889-714f96615e72 | overcloud-novacompute-0 | ACTIVE | - | Running | ctlplane=192.168.24.18 | | 26d9c716-096f-4ff2-abea-b92a1ab4b330 | overcloud-novacompute-1 | ACTIVE | - | Running | ctlplane=192.168.24.12 | +--------------------------------------+-------------------------+--------+------------+-------------+------------------------+ [stack@undercloud ~]$ cat overcloudrc # Clear any old environment that may conflict. for key in $( set | awk '{FS="="} /^OS_/ {print $1}' ); do unset $key ; done export OS_NO_CACHE=True export OS_CLOUDNAME=overcloud export OS_AUTH_URL=http://10.0.0.4:5000/v2.0 export NOVA_VERSION=1.1 export COMPUTE_API_VERSION=1.1 export OS_USERNAME=admin export OS_PASSWORD=BkMdXVUEu2xf3sBgnH2DMneqC export no_proxy=,10.0.0.4,192.168.24.8 export OS_PROJECT_NAME=admin export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available" [stack@undercloud ~]$ ssh heat-admin@192.168.24.16 The authenticity of host '192.168.24.16 (192.168.24.16)' can't be established. ECDSA key fingerprint is 79:d1:20:e8:eb:46:3e:ab:b0:21:60:1e:35:e5:23:23. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.24.16' (ECDSA) to the list of known hosts. [heat-admin@overcloud-controller-0 ~]$ sudo su - [root@overcloud-controller-0 ~]# vi overcloudrc [root@overcloud-controller-0 ~]# . overcloudrc [root@overcloud-controller-0 ~]# pcs status Cluster name: tripleo_cluster Stack: corosync Current DC: overcloud-controller-2 (version 1.1.15-11.el7_3.2-e174ec8) - partition with quorumVF24Devs01 Last updated: Sat Feb 11 16:42:44 2017 Last change: Sat Feb 11 16:39:05 2017 by root via cibadmin on overcloud-controller-0 3 nodes and 19 resources configured Online: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ] Full list of resources: Master/Slave Set: galera-master [galera] Masters: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ] Clone Set: rabbitmq-clone [rabbitmq] Started: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ] Master/Slave Set: redis-master [redis] Masters: [ overcloud-controller-2 ] Slaves: [ overcloud-controller-0 overcloud-controller-1 ] ip-192.168.24.8 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0 ip-10.0.0.4 (ocf::heartbeat:IPaddr2): Started overcloud-controller-1 ip-172.16.2.10 (ocf::heartbeat:IPaddr2): Started overcloud-controller-2 ip-172.16.2.12 (ocf::heartbeat:IPaddr2): Started overcloud-controller-0 ip-172.16.1.12 (ocf::heartbeat:IPaddr2): Started overcloud-controller-1 ip-172.16.3.7 (ocf::heartbeat:IPaddr2): Started overcloud-controller-2 Clone Set: haproxy-clone [haproxy] Started: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ] openstack-cinder-volume (systemd:openstack-cinder-volume): Started overcloud-controller-0 Daemon Status: corosync: active/enabled pacemaker: active/enabled pcsd: active/enabled [root@overcloud-controller-0 ~]# yum install wget -y Loaded plugins: fastestmirror, priorities base | 3.6 kB 00:00:00 centos-ceph-jewel | 2.9 kB 00:00:00 delorean | 3.0 kB 00:00:00 delorean-ocata-testing | 2.9 kB 00:00:00 extras | 3.4 kB 00:00:00 rdo-qemu-ev | 2.9 kB 00:00:00 updates | 3.4 kB 00:00:00 delorean-ocata-testing/x86_64/primary_db | 466 kB 00:00:01 Loading mirror speeds from cached hostfile * base: mirror.corbina.net * extras: mirror.corbina.net * updates: mirror.corbina.net 14 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package wget.x86_64 0:1.14-13.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================= Package Arch Version Repository Size ================================================================================================= Installing: wget x86_64 1.14-13.el7 base 546 k Transaction Summary ================================================================================================= Install 1 Package Total download size: 546 k Installed size: 2.0 M Downloading packages: wget-1.14-13.el7.x86_64.rpm | 546 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : wget-1.14-13.el7.x86_64 1/1 Verifying : wget-1.14-13.el7.x86_64 1/1 Installed: wget.x86_64 0:1.14-13.el7 Complete! [root@overcloud-controller-0 ~]# wget https://download.fedoraproject.org/pub/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-24-1.2.x86_64.qcow2 --2017-02-11 16:44:38-- https://download.fedoraproject.org/pub/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-24-1.2.x86_64.qcow2 Resolving download.fedoraproject.org (download.fedoraproject.org)... 67.219.144.68, 185.141.165.254, 209.132.181.15, ... Connecting to download.fedoraproject.org (download.fedoraproject.org)|67.219.144.68|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://mirror.yandex.ru/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-24-1.2.x86_64.qcow2 [following] --2017-02-11 16:44:40-- https://mirror.yandex.ru/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-24-1.2.x86_64.qcow2 Resolving mirror.yandex.ru (mirror.yandex.ru)... 213.180.204.183, 2a02:6b8::183 Connecting to mirror.yandex.ru (mirror.yandex.ru)|213.180.204.183|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 204590080 (195M) [application/octet-stream] Saving to: ‘Fedora-Cloud-Base-24-1.2.x86_64.qcow2’ 100%[=======================================================>] 204,590,080 1.49MB/s in 2m 13s 2017-02-11 16:46:53 (1.47 MB/s) - ‘Fedora-Cloud-Base-24-1.2.x86_64.qcow2’ saved [204590080/204590080]
[root@overcloud-controller-0 ~]# openstack image create --disk-format qcow2 --container-format bare \ > --public --file ./Fedora-Cloud-Base-24-1.2.x86_64.qcow2 VF24Cloud-image +------------------+----------------------------------------------------------------------------+ | Field | Value | +------------------+----------------------------------------------------------------------------+ | checksum | 8de08e3fe24ee788e50a6a508235aa64 | | container_format | bare | | created_at | 2017-02-11T16:49:58Z | | disk_format | qcow2 | | file | /v2/images/503ef933-b34f-47d4-8f56-5f8579675cff/file | | id | 503ef933-b34f-47d4-8f56-5f8579675cff | | min_disk | 0 | | min_ram | 0 | | name | VF24Cloud-image | | owner | 3a8b0aabdc6a41889eaed52ebb645a69 | | properties | direct_url='swift+config://ref1/glance/503ef933-b34f- | | | 47d4-8f56-5f8579675cff' | | protected | False | | schema | /v2/schemas/image | | size | 204590080 | | status | active | | tags | | | updated_at | 2017-02-11T16:50:04Z | | virtual_size | None | | visibility | public | +------------------+----------------------------------------------------------------------------+ 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 | 2017-02-11T16:51:03Z | | description | | | dns_domain | None | | id | bfffc213-f37a-4d45-9f4f-f98e28dad08e | | ipv4_address_scope | None | | ipv6_address_scope | None | | is_default | False | | mtu | 1500 | | name | ext-net | | port_security_enabled | True | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | 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 | | | updated_at | 2017-02-11T16:51:03Z | +---------------------------+--------------------------------------+ [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 | 2017-02-11T16:51:44Z | | description | | | dns_nameservers | | | enable_dhcp | False | | gateway_ip | 192.168.24.1 | | host_routes | | | id | ee02f73b-b297-43d2-9dc0-b79775ec343b | | ip_version | 4 | | ipv6_address_mode | None | | ipv6_ra_mode | None | | name | ext-subnet | | network_id | bfffc213-f37a-4d45-9f4f-f98e28dad08e | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | revision_number | 2 | | segment_id | None | | service_types | | | subnetpool_id | None | | updated_at | 2017-02-11T16:51:44Z | +-------------------+--------------------------------------+ [root@overcloud-controller-0 ~]# openstack router create router1 +-------------------------+--------------------------------------+ | Field | Value | +-------------------------+--------------------------------------+ | admin_state_up | UP | | availability_zone_hints | | | availability_zones | | | created_at | 2017-02-11T16:53:55Z | | description | | | distributed | False | | external_gateway_info | None | | flavor_id | None | | ha | True | | id | aa979c40-8826-41a1-9024-4ec23fd3f3e3 | | name | router1 | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | revision_number | None | | routes | | | status | ACTIVE | | updated_at | 2017-02-11T16:53:55Z | +-------------------------+--------------------------------------+ [root@overcloud-controller-0 ~]# openstack router set router1 --external-gateway ext-net
[root@overcloud-controller-0 ~]# openstack network create int
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2017-02-11T16:56:22Z |
| description | |
| dns_domain | None |
| id | 89198ae3-b35d-4b7c-9b63-611d3e72bff8 |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | None |
| mtu | 1450 |
| name | int |
| port_security_enabled | True |
| project_id | 3a8b0aabdc6a41889eaed52ebb645a69 |
| provider:network_type | vxlan |
| provider:physical_network | None |
| provider:segmentation_id | 44 |
| qos_policy_id | None |
| revision_number | 3 |
| router:external | Internal |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | |
| updated_at | 2017-02-11T16:56:22Z |
+---------------------------+--------------------------------------+
[root@overcloud-controller-0 ~]# openstack subnet create subint --network int \ > --subnet-range 30.0.0.0/24 --dns-nameserver 83.221.202.254 +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | allocation_pools | 30.0.0.2-30.0.0.254 | | cidr | 30.0.0.0/24 | | created_at | 2017-02-11T16:56:52Z | | description | | | dns_nameservers | 83.221.202.254 | | enable_dhcp | True | | gateway_ip | 30.0.0.1 | | host_routes | | | id | b287cbce-cd80-467f-ad3d-7659e4d65607 | | ip_version | 4 | | ipv6_address_mode | None | | ipv6_ra_mode | None | | name | subint | | network_id | 89198ae3-b35d-4b7c-9b63-611d3e72bff8 | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | revision_number | 2 | | segment_id | None | | service_types | | | subnetpool_id | None | | updated_at | 2017-02-11T16:56:52Z | +-------------------+--------------------------------------+ [root@overcloud-controller-0 ~]# openstack router add subnet router1 b287cbce-cd80-467f-ad3d-7659e4d65607
[root@overcloud-controller-0 ~]# openstack flavor create --public m1.small --id 2 \
--ram 1000 --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 | 1000 | | rxtx_factor | 1.0 | | swap | | | vcpus | 1 | +----------------------------+----------+ [root@overcloud-controller-0 ~]# openstack keypair create oskey021217 > oskey021217.pem [root@overcloud-controller-0 ~]# openstack image list +--------------------------------------+-----------------+--------+ | ID | Name | Status | +--------------------------------------+-----------------+--------+ | 503ef933-b34f-47d4-8f56-5f8579675cff | VF24Cloud-image | active | +--------------------------------------+-----------------+--------+ [root@overcloud-controller-0 ~]# openstack network list +-------------------------------+-------------------------------+-------------------------------+ | ID | Name | Subnets | +-------------------------------+-------------------------------+-------------------------------+ | 89198ae3-b35d-4b7c- | int | b287cbce-cd80-467f-ad3d- | | 9b63-611d3e72bff8 | | 7659e4d65607 | | bb8a4f3c-71bc-4753-864f- | HA network tenant 3a8b0aabdc6 | 58c9520f-0383-4e3e- | | e21d8b22f188 | a41889eaed52ebb645a69 | bc58-0ff8fbed20d4 | | bfffc213-f37a-4d45-9f4f- | ext-net | ee02f73b-b297-43d2-9dc0-b7977 | | f98e28dad08e | | 5ec343b | +-------------------------------+-------------------------------+-------------------------------+ [root@overcloud-controller-0 ~]# openstack server create --flavor 2 --key-name oskey021217 \ --image 503ef933-b34f-47d4-8f56-5f8579675cff --nic net-id=89198ae3-b35d-4b7c-9b63-611d3e72bff8 VF24Devs01 +-------------------------------------+--------------------------------------------------------+ | 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 | vo67n4a6vPoJ | | config_drive | | | created | 2017-02-11T17:04:35Z | | flavor | m1.small (2) | | hostId | | | id | b6f85b61-fca1-4d54-96d5-19d07aa2bdc1 | | image | VF24Cloud-image (503ef933-b34f-47d4-8f56-5f8579675cff) | | key_name | oskey021217 | | name | VF24Devs01 | | progress | 0 | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | properties | | | security_groups | name='default' | | status | BUILD | | updated | 2017-02-11T17:04:35Z | | user_id | 1ec4a044fd564488907fe55a0acaa7cb | | volumes_attached | | +-------------------------------------+--------------------------------------------------------+ [root@overcloud-controller-0 ~]# openstack server list +--------------------------------------+------------+--------+---------------+-----------------+ | ID | Name | Status | Networks | Image Name | +--------------------------------------+------------+--------+---------------+-----------------+ | b6f85b61-fca1-4d54-96d5-19d07aa2bdc1 | VF24Devs01 | ACTIVE | int=30.0.0.12 | VF24Cloud-image | +--------------------------------------+------------+--------+---------------+-----------------+ [root@overcloud-controller-0 ~]# openstack floating ip create ext-net +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | created_at | 2017-02-11T17:09:49Z | | description | | | fixed_ip_address | None | | floating_ip_address | 192.168.24.109 | | floating_network_id | bfffc213-f37a-4d45-9f4f-f98e28dad08e | | id | 731f2448-da13-4080-85db-e1eed88dcf4c | | name | None | | port_id | None | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | revision_number | 1 | | router_id | None | | status | DOWN | | updated_at | 2017-02-11T17:09:49Z | +---------------------+--------------------------------------+ [root@overcloud-controller-0 ~]# openstack server add floating ip VF24Devs01 192.168.24.109 [root@overcloud-controller-0 ~]# openstack server list +---------------------------+------------+--------+---------------------------+-----------------+ | ID | Name | Status | Networks | Image Name | +---------------------------+------------+--------+---------------------------+-----------------+ | b6f85b61-fca1-4d54-96d5-1 | VF24Devs01 | ACTIVE | int=30.0.0.12, | VF24Cloud-image | | 9d07aa2bdc1 | | | 192.168.24.109 | | +---------------------------+------------+--------+---------------------------+-----------------+ [root@overcloud-controller-0 ~]# openstack security group list +--------------------------------------+---------+------------------------+---------+ | ID | Name | Description | Project | +--------------------------------------+---------+------------------------+---------+ | c3f1cf62-06c5-4d17-b693-3465656da884 | default | Default security group | | | de95ee4a-78fb-4151-a1a2-8e399767ac4d | default | Default security group | | | dfd64cde-a034-4299-8042-53b6f4ce262b | default | Default security group | | +--------------------------------------+---------+------------------------+---------+ [root@overcloud-controller-0 ~]# openstack security group rule create \ c3f1cf62-06c5-4d17-b693-3465656da884 \ --protocol tcp --dst-port 22:22 --remote-ip 0.0.0.0/0 -------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | created_at | 2017-02-11T17:16:44Z | | description | | | direction | ingress | | ether_type | IPv4 | | id | c3772c1b-8996-467f-869d-165523c010a5 | | name | None | | port_range_max | 22 | | port_range_min | 22 | | project_id | 3a8b0aabdc6a41889eaed52ebb645a69 | | protocol | tcp | | remote_group_id | None | | remote_ip_prefix | 0.0.0.0/0 | | revision_number | 1 | | security_group_id | c3f1cf62-06c5-4d17-b693-3465656da884 | | updated_at | 2017-02-11T17:16:44Z | +-------------------+--------------------------------------+ [root@overcloud-controller-0 ~]# openstack server list +---------------------------+------------+--------+---------------------------+-----------------+ | ID | Name | Status | Networks | Image Name | +---------------------------+------------+--------+---------------------------+-----------------+ | b6f85b61-fca1-4d54-96d5-1 | VF24Devs01 | ACTIVE | int=30.0.0.12, | VF24Cloud-image | | 9d07aa2bdc1 | | | 192.168.24.109 | | +---------------------------+------------+--------+---------------------------+-----------------+ [root@overcloud-controller-0 ~]# ls -l total 199804 -rw-r--r--. 1 root root 204590080 Jun 14 2016 Fedora-Cloud-Base-24-1.2.x86_64.qcow2 -rw-r--r--. 1 root root 1680 Feb 11 17:02 oskey021217.pem -rw-r--r--. 1 root root 517 Feb 11 16:42 overcloudrc [root@overcloud-controller-0 ~]# cat oskey021217.pem -----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEA67DEW9c1oRFy9oPvHj092yvly1nkjA5rvOJS/QdTSpy5kuwi /isiejGBliKpblsCC6RBKHUH/UI542Ql3dYiaH1PHloqeb+s5vD/e/SuglVyGpWf gOdUHYoAevbGAwFlqMpnlh/rBRDO93l5BQduawp0UjI03VzLpm4XNKM3Zhjlx8CW bDUhBPVdTBdNtGsgjhFEfFh7LRTKrKFb6Lm/shqFqdPR8aW0bxxL7XLTx+gTd9ds efp4WgCUwUpzkW6zRV/s1OAb2qIessd1hfn8FOvw78lcoP6F5d/25adikqVi/aKG kZianVPbQ41iFbEr6yzy/Xmh0oOKAMftIyDD9wIDAQABAoIBADG0VKS9rQyrvl/o kPwClFHtXwfUjFNREz2BSVkdO16H0McAT5zkgd/dIuQDqVGhlbvYxvj+PVIWrlib HTU8XINGsfHHuB924cLOXkLI5iiMVoTuuvWXU3DrUpCcDERD/ilrjg7l6k1mLw+X qYL6/zlJuiA/gFCSqkwN+YzbQuqfu+2KcUhNPElbMs2W+2wnMeCW70XM3vegL1qZ /JSRQ+4+uBeImlDCfv0S7BT/CY6+IIFagbWx2aUGyCS4WQGdLKwDFIcCQDVKRH77 g4DuLqzU/x9P2rRTFU6Kg7RMIW3KS4DM1dfyKbfSewzA/SKBCMoQJUoieRZC9fAu np9BnPECgYEA+pgiLFB7mVtj7rxLL8gYlt6IqpA+UNhovYF0UZMs9/y5q72ND1bU NAzeNYN9xnGXMCgTg0Q8Ay0LC3zC0nNeS67k+834ZdEpTaV2An6GAwkgtwiFUuIN /rf0EEYvrJP6AkxusoqCOFFaSTi5qSdkukOaBgodKWR+4pT4pMoEdZ8CgYEA8MZU cFFuNNZPP3Z7Itj98eECwowPaHb0WGSD8dsLck9mU+OhzR5sq2Ht5o2cZJnWIm1w K15j/MNMdZZj7EhZAfg/LYUacLc0XHws5TZbn31E3VJwB18lGhHv7ypQzNWlqtYO WGAR0KxAWPOUnj/QK7ruYiM1lmd1123Mv6dwIqkCgYEAsuZXRzGx+3rOLgqI1rTQ MSzvfmz5v/evVtMLeo1KhkQLPXtWMAQ5/GrPXH7iFQDVAZEq1QSqn03R28KWx22L fRZ/7PBPjEi1ZvRf+knfXF1w2Jqhq9ksSpODDvc8Y8VEr81nHdlaO+CAR1PS39r6 wyst02/2/6z6FMJrfCGo61sCgYEAjDD+k1Nmls8931bORbEQ05hPMhW5FvtENH96 MAV5ebpve2LsH/GaFoPzsC0+JXlJLEyKZkYUc+UHDORfFAHgCXyQ1KFOjtitXThU L7XhzVB0G2XXowMsKCzPhnMeDtZLGth+C8kMNnNFGEXjf+zp+bxi9rNHjWZ6P9BH ykPkz9kCgYEAwEh2ZgPYvEbvg/vhezQqroj1thsbHDfOsaOdyhzQReF/w+Gvi9/Q Kk7f9oza1JTwRUz9PtHMGoPHtGL2/Ym/3uulSzmrlP8xrnApS78gipxD+LrvegfV m3kOKq/aw+0AEBw3HvM0fzCoDEqL9Jbpb0B0zfrvUTgmzWkbGsFLq4c= -----END RSA PRIVATE KEY----- [root@overcloud-controller-0 ~]# openstack server list +---------------------------+------------+--------+---------------------------+-----------------+ | ID | Name | Status | Networks | Image Name | +---------------------------+------------+--------+---------------------------+-----------------+ | b6f85b61-fca1-4d54-96d5-1 | VF24Devs01 | ACTIVE | int=30.0.0.12, | VF24Cloud-image | | 9d07aa2bdc1 | | | 192.168.24.109 | | +---------------------------+------------+--------+---------------------------+-----------------+
[stack@undercloud ~]$ ssh -i oskey021217.pem fedora@192.168.24.109 Last login: Sat Feb 11 17:20:31 2017 from 192.168.24.1 [fedora@vf24devs01 ~]$ sudo su - [root@vf24devs01 ~]# dnf -y update
********************************************************************************************************* Running `dnf -y update` inside cloud server && and openstack server stop/start update upto kernel 4.9.7 ********************************************************************************************* ****************
[root@overcloud-controller-0 ~]# openstack server stop VF24Devs01 [root@overcloud-controller-0 ~]# openstack server list +--------------------------+------------+---------+---------------------------+-----------------+ | ID | Name | Status | Networks | Image Name | +--------------------------+------------+---------+---------------------------+-----------------+ | b6f85b61-fca1-4d54-96d5- | VF24Devs01 | SHUTOFF | int=30.0.0.12, | VF24Cloud-image | | 19d07aa2bdc1 | | | 192.168.24.109 | | +--------------------------+------------+---------+---------------------------+-----------------+ [root@overcloud-controller-0 ~]# openstack server start VF24Devs01 [root@overcloud-controller-0 ~]# openstack server list +---------------------------+------------+--------+---------------------------+-----------------+ | ID | Name | Status | Networks | Image Name | +---------------------------+------------+--------+---------------------------+-----------------+ | b6f85b61-fca1-4d54-96d5-1 | VF24Devs01 | ACTIVE | int=30.0.0.12, | VF24Cloud-image | | 9d07aa2bdc1 | | | 192.168.24.109 | | +---------------------------+------------+--------+---------------------------+-----------------+ [root@overcloud-controller-0 ~]# openstack console log show VF24Devs01 %G%G[[0;32m OK [0m] Started Show Plymouth Boot Screen. [[0;32m OK [0m] Reached target Paths. [[0;32m OK [0m] Started Forward Password Requests to Plymouth Directory Watch. [[0;32m OK [0m] Reached target Basic System. [[0;32m OK [0m] Mounted /sysroot. [[0;32m OK [0m] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [[0;32m OK [0m] Started Reload Configuration from the Real Root. Starting dracut mount hook... [[0;32m OK [0m] Reached target Initrd File Systems. [[0;32m OK [0m] Started dracut mount hook. [[0;32m OK [0m] Reached target Initrd Default Target. Starting Cleaning Up and Shutting Down Daemons... [[0;32m OK [0m] Stopped Cleaning Up and Shutting Down Daemons. [[0;32m OK [0m] Stopped dracut cmdline hook. Starting Plymouth switch root service... [[0;32m OK [0m] Stopped target Initrd Default Target. [[0;32m OK [0m] Stopped dracut mount hook. [[0;32m OK [0m] Stopped target Timers. [[0;32m OK [0m] Stopped target Remote File Systems. [[0;32m OK [0m] Stopped target Remote File Systems (Pre). [[0;32m OK [0m] Stopped target Basic System. [[0;32m OK [0m] Stopped target System Initialization. [[0;32m OK [0m] Stopped target Swap. [[0;32m OK [0m] Stopped target Local File Systems. [[0;32m OK [0m] Stopped udev Coldplug all Devices. [[0;32m OK [0m] Stopped Apply Kernel Variables. Stopping udev Kernel Device Manager... [[0;32m OK [0m] Stopped target Slices. [[0;32m OK [0m] Stopped target Paths. [[0;32m OK [0m] Stopped target Sockets. [[0;32m OK [0m] Stopped udev Kernel Device Manager. [[0;32m OK [0m] Stopped Create Static Device Nodes in /dev. [[0;32m OK [0m] Stopped Create list of required sta...ce nodes for the current kernel. [[0;32m OK [0m] Closed udev Control Socket. [[0;32m OK [0m] Closed udev Kernel Socket. Starting Cleanup udevd DB... [[0;32m OK [0m] Started Cleanup udevd DB. [[0;32m OK [0m] Reached target Switch Root. [[0;32m OK [0m] Started Plymouth switch root service. Starting Switch Root... %G%G[ 4.243329] cloud-init[402]: Cloud-init v. 0.7.7 running 'init-local' at Sat, 11 Feb 2017 17:05:00 +0000. Up 4.10 seconds. [ 10.730707] cloud-init[707]: Cloud-init v. 0.7.7 running 'init' at Sat, 11 Feb 2017 17:05:03 +0000. Up 6.36 seconds. [ 10.730904] cloud-init[707]: ci-info: +++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++ [ 10.730971] cloud-init[707]: ci-info: +--------+------+-----------+---------------+-------+-------------------+ [ 10.731081] cloud-init[707]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 10.731151] cloud-init[707]: ci-info: +--------+------+-----------+---------------+-------+-------------------+ [ 10.731210] cloud-init[707]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . | [ 10.731275] cloud-init[707]: ci-info: | lo: | True | . | . | d | . | [ 10.731335] cloud-init[707]: ci-info: | eth0: | True | 30.0.0.12 | 255.255.255.0 | . | fa:16:3e:f1:9c:cc | [ 10.731393] cloud-init[707]: ci-info: | eth0: | True | . | . | d | fa:16:3e:f1:9c:cc | [ 10.731449] cloud-init[707]: ci-info: +--------+------+-----------+---------------+-------+-------------------+ [ 10.731503] cloud-init[707]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ [ 10.731614] cloud-init[707]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ [ 10.731679] cloud-init[707]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 10.731736] cloud-init[707]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ [ 10.731816] cloud-init[707]: ci-info: | 0 | 0.0.0.0 | 30.0.0.1 | 0.0.0.0 | eth0 | UG | [ 10.731885] cloud-init[707]: ci-info: | 1 | 30.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | [ 10.731943] cloud-init[707]: ci-info: | 2 | 169.254.169.254 | 30.0.0.1 | 255.255.255.255 | eth0 | UGH | [ 10.731999] cloud-init[707]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ [ 11.523283] cloud-init[800]: Cloud-init v. 0.7.7 running 'modules:config' at Sat, 11 Feb 2017 17:05:08 +0000. Up 11.33 seconds. ci-info: ++++++++++Authorized keys from /home/fedora/.ssh/authorized_keys for user fedora+++++++++++ ci-info: +---------+-------------------------------------------------+---------+-------------------+ ci-info: | Keytype | Fingerprint (md5) | Options | Comment | ci-info: +---------+-------------------------------------------------+---------+-------------------+ ci-info: | ssh-rsa | ef:b7:38:13:f9:9c:0b:aa:42:17:ce:3c:87:3c:00:16 | - | Generated-by-Nova | ci-info: +---------+-------------------------------------------------+---------+-------------------+ <14>Feb 11 17:05:08 ec2: <14>Feb 11 17:05:08 ec2: ############################################################# <14>Feb 11 17:05:08 ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- <14>Feb 11 17:05:09 ec2: 256 SHA256:PfJrkqbNw/HEfXWqCTfQIYSq3SGMe3LpREJbsJsZydc no comment (ECDSA) <14>Feb 11 17:05:09 ec2: 256 SHA256:JSv15DV7EnnjogeonJvVQZpmuZDQOqW0toRvIwJ7e+Q no comment (ED25519) <14>Feb 11 17:05:09 ec2: 2048 SHA256:vDgUXU2IRHOF6YajYiIf+2utJpQus+jvU4p0Fx1+a8Q no comment (RSA) <14>Feb 11 17:05:09 ec2: -----END SSH HOST KEY FINGERPRINTS----- <14>Feb 11 17:05:09 ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAiXnAovLcH0pdRLnzi4RhTVmPvCetSSqaQ2Yye/vAYb2v/I82dAhmvUsYsIxhgeSfdf0h0N1CPJtE7TpYmcA48= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAXPT/PGzvpzOShh6GCOgxYPkRAJ/aEQ+TiXaqTP2mBB ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC41MpHZAkt6g9Pc18DnAIiemp3p+HldkBpKV/rJfO8uJszklbFp+e/rotKQStO6y5I2iVYKawDCnGuG1Nj9n/hCIGd2/Y0u76zkuZzmf2dzm+I2oBZveo7c+6lLznKUHzLAhb9wyrTwEetK3qIFZgEk7akSC4A5hUDbViVb0Zaq2Hv+ZO9pTjMEvCRtI+hcAgl3T07fuoTFDfr46P8VO8Stlt2OCxYpU4mU/SL9iqMANU6Qk55EnCjS1+A01bmc0W7VWr2c6WhZ92R/jfitL/OdGqV1lUpuzc4yh4CuuCYsUvnk90h0JnImO/q4zbPqjUAF0GEWQKH9XOw2eiJJ8dh -----END SSH HOST KEY KEYS----- [ 12.187744] cloud-init[836]: Cloud-init v. 0.7.7 running 'modules:final' at Sat, 11 Feb 2017 17:05:08 +0000. Up 11.92 seconds. [ 12.199141] cloud-init[836]: Cloud-init v. 0.7.7 finished at Sat, 11 Feb 2017 17:05:09 +0000. Datasource DataSourceOpenStack [net,ver=2]. Up 12.18 seconds Fedora 24 (Cloud Edition) Kernel 4.5.5-300.fc24.x86_64 on an x86_64 (ttyS0) vf24devs01 login: Fedora 24 (Cloud Edition) Kernel 4.5.5-300.fc24.x86_64 on an x86_64 (ttyS0) vf24devs01 login: [[0;32m OK [0m] Started Show Plymouth Power Off Screen. [[0;32m OK [0m] Stopped Session 1 of user fedora. [[0;32m OK [0m] Removed slice User Slice of fedora. Stopping Login Service... Stopping Permit User Sessions... [[0;32m OK [0m] Stopped Login Service. [[0;32m OK [0m] Stopped Permit User Sessions. [[0;32m OK [0m] Stopped Initial cloud-init job (metadata service crawler). [[0;32m OK [0m] Stopped target Network is Online. Stopping LSB: Bring up/down networking... [[0;32m OK [0m] Stopped Initial cloud-init job (pre-networking). [[0;32m OK [0m] Stopped target Remote File Systems. [[0;32m OK [0m] Stopped LSB: Bring up/down networking. [[0;32m OK [0m] Stopped target Basic System. [[0;32m OK [0m] Stopped target Slices. [[0;32m OK [0m] Removed slice User and Session Slice. [[0;32m OK [0m] Stopped Forward Password Requests to Plymouth Directory Watch. [[0;32m OK [0m] Stopped dnf makecache timer. [[0;32m OK [0m] Stopped target Paths. [[0;32m OK [0m] Stopped Forward Password Requests to Wall Directory Watch. [[0;32m OK [0m] Stopped target Sockets. [[0;32m OK [0m] Closed D-Bus System Message Bus Socket. [[0;32m OK [0m] Stopped target System Initialization. [[0;32m OK [0m] Stopped Apply Kernel Variables. Stopping Load/Save Random Seed... [[0;32m OK [0m] Stopped target Encrypted Volumes. Stopping Update UTMP about System Boot/Shutdown... [[0;32m OK [0m] Stopped target Swap. [[0;32m OK [0m] Stopped Setup Virtual Console. [[0;32m OK [0m] Stopped Update is Completed. [[0;32m OK [0m] Stopped Rebuild Hardware Database. [[0;32m OK [0m] Stopped Rebuild Dynamic Linker Cache. [[0;32m OK [0m] Stopped Rebuild Journal Catalog. [[0;32m OK [0m] Stopped Load/Save Random Seed. [[0;32m OK [0m] Stopped Update UTMP about System Boot/Shutdown. Stopping Security Auditing Service... [[0;32m OK [0m] Stopped Security Auditing Service. [[0;32m OK [0m] Stopped Create Volatile Files and Directories. [[0;32m OK [0m] Stopped target Local File Systems. Unmounting /run/user/1000... [[0;32m OK [0m] Stopped Configure read-only root support. [[0;32m OK [0m] Unmounted /run/user/1000. [[0;32m OK [0m] Reached target Unmount All Filesystems. [[0;32m OK [0m] Stopped target Local File Systems (Pre). [[0;32m OK [0m] Stopped Create Static Device Nodes in /dev. [[0;32m OK [0m] Stopped Create System Users. [[0;32m OK [0m] Stopped Remount Root and Kernel File Systems. [[0;32m OK [0m] Reached target Shutdown. [ 1630.187866] reboot: Power down %G%G[[0;32m OK [0m] Started Show Plymouth Boot Screen. [[0;32m OK [0m] Started Forward Password Requests to Plymouth Directory Watch. [[0;32m OK [0m] Reached target Paths. [[0;32m OK [0m] Reached target Basic System. [[0;32m OK [0m] Started File System Check on /dev/d...816-dc18-452e-8d0f-2b34bd1beced. Mounting /sysroot... [[0;32m OK [0m] Mounted /sysroot. [[0;32m OK [0m] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [[0;32m OK [0m] Started Reload Configuration from the Real Root. [[0;32m OK [0m] Reached target Initrd File Systems. [[0;32m OK [0m] Reached target Initrd Default Target. Starting Cleaning Up and Shutting Down Daemons... [[0;32m OK [0m] Stopped Cleaning Up and Shutting Down Daemons. Starting Plymouth switch root service... [[0;32m OK [0m] Stopped target Initrd Default Target. [[0;32m OK [0m] Stopped target Timers. [[0;32m OK [0m] Stopped target Basic System. [[0;32m OK [0m] Stopped target Sockets. [[0;32m OK [0m] Stopped target Paths. [[0;32m OK [0m] Stopped target System Initialization. [[0;32m OK [0m] Stopped Apply Kernel Variables. Stopping udev Kernel Device Manager... [[0;32m OK [0m] Stopped udev Coldplug all Devices. [[0;32m OK [0m] Stopped target Local File Systems. [[0;32m OK [0m] Stopped target Swap. [[0;32m OK [0m] Stopped target Slices. [[0;32m OK [0m] Stopped target Remote File Systems. [[0;32m OK [0m] Stopped target Remote File Systems (Pre). [[0;32m OK [0m] Stopped udev Kernel Device Manager. [[0;32m OK [0m] Stopped Create Static Device Nodes in /dev. [[0;32m OK [0m] Stopped Create list of required sta...ce nodes for the current kernel. [[0;32m OK [0m] Closed udev Control Socket. [[0;32m OK [0m] Closed udev Kernel Socket. Starting Cleanup udevd DB... [[0;32m OK [0m] Started Cleanup udevd DB. [[0;32m OK [0m] Reached target Switch Root. [[0;32m OK [0m] Started Plymouth switch root service. Starting Switch Root... %G%G[ 4.386955] cloud-init[323]: Cloud-init v. 0.7.7 running 'init-local' at Sat, 11 Feb 2017 17:32:58 +0000. Up 4.13 seconds. [ 10.490190] cloud-init[602]: Cloud-init v. 0.7.7 running 'init' at Sat, 11 Feb 2017 17:33:00 +0000. Up 6.18 seconds. [ 10.490497] cloud-init[602]: ci-info: +++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++ [ 10.490639] cloud-init[602]: ci-info: +--------+------+-----------+---------------+-------+-------------------+ [ 10.490763] cloud-init[602]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 10.490852] cloud-init[602]: ci-info: +--------+------+-----------+---------------+-------+-------------------+ [ 10.490911] cloud-init[602]: ci-info: | eth0: | True | 30.0.0.12 | 255.255.255.0 | . | fa:16:3e:f1:9c:cc | [ 10.490972] cloud-init[602]: ci-info: | eth0: | True | . | . | d | fa:16:3e:f1:9c:cc | [ 10.491109] cloud-init[602]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . | [ 10.491172] cloud-init[602]: ci-info: | lo: | True | . | . | d | . | [ 10.491227] cloud-init[602]: ci-info: +--------+------+-----------+---------------+-------+-------------------+ [ 10.491282] cloud-init[602]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ [ 10.491336] cloud-init[602]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ [ 10.491434] cloud-init[602]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 10.491494] cloud-init[602]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ [ 10.491556] cloud-init[602]: ci-info: | 0 | 0.0.0.0 | 30.0.0.1 | 0.0.0.0 | eth0 | UG | [ 10.491614] cloud-init[602]: ci-info: | 1 | 30.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | [ 10.491676] cloud-init[602]: ci-info: | 2 | 169.254.169.254 | 30.0.0.1 | 255.255.255.255 | eth0 | UGH | [ 10.491737] cloud-init[602]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ [ 11.551573] cloud-init[658]: Cloud-init v. 0.7.7 running 'modules:config' at Sat, 11 Feb 2017 17:33:06 +0000. Up 11.34 seconds. [ 12.143214] cloud-init[672]: Cloud-init v. 0.7.7 running 'modules:final' at Sat, 11 Feb 2017 17:33:06 +0000. Up 12.01 seconds. [ 12.159433] cloud-init[672]: Cloud-init v. 0.7.7 finished at Sat, 11 Feb 2017 17:33:06 +0000. Datasource DataSourceOpenStack [net,ver=2]. Up 12.13 seconds Fedora 24 (Cloud Edition) Kernel 4.9.7-101.fc24.x86_64 on an x86_64 (ttyS0)