Thursday, December 15, 2016

RDO Newton (packstack) Set up for three Nodes (Controller+Network+Compute) ML2&OVS&VXLAN on CentOS 7.3

In posting bellow I intent to test packstack on RDO Newton to perform classic three node deployment.  If packstack will succeed then post installation  actions  like VRRP or DVR setups might be committed as well. Please, be advised that packstack on RDO Newton won't allow you to split Controller and Storage Nodes ( vs. Mitaka )

Following bellow is brief instruction  for three node deployment test Controller&&Network&&Compute for RDO Newton , which was performed on Fedora 25 host with KVM/Libvirt Hypervisor (32 GB RAM, Intel Core i7-4790  Haswell CPU, ASUS Z97-P ) Three CentOS 7.3 VMs (8 GB RAM,4 VCPUS)  have been setup. Controller VM one (management subnet) VNIC, Network Node VM three VNICS (management,vtep's external subnets), Compute Node VM two VNICS (management,vtep's subnets)

SELINUX stays in enforcing mode.

Three Libvirt networks created

# cat openstackvms.xml
<network>
   <name>openstackvms</name>
   <uuid>d0e9964a-f91a-40c0-b769-a609aee41bf2</uuid>
   <forward mode='nat'>
     <nat>
       <port start='1024' end='65535'/>
     </nat>
   </forward>
   <bridge name='virbr1' stp='on' delay='0' />
   <mac address='52:54:00:60:f8:6d'/>
   <ip address='192.169.142.1' netmask='255.255.255.0'>
     <dhcp>
       <range start='192.169.142.2' end='192.169.142.254' />
     </dhcp>
   </ip>
 </network>


[root@vfedora22wks ~]# cat public.xml
<network>
   <name>public</name>
   <uuid>d1e9965b-f92c-40c1-b749-b609aed42cf2</uuid>
   <forward mode='nat'>
     <nat>
       <port start='1024' end='65535'/>
     </nat>
   </forward>
   <bridge name='virbr2' stp='on' delay='0' />
   <mac address='52:54:00:60:f8:6d'/>
   <ip address='172.24.4.225' netmask='255.255.255.240'>
     <dhcp>
       <range start='172.24.4.226' end='172.24.4.238' />
     </dhcp>
  </ip>
 </network>


[root@vfedora22wks ~]# cat vteps.xml
<network>
   <name>vteps</name>
   <uuid>d2e9965b-f92c-40c1-b749-b609aed42cf2</uuid>
   <forward mode='nat'>
     <nat>
       <port start='1024' end='65535'/>
     </nat>
   </forward>
   <bridge name='virbr3' stp='on' delay='0' />
   <mac address='52:54:00:60:f8:6d'/>
   <ip address='10.0.0.1' netmask='255.255.255.0'>
     <dhcp>
       <range start='10.0.0.1' end='10.0.0.254' />
     </dhcp>
   </ip>
 </network>

# virsh net-list
 Name                 State      Autostart     Persistent
--------------------------------------------------------------------------
 default               active        yes           yes
 openstackvms    active        yes           yes
 public                active        yes           yes
 vteps                 active         yes          yes
*********************************************************************************
1. First Libvirt subnet "openstackvms"  serves as management network.
All 3 VM are attached to this subnet
**********************************************************************************
2. Second Libvirt subnet "public" serves for simulation external network  Network Node attached to public,latter on "eth2" interface (belongs to "public") is supposed to be converted into OVS port of br-ex on Network Node. This Libvirt subnet via bridge virbr2 172.24.4.225 provides VMs running on Compute Node access to Internet due to match to external network created by packstack installation 172.24.4.224/28.

***********************************************************************************
3.Third Libvirt subnet "vteps" serves  for VTEPs endpoint simulation. Network and Compute Node VMs are attached to this subnet. ***********************************************************************************
 
1.) Before running packstack set up Delorean Repos matching RDO Newton "current-passed-ci" trunk on each deployment node as follows
# yum -y install yum-plugin-priorities
# curl -o /etc/yum.repos.d/delorean-newton.repo https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
# curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo

2.) Before running packstack make sure that on Compute Node :-
[root@ServerCentOS73 ~)]# virsh --connect qemu:///system
Welcome to virsh, the virtualization interactive terminal.
Type:  'help' for help with commands
       'quit' to quit

virsh # version
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0


Otherwise set cpu_mode=none in nova.conf to be able run with QEMU 2.3.0
See for details  https://bugzilla.redhat.com/show_bug.cgi?id=1371617

###############################################################
Ignoring notice above will result Nova-Scheduler (RetryFilter) misleading error due to KVM/Libvirt failure "qemu-kvm: CPU feature arat not found" to boot VM on Compute Node
###############################################################

3.) Please, be advised that network.pp is supposed to crash due to inability
 create OVS bridge br-ex on Network Node.
  Log into  Network Node and issue :-
     # ovs-vsctl add-br br-ex
  then  rerun packstack from scratch.

**************************
Answer File
**************************
[general]
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
CONFIG_DEFAULT_PASSWORD=
CONFIG_SERVICE_WORKERS=%{::processorcount}
CONFIG_MARIADB_INSTALL=y
CONFIG_GLANCE_INSTALL=y
CONFIG_CINDER_INSTALL=y
CONFIG_MANILA_INSTALL=n
CONFIG_NOVA_INSTALL=y
CONFIG_NEUTRON_INSTALL=y
CONFIG_HORIZON_INSTALL=y
CONFIG_SWIFT_INSTALL=y
CONFIG_CEILOMETER_INSTALL=y
CONFIG_AODH_INSTALL=y
CONFIG_GNOCCHI_INSTALL=y
CONFIG_SAHARA_INSTALL=n
CONFIG_HEAT_INSTALL=n
CONFIG_TROVE_INSTALL=n
CONFIG_IRONIC_INSTALL=n
CONFIG_CLIENT_INSTALL=y
CONFIG_NTP_SERVERS=
CONFIG_NAGIOS_INSTALL=y
EXCLUDE_SERVERS=
CONFIG_DEBUG_MODE=n
CONFIG_CONTROLLER_HOST=192.169.142.127
CONFIG_COMPUTE_HOSTS=192.169.142.137
CONFIG_NETWORK_HOSTS=192.169.142.147
CONFIG_VMWARE_BACKEND=n
CONFIG_UNSUPPORTED=n
CONFIG_USE_SUBNETS=n
CONFIG_VCENTER_HOST=
CONFIG_VCENTER_USER=
CONFIG_VCENTER_PASSWORD=
CONFIG_VCENTER_CLUSTER_NAMES=
CONFIG_STORAGE_HOST=192.169.142.127
CONFIG_SAHARA_HOST=192.169.142.127
CONFIG_USE_EPEL=n
CONFIG_REPO=
CONFIG_ENABLE_RDO_TESTING=n
CONFIG_RH_USER=
CONFIG_SATELLITE_URL=
CONFIG_RH_SAT6_SERVER=
CONFIG_RH_PW=
CONFIG_RH_OPTIONAL=y
CONFIG_RH_PROXY=
CONFIG_RH_SAT6_ORG=
CONFIG_RH_SAT6_KEY=
CONFIG_RH_PROXY_PORT=
CONFIG_RH_PROXY_USER=
CONFIG_RH_PROXY_PW=
CONFIG_SATELLITE_USER=
CONFIG_SATELLITE_PW=
CONFIG_SATELLITE_AKEY=
CONFIG_SATELLITE_CACERT=
CONFIG_SATELLITE_PROFILE=
CONFIG_SATELLITE_FLAGS=
CONFIG_SATELLITE_PROXY=
CONFIG_SATELLITE_PROXY_USER=
CONFIG_SATELLITE_PROXY_PW=
CONFIG_SSL_CACERT_FILE=/etc/pki/tls/certs/selfcert.crt
CONFIG_SSL_CACERT_KEY_FILE=/etc/pki/tls/private/selfkey.key
CONFIG_SSL_CERT_DIR=~/packstackca/
CONFIG_SSL_CACERT_SELFSIGN=y
CONFIG_SSL_CERT_SUBJECT_C=--
CONFIG_SSL_CERT_SUBJECT_ST=State
CONFIG_SSL_CERT_SUBJECT_L=City
CONFIG_SSL_CERT_SUBJECT_O=openstack
CONFIG_SSL_CERT_SUBJECT_OU=packstack
CONFIG_SSL_CERT_SUBJECT_CN=ip-192-169-142-127.ip.secureserver.net
CONFIG_SSL_CERT_SUBJECT_MAIL=admin@ip-192-169-142-127.ip.secureserver.net
CONFIG_AMQP_BACKEND=rabbitmq
CONFIG_AMQP_HOST=192.169.142.127
CONFIG_AMQP_ENABLE_SSL=n
CONFIG_AMQP_ENABLE_AUTH=n
CONFIG_AMQP_NSS_CERTDB_PW=PW_PLACEHOLDER
CONFIG_AMQP_AUTH_USER=amqp_user
CONFIG_AMQP_AUTH_PASSWORD=PW_PLACEHOLDER
CONFIG_MARIADB_HOST=192.169.142.127
CONFIG_MARIADB_USER=root
CONFIG_MARIADB_PW=8bf55d14b2db49f5
CONFIG_KEYSTONE_DB_PW=0891136b11d741e6
CONFIG_KEYSTONE_DB_PURGE_ENABLE=True
CONFIG_KEYSTONE_REGION=RegionOne
CONFIG_KEYSTONE_ADMIN_TOKEN=c0c46833fa93449a98f20c76d4389748
CONFIG_KEYSTONE_ADMIN_EMAIL=root@localhost
CONFIG_KEYSTONE_ADMIN_USERNAME=admin
CONFIG_KEYSTONE_ADMIN_PW=a39301f8b9744e11
CONFIG_KEYSTONE_DEMO_PW=fe81df019ffd4f8d
CONFIG_KEYSTONE_API_VERSION=v2.0
CONFIG_KEYSTONE_TOKEN_FORMAT=UUID
CONFIG_KEYSTONE_IDENTITY_BACKEND=sql
CONFIG_KEYSTONE_LDAP_URL=ldap://192.169.142.127
CONFIG_KEYSTONE_LDAP_USER_DN=
CONFIG_KEYSTONE_LDAP_USER_PASSWORD=
CONFIG_KEYSTONE_LDAP_SUFFIX=
CONFIG_KEYSTONE_LDAP_QUERY_SCOPE=one
CONFIG_KEYSTONE_LDAP_PAGE_SIZE=-1
CONFIG_KEYSTONE_LDAP_USER_SUBTREE=
CONFIG_KEYSTONE_LDAP_USER_FILTER=
CONFIG_KEYSTONE_LDAP_USER_OBJECTCLASS=
CONFIG_KEYSTONE_LDAP_USER_ID_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_USER_NAME_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_USER_MAIL_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_USER_ENABLED_MASK=-1
CONFIG_KEYSTONE_LDAP_USER_ENABLED_DEFAULT=TRUE
CONFIG_KEYSTONE_LDAP_USER_ENABLED_INVERT=n
CONFIG_KEYSTONE_LDAP_USER_ATTRIBUTE_IGNORE=
CONFIG_KEYSTONE_LDAP_USER_DEFAULT_PROJECT_ID_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_USER_ALLOW_CREATE=n
CONFIG_KEYSTONE_LDAP_USER_ALLOW_UPDATE=n
CONFIG_KEYSTONE_LDAP_USER_ALLOW_DELETE=n
CONFIG_KEYSTONE_LDAP_USER_PASS_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_USER_ENABLED_EMULATION_DN=
CONFIG_KEYSTONE_LDAP_USER_ADDITIONAL_ATTRIBUTE_MAPPING=
CONFIG_KEYSTONE_LDAP_GROUP_SUBTREE=
CONFIG_KEYSTONE_LDAP_GROUP_FILTER=
CONFIG_KEYSTONE_LDAP_GROUP_OBJECTCLASS=
CONFIG_KEYSTONE_LDAP_GROUP_ID_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_GROUP_NAME_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_GROUP_MEMBER_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_GROUP_DESC_ATTRIBUTE=
CONFIG_KEYSTONE_LDAP_GROUP_ATTRIBUTE_IGNORE=
CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_CREATE=n
CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_UPDATE=n
CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_DELETE=n
CONFIG_KEYSTONE_LDAP_GROUP_ADDITIONAL_ATTRIBUTE_MAPPING=
CONFIG_KEYSTONE_LDAP_USE_TLS=n
CONFIG_KEYSTONE_LDAP_TLS_CACERTDIR=
CONFIG_KEYSTONE_LDAP_TLS_CACERTFILE=
CONFIG_KEYSTONE_LDAP_TLS_REQ_CERT=demand
CONFIG_GLANCE_DB_PW=66f3e1a1222e4cb7
CONFIG_GLANCE_KS_PW=73959338340e4b5b
CONFIG_GLANCE_BACKEND=file
CONFIG_CINDER_DB_PW=c7fd082e251c4212
CONFIG_CINDER_DB_PURGE_ENABLE=True
CONFIG_CINDER_KS_PW=19437f3a65694f06
CONFIG_CINDER_BACKEND=lvm
CONFIG_CINDER_VOLUMES_CREATE=y
CONFIG_CINDER_VOLUMES_SIZE=15G
CONFIG_CINDER_GLUSTER_MOUNTS=
CONFIG_CINDER_NFS_MOUNTS=
CONFIG_CINDER_NETAPP_LOGIN=
CONFIG_CINDER_NETAPP_PASSWORD=
CONFIG_CINDER_NETAPP_HOSTNAME=
CONFIG_CINDER_NETAPP_SERVER_PORT=80
CONFIG_CINDER_NETAPP_STORAGE_FAMILY=ontap_cluster
CONFIG_CINDER_NETAPP_TRANSPORT_TYPE=http
CONFIG_CINDER_NETAPP_STORAGE_PROTOCOL=nfs
CONFIG_CINDER_NETAPP_SIZE_MULTIPLIER=1.0
CONFIG_CINDER_NETAPP_EXPIRY_THRES_MINUTES=720
CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_START=20
CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_STOP=60
CONFIG_CINDER_NETAPP_NFS_SHARES=
CONFIG_CINDER_NETAPP_NFS_SHARES_CONFIG=/etc/cinder/shares.conf
CONFIG_CINDER_NETAPP_VOLUME_LIST=
CONFIG_CINDER_NETAPP_VFILER=
CONFIG_CINDER_NETAPP_PARTNER_BACKEND_NAME=
CONFIG_CINDER_NETAPP_VSERVER=
CONFIG_CINDER_NETAPP_CONTROLLER_IPS=
CONFIG_CINDER_NETAPP_SA_PASSWORD=
CONFIG_CINDER_NETAPP_ESERIES_HOST_TYPE=linux_dm_mp
CONFIG_CINDER_NETAPP_WEBSERVICE_PATH=/devmgr/v2
CONFIG_CINDER_NETAPP_STORAGE_POOLS=
CONFIG_CINDER_SOLIDFIRE_LOGIN=
CONFIG_CINDER_SOLIDFIRE_PASSWORD=
CONFIG_CINDER_SOLIDFIRE_HOSTNAME=
CONFIG_IRONIC_DB_PW=PW_PLACEHOLDER
CONFIG_IRONIC_KS_PW=PW_PLACEHOLDER
CONFIG_NOVA_DB_PURGE_ENABLE=True
CONFIG_NOVA_DB_PW=801f6adfbc4441ea
CONFIG_NOVA_KS_PW=af51f0b87ac14b4f
CONFIG_NOVA_MANAGE_FLAVORS=y
CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO=16.0
CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO=1.5
CONFIG_NOVA_COMPUTE_MIGRATE_PROTOCOL=tcp
CONFIG_NOVA_COMPUTE_MANAGER=nova.compute.manager.ComputeManager
CONFIG_VNC_SSL_CERT=
CONFIG_VNC_SSL_KEY=
CONFIG_NOVA_PCI_ALIAS=
CONFIG_NOVA_PCI_PASSTHROUGH_WHITELIST=
CONFIG_NOVA_LIBVIRT_VIRT_TYPE=%{::default_hypervisor}
CONFIG_NOVA_COMPUTE_PRIVIF=
CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager
CONFIG_NOVA_NETWORK_PUBIF=eth0
CONFIG_NOVA_NETWORK_PRIVIF=
CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22
CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n
CONFIG_NOVA_NETWORK_VLAN_START=100
CONFIG_NOVA_NETWORK_NUMBER=1
CONFIG_NOVA_NETWORK_SIZE=255
CONFIG_NEUTRON_KS_PW=9acc5e8d038b4b75
CONFIG_NEUTRON_DB_PW=2c776154b7fd4e08
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_METADATA_PW=669f904cd37749b0
CONFIG_LBAAS_INSTALL=n
CONFIG_NEUTRON_METERING_AGENT_INSTALL=y
CONFIG_NEUTRON_FWAAS=n
CONFIG_NEUTRON_VPNAAS=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
CONFIG_NEUTRON_ML2_VLAN_RANGES=
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=1001:2000
CONFIG_NEUTRON_ML2_VXLAN_GROUP=239.1.1.2
CONFIG_NEUTRON_ML2_VNI_RANGES=1001:2000
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_ML2_SUPPORTED_PCI_VENDOR_DEVS=['15b3:1004', '8086:10ca']
CONFIG_NEUTRON_ML2_SRIOV_AGENT_REQUIRED=n
CONFIG_NEUTRON_ML2_SRIOV_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet1:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=
CONFIG_NEUTRON_OVS_BRIDGES_COMPUTE=
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1
CONFIG_NEUTRON_OVS_TUNNEL_SUBNETS=
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789
CONFIG_MANILA_DB_PW=PW_PLACEHOLDER
CONFIG_MANILA_KS_PW=PW_PLACEHOLDER
CONFIG_MANILA_BACKEND=generic
CONFIG_MANILA_NETAPP_DRV_HANDLES_SHARE_SERVERS=false
CONFIG_MANILA_NETAPP_TRANSPORT_TYPE=https
CONFIG_MANILA_NETAPP_LOGIN=admin
CONFIG_MANILA_NETAPP_PASSWORD=
CONFIG_MANILA_NETAPP_SERVER_HOSTNAME=
CONFIG_MANILA_NETAPP_STORAGE_FAMILY=ontap_cluster
CONFIG_MANILA_NETAPP_SERVER_PORT=443
CONFIG_MANILA_NETAPP_AGGREGATE_NAME_SEARCH_PATTERN=(.*)
CONFIG_MANILA_NETAPP_ROOT_VOLUME_AGGREGATE=
CONFIG_MANILA_NETAPP_ROOT_VOLUME_NAME=root
CONFIG_MANILA_NETAPP_VSERVER=
CONFIG_MANILA_GENERIC_DRV_HANDLES_SHARE_SERVERS=true
CONFIG_MANILA_GENERIC_VOLUME_NAME_TEMPLATE=manila-share-%s
CONFIG_MANILA_GENERIC_SHARE_MOUNT_PATH=/shares
CONFIG_MANILA_SERVICE_IMAGE_LOCATION=https://www.dropbox.com/s/vi5oeh10q1qkckh/ubuntu_1204_nfs_cifs.qcow2
CONFIG_MANILA_SERVICE_INSTANCE_USER=ubuntu
CONFIG_MANILA_SERVICE_INSTANCE_PASSWORD=ubuntu
CONFIG_MANILA_NETWORK_TYPE=neutron
CONFIG_MANILA_NETWORK_STANDALONE_GATEWAY=
CONFIG_MANILA_NETWORK_STANDALONE_NETMASK=
CONFIG_MANILA_NETWORK_STANDALONE_SEG_ID=
CONFIG_MANILA_NETWORK_STANDALONE_IP_RANGE=
CONFIG_MANILA_NETWORK_STANDALONE_IP_VERSION=4
CONFIG_MANILA_GLUSTERFS_SERVERS=
CONFIG_MANILA_GLUSTERFS_NATIVE_PATH_TO_PRIVATE_KEY=
CONFIG_MANILA_GLUSTERFS_VOLUME_PATTERN=
CONFIG_MANILA_GLUSTERFS_TARGET=
CONFIG_MANILA_GLUSTERFS_MOUNT_POINT_BASE=
CONFIG_MANILA_GLUSTERFS_NFS_SERVER_TYPE=gluster
CONFIG_MANILA_GLUSTERFS_PATH_TO_PRIVATE_KEY=
CONFIG_MANILA_GLUSTERFS_GANESHA_SERVER_IP=
CONFIG_HORIZON_SSL=n
CONFIG_HORIZON_SECRET_KEY=aa90b4e2a05247c3851c7359021f8bfa
CONFIG_HORIZON_SSL_CERT=
CONFIG_HORIZON_SSL_KEY=
CONFIG_HORIZON_SSL_CACERT=
CONFIG_SWIFT_KS_PW=86beee9052da4737
CONFIG_SWIFT_STORAGES=
CONFIG_SWIFT_STORAGE_ZONES=1
CONFIG_SWIFT_STORAGE_REPLICAS=1
CONFIG_SWIFT_STORAGE_FSTYPE=ext4
CONFIG_SWIFT_HASH=bfb0463d31a3417a
CONFIG_SWIFT_STORAGE_SIZE=2G
CONFIG_HEAT_DB_PW=PW_PLACEHOLDER
CONFIG_HEAT_AUTH_ENC_KEY=4b0fc22a52be466f
CONFIG_HEAT_KS_PW=PW_PLACEHOLDER
CONFIG_HEAT_CLOUDWATCH_INSTALL=n
CONFIG_HEAT_CFN_INSTALL=y
CONFIG_HEAT_DOMAIN=heat
CONFIG_HEAT_DOMAIN_ADMIN=heat_admin
CONFIG_HEAT_DOMAIN_PASSWORD=PW_PLACEHOLDER
CONFIG_PROVISION_DEMO=y
CONFIG_PROVISION_TEMPEST=n
CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28
CONFIG_PROVISION_IMAGE_NAME=cirros
CONFIG_PROVISION_IMAGE_URL=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
CONFIG_PROVISION_IMAGE_FORMAT=qcow2
CONFIG_PROVISION_IMAGE_SSH_USER=cirros
CONFIG_PROVISION_UEC_IMAGE_NAME=cirros-uec
CONFIG_PROVISION_UEC_IMAGE_KERNEL_URL=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-kernel
CONFIG_PROVISION_UEC_IMAGE_RAMDISK_URL=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-initramfs
CONFIG_PROVISION_UEC_IMAGE_DISK_URL=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img
CONFIG_TEMPEST_HOST=
CONFIG_PROVISION_TEMPEST_USER=
CONFIG_PROVISION_TEMPEST_USER_PW=PW_PLACEHOLDER
CONFIG_PROVISION_TEMPEST_FLOATRANGE=172.24.4.224/28
CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
CONFIG_PROVISION_TEMPEST_REPO_REVISION=master
CONFIG_RUN_TEMPEST=n
CONFIG_RUN_TEMPEST_TESTS=smoke
CONFIG_PROVISION_OVS_BRIDGE=y
CONFIG_GNOCCHI_DB_PW=3402570a1b454827
CONFIG_GNOCCHI_KS_PW=657b55c0fb674e6b
CONFIG_CEILOMETER_SECRET=ca2487cdad5944ff
CONFIG_CEILOMETER_KS_PW=3ee494c1d18c4975
CONFIG_CEILOMETER_SERVICE_NAME=httpd
CONFIG_CEILOMETER_COORDINATION_BACKEND=redis
CONFIG_CEILOMETER_METERING_BACKEND=database
CONFIG_MONGODB_HOST=192.169.142.127
CONFIG_REDIS_HOST=192.169.142.127
CONFIG_REDIS_PORT=6379
CONFIG_AODH_KS_PW=e1a4f505bbb14bc6
CONFIG_TROVE_DB_PW=PW_PLACEHOLDER
CONFIG_TROVE_KS_PW=PW_PLACEHOLDER
CONFIG_TROVE_NOVA_USER=trove
CONFIG_TROVE_NOVA_TENANT=services
CONFIG_TROVE_NOVA_PW=PW_PLACEHOLDER
CONFIG_SAHARA_DB_PW=PW_PLACEHOLDER
CONFIG_SAHARA_KS_PW=PW_PLACEHOLDER
CONFIG_NAGIOS_PW=4c23745bd68e4810

**********************************************************************************
Up on packstack completion on Network Node create following files ,
designed to  match created by installer external network
**********************************************************************************
[root@ip-192-169-142-147 network-scripts]# cat ifcfg-br-ex
DEVICE="br-ex"
BOOTPROTO="static"
IPADDR="172.24.4.229"
NETMASK="255.255.255.240"
DNS1="83.221.202.254"
BROADCAST="172.24.4.239"
GATEWAY="172.24.4.225"
NM_CONTROLLED="no"
TYPE="OVSIntPort"
OVS_BRIDGE=br-ex
DEVICETYPE="ovs"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no

[root@ip-192-169-142-147 network-scripts]# cat ifcfg-eth2
DEVICE="eth2"
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no

*************************************************
Next step to performed on Network Node :-
*************************************************
# chkconfig network on
# systemctl stop NetworkManager
# systemctl disable NetworkManager
# service network restart

**************************
Deployment picture
**************************

***************
Controller
***************


 ***********************
 Compute Node
 ************************
  

 [root@ip-192-169-142-137 ~(keystone_admin)]# virsh --connect qemu:///system
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # version
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0

virsh # list --all
 Id    Name                           State
----------------------------------------------------
 5     instance-00000014              running
 6     instance-00000016              running

virsh # exit

