This document assume reader is familiar with the OCP4x installation process.
- Setup the
install-config.yaml
to deploy a single master and no workersapiVersion: v1 baseDomain: example.com
#!/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") |