Last active
April 10, 2019 19:01
-
-
Save venkataanil/bb49eb9c27dd640a60e0282e02d13858 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IMAGE='http://rhos-qe-mirror-tlv.usersys.redhat.com/brewroot/packages/rhel-guest-image/7.6/215/images/rhel-guest-image-7.6-215.x86_64.qcow2' | |
TOPOLOGY_NODES=undercloud:1,openshift-master:3,openshift-worker:3,openshift-infra:3,openshift-tester:1 | |
MIRROR=tlv | |
HOST=$HOST | |
## CLEANUP ## | |
infrared virsh -v -o cleanup.yml \ | |
--host-address $HOST \ | |
--host-key ~/.ssh/id_rsa \ | |
--cleanup yes | |
## PROVISION ## | |
infrared virsh -v \ | |
--topology-nodes $TOPOLOGY_NODES \ | |
--host-address $HOST \ | |
--host-key ~/.ssh/id_rsa \ | |
--image-url $IMAGE | |
## Install UNDERCLOUD ## | |
infrared tripleo-undercloud -v \ | |
--ssl yes \ | |
--mirror $MIRROR \ | |
--version 14 \ | |
--build passed_phase1 \ | |
--images-task rpm \ | |
--images-update no \ | |
--config-options DEFAULT.clean_nodes='true' \ | |
--registry-mirror rhos-qe-mirror-tlv.usersys.redhat.com:5000 | |
infrared tripleo-overcloud -v --introspect yes --tagging yes --deploy no --deployment-files virt --ansible-args='tag=introspect,tag' | |
# note clone to local machine and copy to gprfc machine | |
git clone https://code.engineering.redhat.com/gerrit/openshift-ir-plugin.git | |
# copy openshift-ir-plugin to infrared/plugins | |
ir plugin add --revision ocp3 plugins/openshift-ir-plugin | |
ir openshift --tripleo-dns yes --openshift-release 3.11 | |
ir openshift --tripleo-deploy yes --tripleo-storage cns --openshift-release 3.11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment