[kolla] How can I change package version when building the image?

Eddie Yen missile0407 at gmail.com
Fri Jun 28 01:20:13 UTC 2019

Hi Jason, thanks for your quick reply.

I summarized my understanding, correct me if wrong.
Only I have to do is change the prometheus task files to use stein
version's images inside kolla-ansible, then edit the launch command inside
templates to stein release.

Jason Anderson <jasonanderson at uchicago.edu> 於 2019年6月28日 週五 上午8:53寫道:

> Hi Eddie,
> On 6/27/19 7:32 PM, Eddie Yen wrote:
> Hi,
> I'm using stable/rocky from git now, but I want to build the prometheus
> images with latest version since there're few exporters that too previous
> that can't use most Grafana dashboards in default.
> I already know I have to edit templates in kolla-ansible since the newer
> exporters has using the different launch commands. But Idk how to set the
> version because the document didn't say how to override the Dockerfile. Is
> that OK to change package version inside Dockerfile?
> You can set the "prometheus_tag" variable to point to a different tag. It
> defaults to the value of "openstack_release", which in your case is
> probably "rocky". You can set it to "stein" to pull in Stein images for
> Prometheus, without affecting the versions of other components.
> If you need to custom-build your container images, rather than using the
> ones pre-built and hosted on Docker Hub, then a different approach might be
> necessary.
> Many thanks,
> Eddie.
> Cheers,
> /Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190628/964d4d44/attachment.html>

More information about the openstack-discuss mailing list