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

Eddie Yen missile0407 at gmail.com
Fri Jun 28 11:14:48 UTC 2019


Got it.

I'll try this method.

Mark Goddard <mark at stackhpc.com> 於 2019年6月28日 週五 下午4:13寫道:

> On Fri, 28 Jun 2019 at 02:21, Eddie Yen <missile0407 at gmail.com> wrote:
> >
> > 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.
>
> You should use globals.yml to set any variables you wish to override.
> In your case:
>
> prometheus_tag: stein
>
> >
> > 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/8cd22739/attachment.html>


More information about the openstack-discuss mailing list