[ovirt-users] Re: glusterfs not starting

2021-08-24 Thread Strahil Nikolov via Users
I can't call it "resolved" , but it's up to you.
I would look at gluster logs for clues.
Best Regards,Strahil Nikolov

Sent from Yahoo Mail on Android 
 
Its resolved but had to rebuild the cluster and lost some data.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/V46OU5I4BRAOUNNCF4TWN7R5FPZFB57F/
  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2ZGVKREAWQHTL7TZYM2V5YBVEK6NRYKC/


[ovirt-users] Re: [External] : Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Tommy Sway
Ok,thanks!



-Original Message-
From: Marcos Sungaila  
Sent: Wednesday, August 25, 2021 1:39 AM
To: Tommy Sway ; 'Liran Rotenberg' 
Cc: users@ovirt.org
Subject: RE: [ovirt-users] Re: [External] : Re: what difference between the 
Cloud-Init Network Protocol options ?

Once the KVM host is part of an oVirt cluster, many interactions come from the 
VDSM service.
It would help if you used a different KVM host for this kind of procedure.

Marcos

-Original Message-
From: Tommy Sway 
Sent: terça-feira, 24 de agosto de 2021 14:10
To: Marcos Sungaila ; 'Liran Rotenberg' 

Cc: users@ovirt.org
Subject: [ovirt-users] Re: [External] : Re: what difference between the 
Cloud-Init Network Protocol options ?

If so, can I still run it on KVM Server fn the oVirt platform?
It seems that a lot of oVirt's configuration information is not stored in 
QUEMU's configuration file like ordinary KVM SERVER, but in the database. Does 
this still work?



-Original Message-
From: Marcos Sungaila 
Sent: Wednesday, August 25, 2021 12:55 AM
To: Liran Rotenberg ; Tommy Sway 
Cc: users@ovirt.org
Subject: RE: [External] : [ovirt-users] Re: what difference between the 
Cloud-Init Network Protocol options ?

One important thing, you run the virt-sysprep command on the KVM host 
indicating the VM name to seal, you do not run it inside a VM.
It is not like the sysprep command on a Windows machine.

Marcos

-Original Message-
From: Liran Rotenberg 
Sent: terça-feira, 24 de agosto de 2021 12:56
To: Tommy Sway 
Cc: users@oVirt.org
Subject: [External] : [ovirt-users] Re: what difference between the Cloud-Init 
Network Protocol options ?

On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the 
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing option. 
In the bottom line it will run virt-sysprep with the parameters we thought are 
right.
Note the documentation in the thread, for windows OS you will need to do it 
manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://urldefense.com/v3/__https://www.ovirt.org/develop/release-mana
> gement/features/virt/virt-sysprep.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6i
> sDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdze6OUMY$
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://urldefense.com/v3/__https://libguestfs.org/virt-sysprep.1.html
> __;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walS
> mLU6F8JySXdosCfIz8$
>
>
>
> As for windows:
>
> https://urldefense.com/v3/__https://docs.microsoft.com/en-us/windows-h
> ardware/manufacture/desktop/sysprep--generalize--a-windows-installatio
> n__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-wal
> SmLU6F8JySXdXvrseps$
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific details.
> > You may find this link handy for sealing:
> > https://urldefense.com/v3/__https://access.redhat.com/documentation/
> > en-us/red_hat_virtualization/4.4/html/virtual_machine_management_gui
> > de/chap-templates__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLa
> > uWNhglwbS9fr0p-walSmLU6F8JySXdFW1of34$
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg 
> > > Sent: Sunday, August 22,

[ovirt-users] ovirt-image-repository is unattached

2021-08-24 Thread eevans
I had a gluster issue and got it resolved, but now the ovirt-image-repository 
is unattached in the storage domain section. I was able to import the images 
but want to make sure its something that just points to another problem I don't 
know about.

Any help is appreciated.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SPFYY2GYQZ32ETZGEFXC5AAUYTUCOCJB/


[ovirt-users] Re: glusterfs not starting

2021-08-24 Thread eevans
Its resolved but had to rebuild the cluster and lost some data.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/V46OU5I4BRAOUNNCF4TWN7R5FPZFB57F/


[ovirt-users] Re: [External] : Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Marcos Sungaila
Once the KVM host is part of an oVirt cluster, many interactions come from the 
VDSM service.
It would help if you used a different KVM host for this kind of procedure.

Marcos

-Original Message-
From: Tommy Sway  
Sent: terça-feira, 24 de agosto de 2021 14:10
To: Marcos Sungaila ; 'Liran Rotenberg' 

Cc: users@ovirt.org
Subject: [ovirt-users] Re: [External] : Re: what difference between the 
Cloud-Init Network Protocol options ?

If so, can I still run it on KVM Server fn the oVirt platform?
It seems that a lot of oVirt's configuration information is not stored in 
QUEMU's configuration file like ordinary KVM SERVER, but in the database. Does 
this still work?



-Original Message-
From: Marcos Sungaila 
Sent: Wednesday, August 25, 2021 12:55 AM
To: Liran Rotenberg ; Tommy Sway 
Cc: users@ovirt.org
Subject: RE: [External] : [ovirt-users] Re: what difference between the 
Cloud-Init Network Protocol options ?

One important thing, you run the virt-sysprep command on the KVM host 
indicating the VM name to seal, you do not run it inside a VM.
It is not like the sysprep command on a Windows machine.

Marcos

-Original Message-
From: Liran Rotenberg 
Sent: terça-feira, 24 de agosto de 2021 12:56
To: Tommy Sway 
Cc: users@oVirt.org
Subject: [External] : [ovirt-users] Re: what difference between the Cloud-Init 
Network Protocol options ?

On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the 
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing option. 
In the bottom line it will run virt-sysprep with the parameters we thought are 
right.
Note the documentation in the thread, for windows OS you will need to do it 
manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://urldefense.com/v3/__https://www.ovirt.org/develop/release-mana
> gement/features/virt/virt-sysprep.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6i
> sDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdze6OUMY$
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://urldefense.com/v3/__https://libguestfs.org/virt-sysprep.1.html
> __;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walS
> mLU6F8JySXdosCfIz8$
>
>
>
> As for windows:
>
> https://urldefense.com/v3/__https://docs.microsoft.com/en-us/windows-h
> ardware/manufacture/desktop/sysprep--generalize--a-windows-installatio
> n__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-wal
> SmLU6F8JySXdXvrseps$
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific details.
> > You may find this link handy for sealing:
> > https://urldefense.com/v3/__https://access.redhat.com/documentation/
> > en-us/red_hat_virtualization/4.4/html/virtual_machine_management_gui
> > de/chap-templates__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLa
> > uWNhglwbS9fr0p-walSmLU6F8JySXdFW1of34$
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg 
> > > Sent: Sunday, August 22, 2021 10:46 PM
> > > To: Tommy Sway 
> > > Cc: Eitan Raviv ; users@ovirt.org
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > Network Protocol options ?
> > >
> > > On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  wrote:
> > > >
> > > > What I want

[ovirt-users] Re: [External] : about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Marcos Sungaila
You have two options:
- If installing the VM using a pxe environment/network server,  you can add 
this options as kernel_extra boot options at the Run Once install procedure.
- if installing the VM using an ISO image, edit the install menu entry and add 
this option at the end of line.