[root@ip-192-169-142-137 ~(keystone_admin)]# nova-manage --version
14.0.3
[root@ip-192-169-142-137 ~(keystone_admin)]# nova service-list | grep 137
| 7  | nova-compute     | ip-192-169-142-137.ip.secureserver.net | nova     | enabled | up    | 2016-12-15T09:58:53.000000 | -               |

[root@ip-192-169-142-137 ~(keystone_admin)]# neutron agent-list | grep 137
| cf58382e-2c92-4419-bc51-31f4b730d767 | Open vSwitch agent | ip-192-169-142-137.ip.secureserver.net |                   | :-)   | True           | neutron-openvswitch-agent |
  

  

   Running Cloud VMs  on Compute Node

  


Thursday, December 8, 2016

Super flight TripleO QuickStart ( Newton 14.0.3) on VIRTHOST (i7 4790, 32 GB RAM)

Looks like KSM efficiency getting better and better with next RDO Newton 14.0.3. Sample bellow deployes on i7 4790 , 32 GB VIRTHOST :-

 1. HA PCS Controller's Cluster
 2. 3 Node Ceph Storage Cluster
 3. One Compute Node 

*****************************************
Deployment ansible template ha.yml
*****************************************


[jon@fedora24wks general_config]$ cat ha.yml
# Deploying HA config with one Compute and 3 Node Ceph Cluster
# on i7 4790 VIRTHOST with 32GB RAM

control_memory: 7000
compute_memory: 6144

undercloud_memory: 8192

# Giving the undercloud additional CPUs can greatly improve heat's
# performance (and result in a shorter deploy time).
undercloud_vcpu: 4

# 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
  - name: control_1
    flavor: control
  - name: control_2
    flavor: control

  - name: compute_0
    flavor: compute

  - name: ceph_0
    flavor: ceph
  - name: ceph_1
    flavor: ceph
  - name: ceph_2
    flavor: ceph

# We don't need introspection in a virtual environment (because we are
# creating all the "hardware" we really know the necessary
# information).
step_introspect: true

# Tell tripleo about our environment.
network_isolation: true
extra_args: >-
  --control-scale 3
  --compute-scale 1
  --ceph-storage-scale 3
  --neutron-network-type vxlan
  --neutron-tunnel-types vxlan
  --ntp-server pool.ntp.org
  -e {{overcloud_templates_path}}/environments/storage-environment.yaml

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

******************************
Undercloud set up
******************************
[jon@fedora24wks tripleo-quickstart]$ bash quickstart.sh -R newton --config ./config/general_config/ha.yml $VIRTHOST

*****************************
When done
*****************************

[jon@fedora24wks tripleo-quickstart]$ ssh -F /home/jon/.quickstart/ssh.config.ansible undercloud

********************************************************************************
Due to QuickStart is using prebuilt images just upload them right away
********************************************************************************
[stack@undercloud ~]$ openstack overcloud image upload
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Image "overcloud-full-vmlinuz" was uploaded.
+--------------------------------------+------------------------+-------------+---------+--------+
|                  ID                  |          Name          | Disk Format |   Size  | Status |
+--------------------------------------+------------------------+-------------+---------+--------+
| 37c9316c-ac1a-4bac-8bf7-d813781a84b1 | overcloud-full-vmlinuz |     aki     | 5158864 | active |
+--------------------------------------+------------------------+-------------+---------+--------+
Image "overcloud-full-initrd" was uploaded.
+--------------------------------------+-----------------------+-------------+----------+--------+
|                  ID                  |          Name         | Disk Format |   Size   | Status |
+--------------------------------------+-----------------------+-------------+----------+--------+
| f9a38d40-2e27-4954-b032-f27d5ada42be | overcloud-full-initrd |     ari     | 41989212 | active |
+--------------------------------------+-----------------------+-------------+----------+--------+
Image "overcloud-full" was uploaded.
+--------------------------------------+----------------+-------------+------------+--------+
|                  ID                  |      Name      | Disk Format |    Size    | Status |
+--------------------------------------+----------------+-------------+------------+--------+
| 6827dbfa-d0dc-4867-ac96-27af9f04779c | overcloud-full |    qcow2    | 1295537152 | active |
+--------------------------------------+----------------+-------------+------------+--------+
Image "bm-deploy-kernel" was uploaded.
+--------------------------------------+------------------+-------------+---------+--------+
|                  ID                  |       Name       | Disk Format |   Size  | Status |
+--------------------------------------+------------------+-------------+---------+--------+
| ed26dc05-6c9a-41d2-a023-da1ed3dcb54f | bm-deploy-kernel |     aki     | 5158864 | active |
+--------------------------------------+------------------+-------------+---------+--------+
Image "bm-deploy-ramdisk" was uploaded.
+--------------------------------------+-------------------+-------------+-----------+--------+
|                  ID                  |        Name       | Disk Format |    Size   | Status |
+--------------------------------------+-------------------+-------------+-----------+--------+
| cb26e290-96ed-447e-8b4d-2225c0fc2fe5 | bm-deploy-ramdisk |     ari     | 407314528 | active |
+--------------------------------------+-------------------+-------------+-----------+--------+

[stack@undercloud ~]$ openstack baremetal import instackenv.json

[stack@undercloud ~]$ openstack baremetal configure boot
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils

[stack@undercloud ~]$ openstack baremetal introspection bulk start

********************************************************************************
Here we are forced to set up interface for external network manually
********************************************************************************
[stack@undercloud ~]$ sudo vi /etc/sysconfig/network-scripts/ifcfg-vlan10
DEVICE=vlan10
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSIntPort
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.255.255.0
OVS_BRIDGE=br-ctlplane
OVS_OPTIONS="tag=10"

[stack@undercloud ~]$ sudo ifup vlan10


******************
Create file
******************

[stack@undercloud ~]$ vi  $HOME/network_env.yaml
{
    "parameter_defaults": {
        "ControlPlaneDefaultRoute": "192.168.24.1",
        "ControlPlaneSubnetCidr": "24",
        "DnsServers": [
            "8.8.8.8"
        ],
        "EC2MetadataIp": "192.168.24.1",
        "ExternalAllocationPools": [
            {
                "end": "10.0.0.250",
                "start": "10.0.0.4"
            }
        ],
        "ExternalNetCidr": "10.0.0.1/24",
        "NeutronExternalNetworkBridge": ""
    }
}

[stack@undercloud ~]$ sudo iptables -A BOOTSTACK_MASQ -s 10.0.0.0/24 ! -d 10.0.0.0/24 -j MASQUERADE -t nat
[stack@undercloud ~]$ sudo touch -f  /usr/share/openstack-tripleo-heat-templates/puppet/post.yaml

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


******************************
When done
******************************

  
  
 
  

  ******************************
  Top report on VIRTHOST
  *****************************
 


    Fedora 24 Cloud VM running on Compute Node

    








Thursday, November 17, 2016

Instack-virt-setup deployment via TripleO Quickstart pre-built images on CentOS 7.3 (7.2)

UPDATE 11/22/2026

 If date/time of delorean.repo file in RDO Newton "current-passed-ci" trunk
differs from date/time of pre-built images for 10-12 hr same date, you may
go straight ahead skipping QuickStart initial deployment step to get
delorean repos from undercloud VM. In other words set repos as follows on both
VIRTHOST and INSTACK ( undercloud node in bare metal case )
sudo yum -y install yum-plugin-priorities
sudo curl -o /etc/yum.repos.d/delorean-newton.repo  https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
This post is, actually, targeting  bare metal TripleO set up. Compare with suggested in http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html strategy of setting up  just current trunk delorean.repo for stable releases.

END UPDATE

 Initiate TripleO QuickStart deployment , log into undercloud and pick up
files /etc/yum.repos.d/delorean.repo, /etc/yum.repos.d/delorean-deps.repo,
which are associated with RDO Newton trunk with status "current-passed-ci"
at the moment. On VIRTHOST and INSTACK VM  set same delorean repos.
Mentioned delorean repos will provide warranty that undercloud and overcloud packages match each other, e.g. tripleo-heat-templates package
on the undercloud will correspond openstack-puppet-modules packages on the overcloud images in case when we intend download prebuilt QuickStart images
from their standard location. Notice that same approach will work on TripleO
bare metal deployments as well.

***************************
Run on VIRTHOST
***************************
$ sudo yum -y update
$ sudo yum install -y instack-undercloud
$ instack-virt-setup




***************************
INSTACK VM SETUP
***************************
Set same  /etc/yum.repos.d/delorean.repo, /etc/yum.repos.d/delorean-deps.repo


sudo yum -y install yum-plugin-priorities
sudo curl -o /etc/yum.repos.d/delorean-newton.repo  https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo 
sudo yum -y upgrade mariadb-libs ( case 7.3 )
sudo yum -y install --enablerepo=extras centos-release-ceph-jewel
sudo sed -i -e 's%gpgcheck=.*%gpgcheck=0%' /etc/yum.repos.d/CentOS-Ceph-Jewel.repo
 
[stack@instack ~]# su - stack
[stack@instack ~]$ cat .bashrc

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

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

# User specific aliases and functions

RELOGIN as stack=>root=>stack

[stack@instack ~]$ export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF /etc/yum.repos.d/CentOS-Ceph-Jewel.repo"
[stack@instack ~]$ echo $DIB_YUM_REPO_CONF
/etc/yum.repos.d/delorean-deps-newton.repo /etc/yum.repos.d/delorean-newton.repo /etc/yum.repos.d/CentOS-Ceph-Jewel.repo
 
****************************************************
Start installation on INSTACK VM  as usual
****************************************************
$ sudo yum install -y python-tripleoclient
$ openstack undercloud install
$ source stackrc
 
*********************************************** 
Download QuickStart prebuilt  images
***********************************************
sudo yum install wget -y
[stack@instack ~]$ wget http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean/overcloud-full.tar
[stack@instack ~]$ wget http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean/ironic-python-agent.tar
[stack@instack ~]$ wget http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean/undercloud.qcow2 
 
