Skip to content

Instantly share code, notes, and snippets.

@jbadiapa
jbadiapa / StandAlone.md
Created October 28, 2022 16:01
Local Tripleo Standalone Deployment

Upstream Standalone Gate/Deployment

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

Create specific configuration

@jbadiapa
jbadiapa / 2021-10-29
Last active November 2, 2021 10:16
tripleo
git clone https://github.com/openstack/tripleo-quickstart.git
cd tripleo-quickstart
cd tripleo-quickstart
./quickstart.sh -n -R master-tripleo-ci --tags none -T all --nodes config/nodes/3ctlr_2comp_3ceph.yml 127.0.0.2
./quickstart.sh -n -X -R master-tripleo-ci --tags all -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart.yml 127.0.0.2
./quickstart.sh -R master-tripleo-ci --no-clone --tags all -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-undercloud.yml 127.0.0.2
./quickstart.sh -R master-tripleo-ci --no-clone --tags all -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-overcloud-prep.yml 127.0.0.2
./quickstart.sh -R master-tripleo-ci --no-clone --tags overcloud-scripts -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-overcloud.yml 127.0.0.2
@jbadiapa
jbadiapa / tripleo-quickstart-ceph
Last active February 17, 2022 14:39
tripleo-quickstart-cephadm(pacific-release)
git clone https://github.com/openstack/tripleo-quickstart.git
cd tripleo-quickstart
# Apply patch to use pacific repos on tripleo-quickstart
git fetch "https://review.opendev.org/openstack/tripleo-quickstart" refs/changes/43/782943/2 && git checkout FETCH_HEAD
cp config/nodes/3ctlr_2comp_3ceph.yml ~/myNodes.yml
#Apply the following patch
# Create the patch
cd ~
cat > ~/myNodes.patch <<EOF
--- tripleo-quickstart/config/nodes/3ctlr_2comp_3ceph.yml 2021-03-26 10:02:05.997970444 +0100
@jbadiapa
jbadiapa / overcloud-pingtest.sh
Created February 15, 2021 09:14
overcloud-pingtest.sh
# Test that everything is ok
# OVERCLOUDPINGTEST
source ~/overcloudrc
mkdir -p tmp
cd tmp
curl -O http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1907.qcow2
openstack image create pingtest_image --public --disk-format qcow2 --container-format bare --file CentOS-7-x86_64-GenericCloud-1907.qcow2
curl -O https://raw.githubusercontent.com/openstack/tripleo-heat-templates/stable/stein/ci/pingtests/tenantvm_floatingip.yaml
---
- name: Restore backup
hosts: controller
become: yes
vars:
tripleo_container_cli: podman
run_rear: false
nfs_server: 14.195.11.200
mysql_db_file: openstack-backup-mysql.sql
mysql_grants_file: openstack-backup-mysql-grants.sql
@jbadiapa
jbadiapa / galera-restore.yaml
Last active November 23, 2020 14:13
Playbook to backup and restore galera from dump sql
---
- name: Restore backup
hosts: controller
become: yes
vars:
tripleo_container_cli: podman
run_rear: false
nfs_server: 14.195.11.200
mysql_db_file: openstack-backup-mysql.sql
mysql_grants_file: openstack-backup-mysql-grants.sql
@jbadiapa
jbadiapa / tripleo-quickstart
Last active February 10, 2021 15:01
Deploy TripleO master with ceph
NO FEATURE
NODES=3ctlr_2comp_3ceph
# modify the ceph nodes memory to 5GB at config/nodes/3ctlr_2comp_3ceph.yml
control_memory: 8192
control_disk: 45
compute_memory: 5120
compute_disk: 50
ceph_memory: 5120
ceph_disk: 55
undercloud_memory: 12288

How to create containers

Modified the containers

Editing the files on /usr/share/kolla/docker/XXXXX

Create the kolla file

@jbadiapa
jbadiapa / TripleO.md
Last active March 29, 2019 12:04
Basic steps to be able to have a TripleO development environment

TripleO first steps

Deploy

Options

To deploy a full environment there are a couple of projects:

@jbadiapa
jbadiapa / SAF-TripleO-Integration.md
Last active October 7, 2018 08:22
SAF-TripleO-Integration

Service Assusance Framework (SAF) - Telemetry Framework (TF)

TripleO Service Assurance Framework Integration

  1. Provisioning with tripleo-quickstart
  2. Disable the unused nodes
  3. Download the Telemetry patch
  4. Deploy Telemetry Framework
  5. Overcloud deployment