UPDATE 10/08/2016
As was noticed by Alan Pevec trunk "centos7-newton/current-passed-ci"
works much better then originally selected "centos7-newton/consistent"
See also RDO Newton Overcloud HA deployment via instack-virt-setup on CentOS 7.2 VIRTHOST
END UPDATE
Following bellow is verification of status Newton DLRN consistent trunks for TripleO undercloud/overcloud deployment based on packages currently been built via upstream git branches .
Per https://media.readthedocs.org/pdf/dlrn/latest/dlrn.pdf
DLRN consistent repositories are generated for any given set of packages that
have no current build failures.These repositories have the latest and greatest
of every package and all upstream commits have been successfully built up until that point. The continuous integration done to test RDO packages target the DLRN consistent repositories.
This repository is available at /consistent/delorean.repo for each release.
The RDO project has a continuous integration pipeline that consists of multiple jobs that deploy and test OpenStack as accomplished by different installers.This vast test coverage attempts to ensure that there are no known issues either in packaging, in code or in the installers themselves.Once a DLRN consistent repository has undergone these tests successfully, it will be promoted to current-passed-ci.current-passed-ci represents the latest and greatest version of RDO trunk packages that were tested together success-fully.
See also https://review.openstack.org/gitweb?p=openstack-infra/tripleo-ci.git;a=commitdiff;h=7867e7dbb5b9e88cadecffeff207a4da312386b4
=======================
VIRTHOST - configuration
=======================
Create user stack
Create stack's .bachrc && relogin to stack
************************************************
*****************************************
Set up Newton DLRN repos
*****************************************
$ sudo yum -y update
$ instack-virt-setup
=============
INSTACK
=============
# su - stack
************************************************
Update .bashrc && relogin to 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"
# User specific aliases and functions
*****************************************
Set up Newton DLRN repos
*****************************************
$ sudo yum install -y python-tripleoclient
$ openstack undercloud install
$ source stackrc
$ env | grep DEL
$ source stackrc
$ openstack overcloud image build --all
$ openstack overcloud image upload
$ openstack baremetal import instackenv.json
$ openstack baremetal configure boot
$ openstack baremetal introspection bulk start
$ neutron subnet-list
$ neutron subnet-update 1b7d82e5-0bf1-4ba5-8008-4aa402598065 --dns-nameserver192.168.122.1
******************************
Set up Network isolation
******************************
[stack@instack ~]$ sudo vi /etc/sysconfig/network-scripts/ifcfg-vlan10
DEVICE=vlan10
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSIntPort
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.255.255.0
OVS_BRIDGE=br-ctlplane
OVS_OPTIONS="tag=10"
[stack@instack ~]$ sudo ovs-vsctl show
b0d48704-2e6c-4ec4-9d75-bf9a0d6bec71
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port int-br-ctlplane
Interface int-br-ctlplane
type: patch
options: {peer=phy-br-ctlplane}
Port "tapc0290c0a-65"
tag: 1
Interface "tapc0290c0a-65"
type: internal
Bridge br-ctlplane
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port phy-br-ctlplane
Interface phy-br-ctlplane
type: patch
options: {peer=int-br-ctlplane}
Port br-ctlplane
Interface br-ctlplane
type: internal
Port "eth1"
Interface "eth1"
Port "vlan10"
tag: 10
Interface "vlan10"
type: internal
ovs_version: "2.5.0"
*********************************************
192.168.122.65 is IP of "instack VM"
*********************************************
[stack@instack ~]$ cat network_env.yaml
{
"parameter_defaults": {
"ControlPlaneDefaultRoute": "192.0.2.1",
"ControlPlaneSubnetCidr": "24",
"DnsServers": [
"192.168.122.65"
],
"EC2MetadataIp": "192.0.2.1",
"ExternalAllocationPools": [
{
"end": "10.0.0.250",
"start": "10.0.0.4"
}
],
"ExternalNetCidr": "10.0.0.1/24",
"NeutronExternalNetworkBridge": ""
}
}
$ vi overcloud-deploy.sh
#!/bin/bash -x
source /home/stack/stackrc
openstack overcloud deploy \
--control-scale 1 --compute-scale 2 \
--libvirt-type qemu \
--ntp-server pool.ntp.org \
--templates /usr/share/openstack-tripleo-heat-templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml \
-e $HOME/network_env.yaml
$ sudo touch -f /usr/share/openstack-tripleo-heat-templates/puppet/post.yaml
$ ./overcloud-deploy.sh
[stack@instack ~]$ ./overcloud-deploy.sh
+ source /home/stack/stackrc
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
+++ sudo hiera admin_password
++ export OS_PASSWORD=45fb96326d4a7797a3145232168403590247cb55
++ OS_PASSWORD=45fb96326d4a7797a3145232168403590247cb55
++ export OS_AUTH_URL=http://192.0.2.1:5000/v2.0
++ OS_AUTH_URL=http://192.0.2.1:5000/v2.0
++ export OS_USERNAME=admin
++ OS_USERNAME=admin
++ export OS_TENANT_NAME=admin
++ OS_TENANT_NAME=admin
++ export COMPUTE_API_VERSION=1.1
++ COMPUTE_API_VERSION=1.1
++ export OS_BAREMETAL_API_VERSION=1.15
++ OS_BAREMETAL_API_VERSION=1.15
++ export OS_NO_CACHE=True
++ OS_NO_CACHE=True
++ export OS_CLOUDNAME=undercloud
++ OS_CLOUDNAME=undercloud
++ export OS_IMAGE_API_VERSION=1
++ OS_IMAGE_API_VERSION=1
+ openstack overcloud deploy --control-scale 1 --compute-scale 2 --libvirt-type qemu --ntp-server pool.ntp.org --templates /usr/share/openstack-tripleo-heat-templates
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Removing the current plan files
Uploading new plan files
Started Mistral Workflow. Execution ID: 57bba168-d814-4bd4-920b-9572450b73c8
Plan updated
Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates
Started Mistral Workflow. Execution ID: 11c82855-d165-4bf0-b7cd-dc72c99761dc
2016-10-04 12:52:20Z [overcloud]: CREATE_IN_PROGRESS Stack CREATE started
2016-10-04 12:52:20Z [overcloud.HeatAuthEncryptionKey]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.PcsdPassword]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.HorizonSecret]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.RabbitCookie]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.ServiceNetMap]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.Networks]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.MysqlRootPassword]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.RabbitCookie]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.PcsdPassword]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.HorizonSecret]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.HeatAuthEncryptionKey]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.ServiceNetMap]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.Networks]: CREATE_IN_PROGRESS Stack CREATE started
2016-10-04 12:52:20Z [overcloud.MysqlRootPassword]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.Networks.ManagementNetwork]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.DefaultPasswords]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.Networks.TenantNetwork]: CREATE_IN_PROGRESS state changed
. . . . .
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.ComputeExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.BlockStorageExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.ObjectStorageExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.CephStorageExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE Stack CREATE completed successfully
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud]: CREATE_COMPLETE Stack CREATE completed successfully
Stack overcloud CREATE_COMPLETE
Overcloud Endpoint: http://10.0.0.12:5000/v2.0
Overcloud Deployed
Set up FoxyProxy for overcloud access via 10.0.0.12/dashboard/
As was noticed by Alan Pevec trunk "centos7-newton/current-passed-ci"
works much better then originally selected "centos7-newton/consistent"
See also RDO Newton Overcloud HA deployment via instack-virt-setup on CentOS 7.2 VIRTHOST
END UPDATE
Following bellow is verification of status Newton DLRN consistent trunks for TripleO undercloud/overcloud deployment based on packages currently been built via upstream git branches .
Per https://media.readthedocs.org/pdf/dlrn/latest/dlrn.pdf
DLRN consistent repositories are generated for any given set of packages that
have no current build failures.These repositories have the latest and greatest
of every package and all upstream commits have been successfully built up until that point. The continuous integration done to test RDO packages target the DLRN consistent repositories.
This repository is available at /consistent/delorean.repo for each release.
The RDO project has a continuous integration pipeline that consists of multiple jobs that deploy and test OpenStack as accomplished by different installers.This vast test coverage attempts to ensure that there are no known issues either in packaging, in code or in the installers themselves.Once a DLRN consistent repository has undergone these tests successfully, it will be promoted to current-passed-ci.current-passed-ci represents the latest and greatest version of RDO trunk packages that were tested together success-fully.
See also https://review.openstack.org/gitweb?p=openstack-infra/tripleo-ci.git;a=commitdiff;h=7867e7dbb5b9e88cadecffeff207a4da312386b4
=======================
VIRTHOST - configuration
=======================
Create user stack
useradd stack
echo "stack:stack" | chpasswd
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack
sudo chmod 0440 /etc/sudoers.d/stack
su - stack
************************************************ Create stack's .bachrc && relogin to stack
************************************************
export NODE_DIST=centos7
export NODE_CPU=2
export NODE_MEM=7000
export NODE_COUNT=3
export UNDERCLOUD_NODE_CPU=4
export UNDERCLOUD_NODE_MEM=9000
export FS_TYPE=ext4
*****************************************
Set up Newton DLRN repos
*****************************************
sudo yum -y install yum-plugin-priorities sudo curl -o /etc/yum.repos.d/delorean-newton.repo http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
$ sudo yum -y update
$ instack-virt-setup
=============
INSTACK
=============
# su - stack
************************************************
Update .bashrc && relogin to 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"
# User specific aliases and functions
*****************************************
Set up Newton DLRN repos
*****************************************
sudo yum -y install yum-plugin-priorities sudo curl -o /etc/yum.repos.d/delorean-newton.repo http://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-newton-tested/delorean.repo sudo curl -o /etc/yum.repos.d/delorean-deps-newton.repo https://trunk.rdoproject.org/centos7-newton/delorean-deps.repo
$ sudo yum install -y python-tripleoclient
$ openstack undercloud install
$ source stackrc
$ env | grep DEL
$ source stackrc
$ openstack overcloud image build --all
$ openstack overcloud image upload
$ openstack baremetal import instackenv.json
$ openstack baremetal configure boot
$ openstack baremetal introspection bulk start
$ neutron subnet-list
$ neutron subnet-update 1b7d82e5-0bf1-4ba5-8008-4aa402598065 --dns-nameserver192.168.122.1
******************************
Set up Network isolation
******************************
[stack@instack ~]$ sudo vi /etc/sysconfig/network-scripts/ifcfg-vlan10
DEVICE=vlan10
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSIntPort
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.255.255.0
OVS_BRIDGE=br-ctlplane
OVS_OPTIONS="tag=10"
[stack@instack ~]$ sudo ovs-vsctl show
b0d48704-2e6c-4ec4-9d75-bf9a0d6bec71
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port int-br-ctlplane
Interface int-br-ctlplane
type: patch
options: {peer=phy-br-ctlplane}
Port "tapc0290c0a-65"
tag: 1
Interface "tapc0290c0a-65"
type: internal
Bridge br-ctlplane
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port phy-br-ctlplane
Interface phy-br-ctlplane
type: patch
options: {peer=int-br-ctlplane}
Port br-ctlplane
Interface br-ctlplane
type: internal
Port "eth1"
Interface "eth1"
Port "vlan10"
tag: 10
Interface "vlan10"
type: internal
ovs_version: "2.5.0"
*********************************************
192.168.122.65 is IP of "instack VM"
*********************************************
[stack@instack ~]$ cat network_env.yaml
{
"parameter_defaults": {
"ControlPlaneDefaultRoute": "192.0.2.1",
"ControlPlaneSubnetCidr": "24",
"DnsServers": [
"192.168.122.65"
],
"EC2MetadataIp": "192.0.2.1",
"ExternalAllocationPools": [
{
"end": "10.0.0.250",
"start": "10.0.0.4"
}
],
"ExternalNetCidr": "10.0.0.1/24",
"NeutronExternalNetworkBridge": ""
}
}
$ vi overcloud-deploy.sh
#!/bin/bash -x
source /home/stack/stackrc
openstack overcloud deploy \
--control-scale 1 --compute-scale 2 \
--libvirt-type qemu \
--ntp-server pool.ntp.org \
--templates /usr/share/openstack-tripleo-heat-templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml \
-e $HOME/network_env.yaml
$ sudo touch -f /usr/share/openstack-tripleo-heat-templates/puppet/post.yaml
$ ./overcloud-deploy.sh
[stack@instack ~]$ ./overcloud-deploy.sh
+ source /home/stack/stackrc
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
+++ sudo hiera admin_password
++ export OS_PASSWORD=45fb96326d4a7797a3145232168403590247cb55
++ OS_PASSWORD=45fb96326d4a7797a3145232168403590247cb55
++ export OS_AUTH_URL=http://192.0.2.1:5000/v2.0
++ OS_AUTH_URL=http://192.0.2.1:5000/v2.0
++ export OS_USERNAME=admin
++ OS_USERNAME=admin
++ export OS_TENANT_NAME=admin
++ OS_TENANT_NAME=admin
++ export COMPUTE_API_VERSION=1.1
++ COMPUTE_API_VERSION=1.1
++ export OS_BAREMETAL_API_VERSION=1.15
++ OS_BAREMETAL_API_VERSION=1.15
++ export OS_NO_CACHE=True
++ OS_NO_CACHE=True
++ export OS_CLOUDNAME=undercloud
++ OS_CLOUDNAME=undercloud
++ export OS_IMAGE_API_VERSION=1
++ OS_IMAGE_API_VERSION=1
+ openstack overcloud deploy --control-scale 1 --compute-scale 2 --libvirt-type qemu --ntp-server pool.ntp.org --templates /usr/share/openstack-tripleo-heat-templates
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Removing the current plan files
Uploading new plan files
Started Mistral Workflow. Execution ID: 57bba168-d814-4bd4-920b-9572450b73c8
Plan updated
Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates
Started Mistral Workflow. Execution ID: 11c82855-d165-4bf0-b7cd-dc72c99761dc
2016-10-04 12:52:20Z [overcloud]: CREATE_IN_PROGRESS Stack CREATE started
2016-10-04 12:52:20Z [overcloud.HeatAuthEncryptionKey]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.PcsdPassword]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.HorizonSecret]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.RabbitCookie]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.ServiceNetMap]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.Networks]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.MysqlRootPassword]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.RabbitCookie]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.PcsdPassword]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.HorizonSecret]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.HeatAuthEncryptionKey]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.ServiceNetMap]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.Networks]: CREATE_IN_PROGRESS Stack CREATE started
2016-10-04 12:52:20Z [overcloud.MysqlRootPassword]: CREATE_COMPLETE state changed
2016-10-04 12:52:20Z [overcloud.Networks.ManagementNetwork]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.DefaultPasswords]: CREATE_IN_PROGRESS state changed
2016-10-04 12:52:20Z [overcloud.Networks.TenantNetwork]: CREATE_IN_PROGRESS state changed
. . . . .
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.ComputeExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.BlockStorageExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.ObjectStorageExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps.CephStorageExtraConfigPost]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE Stack CREATE completed successfully
2016-10-04 13:48:18Z [overcloud.AllNodesDeploySteps]: CREATE_COMPLETE state changed
2016-10-04 13:48:18Z [overcloud]: CREATE_COMPLETE Stack CREATE completed successfully
Stack overcloud CREATE_COMPLETE
Overcloud Endpoint: http://10.0.0.12:5000/v2.0
Overcloud Deployed
Set up FoxyProxy for overcloud access via 10.0.0.12/dashboard/
No comments:
Post a Comment