Skip to content

Instantly share code, notes, and snippets.

View jbadiapa's full-sized avatar

Juan Badia Payno jbadiapa

View GitHub Profile
---
- 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 / 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
@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 / 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 / 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