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 <marcos.sungaila@oracle.com> Sent: Wednesday, August 25, 2021 12:55 AM To: Liran Rotenberg <lrotenbe@redhat.com>; Tommy Sway <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: terça-feira, 24 de agosto de 2021 12:56 To: Tommy Sway <sz_cuitao@163.com> 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 <sz_cuitao@163.com> 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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Liran Rotenberg Sent: Monday, August 23, 2021 5:23 PM To: Tommy Sway <sz_cuitao@163.com> 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 <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: Sunday, August 22, 2021 11:33 PM To: Tommy Sway <sz_cuitao@163.com> Cc: Eitan Raviv <eraviv@redhat.com>; 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 <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: Sunday, August 22, 2021 10:46 PM To: Tommy Sway <sz_cuitao@163.com> Cc: Eitan Raviv <eraviv@redhat.com>; 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 <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: Sunday, August 22, 2021 4:01 PM To: Tommy Sway <sz_cuitao@163.com>; Eitan Raviv <eraviv@redhat.com> 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 <sz_cuitao@163.com> 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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Tommy Sway Sent: Saturday, August 14, 2021 6:18 PM To: users@ovirt.org Subject: [ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?
Any one can help to explain ?
From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Tommy Sway Sent: Friday, August 13, 2021 12:55 PM To: users@ovirt.org Subject: [ovirt-users] what difference between the Cloud-Init Network Protocol options ?
What is the difference between Openstack MateData and ENI in the cloud-init Network Protocol option? Or what kind of scenarios do they apply to?
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://urldefense.com/v3/__https://www.ovirt.org/privacy-poli cy.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNh glwbS9fr0p-walSmLU6F8JySXdU7c1QGc$ oVirt Code of Conduct: https://urldefense.com/v3/__https://www.ovirt.org/community/ab out/community-guidelines/__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U _lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdVgkIxYc$ List Archives: https://urldefense.com/v3/__https://lists.ovirt.org/archives/l ist/users@ovirt.org/message/F7HIV5__;!!ACWV5N9M2RV99hQ!ftpwz3R mG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdKPdbNk4$ EI 4YCJ3XVIPMZCMPBTAPY5LLS6/
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!AC... oVirt Code of Conduct: https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-... List Archives: https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovir...

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 <sz_cuitao@163.com> Sent: terça-feira, 24 de agosto de 2021 14:10 To: Marcos Sungaila <marcos.sungaila@oracle.com>; 'Liran Rotenberg' <lrotenbe@redhat.com> 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 <marcos.sungaila@oracle.com> Sent: Wednesday, August 25, 2021 12:55 AM To: Liran Rotenberg <lrotenbe@redhat.com>; Tommy Sway <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: terça-feira, 24 de agosto de 2021 12:56 To: Tommy Sway <sz_cuitao@163.com> 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 <sz_cuitao@163.com> 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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Liran Rotenberg Sent: Monday, August 23, 2021 5:23 PM To: Tommy Sway <sz_cuitao@163.com> 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 <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: Sunday, August 22, 2021 11:33 PM To: Tommy Sway <sz_cuitao@163.com> Cc: Eitan Raviv <eraviv@redhat.com>; 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 <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: Sunday, August 22, 2021 10:46 PM To: Tommy Sway <sz_cuitao@163.com> Cc: Eitan Raviv <eraviv@redhat.com>; 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 <sz_cuitao@163.com> 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 <lrotenbe@redhat.com> Sent: Sunday, August 22, 2021 4:01 PM To: Tommy Sway <sz_cuitao@163.com>; Eitan Raviv <eraviv@redhat.com> 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 <sz_cuitao@163.com> 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-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Tommy Sway Sent: Saturday, August 14, 2021 6:18 PM To: users@ovirt.org Subject: [ovirt-users] Re: what difference between the Cloud-Init Network Protocol options ?
Any one can help to explain ?
From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Tommy Sway Sent: Friday, August 13, 2021 12:55 PM To: users@ovirt.org Subject: [ovirt-users] what difference between the Cloud-Init Network Protocol options ?
What is the difference between Openstack MateData and ENI in the cloud-init Network Protocol option? Or what kind of scenarios do they apply to?
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://urldefense.com/v3/__https://www.ovirt.org/privacy-poli cy.html__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U_lLChsyamYgXLauWNh glwbS9fr0p-walSmLU6F8JySXdU7c1QGc$ oVirt Code of Conduct: https://urldefense.com/v3/__https://www.ovirt.org/community/ab out/community-guidelines/__;!!ACWV5N9M2RV99hQ!ftpwz3RmG6isDe4U _lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdVgkIxYc$ List Archives: https://urldefense.com/v3/__https://lists.ovirt.org/archives/l ist/users@ovirt.org/message/F7HIV5__;!!ACWV5N9M2RV99hQ!ftpwz3R mG6isDe4U_lLChsyamYgXLauWNhglwbS9fr0p-walSmLU6F8JySXdKPdbNk4$ EI 4YCJ3XVIPMZCMPBTAPY5LLS6/
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!AC... oVirt Code of Conduct: https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-... List Archives: https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovir... _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://urldefense.com/v3/__https://www.ovirt.org/privacy-policy.html__;!!AC... oVirt Code of Conduct: https://urldefense.com/v3/__https://www.ovirt.org/community/about/community-... List Archives: https://urldefense.com/v3/__https://lists.ovirt.org/archives/list/users@ovir...
participants (2)
-
Marcos Sungaila
-
Tommy Sway