Skip to content

Instantly share code, notes, and snippets.

@jbadiapa
Created October 28, 2022 16:01
Show Gist options
  • Save jbadiapa/56730181e7cb9f1bf51541902c44d18b to your computer and use it in GitHub Desktop.
Save jbadiapa/56730181e7cb9f1bf51541902c44d18b to your computer and use it in GitHub Desktop.
Local Tripleo Standalone Deployment

Upstream Standalone Gate/Deployment

  • Create specific configuration
  • Provision the node with tripleo-quickstart
  • Deploy the Standalone

Create specific configuration

cat personal_configuration.yml 
control_memory: 2048
compute_memory: 2048
undercloud_memory: 32768

undercloud_vcpu: 8
default_vcpu: 1
undercloud_disk: 150

standalone_interface: ens4
standalone_ip: 192.168.24.1
standalone_role: Standalone.yaml
standalone_libvirt_type: "{{ standalone_virt_type|default('qemu') }}"
standalone_container_cli: podman
standalone_control_virtual_ip: 192.168.24.3
standalone_custom_env_files:
  - /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml
  - /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml
overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates
ctlplane_dns_nameservers:
  - 192.168.24.1
  
# This is needed in case you lost network connectivity 
modify_image_vc_root_password: temporal

Provision the node

./quickstart.sh  -v -n -X -R  master-tripleo-ci --tags all   -T none -E /root/src/tripleo-quickstart/personal_configuration.yml --nodes config/nodes/baremetal.yml -e create_instackenv_json=false -e inject_instackenv=false -p quickstart.yml  127.0.0.2 2>&1 | tee 0_provisioning.log

Enable ansible with the new created key

cat /root/.quickstart/id_rsa_virt_host.pub >> ~/.ssh/authorized_keys

Deploy the Standalone job

./quickstart.sh -R master-tripleo-ci --no-clone --tags all -I -T none -E /root/src/tripleo-quickstart/personal_configuration.yml --nodes config/nodes/baremetal.yml -e create_instackenv_json=false -e inject_instackenv=false -p quickstart-extras-standalone.yml 127.0.0.2 2>&1 | tee 1_standalone_installation.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment