Stop shipping broken openrc in vagrant
Instead, rely on kolla-ansible post-deploy to generate a configuration file with valid environment variables. Change-Id: Ie62932afc96e2486410a1d4e14162a88b1733c22 Closes-Bug: #1555972
This commit is contained in:
parent
19bdb0934e
commit
29b4e8756d
@ -117,17 +117,6 @@ scp_if_ssh=True
|
||||
EOF
|
||||
chown vagrant: ~vagrant/.ansible.cfg
|
||||
|
||||
# The openrc file.
|
||||
cat > ~vagrant/openrc <<EOF
|
||||
export OS_AUTH_URL="${ADMIN_PROTOCOL}://${SUPPORT_NODE}:35357/v3"
|
||||
export OS_USERNAME=admin
|
||||
export OS_PASSWORD=password
|
||||
export OS_TENANT_NAME=admin
|
||||
export OS_VOLUME_API_VERSION=3
|
||||
export OS_USER_DOMAIN_ID=default
|
||||
EOF
|
||||
chown vagrant: ~vagrant/openrc
|
||||
|
||||
mkdir -p /etc/kolla/config/nova/
|
||||
cat > /etc/kolla/config/nova/nova-compute.conf <<EOF
|
||||
[libvirt]
|
||||
|
@ -91,17 +91,6 @@ scp_if_ssh=True
|
||||
EOF
|
||||
chown vagrant: ~vagrant/.ansible.cfg
|
||||
|
||||
# The openrc file.
|
||||
cat > ~vagrant/openrc <<EOF
|
||||
export OS_AUTH_URL="${ADMIN_PROTOCOL}://${SUPPORT_NODE}:35357/v3"
|
||||
export OS_USERNAME=admin
|
||||
export OS_PASSWORD=password
|
||||
export OS_TENANT_NAME=admin
|
||||
export OS_VOLUME_API_VERSION=3
|
||||
export OS_USER_DOMAIN_ID=default
|
||||
EOF
|
||||
chown vagrant: ~vagrant/openrc
|
||||
|
||||
mkdir -p /etc/kolla/config/nova/
|
||||
cat > /etc/kolla/config/nova/nova-compute.conf <<EOF
|
||||
[libvirt]
|
||||
|
@ -130,7 +130,8 @@ Deploy multinode with::
|
||||
|
||||
Validate OpenStack is operational::
|
||||
|
||||
source ~/openrc
|
||||
kolla-ansible post-deploy
|
||||
source /etc/kolla/admin-openrc.sh
|
||||
openstack user list
|
||||
|
||||
Or navigate to http://10.10.10.254/ with a web browser.
|
||||
|
Loading…
Reference in New Issue
Block a user