[stack@instack ~]$ tar -xvf overcloud-full.tar
overcloud-full.d/
overcloud-full.d/dib-manifests/
overcloud-full.d/dib-manifests/dib-manifest-git-overcloud-full
overcloud-full.d/dib-manifests/dib-manifests-pip/
overcloud-full.d/dib-manifests/dib-element-manifest
overcloud-full.d/dib-manifests/dib_arguments
overcloud-full.d/dib-manifests/dib_environment
overcloud-full.initrd
overcloud-full.qcow2
overcloud-full.qcow2.log
overcloud-full.vmlinuz
[stack@instack ~]$ ls -l
total 5591996
-rw-r--r--. 1 stack stack      11755 Nov 17 15:00 instackenv.json
drwxr-xr-x. 3 stack stack       4096 Nov 17 04:44 overcloud-full.d
-rw-r--r--. 1 stack stack   41987282 Nov 17 04:44 overcloud-full.initrd
-rw-r--r--. 1 stack stack 1296985088 Nov 17 04:46 overcloud-full.qcow2
-rw-r--r--. 1 stack stack    1594247 Nov 17 04:46 overcloud-full.qcow2.log
-rw-rw-r--. 1 stack stack 1345751040 Nov 17 10:21 overcloud-full.tar
-rwxr-xr-x. 1 stack stack    5158864 Nov 17 04:44 overcloud-full.vmlinuz
-rw-------. 1 stack stack        324 Nov 17 15:27 stackrc
-rw-r--r--. 1 stack stack      10620 Nov 17 15:00 undercloud.conf
-rw-rw-r--. 1 stack stack       1650 Nov 17 15:16 undercloud-passwords.conf
-rw-r--r--. 1 stack stack 3034668544 Nov 17 15:30 undercloud.qcow2
[stack@instack ~]$ tar -xvf ironic-python-agent.tar
ironic-python-agent.d/
ironic-python-agent.d/dib-manifests/
ironic-python-agent.d/dib-manifests/dib_environment
ironic-python-agent.d/dib-manifests/dib_arguments
ironic-python-agent.d/dib-manifests/dib-element-manifest
ironic-python-agent.initramfs
ironic-python-agent.kernel
ironic-python-agent.qcow2.log
ironic-python-agent.vmlinuz
[stack@instack ~]$ ls -l
total 6404772
-rw-r--r--. 1 stack stack      11755 Nov 17 15:00 instackenv.json
drwxr-xr-x. 3 stack stack       4096 Nov 17 04:36 ironic-python-agent.d
-rw-r--r--. 1 stack stack  407642183 Nov 17 04:36 ironic-python-agent.initramfs
-rwxr-xr-x. 2 stack stack    5158864 Nov 17 04:36 ironic-python-agent.kernel
-rw-r--r--. 1 stack stack     745277 Nov 17 04:37 ironic-python-agent.qcow2.log
-rw-rw-r--. 1 stack stack  413562880 Nov 17 10:21 ironic-python-agent.tar
-rwxr-xr-x. 2 stack stack    5158864 Nov 17 04:36 ironic-python-agent.vmlinuz
drwxr-xr-x. 3 stack stack       4096 Nov 17 04:44 overcloud-full.d
-rw-r--r--. 1 stack stack   41987282 Nov 17 04:44 overcloud-full.initrd
-rw-r--r--. 1 stack stack 1296985088 Nov 17 04:46 overcloud-full.qcow2
-rw-r--r--. 1 stack stack    1594247 Nov 17 04:46 overcloud-full.qcow2.log
-rw-rw-r--. 1 stack stack 1345751040 Nov 17 10:21 overcloud-full.tar
-rwxr-xr-x. 1 stack stack    5158864 Nov 17 04:44 overcloud-full.vmlinuz
-rw-------. 1 stack stack        324 Nov 17 15:27 stackrc
-rw-r--r--. 1 stack stack      10620 Nov 17 15:00 undercloud.conf
-rw-rw-r--. 1 stack stack       1650 Nov 17 15:16 undercloud-passwords.conf
-rw-r--r--. 1 stack stack 3034668544 Nov 17 15:30 undercloud.qcow2
[stack@instack ~]$ . stackrc
[stack@instack ~]$ openstack overcloud image upload
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Image "overcloud-full-vmlinuz" was uploaded.
+--------------------------------------+------------------------+-------------+---------+--------+
|                  ID                  |          Name          | Disk Format |   Size  | Status |
+--------------------------------------+------------------------+-------------+---------+--------+
| b5c27d78-526f-43f4-95ef-655cd13e8851 | overcloud-full-vmlinuz |     aki     | 5158864 | active |
+--------------------------------------+------------------------+-------------+---------+--------+
Image "overcloud-full-initrd" was uploaded.
+--------------------------------------+-----------------------+-------------+----------+--------+
|                  ID                  |          Name         | Disk Format |   Size   | Status |
+--------------------------------------+-----------------------+-------------+----------+--------+
| c9ab88de-48dd-4265-8f18-49414af26272 | overcloud-full-initrd |     ari     | 41987282 | active |
+--------------------------------------+-----------------------+-------------+----------+--------+
Image "overcloud-full" was uploaded.
+--------------------------------------+----------------+-------------+------------+--------+
|                  ID                  |      Name      | Disk Format |    Size    | Status |
+--------------------------------------+----------------+-------------+------------+--------+
| 2a4fb040-0490-4de8-8d21-3b8680976ac6 | overcloud-full |    qcow2    | 1296985088 | active |
+--------------------------------------+----------------+-------------+------------+--------+
Image "bm-deploy-kernel" was uploaded.
+--------------------------------------+------------------+-------------+---------+--------+
|                  ID                  |       Name       | Disk Format |   Size  | Status |
+--------------------------------------+------------------+-------------+---------+--------+
| b5cbaeeb-945a-4fdb-9b82-da1a7b2e1490 | bm-deploy-kernel |     aki     | 5158864 | active |
+--------------------------------------+------------------+-------------+---------+--------+
Image "bm-deploy-ramdisk" was uploaded.
+--------------------------------------+-------------------+-------------+-----------+--------+
|                  ID                  |        Name       | Disk Format |    Size   | Status |
+--------------------------------------+-------------------+-------------+-----------+--------+
| 5dc1842f-c6c0-4160-bfa5-856cf61da816 | bm-deploy-ramdisk |     ari     | 407642183 | active |
+--------------------------------------+-------------------+-------------+-----------+--------+
[stack@instack ~]$  openstack baremetal import instackenv.json
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Started Mistral Workflow. Execution ID: 65620c7f-d3df-4f26-88d9-aef2eb287a67
Successfully registered node UUID 7132930c-720e-4566-aee6-8520233dc57a
Successfully registered node UUID 85aa181d-ec6e-4bb0-a53f-8f4c1000a249
Successfully registered node UUID 3d9511f7-fcf6-4024-a417-ee7e3fdbc5f9
Successfully registered node UUID 6d47d386-1adc-4c43-8837-707cad48b59b
Successfully registered node UUID 93502cb5-8fe8-4f69-a48c-91d87cf37925
Started Mistral Workflow. Execution ID: c8e0b9d2-92d4-4d0a-866c-777e51e97b6e  
$ openstack baremetal configure boot
$ openstack baremetal introspection bulk start

 In case when this command hangs, then start from scratch
        follow http://tripleo.org/advanced_deployment/introspect_single_node.html
 It might take long time and resolve the issue.
 
 $ neutron subnet-list
 $ neutron subnet-update 1b7d82e5-0bf1-4ba5-8008-4aa402598065 --dns-nameserver  192.168.122.1 

********************************************************************************************
Next step :- 
$ sudo vi  /usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-mon.yaml
Update line :-
ceph::profile::params::osd_pool_default_size: 1 
instead of default value "3". This step is acceptable only in Virtual Environment.
Setting  the osd_pool_default_size set to 1,
 you will only have
one copy of the object. As a general rule, you should run your cluster 
with more than one OSD and a pool size greater than 1 object replica. So
having 48GB RAM on VIRTHOST  the optimal setting is osd_pool_default_size = 3 (at least 2) 
********************************************************************************************

outputs:
  role_data:
    description: Role data for the Ceph Monitor service.
    value:
      service_name: ceph_mon
      monitoring_subscription: {get_param: MonitoringSubscriptionCephMon}
      config_settings:
        map_merge:
          - get_attr: [CephBase, role_data, config_settings]
          - ceph::profile::params::ms_bind_ipv6: {get_param: CephIPv6}
            ceph::profile::params::mon_key: {get_param: CephMonKey}
            ceph::profile::params::osd_pool_default_pg_num: 32
            ceph::profile::params::osd_pool_default_pgp_num: 32
            ceph::profile::params::osd_pool_default_size: 1  <== instead of "3"      
            # repeat returns items in a list, so we need to map_merge twice
            tripleo::profile::base::ceph::mon::ceph_pools:
              map_merge:
                - map_merge:
                    repeat:
                      for_each:
                        <%pool%>:
                          - {get_param: CinderRbdPoolName}
                          - {get_param: CinderBackupRbdPoolName}
                          - {get_param: NovaRbdPoolName}
                          - {get_param: GlanceRbdPoolName}
                          - {get_param: GnocchiRbdPoolName}


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

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

[stack@instack ~]$ sudo ifup vlan10

*********************************************
192.168.122.134 is IP of "instack VM"
*********************************************

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


[stack@undercloud ~]$ sudo iptables -A BOOTSTACK_MASQ -s 10.0.0.0/24 ! -d 10.0.0.0/24 -j MASQUERADE -t nat
[stack@undercloud ~]$ sudo touch -f  /usr/share/openstack-tripleo-heat-templates/puppet/post.yaml

**********************************
Script overcloud-deploy.sh
**********************************

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

  
  

   [root@overcloud-controller-0 ~]# ceph health detail --format=json-pretty

{
    "health": {
        "health_services": [
            {
                "mons": [
                    {
                        "name": "overcloud-controller-2",
                        "kb_total": 48214840,
                        "kb_used": 8346496,
                        "kb_avail": 39868344,
                        "avail_percent": 82,
                        "last_updated": "2016-11-17 23:10:04.864730",
                        "store_stats": {
                            "bytes_total": 15286594,
                            "bytes_sst": 14762290,
                            "bytes_log": 458752,
                            "bytes_misc": 65552,
                            "last_updated": "0.000000"
                        },
                        "health": "HEALTH_OK"
                    },
                    {
                        "name": "overcloud-controller-0",
                        "kb_total": 48214840,
                        "kb_used": 8857768,
                        "kb_avail": 39357072,
                        "avail_percent": 81,
                        "last_updated": "2016-11-17 23:09:57.658188",
                        "store_stats": {
                            "bytes_total": 15286603,
                            "bytes_sst": 14762299,
                            "bytes_log": 458752,
                            "bytes_misc": 65552,
                            "last_updated": "0.000000"
                        },
                        "health": "HEALTH_OK"
                    },
                    {
                        "name": "overcloud-controller-1",
                        "kb_total": 48214840,
                        "kb_used": 8338904,
                        "kb_avail": 39875936,
                        "avail_percent": 82,
                        "last_updated": "2016-11-17 23:10:04.681707",
                        "store_stats": {
                            "bytes_total": 15810891,
                            "bytes_sst": 14762299,
                            "bytes_log": 983040,
                            "bytes_misc": 65552,
                            "last_updated": "0.000000"
                        },
                        "health": "HEALTH_OK"
                    }
                ]
            }
        ]
    },
    "timechecks": {
        "epoch": 4,
        "round": 154,
        "round_status": "finished",
        "mons": [
            {
                "name": "overcloud-controller-2",
                "skew": 0.000000,
                "latency": 0.000000,
                "health": "HEALTH_OK"
            },
            {
                "name": "overcloud-controller-0",
                "skew": -0.002390,
                "latency": 0.001325,
                "health": "HEALTH_OK"
            },
            {
                "name": "overcloud-controller-1",
                "skew": 0.013829,
                "latency": 0.001581,
                "health": "HEALTH_OK"
            }
        ]
    },
    "summary": [],
    "overall_status": "HEALTH_OK",
    "detail": []
}


Wednesday, November 16, 2016

Packstack install RDO Newton with Keystone API V2 on CentOS 7.2 and 7.3

*****************************
UPDATE 12/15/2016
*****************************
Follow same guide line lines to get packstack working on CentOS 7.3
Before running packstack make sure :-
[root@ServerCentOS73 ~)]# virsh --connect qemu:///system
Welcome to virsh, the virtualization interactive terminal.
Type:  'help' for help with commands
       'quit' to quit

virsh # version
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0
virsh #
Otherwise set cpu_mode=none in nova.conf to be able run with QEMU 2.3.0
See for details  https://bugzilla.redhat.com/show_bug.cgi?id=1371617
Ignoring notice above will result RetryFilter misleading error due
KVM/Libvirt Error "qemu-kvm: CPU feature arat not found" to boot VM on Compute Node

*********************  
END UPDATE
*********************
Posting bellow is addressing multiple questions raising up at ask.openstack.org
regarding packstack AIO or Multi Node RDO Newton installations on CentOS 7.2. Instructions bellow explain how to use RDO Newton trunk "current-passed-ci" for packstack installation. That is what happens on TripleO ( bare metal and virtual ) deployments on daily basis,
 
I was unable to find patch https://review.openstack.org/gitweb?p=openstack/packstack.git;a=patch;h=3a7e88c80d0c8935b0eb964567e774fc6ba370c2
in RDO Newton trunk "current-passed-ci", so you still have to setup RDO Newton
via packstack with Keystone API v2.0

Snapshot just obtained :-



[root@server1 ~]# yum -y install yum-plugin-priorities
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.corbina.net
 * extras: mirror.corbina.net
 * updates: mirror.corbina.net
Resolving Dependencies
--> Running transaction check
---> Package yum-plugin-priorities.noarch 0:1.1.31-34.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================
 Package                           Arch               Version                     Repository        Size
=============================================================
Installing:
 yum-plugin-priorities             noarch             1.1.31-34.el7               base              25 k

Transaction Summary
=============================================================
Install  1 Package

Total download size: 25 k
Installed size: 28 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/yum-plugin-priorities-1.1.31-34.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for yum-plugin-priorities-1.1.31-34.el7.noarch.rpm is not installed
yum-plugin-priorities-1.1.31-34.el7.noarch.rpm                                    |  25 kB  00:00:00    
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : yum-plugin-priorities-1.1.31-34.el7.noarch                                            1/1
  Verifying  : yum-plugin-priorities-1.1.31-34.el7.noarch                                            1/1

Installed:
  yum-plugin-priorities.noarch 0:1.1.31-34.el7                                                          

Complete!

*******************************************************************************
Setting up delorean.repos via  RDO Newton trunk "current-passed-ci"
*******************************************************************************

# yum -y install yum-plugin-priorities
# curl -o /etc/yum.repos.d/delorean-newton.repo https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo
# curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
[root@server1 ~]# ls -l
total 4
-rw-------. 1 root root 1865 Nov 16 12:17 anaconda-ks.cfg
[root@server1 ~]# ls -l /etc/yum.repos.d
total 36
-rw-r--r--. 1 root root 1664 Dec  9  2015 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 Dec  9  2015 CentOS-CR.repo
-rw-r--r--. 1 root root  649 Dec  9  2015 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  290 Dec  9  2015 CentOS-fasttrack.repo
-rw-r--r--. 1 root root  630 Dec  9  2015 CentOS-Media.repo
-rw-r--r--. 1 root root 1331 Dec  9  2015 CentOS-Sources.repo
-rw-r--r--. 1 root root 1952 Dec  9  2015 CentOS-Vault.repo
-rw-r--r--. 1 root root  449 Nov 16 12:22 delorean-deps-newton.repo
-rw-r--r--. 1 root root  245 Nov 16 12:22 delorean-newton.repo



