On Fri, Sep 29, 2017 at 12:04 AM, Janki Chhatbar <jankih...@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
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev