<div dir="auto">It seems a good idea.<div dir="auto">Thanks</div><div dir="auto">Ignazio</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Lun 30 Ago 2021, 18:51 Sean Mooney <<a href="mailto:smooney@redhat.com">smooney@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2021-08-30 at 18:31 +0200, Ignazio Cassano wrote:<br>
> Hello Sean, I am agree to use a testing environment before running on<br>
> production.<br>
> I wonder if kolla detects the presence of new images and makes all needed<br>
> steps for stopping containers and restarting from new images.<br>
if you are not changing the tag then no kolla wont see that the tag was updated on docker hub and pull the new images<br>
<br>
if you are building your own images and pushign them to a local registry with a new tag e.g. train-30-08-2021 and then you<br>
update the tag in your gloabl.yaml kolla will detech that that image is not avaiable local on the nodes, pull it and then update it.<br>
<br>
generally i would suggest when you pull the images to your local regestry you tag them your self with a new tag and then update<br>
the tag in your gloabl.yml so that you can roll back to the old images eaislly if you need too.<br>
<br>
<br>
> I am new on docker.<br>
> I am asking because in my last update I got same issues in hacluster and<br>
> rabbitmq.<br>
> I solved stopping, remove related containers and volumes and deploying<br>
> again.<br>
> Ignazio<br>
> <br>
> <br>
> Il Lun 30 Ago 2021, 18:19 Sean Mooney <<a href="mailto:smooney@redhat.com" target="_blank" rel="noreferrer">smooney@redhat.com</a>> ha scritto:<br>
> <br>
> > On Mon, 2021-08-30 at 17:46 +0200, Ignazio Cassano wrote:<br>
> > > Hello, I would like to ask if the procedure I am using for update my<br>
> > kolla<br>
> > > wallaby is correct.<br>
> > > Every week new images are released so I execute the following steps:<br>
> > > <br>
> > > 1. Pull new images on my local registry<br>
> > > <br>
> > > 2 pull new images from my local registry to controllers and compute nodes<br>
> > > <br>
> > > 3 kolla-ansible deploy<br>
> > > <br>
> > > Are the above steps the correct way or I missed something?<br>
> > > Must I clean something before deploying ?<br>
> > > Thanks<br>
> > <br>
> > that is more or less what i have seen recommended in the past yes.<br>
> > <br>
> > you cna use deploy or reconfigure.<br>
> > in generall kolla-ansible upgrade is not needed unless you are doing a<br>
> > major version bump<br>
> > so in your case pulling the images then running deploy should simply<br>
> > replace the containers.<br>
> > <br>
> > one thing you are proably missing is removing unused un tagged images form<br>
> > the nodes.<br>
> > e.g. you will want to perodically remove the old images so that they disks<br>
> > dont fill up.<br>
> > <br>
> > you also proably want to add a staging step between 1 and 2 wheere you<br>
> > test thsi on a small test env first just to make sure there<br>
> > are no surpriese before pushing to production.<br>
> > > <br>
> > > Ignazio<br>
> > <br>
> > <br>
> > <br>
<br>
<br>
</blockquote></div>