agroup / instack-undercloud

Apache License 2.0
8 stars 15 forks source link

TUSKAR_ROLE_DIRECTORY unset at reboot #95

Open gfidente opened 9 years ago

gfidente commented 9 years ago

the 90-tuskar-db-sync script seems to rely on TUSKAR_ROLE_DIRECTORY pointing at the dir where we have the templates; we appropriately customize this in instack-install-undercloud but when UC is restarted, a new run of os-refresh-config won't see it set causing the db sync script to fail

not sure what is best way to address this

slagle commented 9 years ago

i think i know what might be causing this. did you happen to update the openstack-tripleo-image-elements rpm after the install had already been completed? There is a %post script that runs on the rpm update to reset up the hooks under /usr/libexec/os-refresh-config. That will need some tweaking to not delete hook scripts that are created via indirection vs just copying from the element.

gfidente commented 9 years ago

hi James, bingo! :)