Re: Virtual Router Custom Image

2023-09-06 Thread Francisco Arencibia Quesada
It worked.

Thank you all for your help.

Best regards

On Tue, 5 Sept 2023, 19:16 Pearl d'Silva, 
wrote:

> Hi Francisco,
>
> Since you are using  XenServer/XCP-ng hypervisor, can you try replacing
> the cloud-scripts.tgz file present at /opt/xensource/packages/resources/ on
> the hosts. And then either re-create the router / live-patch it.
>
> Regards,
> 
> From: Francisco Arencibia Quesada 
> Sent: September 5, 2023 1:04 PM
> To: users@cloudstack.apache.org 
> Subject: Re: Virtual Router Custom Image
>
> Yes I did, I even destroyed the Virtual  router and recreate it ..
>
>
> On Tue, 5 Sept 2023, 18:53 Wei ZHOU,  wrote:
>
> > Did you restart the network with cleanup or stop/start the virtual
> router ?
> >
> > -Wei
> >
> > On Tue, 5 Sept 2023 at 17:26, Francisco Arencibia Quesada <
> > arencibia.franci...@gmail.com> wrote:
> >
> > > Thanks for these amazing tips Wei,
> > > I truly appreciate it.
> > > I tried changing this
> /usr/share/cloudstack-common/vms/cloud-scripts.tgz
> > > and
> > > it didn't work, I have XCP-ng as  hypervisor.
> > > Do you have any suggestions to make it work?
> > >
> > > Thanks a lot :)
> > >
> > > On Tue, Sep 5, 2023 at 11:55 AM Wei ZHOU 
> wrote:
> > >
> > > > Hi,
> > > >
> > > > Yes, it is possible, you can follow the instruction on
> > > > https://github.com/apache/cloudstack/tree/main/tools/appliance
> > > >
> > > > If you use cloudstack 4.17 and above, an alternative way is
> > > > replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
> > > > management servers and kvm hosts (if you use kvm).
> > > >
> > > > -Wei
> > > >
> > > >
> > > > On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
> > > > arencibia.franci...@gmail.com> wrote:
> > > >
> > > > > Good morning all,
> > > > >
> > > > > We have to change /opt/cloud/bin/configure.py in Virtual Routers to
> > > allow
> > > > > vpn site2site behind a NAT. We are going to upgrade cloudstack and
> > all
> > > > > Virtual Routers, and we don't want to lose those changes. My
> question
> > > is:
> > > > > is it possible to create a custom template for the virtual router?
> > Has
> > > > > anyone faced something like this?
> > > > >
> > > > > Thanks to all.
> > > > >
> > > > > --
> > > > > *Francisco Arencibia Quesada.*
> > > > > *DevOps Engineer*
> > > > >
> > > >
> > >
> > >
> > > --
> > > *Francisco Arencibia Quesada.*
> > > *DevOps Engineer*
> > >
> >
>
>
>
>


Re: Virtual Router Custom Image

2023-09-05 Thread Pearl d'Silva
Hi Francisco,

Since you are using  XenServer/XCP-ng hypervisor, can you try replacing the 
cloud-scripts.tgz file present at /opt/xensource/packages/resources/ on the 
hosts. And then either re-create the router / live-patch it.

Regards,

From: Francisco Arencibia Quesada 
Sent: September 5, 2023 1:04 PM
To: users@cloudstack.apache.org 
Subject: Re: Virtual Router Custom Image

Yes I did, I even destroyed the Virtual  router and recreate it ..


On Tue, 5 Sept 2023, 18:53 Wei ZHOU,  wrote:

