From bc0faf7a7b483be587a58d0ced3efa6104657dcf Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 15 Feb 2019 10:59:56 -0800 Subject: [PATCH] Update launch docs for opendev and static inventory We want to be launching opendev server more and more now. Update launch docs to point out some of the difference with opendev servers. Additionally point out that we need to update our static inventory file so that ansible (and puppet) see the new host. Change-Id: I425377c50007e11aa99cb53f3f5dc3068911ef7f --- launch/README | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/launch/README b/launch/README index 271c2c4e9c..63f0914a44 100644 --- a/launch/README +++ b/launch/README @@ -8,13 +8,16 @@ To launch a node in the OpenStack CI account (production servers):: export OS_CLOUD=openstackci-rax export OS_REGION_NAME=DFW export FLAVOR="8 GB Performance" - export FQDN=servername01.openstack.org + export FQDN=servername01.opendev.org cd /opt/system-config/launch/ ./launch-node.py $FQDN --flavor "$FLAVOR" \ --cloud=$OS_CLOUD --region=$OS_REGION_NAME Manually add the hostname to DNS (the launch script does not do so -automatically, but it prints the commands to run). +automatically, but it prints the commands to run). Note that for +*.opendev.org hosts you'll only be able to add the reverse dns +records via the printed commands. Forward A and AAAA records should +be added to openstack-infra/zone-opendev.org/zones/opendev.org/zone.db. In order for Ansible to be able to send out the Puppet updates, you also need the puppetmaster to accept the root SSH key for the @@ -25,6 +28,11 @@ new server. So as root on bridge.openstack.org: Verify the fingerprint of the new server and type "yes" to accept. Then you can log out. +Finally we need to add the host to our static inventory file so that +the periodic ansible runs (which can run puppet) see the new host. +Update openstack-infra/system-config/inventory/openstack.yaml to +include the appropriate hostname and IP address details. + Add DNS Records ===============