====== Openstack Ansible AIO ====== ===== - OSA Default ===== * Official guide: https://docs.openstack.org/openstack-ansible/queens/user/aio/quickstart.html * Work without any special configuration. ===== - Install Additional Services ===== ====== - Testing / Operation ====== ===== - 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. ===== - Testing Setup ===== ==== - 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 ==== - Verifying the Dashboard (horizon) ==== With a web browser, access the Dashboard by using the external load balancer IP address defined by the external_lb_vip_address option in the /etc/openstack_deploy/openstack_user_config.yml file. The Dashboard uses HTTPS on port 443. Authenticate by using the admin user name and the password defined by the keystone_auth_admin_password option in the /etc/openstack_deploy/user_secrets.yml file. ==== - Create project, instances, network, etc. ==== * IMA demo: http://localhost/~dang/wiki/doku.php?id=work_dai_labor:projects:ima:ima_ws:network:sdn:openstack:openstack_testbed_projects_ima ===== - Troubleshooting ===== ==== - Nova: No valid host was found ==== * In AIO setup, log files are inside container /var/log/* ===== - References ===== * https://www.lbragstad.com/blog/using-openstack-ansible-for-home-lab * https://platform9.com/blog/install-openstack-using-openstack-ansible/