> Did you restart the network with cleanup or stop/start the virtual router ?
>
> -Wei
>
> On Tue, 5 Sept 2023 at 17:26, Francisco Arencibia Quesada <
> arencibia.franci...@gmail.com> wrote:
>
> > Thanks for these amazing tips Wei,
> > I truly appreciate it.
> > I tried changing this /usr/share/cloudstack-common/vms/cloud-scripts.tgz
> > and
> > it didn't work, I have XCP-ng as  hypervisor.
> > Do you have any suggestions to make it work?
> >
> > Thanks a lot :)
> >
> > On Tue, Sep 5, 2023 at 11:55 AM Wei ZHOU  wrote:
> >
> > > Hi,
> > >
> > > Yes, it is possible, you can follow the instruction on
> > > https://github.com/apache/cloudstack/tree/main/tools/appliance
> > >
> > > If you use cloudstack 4.17 and above, an alternative way is
> > > replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
> > > management servers and kvm hosts (if you use kvm).
> > >
> > > -Wei
> > >
> > >
> > > On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
> > > arencibia.franci...@gmail.com> wrote:
> > >
> > > > Good morning all,
> > > >
> > > > We have to change /opt/cloud/bin/configure.py in Virtual Routers to
> > allow
> > > > vpn site2site behind a NAT. We are going to upgrade cloudstack and
> all
> > > > Virtual Routers, and we don't want to lose those changes. My question
> > is:
> > > > is it possible to create a custom template for the virtual router?
> Has
> > > > anyone faced something like this?
> > > >
> > > > Thanks to all.
> > > >
> > > > --
> > > > *Francisco Arencibia Quesada.*
> > > > *DevOps Engineer*
> > > >
> > >
> >
> >
> > --
> > *Francisco Arencibia Quesada.*
> > *DevOps Engineer*
> >
>

 



Re: Virtual Router Custom Image

2023-09-05 Thread Francisco Arencibia Quesada
Yes I did, I even destroyed the Virtual  router and recreate it ..


On Tue, 5 Sept 2023, 18:53 Wei ZHOU,  wrote:

> Did you restart the network with cleanup or stop/start the virtual router ?
>
> -Wei
>
> On Tue, 5 Sept 2023 at 17:26, Francisco Arencibia Quesada <
> arencibia.franci...@gmail.com> wrote:
>
> > Thanks for these amazing tips Wei,
> > I truly appreciate it.
> > I tried changing this /usr/share/cloudstack-common/vms/cloud-scripts.tgz
> > and
> > it didn't work, I have XCP-ng as  hypervisor.
> > Do you have any suggestions to make it work?
> >
> > Thanks a lot :)
> >
> > On Tue, Sep 5, 2023 at 11:55 AM Wei ZHOU  wrote:
> >
> > > Hi,
> > >
> > > Yes, it is possible, you can follow the instruction on
> > > https://github.com/apache/cloudstack/tree/main/tools/appliance
> > >
> > > If you use cloudstack 4.17 and above, an alternative way is
> > > replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
> > > management servers and kvm hosts (if you use kvm).
> > >
> > > -Wei
> > >
> > >
> > > On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
> > > arencibia.franci...@gmail.com> wrote:
> > >
> > > > Good morning all,
> > > >
> > > > We have to change /opt/cloud/bin/configure.py in Virtual Routers to
> > allow
> > > > vpn site2site behind a NAT. We are going to upgrade cloudstack and
> all
> > > > Virtual Routers, and we don't want to lose those changes. My question
> > is:
> > > > is it possible to create a custom template for the virtual router?
> Has
> > > > anyone faced something like this?
> > > >
> > > > Thanks to all.
> > > >
> > > > --
> > > > *Francisco Arencibia Quesada.*
> > > > *DevOps Engineer*
> > > >
> > >
> >
> >
> > --
> > *Francisco Arencibia Quesada.*
> > *DevOps Engineer*
> >
>


Re: Virtual Router Custom Image

2023-09-05 Thread Wei ZHOU
Did you restart the network with cleanup or stop/start the virtual router ?

-Wei

