[openstack-dev] [tripleo][update] TRIPLEO_CONFIG_HASH not generated, no update of service

Janki Chhatbar jankihc91 at gmail.com
Thu Sep 28 18:34:13 UTC 2017


I understand during an update, paunch restarts containers whenever the hash
of image is changed. TRIPLEO_CONFIG_HASH [1] is generated based on the
config value specified [2] which is default to /var/lib/config-data/<service>.
Many services specify path at /var/lib/config-data/puppet-generated/<service>
([3] for example).  Hence the hash is not generated and update would fail
for such services.

1. Replace all /var/lib/config-data/puppet-generated/<service> with
in THTs. Downside side is not all files present here need to be mount to
2. Pass CONFIG_VOLUME_PREFIX for all relevant services for docker-puppet.py
to get correct path.

I have raised a bug for this [4]. This is very important for updates to
work properly for all services.

Looking forward to hear from the community.

Thanking you

Janki Chhatbar
OpenStack | Docker | SDN

[4]. https://bugs.launchpad.net/tripleo/+bug/1720208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170929/50be7552/attachment.html>

More information about the OpenStack-dev mailing list