Marcos

-Original Message-
From: Tommy Sway  
Sent: terça-feira, 24 de agosto de 2021 11:34
To: Marcos Sungaila ; users@ovirt.org
Subject: [ovirt-users] Re: [External] : about the network name rules on 
CentOS/Redhat 8 and the cloud-init network interface name

Thank you!

But where to set in on oVirt Platform when I create the VM ?



-Original Message-
From: Marcos Sungaila 
Sent: Tuesday, August 24, 2021 9:10 PM
To: Tommy Sway ; users@ovirt.org
Subject: RE: [External] : [ovirt-users] about the network name rules on 
CentOS/Redhat 8 and the cloud-init network interface name

The naming convention is called BiosDevName and was introduced in kernel 
2.6.27. It is defined by the OS kernel you are using in the guest. It is not 
related to oVirt itself or the KVM host.
In my case, I install my VMs passing "biosdevname=0 net.ifnames=0" during the 
OS installation process, so all my VMs have ethX name style to make it easier 
to use cloud-init and other scripts.

Marcos

From: Tommy Sway 
Sent: terça-feira, 24 de agosto de 2021 05:57
To: users@ovirt.org
Subject: [External] : [ovirt-users] about the network name rules on 
CentOS/Redhat 8 and the cloud-init network interface name

Everybody is good!
As you all know, to use the client's network card name in cloud-init, you must 
fill in the exact name of the network card interface. 
This was easy in version 7 and before, which usually started with EN0. 

After version 8, however, the naming conventions for network cards changed a 
lot. In my own test environment, for example, I started with ENS3.
I'm not sure what naming convention it uses, which would make it impossible to 
specify nic information using cloud-init. 

Could you help me explain how to deal with this problem?
Thank you very much!

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!Ycf4LjLfnL9oqrPnfm7E7c7pDjwu9mjeBlHfxftqDx1TQiofzsFeU2IEmE08GkxRr4M$
oVirt Code of Conduct: 
https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!Ycf4LjLfnL9oqrPnfm7E7c7pDjwu9mjeBlHfxftqDx1TQiofzsFeU2IEmE08J-8c7Nc$
List Archives: 
https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovirt.org/message/AZZGRDFPJ77FMJA4HJCEXR6PPOWIMVDR/__;!!ACWV5N9M2RV99hQ!Ycf4LjLfnL9oqrPnfm7E7c7pDjwu9mjeBlHfxftqDx1TQiofzsFeU2IEmE08agTnvXs$
 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GDKFHRGUDRODZUSKAB77Q4CIOGI2WOIS/


[ovirt-users] Re: Cannot delete pvc attached to pod using ovirt-csi in kubernetes

2021-08-24 Thread Konstantin Shalygin
And also you can't migrate your pvc between pools. I was create ticket for that 
[1]


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1997241


k

> On 24 Aug 2021, at 04:13, ssarang...@gmail.com wrote:
> 
> With csi, a pvc is created and a pod is also created by attaching the pvc.
> 
> And if I delete the pod, /dev/rbd0 connected to the ovirt vm is not released 
> and connection information remains in the DB.
> So I cannot delete the pvc and cannot attach the pvc again.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AY5SBCN5C2H6I67DVGZ4JO6TO46QR3IO/


[ovirt-users] Re: [External] : Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Tommy Sway
If so, can I still run it on KVM Server fn the oVirt platform?
It seems that a lot of oVirt's configuration information is not stored in 
QUEMU's configuration file like ordinary KVM SERVER, but in the database. Does 
this still work?



-Original Message-
From: Marcos Sungaila  
Sent: Wednesday, August 25, 2021 12:55 AM
To: Liran Rotenberg ; Tommy Sway 
Cc: users@ovirt.org
Subject: RE: [External] : [ovirt-users] Re: what difference between the 
Cloud-Init Network Protocol options ?

One important thing, you run the virt-sysprep command on the KVM host 
indicating the VM name to seal, you do not run it inside a VM.
It is not like the sysprep command on a Windows machine.

Marcos

-Original Message-
From: Liran Rotenberg 
Sent: terça-feira, 24 de agosto de 2021 12:56
To: Tommy Sway 
Cc: users@oVirt.org
Subject: [External] : [ovirt-users] Re: what difference between the Cloud-Init 
Network Protocol options ?

On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the 
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing option. 
In the bottom line it will run virt-sysprep with the parameters we thought are 
right.
Note the documentation in the thread, for windows OS you will need to do it 
manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://urldefense.com/v3/__https://www.ovirt.org/develop/release-mana
> gement/features/virt/virt-sysprep.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6i
> sDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdze6OUMY$
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://urldefense.com/v3/__https://libguestfs.org/virt-sysprep.1.html
> __;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walS
> mLU6F8JySXdosCfIz8$
>
>
>
> As for windows:
>
> https://urldefense.com/v3/__https://docs.microsoft.com/en-us/windows-h
> ardware/manufacture/desktop/sysprep--generalize--a-windows-installatio
> n__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-wal
> SmLU6F8JySXdXvrseps$
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific details.
> > You may find this link handy for sealing:
> > https://urldefense.com/v3/__https://access.redhat.com/documentation/
> > en-us/red_hat_virtualization/4.4/html/virtual_machine_management_gui
> > de/chap-templates__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLa
> > uWNhglwbS9fr0p-walSmLU6F8JySXdFW1of34$
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg 
> > > Sent: Sunday, August 22, 2021 10:46 PM
> > > To: Tommy Sway 
> > > Cc: Eitan Raviv ; users@ovirt.org
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > Network Protocol options ?
> > >
> > > On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  wrote:
> > > >
> > > > What I want to know is if I use openstack metadata, do I need to 
> > > > configure any additional information related to openstack?  For 
> > > > example, do I need to set up an openstack node as an external provider 
> > > > to use cloud-init services based on it?
> > > >
> > > Not that I am aware of. It's just the protocol cloud-init will read the 
> > > network information provided.
> > > You can set it via API/UI. Or, to set it within the custom

[ovirt-users] Re: [External] : Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Marcos Sungaila
One important thing, you run the virt-sysprep command on the KVM host 
indicating the VM name to seal, you do not run it inside a VM.
It is not like the sysprep command on a Windows machine.

Marcos

-Original Message-
From: Liran Rotenberg  
Sent: terça-feira, 24 de agosto de 2021 12:56
To: Tommy Sway 
Cc: users@oVirt.org
Subject: [External] : [ovirt-users] Re: what difference between the Cloud-Init 
Network Protocol options ?

