Skip to content

Commit

Permalink
Merge "RHEL7: provision heat during packstack deployment Closes-Bug: …
Browse files Browse the repository at this point in the history
…1630665" into R3.1
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Oct 9, 2016
2 parents 556db9e + 97c3aa8 commit 508793b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fabfile/contraillabs/rdo.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ def setup_rhosp_node():
"""Set up RHOSP Node"""
mysql_passwd = 'juniper123'
sudo('sudo yum install -y openstack-packstack')
sudo('packstack --allinone --mariadb-pw=%s --use-epel=n --nagios-install=n' % mysql_passwd)
sudo('packstack --allinone \
--mariadb-pw=%s \
--use-epel=n \
--nagios-install=n \
--os-heat-install=y \
--os-heat-mysql-password=%s' % (mysql_passwd, mysql_passwd))
openstack_password = getattr(env, 'openstack_admin_password', 'c0ntrail123')
sudo('source keystonerc_admin && keystone user-password-update --pass %s admin' % openstack_password)
sudo("sed -i -e 's/export OS_PASSWORD=.*/export OS_PASSWORD=%s/' keystonerc_admin " % openstack_password)
Expand Down

0 comments on commit 508793b

Please sign in to comment.