Description of problem: Openstack 14 quickstart deploy command fails to symlink `ln -s /usr/share/openstack-puppet/modules/ /etc/puppet/modules/` Deploy fails every time with `unbound local variable 'tmp' referenced before assignment` Version-Release number of selected component (if applicable): python-tripleoclient-10.6.2-0.20190425150605.ba03c5e.el7ost.noarch Red Hat Enterprise Linux Server release 7.6 (Maipo) How reproducible: Every time. Steps to Reproduce: 1. Follow documentation [1] to install the python-tripleoclient and the .yaml config files need as per documentation. 2. Use the deploy command to start the standalone deploy. 3. Deployment fails with the above error. [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/quick_start_guide/index Actual results: Expected results: Should automatically symlink this. Additional info: This was tried on 3 installs with the same outcome.
Please provide logs or full error messages.
So I was able to deploy fine. We create this symlink in the tripleoclient action itself[0]. Based on the provided information, I'm assuming you didn't run the deployment command with sudo which would result in this type of failure. Please double check your openstack tripleo deploy command and make sure it contains sudo as mentioned in the documentation[1]. As a side note I have created a few bugs around the documentation itself (Bug 1732074, Bug 1732075) [0] https://opendev.org/openstack/python-tripleoclient/src/branch/stable/rocky/tripleoclient/v1/tripleo_deploy.py#L306-L310 [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html/quick_start_guide/deploying-the-all-in-one-openstack-installation
Hi Alex, Below is my deploy command; ~~~ sudo openstack tripleo deploy \ --templates \ --local-ip=$IP/$NETMASK \ -e /usr/share/openstack-tripleo-heat-templates/environments/standalone.yaml \ -r /usr/share/openstack-tripleo-heat-templates/roles/Standalone.yaml \ -e containers-prepare-parameters.yaml \ -e standalone_parameters.yaml \ --output-dir /home/stack/ \ --standalone --debug ~~~ Thanks for your help. I will reinstall and deploy again.
Thanks. If it still fails, please provide the full deployment error and a full rpm list as well.