Devtest init script: sourcing tripleorc fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
James Polley | ||
tuskar-ui |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Running the devtest cloud initialization script after deploying a stack fails when trying to source tripleorc.
# ./postinstall
+ export TRIPLEO_
+ TRIPLEO_
+ cd /root/tripleo
+ source /root/tripleo/
++ export TRIPLEO_
++ TRIPLEO_
++ export LIBVIRT_
++ LIBVIRT_
++ export LIBVIRT_
++ LIBVIRT_
++ export 'NODE_DIST=fedora selinux-permissive'
++ NODE_DIST='fedora selinux-permissive'
++ export 'DIB_COMMON_
++ DIB_COMMON_
++ SCRIPTS_
++ [[ ! /usr/local/
++ export PATH=/root/
++ PATH=/root/
++ TIE_PATH=
/root/tripleo/
what's postinstall? is that something specific to tuskar-ui?
devtest is not typically run as root, so $TRIPLEO_ROOT also looks suspect.