***************
Next step
***************
[root@server1 ~]# yum update

Loaded plugins: fastestmirror, langpacks, priorities
1245 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package gperftools-libs.x86_64 0:2.4-7.el7 will be updated
---> Package gperftools-libs.x86_64 0:2.4.91-1.el7 will be an update
---> Package ipxe-roms-qemu.noarch 0:20130517-8.gitc4bce43.el7_2.1 will be updated
---> Package ipxe-roms-qemu.noarch 0:20160127-1.git6366fa7a.el7 will be an update
---> Package libcacard.x86_64 10:1.5.3-105.el7_2.7 will be obsoleted
---> Package libcacard-ev.x86_64 10:2.3.0-31.el7.16.1 will be obsoleting
---> Package mariadb-libs.x86_64 1:5.5.50-1.el7_2 will be updated
---> Package mariadb-libs.x86_64 3:10.1.18-3.el7 will be an update
---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be obsoleted
---> Package python-six.noarch 0:1.9.0-2.el7 will be updated
---> Package python-six.noarch 0:1.10.0-3.el7 will be an update
---> Package python2-setuptools.noarch 0:22.0.5-1.el7 will be obsoleting
---> Package qemu-img.x86_64 10:1.5.3-105.el7_2.7 will be obsoleted
---> Package qemu-img-ev.x86_64 10:2.3.0-31.el7.16.1 will be obsoleting
---> Package qemu-kvm.x86_64 10:1.5.3-105.el7_2.7 will be obsoleted
---> Package qemu-kvm-common.x86_64 10:1.5.3-105.el7_2.7 will be obsoleted
---> Package qemu-kvm-common-ev.x86_64 10:2.3.0-31.el7.16.1 will be obsoleting
---> Package qemu-kvm-ev.x86_64 10:2.3.0-31.el7.16.1 will be obsoleting
--> Processing Dependency: /etc/my.cnf for package: 3:mariadb-common-10.1.18-3.el7.x86_64
--> Processing Dependency: /etc/my.cnf for package: 3:mariadb-server-10.1.18-3.el7.x86_64
--> Processing Dependency: /etc/my.cnf.d for package: 3:mariadb-server-10.1.18-3.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-config.x86_64 3:10.1.18-3.el7 will be installed
---> Package mariadb-libs.x86_64 1:5.5.50-1.el7_2 will be updated
---> Package mariadb-libs.x86_64 1:5.5.50-1.el7_2 will be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================
 Package             Arch    Version                        Repository                Size
=============================================================
Installing:
 libcacard-ev        x86_64  10:2.3.0-31.el7.16.1           rdo-qemu-ev              234 k
     replacing  libcacard.x86_64 10:1.5.3-105.el7_2.7
 python2-setuptools  noarch  22.0.5-1.el7                   delorean-newton-testing  485 k
     replacing  python-setuptools.noarch 0.9.8-4.el7
 qemu-img-ev         x86_64  10:2.3.0-31.el7.16.1           rdo-qemu-ev              786 k
     replacing  qemu-img.x86_64 10:1.5.3-105.el7_2.7
 qemu-kvm-common-ev  x86_64  10:2.3.0-31.el7.16.1           rdo-qemu-ev              446 k
     replacing  qemu-kvm-common.x86_64 10:1.5.3-105.el7_2.7
 qemu-kvm-ev         x86_64  10:2.3.0-31.el7.16.1           rdo-qemu-ev              2.1 M
     replacing  qemu-kvm.x86_64 10:1.5.3-105.el7_2.7
Updating:
 gperftools-libs     x86_64  2.4.91-1.el7                   delorean-newton-testing  272 k
 ipxe-roms-qemu      noarch  20160127-1.git6366fa7a.el7     delorean-newton-testing  680 k
 mariadb-libs        x86_64  3:10.1.18-3.el7                delorean-newton-testing  641 k
 python-six          noarch  1.10.0-3.el7                   delorean-newton-testing   29 k
Installing for dependencies:
 mariadb-config      x86_64  3:10.1.18-3.el7                delorean-newton-testing   25 k

Transaction Summary
==============================================================
Install  5 Packages (+1 Dependent package)
Upgrade  4 Packages

Total download size: 5.6 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for delorean-newton-testing
(1/10): gperftools-libs-2.4.91-1.el7.x86_64.rpm                     | 272 kB  00:00:00    
(2/10): mariadb-config-10.1.18-3.el7.x86_64.rpm                     |  25 kB  00:00:00    
(3/10): ipxe-roms-qemu-20160127-1.git6366fa7a.el7.noarch.rpm        | 680 kB  00:00:01    
(4/10): python-six-1.10.0-3.el7.noarch.rpm                          |  29 kB  00:00:00    
(5/10): mariadb-libs-10.1.18-3.el7.x86_64.rpm                       | 641 kB  00:00:00    
(6/10): python2-setuptools-22.0.5-1.el7.noarch.rpm                  | 485 kB  00:00:00    
(7/10): libcacard-ev-2.3.0-31.el7.16.1.x86_64.rpm                   | 234 kB  00:00:01    
(8/10): qemu-img-ev-2.3.0-31.el7.16.1.x86_64.rpm                    | 786 kB  00:00:02    
(9/10): qemu-kvm-common-ev-2.3.0-31.el7.16.1.x86_64.rpm             | 446 kB  00:00:02    
(10/10): qemu-kvm-ev-2.3.0-31.el7.16.1.x86_64.rpm                   | 2.1 MB  00:00:03    
-------------------------------------------------------------------------------------------
Total                                                      884 kB/s | 5.6 MB  00:00:06    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : gperftools-libs-2.4.91-1.el7.x86_64                                    1/19
  Installing : 10:qemu-kvm-common-ev-2.3.0-31.el7.16.1.x86_64                         2/19
  Installing : 10:qemu-img-ev-2.3.0-31.el7.16.1.x86_64                                3/19
  Updating   : ipxe-roms-qemu-20160127-1.git6366fa7a.el7.noarch                       4/19
  Installing : 10:qemu-kvm-ev-2.3.0-31.el7.16.1.x86_64                                5/19
  Installing : 10:libcacard-ev-2.3.0-31.el7.16.1.x86_64                               6/19
  Updating   : python-six-1.10.0-3.el7.noarch                                         7/19
  Installing : 3:mariadb-config-10.1.18-3.el7.x86_64                                  8/19
  Installing : python2-setuptools-22.0.5-1.el7.noarch                                 9/19
  Updating   : 3:mariadb-libs-10.1.18-3.el7.x86_64                                   10/19
  Cleanup    : python-six-1.9.0-2.el7.noarch                                         11/19
  Erasing    : python-setuptools-0.9.8-4.el7.noarch                                  12/19
  Erasing    : 10:qemu-kvm-1.5.3-105.el7_2.7.x86_64                                  13/19
  Erasing    : 10:qemu-img-1.5.3-105.el7_2.7.x86_64                                  14/19
  Erasing    : 10:qemu-kvm-common-1.5.3-105.el7_2.7.x86_64                           15/19
  Erasing    : 10:libcacard-1.5.3-105.el7_2.7.x86_64                                 16/19
  Cleanup    : ipxe-roms-qemu-20130517-8.gitc4bce43.el7_2.1.noarch                   17/19
  Cleanup    : gperftools-libs-2.4-7.el7.x86_64                                      18/19
  Cleanup    : 1:mariadb-libs-5.5.50-1.el7_2.x86_64                                  19/19
  Verifying  : 10:qemu-kvm-common-ev-2.3.0-31.el7.16.1.x86_64                         1/19
  Verifying  : 3:mariadb-libs-10.1.18-3.el7.x86_64                                    2/19
  Verifying  : python2-setuptools-22.0.5-1.el7.noarch                                 3/19
  Verifying  : 3:mariadb-config-10.1.18-3.el7.x86_64                                  4/19
  Verifying  : gperftools-libs-2.4.91-1.el7.x86_64                                    5/19
  Verifying  : 10:qemu-kvm-ev-2.3.0-31.el7.16.1.x86_64                                6/19
  Verifying  : ipxe-roms-qemu-20160127-1.git6366fa7a.el7.noarch                       7/19
  Verifying  : 10:qemu-img-ev-2.3.0-31.el7.16.1.x86_64                                8/19
  Verifying  : python-six-1.10.0-3.el7.noarch                                         9/19
  Verifying  : 10:libcacard-ev-2.3.0-31.el7.16.1.x86_64                              10/19
  Verifying  : python-setuptools-0.9.8-4.el7.noarch                                  11/19
  Verifying  : ipxe-roms-qemu-20130517-8.gitc4bce43.el7_2.1.noarch                   12/19
  Verifying  : 10:libcacard-1.5.3-105.el7_2.7.x86_64                                 13/19
  Verifying  : 1:mariadb-libs-5.5.50-1.el7_2.x86_64                                  14/19
  Verifying  : 10:qemu-kvm-common-1.5.3-105.el7_2.7.x86_64                           15/19
  Verifying  : 10:qemu-img-1.5.3-105.el7_2.7.x86_64                                  16/19
  Verifying  : python-six-1.9.0-2.el7.noarch                                         17/19
  Verifying  : gperftools-libs-2.4-7.el7.x86_64                                      18/19
  Verifying  : 10:qemu-kvm-1.5.3-105.el7_2.7.x86_64                                  19/19

Installed:
  libcacard-ev.x86_64 10:2.3.0-31.el7.16.1  python2-setuptools.noarch 0:22.0.5-1.el7      
  qemu-img-ev.x86_64 10:2.3.0-31.el7.16.1   qemu-kvm-common-ev.x86_64 10:2.3.0-31.el7.16.1
  qemu-kvm-ev.x86_64 10:2.3.0-31.el7.16.1 

Dependency Installed:
  mariadb-config.x86_64 3:10.1.18-3.el7                                                   

Updated:
  gperftools-libs.x86_64 0:2.4.91-1.el7 ipxe-roms-qemu.noarch 0:20160127-1.git6366fa7a.el7
  mariadb-libs.x86_64 3:10.1.18-3.el7   python-six.noarch 0:1.10.0-3.el7                 

Replaced:
  libcacard.x86_64 10:1.5.3-105.el7_2.7          python-setuptools.noarch 0:0.9.8-4.el7  
  qemu-img.x86_64 10:1.5.3-105.el7_2.7           qemu-kvm.x86_64 10:1.5.3-105.el7_2.7    
  qemu-kvm-common.x86_64 10:1.5.3-105.el7_2.7  

Complete!

*************************************************
Content of delorean.repos files been set up
*************************************************

[root@server1 ~]# cat  /etc/yum.repos.d/delorean-newton.repo
[delorean]
name=delorean-openstack-tripleo-heat-templates-compat-e5b2366cc0fdf480342bca7e72e8d371f717b4d1
baseurl=https://trunk.rdoproject.org/centos7-newton/e5/b2/e5b2366cc0fdf480342bca7e72e8d371f717b4d1_7c67d940
enabled=1
gpgcheck=0
priority=1


[root@server1 ~(keystone_admin)]# cat  /etc/yum.repos.d/delorean-deps-newton.repo
[delorean-newton-testing]
name=dlrn-newton-testing
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-newton/
enabled=1
gpgcheck=0

[delorean-newton-pending]
name=dlrn-newton-pending
baseurl=http://cbs.centos.org/repos/cloud7-openstack-common-pending/$basearch/os/
gpgcheck=0
enabled=0

[rdo-qemu-ev]
name=RDO CentOS-$releasever - QEMU EV
baseurl=http://mirror.centos.org/centos/7/virt/$basearch/kvm-common/
gpgcheck=0
enabled=1

[root@server1 ~]# cd
[root@server1 ~]# yum install openstack-packstack
Loaded plugins: fastestmirror, langpacks, priorities
delorean                                                                          | 3.0 kB  00:00:00    
delorean-newton-testing                                                           | 2.9 kB  00:00:00    
rdo-qemu-ev                                                                       | 2.9 kB  00:00:00    
(1/3): rdo-qemu-ev/x86_64/primary_db                                              |  39 kB  00:00:00    
(2/3): delorean-newton-testing/x86_64/primary_db                                  | 1.0 MB  00:00:00    
(3/3): delorean/primary_db                                                        | 265 kB  00:00:02    
Loading mirror speeds from cached hostfile
 * base: mirror.corbina.net
 * extras: mirror.corbina.net
 * updates: mirror.corbina.net
1245 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package openstack-packstack.noarch
--> Running transaction check
---> Package rubygem-io-console.x86_64 0:0.4.2-25.el7_1 will be installed
---> Package rubygem-psych.x86_64 0:2.0.0-25.el7_1 will be installed
---> Package rubygem-rdoc.noarch 0:4.0.0-25.el7_1 will be installed
--> Processing Dependency: ruby(irb) = 2.0.0.598 for package: rubygem-rdoc-4.0.0-25.el7_1.noarch
. . . . .

