On Fri, Sep 29, 2017 at 12:04 AM, Janki Chhatbar <jankihc91 at gmail.com> wrote: > Hi > > 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. > > Solution: > 1. Replace all /var/lib/config-data/puppet-generated/<service> with /var/lib/config-data/<service> > in THTs. Downside side is not all files present here need to be mount to > /var/lib/kolla/config_files/src:ro > 2. Pass CONFIG_VOLUME_PREFIX for all relevant services for > docker-puppet.py to get correct path. > from relevant service's THT. > > 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 > simplyexplainedblog.wordpress.com > > > [1]. https://github.com/openstack/tripleo-heat-templates/blob/ > master/docker/docker-puppet.py#L377 > [2]. https://github.com/openstack/tripleo-heat-templates/blob/ > master/docker/docker-puppet.py#L362 > [3]. https://github.com/openstack/tripleo-heat-templates/blob/ > master/docker/services/opendaylight-api.yaml#L101 > [4]. https://bugs.launchpad.net/tripleo/+bug/1720208 > -- Thanking you Janki Chhatbar OpenStack | Docker | SDN simplyexplainedblog.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170929/a4766bff/attachment.html>