Prepare the OpenStack configuration¶
Log in to the OpenStack Horizon.
In the Project section, select API Access.
In the right-side drop-down menu Download OpenStack RC File, select OpenStack clouds.yaml File.
Save the downloaded
clouds.yaml
file in thekaas-bootstrap
folder created by theget_container_cloud.sh
script.In
clouds.yaml
, add thepassword
field with your OpenStack password under theclouds/openstack/auth
section.Example:
clouds: openstack: auth: auth_url: https://auth.openstack.example.com:5000/v3 username: your_username password: your_secret_password project_id: your_project_id user_domain_name: your_user_domain_name region_name: RegionOne interface: public identity_api_version: 3
Verify access to the target cloud endpoint from Docker. For example:
docker run --rm alpine sh -c "apk add --no-cache curl; \ curl https://auth.openstack.example.com:5000/v3"
The system output must contain no error records.