...
- Create the DevStack user and clone their Git repository as explained here: https://docs.openstack.org/devstack/latest/
- Once the stack is created and the repo cloned, make sure you are logged in as the stack user in the VM. Then copy the attached **local.conf** file to /opt/stack/devstack/ and modify it as follows:
- Modify the ADMIN_PASSWORD to a secure value.
- Modify the value of the HOST_IP variable to the "private ip" assigned to the VM's NIC 1.
Modify the value of the PUBLIC_ENDPOINT_IP variable to the "public ip" assigned to the instance.
- Modify the value of the PUBLIC_INTERFACE variable to the name of the interface corresponding to the VM's NIC 2 (that's the interface where the floating ip networks will be bridged).
- (Optional) Modify the credentials or any other field to match your deployment and addressing, if you configured a different network layout.
- Execute the stack script and wait for it to complete: ./stack.sh
- Once completed, log in to the web console as 'admin', go to 'API Access', and download the OpenStack RC file.
- Load the downloaded file: source admin-openrc.sh
Use the openstack endpoint list and openstack endpoint set command to fix the endpoints that the DevStack script did not configure properly:
- Make sure all endpoints are using the public ip. Fix the wrong ones
- Make sure the Keystone endpoints end with: /v3
...