Hi Wei,

I haven't, I thought about the systemvm.iso but wasn't sure what to do about it 
and if that could be related. Should I just delete it and it will recreate 
itself?
Also, I'm not sure about the files on the kvm hosts (I only found 
/usr/share/cloudstack-common/scripts/vm/systemvm)?

Thanks for your help!

Frederic Larcher
Technical Consultant
0161 537 4980
[email protected]
http://www.quadris.com/
Innovation House, 12-13 Bredbury Business Park
Bredbury Park Way, Bredbury, Stockport, SK6 2SN

Frederic Larcher
Technical Consultant
0161 537 4980
[email protected]
www.quadris.com
Innovation House, 12-13 Bredbury Business Park
Bredbury Park Way, Bredbury, Stockport, SK6 2SN
-----Original Message-----
From: Wei ZHOU <[email protected]>
Sent: Sunday, December 10, 2023 9:58 AM
To: [email protected]
Subject: Re: VR webserver.service apache2

Hi,

Just noticed you use 4.15.2, have you rebuilt systemvm.iso and updated the file 
on kvm hosts ?

-Wei

On Sun, 10 Dec 2023 at 10:53, Frederic Larcher 
<[email protected]> wrote:

> Hi Wei,
>
> Yes, I have deleted this entry already, so I can see a new template is
> being created on the primary storage, however, when checking inside a
> new created router, it doesn't have the changes...
>
> When I use guestfish to check the template on the Secondary storage, I
> see the changes made on the 2 files (CsAddress.py and CsApp.py). When
> I check the image copied to the Primary storage, it is still using the
> old template (or looks like it)....But the old template was replaced by the 
> new one...
>
> Is there another place I should check for?
>
> Thanks
>
>
> Frederic Larcher
> Technical Consultant
> 0161 537 4980
> [email protected]
> http://www.q/
> uadris.com%2F&data=05%7C02%7CFrederic.Larcher%40quadris.com%7C9d31824e
> 5f214bc296dd08dbf9668b74%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C
> 638377991051084712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
> iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kKWRCt8v
> vZKdLKyNXUrQAJ4wuFYrji%2B%2Bd8jiOmZIMzk%3D&reserved=0
> Innovation House, 12-13 Bredbury Business Park Bredbury Park Way,
> Bredbury, Stockport, SK6 2SN Frederic Larcher​​​​ Technical Consultant
> 0161 537 4980 <0161%20537%204980>
> [email protected]
> http://www.q/
> uadris.com%2F&data=05%7C02%7CFrederic.Larcher%40quadris.com%7C9d31824e
> 5f214bc296dd08dbf9668b74%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C
> 638377991051084712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
> iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kKWRCt8v
> vZKdLKyNXUrQAJ4wuFYrji%2B%2Bd8jiOmZIMzk%3D&reserved=0
> Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way,
> Bredbury, Stockport, SK6 2SN -----Original Message-----
> From: Wei ZHOU <[email protected]>
> Sent: Tuesday, December 5, 2023 5:21 PM
> To: [email protected]
> Subject: Re: VR webserver.service apache2
>
> Hi,
>
> The command replaces the template on secondary storage.
> However, if the template has been used before, the old template has
> been copied to primary storage. When deploy a new router on the same
> primary storage, cloudstack will NOT copy the template from secondary
> storage to primary storage, therefore the new router still uses the old 
> template.
>
> As a workaround, Please remove the corresponding in template_spool_ref
> table.
>
> -Wei
>
> On Tue, 5 Dec 2023 at 17:11, Frederic Larcher
> <[email protected]> wrote:
>
> > Hi Wei,
> >
> > Thanks for your reply.
> >
> > I haven't, but I can't see which one to update. There is only the
> > router.template.KVM that seems to change the name, but the template
> > has the same name as the previous template. I have added it with
> > this
> command:
> > /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install
> > -s
> > ys-tmplt -m /mnt/secondary -u
> > 10.10.10.10/files/systemvm-updated.qcow2.bz2 -h kvm -F
> >
> > That is what I found on the global settings:
> > router.template.kvm -- Name of the default router template on KVM.
> > -- Advanced -- SystemVM Template (KVM)
> >
> > I have replaced the old template, but I don't understand how the
> > changes made to this template do not exist in the new SystemVMs and
> > routers created. It looks like it is still using the old one even
> > though everything has been updated (DB, Secondary storage, template)
> with the new template ID.
> >
> >
> > Kind regards,
> >
> > Frederic Larcher
> > Technical Consultant
> > 0161 537 4980
> > [email protected]
> > http://www/
> > .q%2F&data=05%7C02%7CFrederic.Larcher%40quadris.com%7C9d31824e5f214b
> > c296dd08dbf9668b74%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C6383
> > 77991051084712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> > 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LzF0uN8M
> > dF7OCULEkQd5MTah1iw1f9SnIbkHZWwN5GU%3D&reserved=0
> > uadris.com%2F&data=05%7C01%7CFrederic.Larcher%40quadris.com%7C5e599d
> > cb
> > 179a4809f31b08dbf5b6a8ca%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%
> > 7C
> > 638373937099864880%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
> > jo
> > iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1ZhJr3
> > 1V
> > vOA6pJtWCrye2kglJgadTT0z0I9x7MJNONw%3D&reserved=0
> > Innovation House, 12-13 Bredbury Business Park Bredbury Park Way,
> > Bredbury, Stockport, SK6 2SN Frederic Larcher​​​​ Technical
> > Consultant
> > 0161 537 4980 <0161%20537%204980>
> > [email protected]
> > http://www/
> > .q%2F&data=05%7C02%7CFrederic.Larcher%40quadris.com%7C9d31824e5f214b
> > c296dd08dbf9668b74%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C6383
> > 77991051084712%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> > 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=LzF0uN8M
> > dF7OCULEkQd5MTah1iw1f9SnIbkHZWwN5GU%3D&reserved=0
> > uadris.com%2F&data=05%7C01%7CFrederic.Larcher%40quadris.com%7C5e599d
> > cb
> > 179a4809f31b08dbf5b6a8ca%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%
> > 7C
> > 638373937100021096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
> > jo
> > iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aqS5pi
> > 2s
> > ks0gjHMcu7pMcZIYgzMfs9Pi8LISBVNup9w%3D&reserved=0
> > Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way,
> > Bredbury, Stockport, SK6 2SN -----Original Message-----
> > From: Wei ZHOU <[email protected]>
> > Sent: Monday, December 4, 2023 9:22 AM
> > To: [email protected]
> > Subject: Re: VR webserver.service apache2
> >
> > Hi,
> >
> > Have you updated the global configuration "router.template.*" ?
> >
> > -Wei
> >
> > On Mon, 4 Dec 2023 at 10:18, Frederic Larcher
> > <[email protected]> wrote:
> >
> > > Hi,
> > >
> > > I have made the requested changes from the Github pull 7982 on a
> > > SystemVM template (that should fix our issue with the web service
> > > failing) on ACS 4.15.2, added it to our Secondary storage server,
> > > and created a new SystemVM from it. However, this new VM doesn’t
> > > have the
> > changes.
> > >
> > > This is what I have on the SystemVM template:
> > > [image: A computer screen with white text Description
> > > automatically generated]
> > >
> > >
> > >
> > > It is identical as the Git pull:
> > >
> > > [image: image]
> > >
> > > Problem is that on a new SystemVM I have just recreated, it is
> > > still using the old config:
> > >
> > > [image: image]
> > >
> > >
> > >
> > > I’m a bit lost. I have used the right command to upload this
> > > SystemVM, so I don’t understand why the config files are different
> > > between the VM and the template. Guess I am missing something?
> > >
> > > Any help would be appreciated, thanks.
> > >
> > >
> > > Frederic Larcher​​​​
> > > Technical Consultant
> > > 0161 537 4980 <0161%20537%204980>
> > > [email protected]
> > > http://www/
> > > .q%2F&data=05%7C01%7CFrederic.Larcher%40quadris.com%7C5e599dcb179a
> > > 48
> > > 09f31b08dbf5b6a8ca%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63
> > > 83
> > > 73937100021096%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
> > > iV
> > > 2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fABuIf
> > > nn
> > > OR09%2BXT26089kZUuUj9KpoXPEq74taDzrOA%3D&reserved=0
> > > uadris.com%2F&data=05%7C01%7CFrederic.Larcher%40quadris.com%7C84f5
> > > 0d
> > > 49
> > > 8e334d0c34b808dbf4aa9797%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C
> > > 0%
> > > 7C
> > > 638372785756365994%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJ
> > > QI
> > > jo
> > > iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aXGc
> > > UU
> > > Xn
> > > sXb0f0wfxlR2m7HH9j%2BcMthdzvMVZZnZ5uo%3D&reserved=0
> > > Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way,
> > > Bredbury, Stockport, SK6 2SN
> > >
> >
>

Reply via email to