stackhpc / kayobe-original

Deployment of containerised OpenStack to bare metal using OpenStack kolla and bifrost
26 stars 16 forks source link

Admin openrc files not present in a fresh control host environment #18

Closed markgoddard closed 6 years ago

markgoddard commented 7 years ago

Kolla-ansible generates an openrc file for the admin user at ${KOLLA_CONFIG_PATH}/admin-openrc.sh. Kayobe also generates one which uses the public OpenStack endpoints (${KOLLA_CONFIG_PATH}/public-openrc.sh). Typically this will not be committed to a kayobe-config repo, as it contains the admin password in plain text.

These files are typically required when interacting with the OpenStack APIs as the admin user, e.g. when registering IPA deployment images with Glance. Kayobe should provide a command to regenerate these files.

In the mean time, this may be done via these commands:

kayobe kolla ansible run post-deploy -ke node_config_directory=${KOLLA_CONFIG_PATH}
kayobe playbook run ansible/public-openrc.yml
markgoddard commented 6 years ago

Migrated to storyboard: https://storyboard.openstack.org/#!/story/2001667