My Wiki!

Openstack Ansible AIO

1. OSA Default

2. Install Additional Services

Testing / Operation

1. Restart AIO

As the AIO includes all three cluster members of MariaDB/Galera, the cluster has to be re-initialized after the host is rebooted.

This is done by executing the following:

# cd /opt/openstack-ansible/playbooks
# openstack-ansible -e galera_ignore_cluster_state=true galera-install.yml

If this fails to get the database cluster back into a running state, then please make use of the Galera Cluster Recovery section in the operations guide.

2. Testing Setup

2.1 Verify the API

The utility container provides a CLI environment for additional configuration and testing.

Determine the name of the utility container:

# lxc-ls | grep utility
infra1_utility_container-161a4084

Access the utility container:

# lxc-attach -n infra1_utility_container-161a4084

In this container, openstack source.rc variables are set. From host node, get the rc file by logging in to horizon and download it from user setting.

List your openstack users:

# openstack user list --os-cloud=default

2.2 Verifying the Dashboard (horizon)

With a web browser, access the Dashboard by using the external load balancer IP address defined by the externallbvipaddress option in the /etc/openstackdeploy/openstackuserconfig.yml file. The Dashboard uses HTTPS on port 443.

Authenticate by using the admin user name and the password defined by the keystoneauthadminpassword option in the /etc/openstackdeploy/user_secrets.yml file.

2.3 Create project, instances, network, etc.

3. Troubleshooting

3.1 Nova: No valid host was found

  • In AIO setup, log files are inside container /var/log/*

4. References


Navigation