Prior to running the Zuul-based reproducer, the following setup steps are needed - ( only need to be done once per local system):
- Create a clouds.yaml - for example:
mkdir -p ~/.config/openstack vi ~/.config/openstack/clouds.yaml clouds: rdo-cloud: identity_api_version: 3 region_name: regionOne auth: auth_url: https://phx2.cloud.rdoproject.org:13000/v3 password: xxxxxxx project_name: user_name username: user_name user_domain_name: Default project_domain_name: Default regions: - name: regionOne values: networks: - name: 38.145.32.0/22 routes_externally: true - name: private
- Test your cloud.yaml by running:
openstack --os-cloud rdo-cloud image list
- Note that you will need a network named 'private' in the tenant connected to an router that is connected to the external network.
- Create an ssh key pair without a pass phrase:
- The ssh key pair is configurable - see variables
ssh_path
user_pri_key
. The default key is:~/.ssh/id_rsa[.pub]
- Note: Reference FAQ below when creating ssh keys, some keys fail when used w/ gerrit
- Check that you have access to the publicly shared nodepool images: There should be one image for CentOS 7, and one for Fedora 28.
-
Import the nodepool images to your tenant:
openstack --os-cloud rdo-cloud image set --accept 6a6d23d7-65e7-43ea-9307-71b2e17d2ead
openstack --os-cloud rdo-cloud image set --accept 88006cd1-d089-4bd3-b70a-8cbc7eb32f63