--> Running transaction check
---> Package ruby-irb.noarch 0:2.0.0.598-25.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================
 Package                 Arch   Version                                    Repository               Size
==============================================================
Installing:
 openstack-packstack     noarch 9.0.0-0.20161021225918.af7b24a.el7.centos  delorean                189 k
Installing for dependencies:
 PyYAML                  x86_64 3.10-11.el7                                base                    153 k
 facter                  x86_64 2.4.4-3.el7                                delorean-newton-testing 101 k
 hiera                   noarch 1:1.3.4-5.el7                              delorean-newton-testing  24 k
 libselinux-ruby         x86_64 2.2.2-6.el7                                base                    127 k
 libyaml                 x86_64 0.1.4-11.el7_0                             base                     55 k
 openstack-packstack-puppet
                         noarch 9.0.0-0.20161021225918.af7b24a.el7.centos  delorean                 61 k
 puppet                  noarch 3.8.7-2.el7                                delorean-newton-testing 1.5 M
 puppet-aodh             noarch 9.4.1-0.20161108122506.71d5f60.el7.centos  delorean                 33 k
 puppet-apache           noarch 1.10.0-0.20161109202616.05a0aac.el7.centos delorean                151 k
 puppet-ceilometer       noarch 9.4.1-0.20161108122556.007ff0f.el7.centos  delorean                 42 k
 puppet-certmonger       noarch 1.1.1-0.20161102123716.1157a7e.el7.centos  delorean                 19 k
 puppet-cinder           noarch 9.4.1-0.20161028123502.c672c04.el7.centos  delorean                 79 k
 puppet-concat           noarch 2.2.0-0.20161110192715.fdf4a84.el7.centos  delorean                 24 k
 puppet-corosync         noarch 5.0.0-0.20161031224527.915bb72.el7.centos  delorean                 50 k
 puppet-firewall         noarch 1.8.1-0.20161110192806.46a6119.el7.centos  delorean                 58 k
 puppet-glance           noarch 9.4.0-0.20161004164713.c80aa7f.el7.centos  delorean                 58 k
 puppet-gnocchi          noarch 9.4.1-0.20161108122648.3c089d9.el7.centos  delorean                 38 k
 puppet-heat             noarch 9.4.1-0.20161005213032.f107762.el7.centos  delorean                 38 k
 puppet-horizon          noarch 9.4.1-0.20161108122842.20fb08a.el7.centos  delorean                 35 k
 puppet-inifile          noarch 1.6.0-0.20161110225716.c1f1d1e.el7.centos  delorean                 30 k
 puppet-ironic           noarch 9.4.1-0.20161108122749.13fda5e.el7.centos  delorean                 59 k
 puppet-keystone         noarch 9.4.0-0.20161004165914.6fbd66f.el7.centos  delorean                 94 k
 puppet-manila           noarch 9.4.0-0.20161004170207.38c4d0a.el7.centos  delorean                 44 k
 puppet-memcached        noarch 2.8.1-0.20161110164325.7671b5f.el7.centos  delorean                 11 k
 puppet-mongodb          noarch 0.16.0-0.20161111005113.40e8515.el7.centos delorean                 54 k
 puppet-mysql            noarch 3.10.0-0.20161111033621.c840a35.el7.centos delorean                 61 k
 puppet-neutron          noarch 9.4.0-0.20161108122929.f19b399.el7.centos  delorean                125 k
 puppet-nova             noarch 9.4.0-0.20161004170933.320f93c.el7.centos  delorean                 94 k
 puppet-nssdb            noarch 1.0.1-0.20161003152957.2e163a2.el7.centos  delorean                6.0 k
 puppet-openstack_extras noarch 9.4.0-0.20161004171218.d82fb1b.el7.centos  delorean                 35 k
 puppet-openstacklib     noarch 9.4.0-0.20161108133616.f948b72.el7.centos  delorean                 37 k
 puppet-oslo             noarch 9.4.0-0.20161004171704.765f11f.el7.centos  delorean                 28 k
 puppet-rabbitmq         noarch 5.6.0-0.20161111005244.12aa7cc.el7.centos  delorean                250 k
 puppet-redis            noarch 1.2.3-0.20161016000604.9711564.el7.centos  delorean                 26 k
 puppet-remote           noarch 0.0.1-0.20161003153041.35cc557.el7.centos  delorean                9.3 k
 puppet-rsync            noarch 0.4.0-0.20161003155052.8cc3c6f.el7.centos  delorean                 12 k
 puppet-sahara           noarch 9.4.0-0.20161004172144.1567449.el7.centos  delorean                 33 k
 puppet-ssh              noarch 2.9.1-0.20161003174225.8564a4b.el7.centos  delorean                 18 k
 puppet-staging          noarch 1.0.4-0.20161003154319.b466d93.el7.centos  delorean                 77 k
 puppet-stdlib           noarch 4.13.1-0.20161110172939.dcef77a.el7.centos delorean                 99 k
 puppet-swift            noarch 9.4.3-0.20161108123017.04d4bf6.el7.centos  delorean                 76 k
 puppet-sysctl           noarch 0.0.11-0.20161003153126.65ffe83.el7.centos delorean                8.3 k
 puppet-tempest          noarch 9.4.0-0.20161004172403.61c4d9a.el7.centos  delorean                 24 k
 puppet-trove            noarch 9.4.0-0.20161004173039.e93d706.el7.centos  delorean                 46 k
 puppet-vcsrepo          noarch 1.4.0-0.20161109235912.6c88fb3.el7.centos  delorean                 39 k
 puppet-vswitch          noarch 5.4.0-0.20161004173301.7349ce7.el7.centos  delorean                 28 k
 puppet-xinetd           noarch 2.0.0-0.20161111005200.a09c77e.el7.centos  delorean                 18 k
 pyOpenSSL               noarch 0.15.1-1.el7                               delorean-newton-testing 181 k
 python-docutils         noarch 0.11-0.2.20130715svn7687.el7               base                    1.5 M
 python-enum34           noarch 1.0.4-1.el7                                base                     52 k
 python-idna             noarch 2.0-1.el7                                  delorean-newton-testing  91 k
 python-ipaddress        noarch 1.0.16-3.el7                               delorean-newton-testing  33 k
 python-netaddr          noarch 0.7.18-1.el7                               delorean-newton-testing 1.3 M
 python-pillow           x86_64 2.0.0-19.gitd1c6db8.el7                    base                    438 k
 python-ply              noarch 3.4-10.el7                                 base                    123 k
 python-pycparser        noarch 2.14-1.el7                                 base                    104 k
 python2-cffi            x86_64 1.5.2-1.el7                                delorean-newton-testing 214 k
 python2-cryptography    x86_64 1.2.1-3.el7                                delorean-newton-testing 461 k
 python2-pbr             noarch 1.10.0-1.el7                               delorean-newton-testing 175 k
 python2-pyasn1          noarch 0.1.9-6.el7.1                              delorean-newton-testing 100 k
 ruby                    x86_64 2.0.0.598-25.el7_1                         base                     67 k
 ruby-augeas             x86_64 0.5.0-1.el7                                delorean-newton-testing  23 k
 ruby-irb                noarch 2.0.0.598-25.el7_1                         base                     88 k
 ruby-libs               x86_64 2.0.0.598-25.el7_1                         base                    2.8 M
 ruby-shadow             x86_64 1.4.1-23.el7                               delorean-newton-testing  13 k
 rubygem-bigdecimal      x86_64 1.2.0-25.el7_1                             base                     79 k
 rubygem-io-console      x86_64 0.4.2-25.el7_1                             base                     50 k
 rubygem-json            x86_64 1.7.7-25.el7_1                             base                     75 k
 rubygem-psych           x86_64 2.0.0-25.el7_1                             base                     77 k
 rubygem-rdoc            noarch 4.0.0-25.el7_1                             base                    318 k
 rubygems                noarch 2.0.14-25.el7_1                            base                    212 k

Transaction Summary
==========================================================
Install  1 Package (+71 Dependent packages)

Total download size: 13 M
Installed size: 48 M
Is this ok [y/d/N]: y
Downloading packages:
(1/72): libselinux-ruby-2.2.2-6.el7.x86_64.rpm                                    | 127 kB  00:00:00    
(2/72): libyaml-0.1.4-11.el7_0.x86_64.rpm                                         |  55 kB  00:00:00    
(3/72): PyYAML-3.10-11.el7.x86_64.rpm                                             | 153 kB
. . . . .