On Tue, 5 Sept 2023 at 17:26, Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Thanks for these amazing tips Wei,
> I truly appreciate it.
> I tried changing this /usr/share/cloudstack-common/vms/cloud-scripts.tgz
> and
> it didn't work, I have XCP-ng as  hypervisor.
> Do you have any suggestions to make it work?
>
> Thanks a lot :)
>
> On Tue, Sep 5, 2023 at 11:55 AM Wei ZHOU  wrote:
>
> > Hi,
> >
> > Yes, it is possible, you can follow the instruction on
> > https://github.com/apache/cloudstack/tree/main/tools/appliance
> >
> > If you use cloudstack 4.17 and above, an alternative way is
> > replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
> > management servers and kvm hosts (if you use kvm).
> >
> > -Wei
> >
> >
> > On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
> > arencibia.franci...@gmail.com> wrote:
> >
> > > Good morning all,
> > >
> > > We have to change /opt/cloud/bin/configure.py in Virtual Routers to
> allow
> > > vpn site2site behind a NAT. We are going to upgrade cloudstack and all
> > > Virtual Routers, and we don't want to lose those changes. My question
> is:
> > > is it possible to create a custom template for the virtual router? Has
> > > anyone faced something like this?
> > >
> > > Thanks to all.
> > >
> > > --
> > > *Francisco Arencibia Quesada.*
> > > *DevOps Engineer*
> > >
> >
>
>
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Re: Virtual Router Custom Image

2023-09-05 Thread Francisco Arencibia Quesada
Thanks for these amazing tips Wei,
I truly appreciate it.
I tried changing this /usr/share/cloudstack-common/vms/cloud-scripts.tgz and
it didn't work, I have XCP-ng as  hypervisor.
Do you have any suggestions to make it work?

Thanks a lot :)

On Tue, Sep 5, 2023 at 11:55 AM Wei ZHOU  wrote:

> Hi,
>
> Yes, it is possible, you can follow the instruction on
> https://github.com/apache/cloudstack/tree/main/tools/appliance
>
> If you use cloudstack 4.17 and above, an alternative way is
> replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
> management servers and kvm hosts (if you use kvm).
>
> -Wei
>
>
> On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
> arencibia.franci...@gmail.com> wrote:
>
> > Good morning all,
> >
> > We have to change /opt/cloud/bin/configure.py in Virtual Routers to allow
> > vpn site2site behind a NAT. We are going to upgrade cloudstack and all
> > Virtual Routers, and we don't want to lose those changes. My question is:
> > is it possible to create a custom template for the virtual router? Has
> > anyone faced something like this?
> >
> > Thanks to all.
> >
> > --
> > *Francisco Arencibia Quesada.*
> > *DevOps Engineer*
> >
>


-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*


Re: Virtual Router Custom Image

2023-09-05 Thread Wei ZHOU
Hi,

Yes, it is possible, you can follow the instruction on
https://github.com/apache/cloudstack/tree/main/tools/appliance

If you use cloudstack 4.17 and above, an alternative way is
replacing /usr/share/cloudstack-common/vms/cloud-scripts.tgz on the
management servers and kvm hosts (if you use kvm).

-Wei


On Tue, 5 Sept 2023 at 11:51, Francisco Arencibia Quesada <
arencibia.franci...@gmail.com> wrote:

> Good morning all,
>
> We have to change /opt/cloud/bin/configure.py in Virtual Routers to allow
> vpn site2site behind a NAT. We are going to upgrade cloudstack and all
> Virtual Routers, and we don't want to lose those changes. My question is:
> is it possible to create a custom template for the virtual router? Has
> anyone faced something like this?
>
> Thanks to all.
>
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


Virtual Router Custom Image

2023-09-05 Thread Francisco Arencibia Quesada
Good morning all,

We have to change /opt/cloud/bin/configure.py in Virtual Routers to allow
vpn site2site behind a NAT. We are going to upgrade cloudstack and all
Virtual Routers, and we don't want to lose those changes. My question is:
is it possible to create a custom template for the virtual router? Has
anyone faced something like this?

Thanks to all.

-- 
*Francisco Arencibia Quesada.*
*DevOps Engineer*