On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the 
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing option. 
In the bottom line it will run virt-sysprep with the parameters we thought are 
right.
Note the documentation in the thread, for windows OS you will need to do it 
manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of 
> Liran Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://urldefense.com/v3/__https://www.ovirt.org/develop/release-mana
> gement/features/virt/virt-sysprep.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6i
> sDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdze6OUMY$
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://urldefense.com/v3/__https://libguestfs.org/virt-sysprep.1.html
> __;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walS
> mLU6F8JySXdosCfIz8$
>
>
>
> As for windows:
>
> https://urldefense.com/v3/__https://docs.microsoft.com/en-us/windows-h
> ardware/manufacture/desktop/sysprep--generalize--a-windows-installatio
> n__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-wal
> SmLU6F8JySXdXvrseps$
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific details.
> > You may find this link handy for sealing:
> > https://urldefense.com/v3/__https://access.redhat.com/documentation/
> > en-us/red_hat_virtualization/4.4/html/virtual_machine_management_gui
> > de/chap-templates__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLa
> > uWNhglwbS9fr0p-walSmLU6F8JySXdFW1of34$
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg 
> > > Sent: Sunday, August 22, 2021 10:46 PM
> > > To: Tommy Sway 
> > > Cc: Eitan Raviv ; users@ovirt.org
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > Network Protocol options ?
> > >
> > > On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  wrote:
> > > >
> > > > What I want to know is if I use openstack metadata, do I need to 
> > > > configure any additional information related to openstack?  For 
> > > > example, do I need to set up an openstack node as an external provider 
> > > > to use cloud-init services based on it?
> > > >
> > > Not that I am aware of. It's just the protocol cloud-init will read the 
> > > network information provided.
> > > You can set it via API/UI. Or, to set it within the custom script.
> > > Bottom line you need:
> > > A VM with cloud-init installed, service is running and enabled.
> > > Set the configuration you wish to set.
> > > If it's a first boot (usually a sealed VM) you can run the VM as you wish.
> > > If it's not the first boot, you will need to set the configuration within 
> > > the Run-Once and run the VM as Run-Once.
> > >
> > > I hope it helps to your question,
> > > Liran
> > > >
> > > >
> > > >
> > > > -Original Message-
> > > > From: Lira

[ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?

2021-08-24 Thread Liran Rotenberg
On Tue, Aug 24, 2021 at 7:36 AM Tommy Sway  wrote:
>
> Thank you very much!
>
>
>
> However, if you use virt-Sysprep, you need to use this tool to complete 
> template creation inside the VM to be created. Using oVirt's own template 
> encapsulation option, however, does not require you to log in to the VM to 
> run similar commands. It's just that using the Virt-Sysprep tool gives you 
> more autonomy and options to choose from, whereas oVirt's own template 
> encapsulation options are fixed and you can't personalize more options.
>
>
>
> Am I getting that right?
Yes, ovirt manages your environment and such does for you some of the
operations to ease you from doing it manually.
When you create a template in ovirt you may or may not set the sealing
option. In the bottom line it will run virt-sysprep with the
parameters we thought are right.
Note the documentation in the thread, for windows OS you will need to
do it manually.
>
>
>
>
>
>
>
> From: users-boun...@ovirt.org  On Behalf Of Liran 
> Rotenberg
> Sent: Monday, August 23, 2021 5:23 PM
> To: Tommy Sway 
> Cc: users@ovirt.org
> Subject: [ovirt-users] Re: what difference between the Cloud-Init Network 
> Protocol options ?
>
>
>
>
>
> On Sun, Aug 22, 2021 at 7:56 PM Tommy Sway  wrote:
> >
> > I have read the document you gave me, but can you list what specific 
> > information was deleted by the sealing action?
> Yes, it was more about how to do it.
>
> Here are some more detailed links:
> https://www.ovirt.org/develop/release-management/features/virt/virt-sysprep.html
>
>
>
> Our linux sealing uses virt-sysprep:
>
> https://libguestfs.org/virt-sysprep.1.html
>
>
>
> As for windows:
>
> https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/sysprep--generalize--a-windows-installation
> >
> >
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: Liran Rotenberg 
> > Sent: Sunday, August 22, 2021 11:33 PM
> > To: Tommy Sway 
> > Cc: Eitan Raviv ; users@ovirt.org
> > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > Network Protocol options ?
> >
> >
> >
> >
> >
> > On Sun, Aug 22, 2021 at 5:54 PM Tommy Sway  wrote:
> > >
> > > I see. Can I just ask again, I've seen this option when you're referring 
> > > to sealed Linux, but I don't understand what it means? What is a sealed 
> > > Linux, and how is it different from a non-sealed Linux? Can you explain, 
> > > thank you!
> > >
> > Usually you make a template sealed and create multiple VMs from it. The 
> > sealing is clearing system specific details.
> > You may find this link handy for sealing:
> > https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/virtual_machine_management_guide/chap-templates
> > >
> > >
> > > -Original Message-
> > > From: Liran Rotenberg 
> > > Sent: Sunday, August 22, 2021 10:46 PM
> > > To: Tommy Sway 
> > > Cc: Eitan Raviv ; users@ovirt.org
> > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > Network Protocol options ?
> > >
> > > On Sun, Aug 22, 2021 at 2:05 PM Tommy Sway  wrote:
> > > >
> > > > What I want to know is if I use openstack metadata, do I need to 
> > > > configure any additional information related to openstack?  For 
> > > > example, do I need to set up an openstack node as an external provider 
> > > > to use cloud-init services based on it?
> > > >
> > > Not that I am aware of. It's just the protocol cloud-init will read the 
> > > network information provided.
> > > You can set it via API/UI. Or, to set it within the custom script.
> > > Bottom line you need:
> > > A VM with cloud-init installed, service is running and enabled.
> > > Set the configuration you wish to set.
> > > If it's a first boot (usually a sealed VM) you can run the VM as you wish.
> > > If it's not the first boot, you will need to set the configuration within 
> > > the Run-Once and run the VM as Run-Once.
> > >
> > > I hope it helps to your question,
> > > Liran
> > > >
> > > >
> > > >
> > > > -Original Message-
> > > > From: Liran Rotenberg 
> > > > Sent: Sunday, August 22, 2021 4:01 PM
> > > > To: Tommy Sway ; Eitan Raviv 
> > > > Cc: users@ovirt.org
> > > > Subject: Re: [ovirt-users] Re: what difference between the Cloud-Init 
> > > > Network Protocol options ?
> > > >
> > > > On Sun, Aug 22, 2021 at 9:35 AM Tommy Sway  wrote:
> > > > >
> > > > > Any one can help me ?
> > > > >
> > > > Adding +Eitan Raviv
> > > > The general information I can give is that older versions of cloud-init 
> > > > support ENI protocol when network configuration provided while on newer 
> > > > versions (EL7+, Eitan please correct me if I'm wrong), support the 
> > > > openstack protocol.
> > > > The ENI option was added to support the back compatibility of older 
> > > > OSes and cloud-init versions.
> > > >
> > > > Regards,
> > > > Liran
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > From: users-boun...@ovirt.org  On Behalf Of
> > > > > Tommy Sway
> > > > 

[ovirt-users] Re: OVA Export to local storage failes

2021-08-24 Thread Liran Rotenberg
On Mon, Aug 23, 2021 at 1:58 PM David White via Users  wrote:
>
> Thank you.
> Yes, for me, a lot of the unknowns is simply identifying which log files I 
> need to look at, and where.
>
> I see 3 log files in the ovirt-engine/ova/ directory for a single export task:
>
> [root@ovirt-engine1 ova]# pwd
> /var/log/ovirt-engine/ova
> [root@ovirt-engine1 ova]# ls -la | grep "2ee56518741d.log"
> -rw-r--r--.  1 ovirt ovirt 16500 Aug 21 20:34 
> ovirt-export-ova-ansible-20210821203427-cha2-storage.mgt.example.com-f1e24123-7aa4-4398-96dd-2ee56518741d.log
> -rw-r--r--.  1 ovirt ovirt  8680 Aug 21 20:33 
> ovirt-export-ova-validate-ansible-20210821203346-cha2-storage.mgt.example.com-f1e24123-7aa4-4398-96dd-2ee56518741d.log
> -rw-r--r--.  1 ovirt ovirt  3238 Aug 21 20:34 
> ovirt-image-measure-ansible-20210821203417-cha2-storage.mgt.example.com-f1e24123-7aa4-4398-96dd-2ee56518741d.log
>
> As this is a lot of data, should I include it in the email, or would it be 
> better to put it into pastebin or provide a link to access these files?

Most likely we need only
ovirt-export-ova-ansible-20210821203427-cha2-storage.mgt.example.com-f1e24123-7aa4-4398-96dd-2ee56518741d.log
You can add it to the thread.
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
>
> On Sunday, August 22nd, 2021 at 3:58 AM, Liran Rotenberg 
>  wrote:
>
> > On Sun, Aug 22, 2021 at 3:42 AM David White via Users users@ovirt.org wrote:
> >
>
> > > I have an unused 200GB partition that I'd like to use to copy / export / 
> > > backup a few VMs onto, so I mounted it to one of my oVirt hosts as 
> > > /ova-images/, and then ran "chown 36:36" on ova-images.
> > >
>
> > > From the engine, I then tried to export an OVA to that directory.
> > >
>
> > > Watching the directory with "ls", I see a filename.ova.tmp eventually 
> > > appear, and it grows to the size I would expect for the image... and then 
> > > a few seconds later, it disappears.
> > >
>
> > > What am I missing?
> >
>
> > Hi David,
> >
>
> > More logs are needed to understand what's going on. For a start, the
> >
>
> > engine log and the export log (within the engine
> >
>
> > /var/logs/ovirt-engine/ova).
> >
>
> > Regards,
> >
>
> > Liran
> >
>
> > > Here's what I see in the Event Manager inside the Engine:
> > >
>
> > > Aug 21, 2021, 8:35:26 PM
> > >
>
> > > Failed to export Vm server.example.org as a Virtual Appliance to path 
> > > /ova-images/server.example.org.ova on Host cha2-storage.mgt.example.com
> > >
>
> > > Aug 21, 2021, 8:34:33 PM
> > >
>
> > > Pack OVA. Retrieving the temporary path for the OVA file.
> > >
>
> > > Aug 21, 2021, 8:34:33 PM
> > >
>
> > > Pack OVA. Allocating the temporary path for the OVA file.
> > >
>
> > > Aug 21, 2021, 8:34:33 PM
> > >
>
> > > Pack OVA. Removing the temporary file.
> > >
>
> > > Aug 21, 2021, 8:34:33 PM
> > >
>
> > > Pack OVA. Examine target directory.
> > >
>
> > > Aug 21, 2021, 8:34:33 PM
> > >
>
> > > Pack OVA. Set facts.
> > >
>
> > > Aug 21, 2021, 8:34:33 PM
> > >
>
> > > Pack OVA. Run import yaml on py3.
> > >
>
> > > Aug 21, 2021, 8:34:21 PM
> > >
>
> > > Image measure. Measure an image.
> > >
>
> > > Aug 21, 2021, 8:33:56 PM
> > >
>
> > > Starting to export Vm server.example.org as a Virtual Appliance
> > >
>
> > > Aug 21, 2021, 8:33:52 PM
> > >
>
> > > Export OVA. Examine target directory.
> > >
>
> > > Aug 21, 2021, 8:33:49 PM
> > >
>
> > > Export OVA. Set facts.
> > >
>
> > > Aug 21, 2021, 8:33:49 PM
> > >
>
> > > Export OVA. Run import yaml on py3.
> > >
>
> > > Sent with ProtonMail Secure Email.
> > >
>
> > > Users mailing list -- users@ovirt.org
> > >
>
> > > To unsubscribe send an email to users-le...@ovirt.org
> > >
>
> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> > >
>
> > > oVirt Code of Conduct: 
> > > https://www.ovirt.org/community/about/community-guidelines/
> > >
>
> > > List Archives: 
> > > https://lists.ovirt.org/archives/list/users@ovirt.org/message/WLGSMUBESVDE2ILKHDU6ITRDXYKP5BVA/
> >
>
> > Users mailing list -- users@ovirt.org
> >
>
> > To unsubscribe send an email to users-le...@ovirt.org
> >
>
> > Privacy Statement: https://www.ovirt.org/privacy-policy.html
> >
>
> > oVirt Code of Conduct: 
> > https://www.ovirt.org/community/about/community-guidelines/
> >
>
> > List Archives: 
> > https://lists.ovirt.org/archives/list/users@ovirt.org/message/S3G76YCWC7HM6N6GHHBMZ65XTNEJFLEV/___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YHTJ7C4TLJM2QDSSBDEPKBZYRDPISG52/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy

[ovirt-users] Re: Resize iSCSI LUN and Storage Domain

2021-08-24 Thread Shantur Rathore
@Dhanraj.ramesh

what version of ovirt you are using? what is the storage model? try to
> perform scan by selecting the storage domain that you have resized at the
> storage side. if that is not help, add new storage domain and perform
> discovery one more time and see whether it can be discovered

I am using 4.4.5 and I tried all that but couldn't get it to work. In the
end I created another storage domain and moved all VMs to it.

@shani : Thanks for that.




On Tue, Aug 24, 2021 at 2:07 PM Shani Leviim  wrote:

> Hi Shantur,
> The "Additional Size" column mentioned was merged with the 'add' column,
> so the new column is called 'Actions' [1].
> (manage domain while the sd is active).
>
> There's also an option to refresh the LUNs size while the VM is up and
> running (available since version 4.4.5) [2].
> It also has a short demo for showing the refresh [3]
>
> [1] https://gerrit.ovirt.org/c/ovirt-engine/+/84366
> 
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1155275
> [3] https://imgur.com/a/Rjid65i
>
>
>
>
> *Regards,*
>
> *Shani Leviim*
>
>
> On Tue, Aug 24, 2021 at 12:59 PM dhanaraj.ramesh--- via Users <
> users@ovirt.org> wrote:
>
>> Hi Shantur
>>
>> what version of ovirt you are using? what is the storage model? try to
>> perform scan by selecting the storage domain that you have resized at the
>> storage side. if that is not help, add new storage domain and perform
>> discovery one more time and see whether it can be discovered
>>
>> extending the storage domain size can be done in fly, no maintenance
>> required.
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NRY4C66C6PD4TPF3TA3T2UC6LSW67HVY/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NDEESZFB5GS2WSLHTKU6PIADNQSQJROH/


[ovirt-users] Re: [External] : about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Tommy Sway
Thank you!

But where to set in on oVirt Platform when I create the VM ?



-Original Message-
From: Marcos Sungaila  
Sent: Tuesday, August 24, 2021 9:10 PM
To: Tommy Sway ; users@ovirt.org
Subject: RE: [External] : [ovirt-users] about the network name rules on
CentOS/Redhat 8 and the cloud-init network interface name

The naming convention is called BiosDevName and was introduced in kernel
2.6.27. It is defined by the OS kernel you are using in the guest. It is not
related to oVirt itself or the KVM host.
In my case, I install my VMs passing "biosdevname=0 net.ifnames=0" during
the OS installation process, so all my VMs have ethX name style to make it
easier to use cloud-init and other scripts.

Marcos

From: Tommy Sway  
Sent: terça-feira, 24 de agosto de 2021 05:57
To: users@ovirt.org
Subject: [External] : [ovirt-users] about the network name rules on
CentOS/Redhat 8 and the cloud-init network interface name

Everybody is good!
As you all know, to use the client's network card name in cloud-init, you
must fill in the exact name of the network card interface. 
This was easy in version 7 and before, which usually started with EN0. 

After version 8, however, the naming conventions for network cards changed a
lot. In my own test environment, for example, I started with ENS3.
I'm not sure what naming convention it uses, which would make it impossible
to specify nic information using cloud-init. 

Could you help me explain how to deal with this problem?
Thank you very much!

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AZZGRDFPJ77FMJA4HJCEXR6PPOWIMVDR/


[ovirt-users] Re: about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Tommy Sway
Great!

 

Thank you!

 

 

 

From: Ales Musil  
Sent: Tuesday, August 24, 2021 7:00 PM
To: Tommy Sway 
Cc: users 
Subject: Re: [ovirt-users] about the network name rules on CentOS/Redhat 8 and 
the cloud-init network interface name

 

 

 

On Tue, Aug 24, 2021 at 12:59 PM Ales Musil mailto:amu...@redhat.com> > wrote:

 

 

On Tue, Aug 24, 2021 at 11:17 AM Tommy Sway mailto:sz_cui...@163.com> > wrote:

Everybody is good!

As you all know, to use the client's network card name in cloud-init, you must 
fill in the exact name of the network card interface. 

This was easy in version 7 and before, which usually started with EN0. 

 

After version 8, however, the naming conventions for network cards changed a 
lot. In my own test environment, for example, I started with ENS3.

I'm not sure what naming convention it uses, which would make it impossible to 
specify nic information using cloud-init. 

 

Could you help me explain how to deal with this problem?

Thank you very much!

___
Users mailing list -- users@ovirt.org  
To unsubscribe send an email to users-le...@ovirt.org 
 
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L6LPAKYOUYPMPH45D2PFJETNLXS6BMSJ/

 

 

Hi,

 

this is called Predictable Network Names and it is the default policy for net 
interface naming in el8. There are a couple tricks you can do to mitigate that,

you can disable it, or predict the name based on your configuration PCI slot 
etc [0]. There is a documentation for RHEL that explains it [1].

There is also another option and that's using a custom udev rule to assign 
whatever name you want based on some identifiers like MAC, PCI addr etc.

 

Hopefully this helps.

 

Best regards,

Ales

 

 

Forgot the links:

 

[0] 
https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html

[1] 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/consistent-network-interface-device-naming_configuring-and-managing-networking

 

-- 

Ales Musil 

Software Engineer - RHV Network 

  Red Hat EMEA 

  amu...@redhat.comIM: amusil 


  



-- 

Ales Musil 

Software Engineer - RHV Network 

  Red Hat EMEA 

  amu...@redhat.comIM: amusil 


  

 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UXCFKHVQE5FTS7GTSJDG6MGQEQOAGK3Q/


[ovirt-users] Re: [External] : Re: Backup to tape

2021-08-24 Thread Marcos Sungaila
Also Veeam announced oVirt support last May.
I did see anyone using or testing Veeam on OLVM or oVirt.

Marcos

-Original Message-
From: Tony Brian Albers  
Sent: terça-feira, 24 de agosto de 2021 05:50
To: dupar...@esrf.fr; users@ovirt.org
Subject: [External] : [ovirt-users] Re: Backup to tape

Hiya,

The API in oVirt engine actually supports creating snapshots etc. for backups. 
Check out github for scripts, i.e.:

https://urldefense.com/v3/__https://github.com/luisperezmarin/oVirtVMBackup__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmLnboxA8$
 

And there are others.

There is also a commercial solution, Storware vProtect: 
https://urldefense.com/v3/__https://storware.eu/products/vprotect/__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmRkqO_-g$
 

And as far as backup systems go, bareos(open source) is an ok solution, and it 
also support oVirt: 
https://urldefense.com/v3/__https://www.bareos.com/__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmIqMmq8s$
 

HTH

/tony

dupar...@esrf.fr wrote:
> Hi,
> 
> Part of our Disaster Recovery Plan we do tape backup.
> 
> Our previous infrastructure was Oracle VM and VMs fisk were files (.img) we 
> could apply filters to our tar and backup to tape only required files.
> 
> Now preparing the migration to Oracle flavor of oVirt (OLVM).
> VMs disks are LVM partitions, within  an iSCSI LUNs.
> 
> I've tested "dd" to backup  the entire iSCSI LUN to the tape. Seems OK 
> ,providing the right block size we achieve reasonable performances.
> Though I don't quite see how to have that granular backup we had, in a simple 
> manner, which a goal too.
> 
> Although there is compression at the LTO level, the dd conv=sparse parameter 
> may speed-up things. To be tested.
> I'm just wondering if conv=sparse may breaks things at the LVM / qcow2 
> containers ?
> 
> 
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org Privacy 
> Statement: 
> https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html_
> _;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN
> 1NVxSDMfDmJguPG5U$ oVirt Code of Conduct: 
> https://urldefense.com/v3/__https://www.ovirt.org/community/about/comm
> unity-guidelines/__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHf
> L6zBVWy0NNo0M8tkjN1NVxSDMfDmWlcs25U$
> List Archives: 
> https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/user
> s...@ovirt.org/message/5XPQHPXBANCXUAU62LE2UMZJRZZ7JH76/__;!!ACWV5N9M2RV9
> 9hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmZGNEQU
> s$
> 


--
Tony Albers - Systems Architect - Data Department, Royal Danish Library, Victor 
Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmJguPG5U$
oVirt Code of Conduct: 
https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmWlcs25U$
List Archives: 
https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovirt.org/message/VMVSO76BMHPNWH5WPCJLJHSGXBNV7COB/__;!!ACWV5N9M2RV99hQ!aLktcN2ZyTyy0Qa70UDbLPzKdU3VKYHfL6zBVWy0NNo0M8tkjN1NVxSDMfDmGfDO_XQ$
 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/V2PMTR4VIFBP5B2YJMZNVW6YQC53RN6A/


[ovirt-users] Re: [External] : about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Marcos Sungaila
The naming convention is called BiosDevName and was introduced in kernel 
2.6.27. It is defined by the OS kernel you are using in the guest. It is not 
related to oVirt itself or the KVM host.
In my case, I install my VMs passing "biosdevname=0 net.ifnames=0" during the 
OS installation process, so all my VMs have ethX name style to make it easier 
to use cloud-init and other scripts.

Marcos

From: Tommy Sway  
Sent: terça-feira, 24 de agosto de 2021 05:57
To: users@ovirt.org
Subject: [External] : [ovirt-users] about the network name rules on 
CentOS/Redhat 8 and the cloud-init network interface name

Everybody is good!
As you all know, to use the client's network card name in cloud-init, you must 
fill in the exact name of the network card interface. 
This was easy in version 7 and before, which usually started with EN0. 

After version 8, however, the naming conventions for network cards changed a 
lot. In my own test environment, for example, I started with ENS3.
I'm not sure what naming convention it uses, which would make it impossible to 
specify nic information using cloud-init. 

Could you help me explain how to deal with this problem?
Thank you very much!
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HK7S7XZQ2T3ENVSQPUQZAIXCBFJUHWZO/


[ovirt-users] Re: Resize iSCSI LUN and Storage Domain

2021-08-24 Thread Shani Leviim
Hi Shantur,
The "Additional Size" column mentioned was merged with the 'add' column, so
the new column is called 'Actions' [1].
(manage domain while the sd is active).

There's also an option to refresh the LUNs size while the VM is up and
running (available since version 4.4.5) [2].
It also has a short demo for showing the refresh [3]

[1] https://gerrit.ovirt.org/c/ovirt-engine/+/84366

[2] https://bugzilla.redhat.com/show_bug.cgi?id=1155275
[3] https://imgur.com/a/Rjid65i




*Regards,*

*Shani Leviim*


On Tue, Aug 24, 2021 at 12:59 PM dhanaraj.ramesh--- via Users <
users@ovirt.org> wrote:

> Hi Shantur
>
> what version of ovirt you are using? what is the storage model? try to
> perform scan by selecting the storage domain that you have resized at the
> storage side. if that is not help, add new storage domain and perform
> discovery one more time and see whether it can be discovered
>
> extending the storage domain size can be done in fly, no maintenance
> required.
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NRY4C66C6PD4TPF3TA3T2UC6LSW67HVY/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I3WVKB5ZUBNYOFDULONC2NFDZOHVJWWS/


[ovirt-users] Re: [External] : Re: Template for Ubuntu 18.04 Server Issues

2021-08-24 Thread Marcos Sungaila
Hi Miguel,

The virt-sysprep command seals a VM when building it on a standalone KVM host. 
Creating a template using the Make Template option in the VMs page 
automatically seals the VM during this process.
Anyway, in a standalone KVM host, gracefully shut down the VM and run the 
command as follows:

# virt-sysprep -d 

Regards,

Marcos

-Original Message-
From: Miguel Garcia  
Sent: segunda-feira, 23 de agosto de 2021 21:47
To: users@ovirt.org
Subject: [External] : [ovirt-users] Re: Template for Ubuntu 18.04 Server Issues

I have seen the same problem. Even confirmed that MAC address are different on 
VM's. I am using a DSHP server.

How do you use the virt-sysprep command? is executed from ovirt-master / vm? 
how do you select the template though?

I'm at the same point as you, not sure if this is expected behave or missing 
something.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!ACWV5N9M2RV99hQ!YWPqGQYOa-NIVcYzRY1Rcz6w-prgabiyh_cnqijJBK9DmVb1oZegXgjRNF8xuCAiIJA$
oVirt Code of Conduct: 
https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-guidelines/__;!!ACWV5N9M2RV99hQ!YWPqGQYOa-NIVcYzRY1Rcz6w-prgabiyh_cnqijJBK9DmVb1oZegXgjRNF8x2XQ6deM$
List Archives: 
https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovirt.org/message/4TGAQLCQIKJ6UVJG4DLM5J5KUWQLB64W/__;!!ACWV5N9M2RV99hQ!YWPqGQYOa-NIVcYzRY1Rcz6w-prgabiyh_cnqijJBK9DmVb1oZegXgjRNF8xjsDQQSA$
 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5ALXFC4O56FAKNUF5P5MFHDKVCDHJXM5/


[ovirt-users] Localizing OVirt (Russian)

2021-08-24 Thread Akimov Artem
Hello.Sandro Bonazzola wrote that authorization is required to localize the project at https://zanata.phx.ovirt.org/Can I get a matching account?What documents are required for this?I am an engineer in the automation department in a government agency in Russia.My name is  Akimov Artem. 39 years. He has 16 years of experience in IT.-- Akimov Artem+79208480269 ___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6GZ6NSNOXIE4BWPBVW3HTJQZOSCOL7C3/


[ovirt-users] Re: Backup to tape

2021-08-24 Thread duparchy
Hi, 
thanks for the links. We'll check.

We already have snapshoting at the iSCSI storage array level (Compellent), 
together with replication between storage arrays. 
We have online a rolling 7 days snapshots + replicats.
 
Of course, these are inconsistent snapshots. But from the numerous tests we've 
done during the past 10 years (in the context of Oracle VM) we never ever 
bumped into a VM that would not restart from what is a crash, from the VM point 
of view. If it occurs, we can try with the day before . We have online a 
rolling 7 days snapshots + replicats.

Of course we'll consider synchronising oVirt snapshots with Storage replication 
and snapshot. 

Mounting a storage array snapshot and pipe dd over ssh to restore a VM is not a 
big deal and we don't feel the need of an additional product for that.

I've tested the following  : 
- Activate source and destination partitions
Source : lvchange -ay 
337efd74-b261-4855-b78c-5b28943df889/a01f9f37-9fe9-43b4-88e6-c2eb9470295e 
Destination : lvchange -ay 
337efd74-b261-4855-b78c-5b28943df889/a01f9f37-9fe9-43b4-88e6-c2eb9470295e 
- Restore the partition
dd 
if=/dev/337efd74-b261-4855-b78c-5b28943df889/a01f9f37-9fe9-43b4-88e6-c2eb9470295e
 bs=1M | ssh 192.168.235.218 dd 
of=/dev/337efd74-b261-4855-b78c-5b28943df889/a01f9f37-9fe9-43b4-88e6-c2eb9470295e
 bs=1M status=progress conv=sparse
- deactivate the destination
lvchange -an 
337efd74-b261-4855-b78c-5b28943df889/a01f9f37-9fe9-43b4-88e6-c2eb9470295e

Part of Disater Recovery Plan, we also need offline backups, to tape. Up to now 
we weekly tar the img files, taken from a storage array snapshot, to a LTO, and 
voila. Now Working with LVM partition, dd seems appropriate, except that we are 
loosing granularity. We'll backup everything and it'll take more time.

I've tested the following and it seems OK to backup to tape an entire iSCSI LUN

dd if=/dev/mapper/36000d310012f4a00021d of=/dev/nst0 bs=1M 
status=progress

I was just wondering if conv=sparse at the device level (iSCSI LUN) may break 
things or not.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C5BUMNRQH3X6P3TM7UOHQ2ZAYCJ3HKWI/


[ovirt-users] Re: about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Ales Musil
On Tue, Aug 24, 2021 at 11:17 AM Tommy Sway  wrote:

> Everybody is good!
>
> As you all know, to use the client's network card name in cloud-init, you
> must fill in the exact name of the network card interface.
>
> This was easy in version 7 and before, which usually started with EN0.
>
>
>
> After version 8, however, the naming conventions for network cards changed
> a lot. In my own test environment, for example, I started with ENS3.
>
> I'm not sure what naming convention it uses, which would make it
> impossible to specify nic information using cloud-init.
>
>
>
> Could you help me explain how to deal with this problem?
>
> Thank you very much!
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/L6LPAKYOUYPMPH45D2PFJETNLXS6BMSJ/
>


Hi,

this is called Predictable Network Names and it is the default policy for
net interface naming in el8. There are a couple tricks you can do to
mitigate that,
you can disable it, or predict the name based on your configuration PCI
slot etc [0]. There is a documentation for RHEL that explains it [1].
There is also another option and that's using a custom udev rule to assign
whatever name you want based on some identifiers like MAC, PCI addr etc.

Hopefully this helps.

Best regards,
Ales

-- 

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA 

amu...@redhat.comIM: amusil

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q72LY63WV66KFRSBHHFDBQLMCKZWF7BP/


[ovirt-users] Re: about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Ales Musil
On Tue, Aug 24, 2021 at 12:59 PM Ales Musil  wrote:

>
>
> On Tue, Aug 24, 2021 at 11:17 AM Tommy Sway  wrote:
>
>> Everybody is good!
>>
>> As you all know, to use the client's network card name in cloud-init, you
>> must fill in the exact name of the network card interface.
>>
>> This was easy in version 7 and before, which usually started with EN0.
>>
>>
>>
>> After version 8, however, the naming conventions for network cards
>> changed a lot. In my own test environment, for example, I started with ENS3.
>>
>> I'm not sure what naming convention it uses, which would make it
>> impossible to specify nic information using cloud-init.
>>
>>
>>
>> Could you help me explain how to deal with this problem?
>>
>> Thank you very much!
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/L6LPAKYOUYPMPH45D2PFJETNLXS6BMSJ/
>>
>
>
> Hi,
>
> this is called Predictable Network Names and it is the default policy for
> net interface naming in el8. There are a couple tricks you can do to
> mitigate that,
> you can disable it, or predict the name based on your configuration PCI
> slot etc [0]. There is a documentation for RHEL that explains it [1].
> There is also another option and that's using a custom udev rule to assign
> whatever name you want based on some identifiers like MAC, PCI addr etc.
>
> Hopefully this helps.
>
> Best regards,
> Ales
>
>
Forgot the links:

[0]
https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html
[1]
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/consistent-network-interface-device-naming_configuring-and-managing-networking


> --
>
> Ales Musil
>
> Software Engineer - RHV Network
>
> Red Hat EMEA 
>
> amu...@redhat.comIM: amusil
> 
>


-- 

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA 

amu...@redhat.comIM: amusil

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQZWSGDHTBIQGNO7GKQZQG5AYUDJIIJX/


[ovirt-users] Re: Resize iSCSI LUN and Storage Domain

2021-08-24 Thread dhanaraj.ramesh--- via Users
Hi Shantur

what version of ovirt you are using? what is the storage model? try to perform 
scan by selecting the storage domain that you have resized at the storage side. 
if that is not help, add new storage domain and perform discovery one more time 
and see whether it can be discovered 

extending the storage domain size can be done in fly, no maintenance required. 
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NRY4C66C6PD4TPF3TA3T2UC6LSW67HVY/


[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-24 Thread dhanaraj.ramesh--- via Users
Hi Ritesh, Thank you.. Yes I was following this and all works fine except at 
the last steps where I'm getting error and setup failed 

 ERROR ] Failed to execute stage 'Misc configuration': Command
'/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
[ INFO ] DNF Performing DNF transaction rollback
[ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'
[WARNING] Rollback of DWH database postponed to Stage "Clean up"
[ INFO ] Stage: Clean up
Log file is located at
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TKD7GX7WFK5A26B6V3V7NIJ5SWKUIKGX/


[ovirt-users] Re: upgrading ovirt engine from 4.4.6.7-1.el8 to 4.4.8 latest getting failed

2021-08-24 Thread Ritesh Chikatwar
Hello
Did you try checking if the engine upgrade is available or not? If yes
please update and then run engine-setup.

To check
run this engine-upgrade-check

if update is available please run
yum update ovirt-engine\*setup\* -y

After this you can run engine-setup. Hope this will work for you

*Ritesh*



On Mon, Aug 23, 2021 at 2:08 PM dhanaraj.ramesh--- via Users <
users@ovirt.org> wrote:

> Hi Klaas Demter
>
> Thank you so much for the help, appreciate it. but the upgrade still
> failed before the last setps and the hosting engine crashed,
>
> [ INFO  ] Updating OVN SSL configuration
> [ INFO  ] Updating OVN timeout configuration
> [ INFO  ] Backing up database localhost:ovirt_engine_history to
> '/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump'.
> [ INFO  ] Creating/refreshing DWH database schema
> [ INFO  ] Setting up ovirt-vmconsole SSH PKI artifacts
> [ ERROR ] Failed to execute stage 'Misc configuration': Command
> '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
> [ INFO  ] DNF Performing DNF transaction rollback
> [ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'
> [WARNING] Rollback of DWH database postponed to Stage "Clean up"
> [ INFO  ] Stage: Clean up
>   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20210823011923-bv030m.log
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20210823012309-setup.conf'
> [WARNING] Rollback of DWH database started
>   This might be a long process, but it should be safe to start the
> engine service before it finishes, if needed.
> [ INFO  ] Clearing DWH database ovirt_engine_history
> [ INFO  ] Restoring DWH database ovirt_engine_history
> [ INFO  ] Restoring file
> '/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump' to
> database localhost:ovirt_engine_history.
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Execution of setup failed
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A7W7Z5Q3JQK25U4QTEBAEB27VYNOZJ5/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/A7ZVQTS2I4K7KCED4UOQB7B4QH2FDSYP/


[ovirt-users] about the network name rules on CentOS/Redhat 8 and the cloud-init network interface name

2021-08-24 Thread Tommy Sway
Everybody is good!

As you all know, to use the client's network card name in cloud-init, you
must fill in the exact name of the network card interface. 

This was easy in version 7 and before, which usually started with EN0. 

 

After version 8, however, the naming conventions for network cards changed a
lot. In my own test environment, for example, I started with ENS3.

I'm not sure what naming convention it uses, which would make it impossible
to specify nic information using cloud-init. 

 

Could you help me explain how to deal with this problem?

Thank you very much!

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L6LPAKYOUYPMPH45D2PFJETNLXS6BMSJ/


[ovirt-users] Re: Backup to tape

2021-08-24 Thread Tony Brian Albers
Hiya,

The API in oVirt engine actually supports creating snapshots etc. for 
backups. Check out github for scripts, i.e.:

https://github.com/luisperezmarin/oVirtVMBackup

And there are others.

There is also a commercial solution, Storware vProtect: 
https://storware.eu/products/vprotect/

And as far as backup systems go, bareos(open source) is an ok solution, 
and it also support oVirt: https://www.bareos.com/

HTH

/tony

dupar...@esrf.fr wrote:
> Hi,
> 
> Part of our Disaster Recovery Plan we do tape backup.
> 
> Our previous infrastructure was Oracle VM and VMs fisk were files (.img) we 
> could apply filters to our tar and backup to tape only required files.
> 
> Now preparing the migration to Oracle flavor of oVirt (OLVM).
> VMs disks are LVM partitions, within  an iSCSI LUNs.
> 
> I've tested "dd" to backup  the entire iSCSI LUN to the tape. Seems OK 
> ,providing the right block size we achieve reasonable performances.
> Though I don't quite see how to have that granular backup we had, in a simple 
> manner, which a goal too.
> 
> Although there is compression at the LTO level, the dd conv=sparse parameter 
> may speed-up things. To be tested.
> I'm just wondering if conv=sparse may breaks things at the LVM / qcow2 
> containers ?
> 
> 
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/5XPQHPXBANCXUAU62LE2UMZJRZZ7JH76/
> 


-- 
Tony Albers - Systems Architect - Data Department, Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VMVSO76BMHPNWH5WPCJLJHSGXBNV7COB/


[ovirt-users] Correct way to install VDSM hooks

2021-08-24 Thread Shantur Rathore
Hi all,

I am trying to install vdsm hooks (scratchpad) specifically.
I can see that there are rpms available in
https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ but when I try to
install using yum it says it cannot find it.
Do I have to manually select the hook rpm and install it or am I missing
something?

Kind regards,
Shantur
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CMHNGAFGANDW5UVY5K7RIOWHGLEZZ56W/


[ovirt-users] Re: Impossible to move disk after a previous disk move failed

2021-08-24 Thread Benny Zlotnik
c23a5bef-48e0-46c7-9d5b-93c97f0240c0 is the target storage domain?
if the disk is still on the source storage domain in ovirt-engine, you
can remove the LV manually with lvremove, after making sure the source
is correct with
$ vdsm-client Volume getInfo

Do you know why the move failed? When move fails it should cleanup the
target (unless there was no access to the storage)

On Mon, Aug 23, 2021 at 10:47 PM James Wadsworth
 wrote:
>
> This is the log of when it fails
>
> 2021-08-23 21:24:10,667+0200 WARN  (tasks/0) [storage.LVM] Command with 
> specific filter failed or returned no data, retrying with a wider filter: LVM 
> command failed: 'cmd=[\'/sbin/lvm\', \'lvcreate\', \'--config\', \'devices {  
> preferred_names=["^/dev/mapper/"]  ignore_suspended_devices=1  
> write_cache_state=0  disable_after_error_count=3  
> filter=["a|^/dev/mapper/36001405299f83b19569473f9c580660c$|", "r|.*|"]  
> hints="none"  obtain_device_list_from_udev=0 } global {  locking_type=1  
> prioritise_write_locks=1  wait_for_locks=1  use_lvmetad=0  use_lvmpolld=1 } 
> backup {  retain_min=50  retain_days=0 }\', \'--autobackup\', \'n\', 
> \'--contiguous\', \'n\', \'--size\', \'40960m\', \'--wipesignatures\', \'n\', 
> \'--addtag\', \'OVIRT_VOL_INITIALIZING\', \'--name\', 
> \'432ceb20-efb7-4a40-8431-1b5c825a6168\', 
> \'c23a5bef-48e0-46c7-9d5b-93c97f0240c0\'] rc=5 out=[] err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']' (l
>  vm:534)
> 2021-08-23 21:24:10,859+0200 WARN  (tasks/0) [storage.LVM] All 2 tries have 
> failed: LVM command failed: 'cmd=[\'/sbin/lvm\', \'lvcreate\', \'--config\', 
> \'devices {  preferred_names=["^/dev/mapper/"]  ignore_suspended_devices=1  
> write_cache_state=0  disable_after_error_count=3  
> filter=["a|^/dev/mapper/36001405299f83b19569473f9c580660c$|^/dev/mapper/36001405cdf35411dd040d4121d9326d1$|^/dev/mapper/36001405df393063de6f0d4451d8a61d3$|",
>  "r|.*|"]  hints="none"  obtain_device_list_from_udev=0 } global {  
> locking_type=1  prioritise_write_locks=1  wait_for_locks=1  use_lvmetad=0  
> use_lvmpolld=1 } backup {  retain_min=50  retain_days=0 }\', 
> \'--autobackup\', \'n\', \'--contiguous\', \'n\', \'--size\', \'40960m\', 
> \'--wipesignatures\', \'n\', \'--addtag\', \'OVIRT_VOL_INITIALIZING\', 
> \'--name\', \'432ceb20-efb7-4a40-8431-1b5c825a6168\', 
> \'c23a5bef-48e0-46c7-9d5b-93c97f0240c0\'] rc=5 out=[] err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-4
>  8e0-46c7-9d5b-93c97f0240c0"\']' (lvm:561)
> 2021-08-23 21:24:10,859+0200 ERROR (tasks/0) [storage.Volume] Failed to 
> create volume 
> /rhev/data-center/mnt/blockSD/c23a5bef-48e0-46c7-9d5b-93c97f0240c0/images/2172a4ac-6992-4cc2-be1b-6b9290bc9798/432ceb20-efb7-4a40-8431-1b5c825a6168:
>  Cannot create Logical Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 
> lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']' (volume:1257)
> 2021-08-23 21:24:10,860+0200 ERROR (tasks/0) [storage.Volume] Unexpected 
> error (volume:1293)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/volume.py", line 1254, 
> in create
> add_bitmaps=add_bitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/blockVolume.py", line 
> 508, in _create
> initialTags=(sc.TAG_VOL_UNINIT,))
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/lvm.py", line 1633, in 
> createLV
> raise se.CannotCreateLogicalVolume(vgName, lvName, err)
> vdsm.storage.exception.CannotCreateLogicalVolume: Cannot create Logical 
> Volume: 'vgname=c23a5bef-48e0-46c7-9d5b-93c97f0240c0 
> lvname=432ceb20-efb7-4a40-8431-1b5c825a6168 err=[\'  Logical Volume 
> "432ceb20-efb7-4a40-8431-1b5c825a6168" already exists in volume group 
> "c23a5bef-48e0-46c7-9d5b-93c97f0240c0"\']'
> 2021-08-23 21:24:10,860+0200 ERROR (tasks/0) [storage.TaskManager.Task] 
> (Task='55a4e8dc-9408-4969-b0ba-b9a556bccba1') Unexpected error (task:877)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 884, in 
> _run
> return fn(*args, **kargs)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/task.py", line 350, in 
> run
> return self.cmd(*self.argslist, **self.argsdict)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/securable.py", line 79, 
> in wrapper
> return method(self, *args, **kwargs)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/sp.py", line 1945, in 
> createVolume
> initial_size=initialSize, add_bitmaps=addBitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/sd.py", line 1216, in 
> createVolume
> initial_size=initial_size, add_bitmaps=add_bitmaps)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/volume.py", line 1254, 
> in create
> add_bitm

[ovirt-users] Backup to tape

2021-08-24 Thread duparchy
Hi, 

Part of our Disaster Recovery Plan we do tape backup.

Our previous infrastructure was Oracle VM and VMs fisk were files (.img) we 
could apply filters to our tar and backup to tape only required files.

Now preparing the migration to Oracle flavor of oVirt (OLVM).  
VMs disks are LVM partitions, within  an iSCSI LUNs.

I've tested "dd" to backup  the entire iSCSI LUN to the tape. Seems OK 
,providing the right block size we achieve reasonable performances.
Though I don't quite see how to have that granular backup we had, in a simple 
manner, which a goal too.

Although there is compression at the LTO level, the dd conv=sparse parameter 
may speed-up things. To be tested.
I'm just wondering if conv=sparse may breaks things at the LVM / qcow2 
containers ?




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5XPQHPXBANCXUAU62LE2UMZJRZZ7JH76/