(68/72): rubygem-json-1.7.7-25.el7_1.x86_64.rpm                                   |  75 kB  00:00:00    
(69/72): rubygem-psych-2.0.0-25.el7_1.x86_64.rpm                                  |  77 kB  00:00:00    
(70/72): rubygem-rdoc-4.0.0-25.el7_1.noarch.rpm                                   | 318 kB  00:00:00    
(71/72): rubygems-2.0.14-25.el7_1.noarch.rpm                                      | 212 kB  00:00:00    
(72/72): ruby-libs-2.0.0.598-25.el7_1.x86_64.rpm                                  | 2.8 MB  00:00:02    
---------------------------------------------------------------------------------------------------------
Total                                                                    607 kB/s |  13 MB  00:00:21    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ruby-libs-2.0.0.598-25.el7_1.x86_64                                                  1/72
  Installing : libyaml-0.1.4-11.el7_0.x86_64                                                        2/72
  Installing : rubygem-io-console-0.4.2-25.el7_1.x86_64                                             3/72
  Installing : rubygem-json-1.7.7-25.el7_1.x86_64                                                   4/72
  Installing : rubygem-psych-2.0.0-25.el7_1.x86_64                                                  5/72
  Installing : ruby-irb-2.0.0.598-25.el7_1.noarch                                                   6/72
  Installing : ruby-2.0.0.598-25.el7_1.x86_64                                                       7/72
  Installing : rubygem-bigdecimal-1.2.0-25.el7_1.x86_64                                             8/72
  Installing : rubygems-2.0.14-25.el7_1.noarch                                                      9/72
  Installing : rubygem-rdoc-4.0.0-25.el7_1.noarch                                                  10/72
  Installing : facter-2.4.4-3.el7.x86_64                                                           11/72
  Installing : PyYAML-3.10-11.el7.x86_64                                                           12/72
  Installing : ruby-shadow-1.4.1-23.el7.x86_64                                                     13/72
  Installing : 1:hiera-1.3.4-5.el7.noarch                                                          14/72
  Installing : ruby-augeas-0.5.0-1.el7.x86_64                                                      15/72
  Installing : python2-pbr-1.10.0-1.el7.noarch                                                     16/72
  Installing : python-idna-2.0-1.el7.noarch                                                        17/72
  Installing : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64                                        18/72
  Installing : python-docutils-0.11-0.2.20130715svn7687.el7.noarch                                 19/72
  Installing : libselinux-ruby-2.2.2-6.el7.x86_64                                                  20/72
  Installing : puppet-3.8.7-2.el7.noarch                                                           21/72
  Installing : puppet-stdlib-4.13.1-0.20161110172939.dcef77a.el7.centos.noarch                     22/72
  Installing : puppet-inifile-1.6.0-0.20161110225716.c1f1d1e.el7.centos.noarch                     23/72
  Installing : puppet-concat-2.2.0-0.20161110192715.fdf4a84.el7.centos.noarch                      24/72
  Installing : puppet-apache-1.10.0-0.20161109202616.05a0aac.el7.centos.noarch                     25/72
  Installing : puppet-sysctl-0.0.11-0.20161003153126.65ffe83.el7.centos.noarch                     26/72
  Installing : puppet-xinetd-2.0.0-0.20161111005200.a09c77e.el7.centos.noarch                      27/72
  Installing : puppet-vcsrepo-1.4.0-0.20161109235912.6c88fb3.el7.centos.noarch                     28/72
  Installing : puppet-rsync-0.4.0-0.20161003155052.8cc3c6f.el7.centos.noarch                       29/72
  Installing : puppet-staging-1.0.4-0.20161003154319.b466d93.el7.centos.noarch                     30/72
  Installing : puppet-rabbitmq-5.6.0-0.20161111005244.12aa7cc.el7.centos.noarch                    31/72
  Installing : puppet-mysql-3.10.0-0.20161111033621.c840a35.el7.centos.noarch                      32/72
  Installing : puppet-openstacklib-9.4.0-0.20161108133616.f948b72.el7.centos.noarch                33/72
  Installing : puppet-oslo-9.4.0-0.20161004171704.765f11f.el7.centos.noarch                        34/72
  Installing : puppet-keystone-9.4.0-0.20161004165914.6fbd66f.el7.centos.noarch                    35/72
  Installing : puppet-glance-9.4.0-0.20161004164713.c80aa7f.el7.centos.noarch                      36/72
  Installing : puppet-cinder-9.4.1-0.20161028123502.c672c04.el7.centos.noarch                      37/72
  Installing : puppet-nova-9.4.0-0.20161004170933.320f93c.el7.centos.noarch                        38/72
  Installing : puppet-vswitch-5.4.0-0.20161004173301.7349ce7.el7.centos.noarch                     39/72
  Installing : puppet-firewall-1.8.1-0.20161110192806.46a6119.el7.centos.noarch                    40/72
  Installing : puppet-memcached-2.8.1-0.20161110164325.7671b5f.el7.centos.noarch                   41/72
  Installing : puppet-swift-9.4.3-0.20161108123017.04d4bf6.el7.centos.noarch                       42/72
  Installing : puppet-horizon-9.4.1-0.20161108122842.20fb08a.el7.centos.noarch                     43/72
  Installing : puppet-neutron-9.4.0-0.20161108122929.f19b399.el7.centos.noarch                     44/72
  Installing : puppet-manila-9.4.0-0.20161004170207.38c4d0a.el7.centos.noarch                      45/72
  Installing : puppet-ironic-9.4.1-0.20161108122749.13fda5e.el7.centos.noarch                      46/72
  Installing : puppet-ceilometer-9.4.1-0.20161108122556.007ff0f.el7.centos.noarch                  47/72
  Installing : puppet-trove-9.4.0-0.20161004173039.e93d706.el7.centos.noarch                       48/72
  Installing : puppet-sahara-9.4.0-0.20161004172144.1567449.el7.centos.noarch                      49/72
  Installing : puppet-heat-9.4.1-0.20161005213032.f107762.el7.centos.noarch                        50/72
  Installing : puppet-gnocchi-9.4.1-0.20161108122648.3c089d9.el7.centos.noarch                     51/72
  Installing : puppet-aodh-9.4.1-0.20161108122506.71d5f60.el7.centos.noarch                        52/72
  Installing : puppet-tempest-9.4.0-0.20161004172403.61c4d9a.el7.centos.noarch                     53/72
  Installing : puppet-ssh-2.9.1-0.20161003174225.8564a4b.el7.centos.noarch                         54/72
  Installing : puppet-corosync-5.0.0-0.20161031224527.915bb72.el7.centos.noarch                    55/72
  Installing : puppet-openstack_extras-9.4.0-0.20161004171218.d82fb1b.el7.centos.noarch            56/72
  Installing : puppet-redis-1.2.3-0.20161016000604.9711564.el7.centos.noarch                       57/72
  Installing : puppet-certmonger-1.1.1-0.20161102123716.1157a7e.el7.centos.noarch                  58/72
  Installing : puppet-mongodb-0.16.0-0.20161111005113.40e8515.el7.centos.noarch                    59/72
  Installing : puppet-nssdb-1.0.1-0.20161003152957.2e163a2.el7.centos.noarch                       60/72
  Installing : puppet-remote-0.0.1-0.20161003153041.35cc557.el7.centos.noarch                      61/72
  Installing : openstack-packstack-puppet-9.0.0-0.20161021225918.af7b24a.el7.centos.noarch         62/72
  Installing : python-ipaddress-1.0.16-3.el7.noarch                                                63/72
  Installing : python2-pyasn1-0.1.9-6.el7.1.noarch                                                 64/72
  Installing : python-ply-3.4-10.el7.noarch                                                        65/72
  Installing : python-pycparser-2.14-1.el7.noarch                                                  66/72
  Installing : python2-cffi-1.5.2-1.el7.x86_64                                                     67/72
  Installing : python-netaddr-0.7.18-1.el7.noarch                                                  68/72
  Installing : python-enum34-1.0.4-1.el7.noarch                                                    69/72
  Installing : python2-cryptography-1.2.1-3.el7.x86_64                                             70/72
  Installing : pyOpenSSL-0.15.1-1.el7.noarch                                                       71/72
  Installing : openstack-packstack-9.0.0-0.20161021225918.af7b24a.el7.centos.noarch                72/72
  Verifying  : puppet-swift-9.4.3-0.20161108123017.04d4bf6.el7.centos.noarch                        1/72
  Verifying  : python-docutils-0.11-0.2.20130715svn7687.el7.noarch                                  2/72
  Verifying  : puppet-staging-1.0.4-0.20161003154319.b466d93.el7.centos.noarch                      3/72
  Verifying  : rubygem-rdoc-4.0.0-25.el7_1.noarch                                                   4/72
  Verifying  : puppet-ironic-9.4.1-0.20161108122749.13fda5e.el7.centos.noarch                       5/72
  Verifying  : puppet-horizon-9.4.1-0.20161108122842.20fb08a.el7.centos.noarch                      6/72
  Verifying  : puppet-ceilometer-9.4.1-0.20161108122556.007ff0f.el7.centos.noarch                   7/72
  Verifying  : pyOpenSSL-0.15.1-1.el7.noarch                                                        8/72
  Verifying  : puppet-apache-1.10.0-0.20161109202616.05a0aac.el7.centos.noarch                      9/72
  Verifying  : python-enum34-1.0.4-1.el7.noarch                                                    10/72
  Verifying  : puppet-aodh-9.4.1-0.20161108122506.71d5f60.el7.centos.noarch                        11/72
  Verifying  : ruby-irb-2.0.0.598-25.el7_1.noarch                                                  12/72
  Verifying  : openstack-packstack-puppet-9.0.0-0.20161021225918.af7b24a.el7.centos.noarch         13/72
  Verifying  : puppet-vswitch-5.4.0-0.20161004173301.7349ce7.el7.centos.noarch                     14/72
  Verifying  : python2-cryptography-1.2.1-3.el7.x86_64                                             15/72
  Verifying  : puppet-corosync-5.0.0-0.20161031224527.915bb72.el7.centos.noarch                    16/72
  Verifying  : puppet-memcached-2.8.1-0.20161110164325.7671b5f.el7.centos.noarch                   17/72
  Verifying  : ruby-shadow-1.4.1-23.el7.x86_64                                                     18/72
  Verifying  : puppet-nova-9.4.0-0.20161004170933.320f93c.el7.centos.noarch                        19/72
  Verifying  : puppet-mysql-3.10.0-0.20161111033621.c840a35.el7.centos.noarch                      20/72
  Verifying  : puppet-rabbitmq-5.6.0-0.20161111005244.12aa7cc.el7.centos.noarch                    21/72
  Verifying  : puppet-redis-1.2.3-0.20161016000604.9711564.el7.centos.noarch                       22/72
  Verifying  : facter-2.4.4-3.el7.x86_64                                                           23/72
  Verifying  : rubygem-io-console-0.4.2-25.el7_1.x86_64                                            24/72
  Verifying  : rubygems-2.0.14-25.el7_1.noarch                                                     25/72
  Verifying  : python-netaddr-0.7.18-1.el7.noarch                                                  26/72
  Verifying  : puppet-rsync-0.4.0-0.20161003155052.8cc3c6f.el7.centos.noarch                       27/72
  Verifying  : puppet-vcsrepo-1.4.0-0.20161109235912.6c88fb3.el7.centos.noarch                     28/72
  Verifying  : puppet-3.8.7-2.el7.noarch                                                           29/72
  Verifying  : python-ply-3.4-10.el7.noarch                                                        30/72
  Verifying  : puppet-concat-2.2.0-0.20161110192715.fdf4a84.el7.centos.noarch                      31/72
  Verifying  : python2-pyasn1-0.1.9-6.el7.1.noarch                                                 32/72
  Verifying  : puppet-remote-0.0.1-0.20161003153041.35cc557.el7.centos.noarch                      33/72
  Verifying  : puppet-xinetd-2.0.0-0.20161111005200.a09c77e.el7.centos.noarch                      34/72
  Verifying  : python-ipaddress-1.0.16-3.el7.noarch                                                35/72
  Verifying  : puppet-certmonger-1.1.1-0.20161102123716.1157a7e.el7.centos.noarch                  36/72
  Verifying  : libselinux-ruby-2.2.2-6.el7.x86_64                                                  37/72
  Verifying  : puppet-stdlib-4.13.1-0.20161110172939.dcef77a.el7.centos.noarch                     38/72
  Verifying  : puppet-cinder-9.4.1-0.20161028123502.c672c04.el7.centos.noarch                      39/72
  Verifying  : rubygem-json-1.7.7-25.el7_1.x86_64                                                  40/72
  Verifying  : ruby-libs-2.0.0.598-25.el7_1.x86_64                                                 41/72
  Verifying  : libyaml-0.1.4-11.el7_0.x86_64                                                       42/72
  Verifying  : puppet-firewall-1.8.1-0.20161110192806.46a6119.el7.centos.noarch                    43/72
  Verifying  : puppet-glance-9.4.0-0.20161004164713.c80aa7f.el7.centos.noarch                      44/72
  Verifying  : puppet-inifile-1.6.0-0.20161110225716.c1f1d1e.el7.centos.noarch                     45/72
  Verifying  : puppet-trove-9.4.0-0.20161004173039.e93d706.el7.centos.noarch                       46/72
  Verifying  : puppet-mongodb-0.16.0-0.20161111005113.40e8515.el7.centos.noarch                    47/72
  Verifying  : openstack-packstack-9.0.0-0.20161021225918.af7b24a.el7.centos.noarch                48/72
  Verifying  : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64                                        49/72
  Verifying  : puppet-openstack_extras-9.4.0-0.20161004171218.d82fb1b.el7.centos.noarch            50/72
  Verifying  : ruby-2.0.0.598-25.el7_1.x86_64                                                      51/72
  Verifying  : rubygem-psych-2.0.0-25.el7_1.x86_64                                                 52/72
  Verifying  : python-idna-2.0-1.el7.noarch                                                        53/72
  Verifying  : puppet-neutron-9.4.0-0.20161108122929.f19b399.el7.centos.noarch                     54/72
  Verifying  : puppet-tempest-9.4.0-0.20161004172403.61c4d9a.el7.centos.noarch                     55/72
  Verifying  : python-pycparser-2.14-1.el7.noarch                                                  56/72
  Verifying  : python2-pbr-1.10.0-1.el7.noarch                                                     57/72
  Verifying  : puppet-manila-9.4.0-0.20161004170207.38c4d0a.el7.centos.noarch                      58/72
  Verifying  : puppet-sysctl-0.0.11-0.20161003153126.65ffe83.el7.centos.noarch                     59/72
  Verifying  : python2-cffi-1.5.2-1.el7.x86_64                                                     60/72
  Verifying  : puppet-oslo-9.4.0-0.20161004171704.765f11f.el7.centos.noarch                        61/72
  Verifying  : puppet-nssdb-1.0.1-0.20161003152957.2e163a2.el7.centos.noarch                       62/72
  Verifying  : rubygem-bigdecimal-1.2.0-25.el7_1.x86_64                                            63/72
  Verifying  : puppet-openstacklib-9.4.0-0.20161108133616.f948b72.el7.centos.noarch                64/72
  Verifying  : puppet-sahara-9.4.0-0.20161004172144.1567449.el7.centos.noarch                      65/72
  Verifying  : 1:hiera-1.3.4-5.el7.noarch                                                          66/72
  Verifying  : puppet-keystone-9.4.0-0.20161004165914.6fbd66f.el7.centos.noarch                    67/72
  Verifying  : PyYAML-3.10-11.el7.x86_64                                                           68/72
  Verifying  : puppet-heat-9.4.1-0.20161005213032.f107762.el7.centos.noarch                        69/72
  Verifying  : puppet-ssh-2.9.1-0.20161003174225.8564a4b.el7.centos.noarch                         70/72
  Verifying  : ruby-augeas-0.5.0-1.el7.x86_64                                                      71/72
  Verifying  : puppet-gnocchi-9.4.1-0.20161108122648.3c089d9.el7.centos.noarch                     72/72

Installed:
  openstack-packstack.noarch 0:9.0.0-0.20161021225918.af7b24a.el7.centos                                

