You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clark Boylan 5e43926b5e
Fix min swap value in
2 years ago
README.rst Make small tweaks to launch node README 3 years ago Add OE mirror to inventory 3 years ago Handle focal's insistence we don't use root in 2 years ago Fix min swap value in 2 years ago launch: move old scripts out of top-level 3 years ago Change launch scripts to python3 shebangs 3 years ago Fix sshfp record printing 2 years ago Change launch scripts to python3 shebangs 3 years ago


Create Server

The commands in this section should be run as root.

To launch a node in the OpenStack CI account (production servers):

export OS_CLOUD=openstackci-rax
export FLAVOR="8 GB Performance"
cd /opt/system-config/launch/
./ $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). Note that for * 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 opendev/

We need to add the host to our static inventory file so that the ansible runs see the new host. The launch script prints out the appropriate lines to add to opendev/system-config:inventory/openstack.yaml.

In order for Ansible to work, you also need to accept the root SSH key for the new server. Once the new DNS entries have propagated, as root on

ssh root@$FQDN

Verify the fingerprint of the new server and type "yes" to accept. Then you can log out.

Add DNS Records

The launch-node script will print the commands needed to be run to configure DNS for a newly launched server. To see the commands for an existing server, run:

./ $FQDN