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

Jason Anderson jasonanderson at uchicago.edu
Fri Jun 28 00:46:20 UTC 2019

Hi Eddie,

On 6/27/19 7:32 PM, Eddie Yen wrote:


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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190628/833e4821/attachment.html>

More information about the openstack-discuss mailing list