Dependency Installed:
  PyYAML.x86_64 0:3.10-11.el7                                                                           
  facter.x86_64 0:2.4.4-3.el7                                                                           
  hiera.noarch 1:1.3.4-5.el7                                                                            
  libselinux-ruby.x86_64 0:2.2.2-6.el7                                                                  
  libyaml.x86_64 0:0.1.4-11.el7_0                                                                       
  openstack-packstack-puppet.noarch 0:9.0.0-0.20161021225918.af7b24a.el7.centos                         
  puppet.noarch 0:3.8.7-2.el7                                                                           
  puppet-aodh.noarch 0:9.4.1-0.20161108122506.71d5f60.el7.centos                                        
  puppet-apache.noarch 0:1.10.0-0.20161109202616.05a0aac.el7.centos                                     
  puppet-ceilometer.noarch 0:9.4.1-0.20161108122556.007ff0f.el7.centos                                  
  puppet-certmonger.noarch 0:1.1.1-0.20161102123716.1157a7e.el7.centos                                  
  puppet-cinder.noarch 0:9.4.1-0.20161028123502.c672c04.el7.centos                                      
  puppet-concat.noarch 0:2.2.0-0.20161110192715.fdf4a84.el7.centos                                      
  puppet-corosync.noarch 0:5.0.0-0.20161031224527.915bb72.el7.centos                                    
  puppet-firewall.noarch 0:1.8.1-0.20161110192806.46a6119.el7.centos                                    
  puppet-glance.noarch 0:9.4.0-0.20161004164713.c80aa7f.el7.centos                                      
  puppet-gnocchi.noarch 0:9.4.1-0.20161108122648.3c089d9.el7.centos                                     
  puppet-heat.noarch 0:9.4.1-0.20161005213032.f107762.el7.centos                                        
  puppet-horizon.noarch 0:9.4.1-0.20161108122842.20fb08a.el7.centos                                     
  puppet-inifile.noarch 0:1.6.0-0.20161110225716.c1f1d1e.el7.centos                                     
  puppet-ironic.noarch 0:9.4.1-0.20161108122749.13fda5e.el7.centos                                      
  puppet-keystone.noarch 0:9.4.0-0.20161004165914.6fbd66f.el7.centos                                    
  puppet-manila.noarch 0:9.4.0-0.20161004170207.38c4d0a.el7.centos                                      
  puppet-memcached.noarch 0:2.8.1-0.20161110164325.7671b5f.el7.centos                                   
  puppet-mongodb.noarch 0:0.16.0-0.20161111005113.40e8515.el7.centos                                    
  puppet-mysql.noarch 0:3.10.0-0.20161111033621.c840a35.el7.centos                                      
  puppet-neutron.noarch 0:9.4.0-0.20161108122929.f19b399.el7.centos                                     
  puppet-nova.noarch 0:9.4.0-0.20161004170933.320f93c.el7.centos                                        
  puppet-nssdb.noarch 0:1.0.1-0.20161003152957.2e163a2.el7.centos                                       
  puppet-openstack_extras.noarch 0:9.4.0-0.20161004171218.d82fb1b.el7.centos                            
  puppet-openstacklib.noarch 0:9.4.0-0.20161108133616.f948b72.el7.centos                                
  puppet-oslo.noarch 0:9.4.0-0.20161004171704.765f11f.el7.centos                                        
  puppet-rabbitmq.noarch 0:5.6.0-0.20161111005244.12aa7cc.el7.centos                                    
  puppet-redis.noarch 0:1.2.3-0.20161016000604.9711564.el7.centos                                       
  puppet-remote.noarch 0:0.0.1-0.20161003153041.35cc557.el7.centos                                      
  puppet-rsync.noarch 0:0.4.0-0.20161003155052.8cc3c6f.el7.centos                                       
  puppet-sahara.noarch 0:9.4.0-0.20161004172144.1567449.el7.centos                                      
  puppet-ssh.noarch 0:2.9.1-0.20161003174225.8564a4b.el7.centos                                         
  puppet-staging.noarch 0:1.0.4-0.20161003154319.b466d93.el7.centos                                     
  puppet-stdlib.noarch 0:4.13.1-0.20161110172939.dcef77a.el7.centos                                     
  puppet-swift.noarch 0:9.4.3-0.20161108123017.04d4bf6.el7.centos                                       
  puppet-sysctl.noarch 0:0.0.11-0.20161003153126.65ffe83.el7.centos                                     
  puppet-tempest.noarch 0:9.4.0-0.20161004172403.61c4d9a.el7.centos                                     
  puppet-trove.noarch 0:9.4.0-0.20161004173039.e93d706.el7.centos                                       
  puppet-vcsrepo.noarch 0:1.4.0-0.20161109235912.6c88fb3.el7.centos                                     
  puppet-vswitch.noarch 0:5.4.0-0.20161004173301.7349ce7.el7.centos                                     
  puppet-xinetd.noarch 0:2.0.0-0.20161111005200.a09c77e.el7.centos                                      
  pyOpenSSL.noarch 0:0.15.1-1.el7                                                                       
  python-docutils.noarch 0:0.11-0.2.20130715svn7687.el7                                                 
  python-enum34.noarch 0:1.0.4-1.el7                                                                    
  python-idna.noarch 0:2.0-1.el7                                                                        
  python-ipaddress.noarch 0:1.0.16-3.el7                                                                
  python-netaddr.noarch 0:0.7.18-1.el7                                                                  
  python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7                                                        
  python-ply.noarch 0:3.4-10.el7                                                                        
  python-pycparser.noarch 0:2.14-1.el7                                                                  
  python2-cffi.x86_64 0:1.5.2-1.el7                                                                     
  python2-cryptography.x86_64 0:1.2.1-3.el7                                                             
  python2-pbr.noarch 0:1.10.0-1.el7                                                                     
  python2-pyasn1.noarch 0:0.1.9-6.el7.1                                                                 
  ruby.x86_64 0:2.0.0.598-25.el7_1                                                                      
  ruby-augeas.x86_64 0:0.5.0-1.el7                                                                      
  ruby-irb.noarch 0:2.0.0.598-25.el7_1                                                                  
  ruby-libs.x86_64 0:2.0.0.598-25.el7_1                                                                 
  ruby-shadow.x86_64 0:1.4.1-23.el7                                                                     
  rubygem-bigdecimal.x86_64 0:1.2.0-25.el7_1                                                            
  rubygem-io-console.x86_64 0:0.4.2-25.el7_1                                                            
  rubygem-json.x86_64 0:1.7.7-25.el7_1                                                                  
  rubygem-psych.x86_64 0:2.0.0-25.el7_1                                                                 
  rubygem-rdoc.noarch 0:4.0.0-25.el7_1                                                                  
  rubygems.noarch 0:2.0.14-25.el7_1                                                                     

Complete!

[root@server1 ~]# packstack --gen-answer answerNewton.txt
Packstack changed given value  to required value /root/.ssh/id_rsa.pub
[root@server1 ~]# vi  answerNewton.txt
[root@server1 ~]# packstack --answer-file=./answerNewton.txt


[root@server1 ~]# packstack --answer-file=./answerNewton.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20161116-141000-LmWPm5/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Preparing pre-install entries                        [ DONE ]
Setting up CACERT                                    [ DONE ]
Preparing AMQP entries                               [ DONE ]
Preparing MariaDB entries                            [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Preparing Keystone entries                           [ DONE ]
Preparing Glance entries                             [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Preparing Cinder entries                             [ DONE ]
Preparing Nova API entries                           [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Preparing Nova Compute entries                       [ DONE ]
Preparing Nova Scheduler entries                     [ DONE ]
Preparing Nova VNC Proxy entries                     [ DONE ]
Preparing OpenStack Network-related Nova entries     [ DONE ]
Preparing Nova Common entries                        [ DONE ]
Preparing Neutron LBaaS Agent entries                [ DONE ]
Preparing Neutron API entries                        [ DONE ]
Preparing Neutron L3 entries                         [ DONE ]
Preparing Neutron L2 Agent entries                   [ DONE ]
Preparing Neutron DHCP Agent entries                 [ DONE ]
Preparing Neutron Metering Agent entries             [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Preparing OpenStack Client entries                   [ DONE ]
Preparing Horizon entries                            [ DONE ]
Preparing Swift builder entries                      [ DONE ]
Preparing Swift proxy entries                        [ DONE ]
Preparing Swift storage entries                      [ DONE ]
Preparing Gnocchi entries                            [ DONE ]
Preparing MongoDB entries                            [ DONE ]
Preparing Redis entries                              [ DONE ]
Preparing Ceilometer entries                         [ DONE ]
Preparing Aodh entries                               [ DONE ]
Preparing Nagios server entries                      [ DONE ]
Preparing Nagios host entries                        [ DONE ]
Preparing Puppet manifests                           [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying 192.168.122.150_controller.pp
192.168.122.150_controller.pp:                       [ DONE ]           
Applying 192.168.122.150_network.pp
192.168.122.150_network.pp:                          [ DONE ]        
Applying 192.168.122.150_compute.pp
192.168.122.150_compute.pp:                          [ DONE ]        
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******
Additional information:
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * Warning: NetworkManager is active on 192.168.122.150. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host 192.168.122.150. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://192.168.122.150/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://192.168.122.150/nagios username: nagiosadmin, password: 0ffb93369e9a4c1d
 * The installation log file is available at: /var/tmp/packstack/20161116-141000-LmWPm5/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20161116-141000-LmWPm5/manifests

[root@server1 ~(keystone_admin)]# yum install openstack-utils
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.yandex.ru
 * extras: mirror.corbina.net
 * updates: mirror.corbina.net
1245 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package openstack-utils.noarch 0:2016.1-1.el7 will be installed
--> Processing Dependency: crudini for package: openstack-utils-2016.1-1.el7.noarch
--> Running transaction check
---> Package crudini.noarch 0:0.7-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================
 Package                  Arch            Version            Repository       Size
=============================================================
Installing:
 openstack-utils          noarch          2016.1-1.el7            delorean-newton-testing           18 k
Installing for dependencies:
 crudini                  noarch          0.7-1.el7               delorean-newton-testing           22 k

Transaction Summary
==============================================================
Install  1 Package (+1 Dependent package)

Total download size: 40 k
Installed size: 86 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): openstack-utils-2016.1-1.el7.noarch.rpm                                    |  18 kB  00:00:00    
(2/2): crudini-0.7-1.el7.noarch.rpm                                               |  22 kB  00:00:00    
---------------------------------------------------------------------------------------------------------
Total                                                                     63 kB/s |  40 kB  00:00:00    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : crudini-0.7-1.el7.noarch                                                              1/2
  Installing : openstack-utils-2016.1-1.el7.noarch                                                   2/2
  Verifying  : crudini-0.7-1.el7.noarch                                                              1/2
  Verifying  : openstack-utils-2016.1-1.el7.noarch                                                   2/2

Installed:
  openstack-utils.noarch 0:2016.1-1.el7                                                                 

Dependency Installed:
  crudini.noarch 0:0.7-1.el7                                                                            

Complete!



[root@server1 ~(keystone_admin)]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-cert:                    active
openstack-nova-conductor:               active
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             active
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)
== Horizon service ==
openstack-dashboard:                    active
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       active
neutron-metadata-agent:                 active
neutron-openvswitch-agent:              active
neutron-metering-agent:                 active
== Cinder services ==
openstack-cinder-api:                   active
openstack-cinder-scheduler:             active
openstack-cinder-volume:                active
openstack-cinder-backup:                active
== Ceilometer services ==
openstack-ceilometer-api:               inactive  (disabled on boot)
openstack-ceilometer-central:           active
openstack-ceilometer-compute:           active
openstack-ceilometer-collector:         active
openstack-ceilometer-notification:      active
== Support services ==
mariadb:                                active
openvswitch:                            active
dbus:                                   active
target:                                 active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/usr/bin/openstack-status: line 267: keystone: command not found
== Glance images ==
+--------------------------------------+--------+
| ID                                   | Name   |
+--------------------------------------+--------+
| dc6c24bd-b7b4-412b-a0f4-d02ab35045af | cirros |
+--------------------------------------+--------+
== Nova managed services ==
+----+------------------+---------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host                | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+---------------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert        | server1.localdomain | internal | enabled | up    | 2016-11-16T11:21:33.000000 | -               |
| 2  | nova-consoleauth | server1.localdomain | internal | enabled | up    | 2016-11-16T11:21:35.000000 | -               |
| 9  | nova-scheduler   | server1.localdomain | internal | enabled | up    | 2016-11-16T11:21:35.000000 | -               |
| 10 | nova-conductor   | server1.localdomain | internal | enabled | up    | 2016-11-16T11:21:28.000000 | -               |
| 11 | nova-compute     | server1.localdomain | nova     | enabled | up    | 2016-11-16T11:21:32.000000 | -               |
+----+------------------+---------------------+----------+---------+-------+----------------------------+-----------------+

== Nova networks ==
WARNING: Command network-list is deprecated and will be removed after Nova 15.0.0 is released. Use python-neutronclient or python-openstackclient instead.
+--------------------------------------+---------+------+
| ID                                   | Label   | Cidr |
+--------------------------------------+---------+------+
| 38c220a6-045d-412c-b876-02063ec5ab9b | public  | -    |
| 42c1dee3-a55a-4bdb-a38b-43b4b8bc4b89 | private | -    |
+--------------------------------------+---------+------+

== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name      | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

| 1  | m1.tiny   | 512       | 1    | 0         |      | 1     | 1.0         | True      |
| 2  | m1.small  | 2048      | 20   | 0         |      | 1     | 1.0         | True      |
| 3  | m1.medium | 4096      | 40   | 0         |      | 2     | 1.0         | True      |
| 4  | m1.large  | 8192      | 80   | 0         |      | 4     | 1.0         | True      |
| 5  | m1.xlarge | 16384     | 160  | 0         |      | 8     | 1.0         | True      |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

== Nova instances ==
+----+------+-----------+--------+------------+-------------+----------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+----+------+-----------+--------+------------+-------------+----------+
+----+------+-----------+--------+------------+-------------+----------+