Skip to content

Instantly share code, notes, and snippets.

#!/opt/openstack/venv/bin/python
import MySQLdb
import sys
import json
connection = MySQLdb.connect(
host=sys.argv[1], user="nova",
passwd=sys.argv[2], db="nova")
cursor = connection.cursor()
cursor.execute("select network_info, instance_uuid from instance_info_caches where deleted=0")

OCP 4.2/4.3 All-In-One (UPI mode)

This document assume reader is familiar with the OCP4x installation process.

Before Deployment

  • Setup the install-config.yaml to deploy a single master and no workers
    apiVersion: v1
    baseDomain: example.com