[ovirt-users] cloudinit issue when using go-sdk
Hello everyone, I'm using go-sdk to run ovirt VM with cloudinit. - here is example code https://github.com/oVirt/go-ovirt/blob/master/examples/start_vm_with_cloudinit.go but when I use custom script including characters like '<' in write_files or "&&" in runcmd, "Request syntactically incorrect." occurs. Any ideas on how to handle it?? Sincerely, ___ 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/ZTDXRPWN5ZZC6QJH2S5SF4Z5ZUHAWKR5/
[ovirt-users] Is vulnerable log4j package necessary in my ovirt repo?
Hello, I found that the vulnerable log4j-2.13.0-1 package is in oVirt repository, but not installed even after the oVirt setup. So, I want to remove that package from my private oVirt repository if it's not necessary. but I'm not sure what will happen by doing so. Is there any side effects? ___ 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/7HGX3H7JFU4HBWPXI3EFIRQAXOO7IHWF/
[ovirt-users] Re: Questions about VDSM communication protocol
Thanks for the detailed explanation!! really helpful 2021년 12월 6일 (월) 오후 4:50, Piotr Kliczewski 님이 작성: > > > > On Mon, Dec 6, 2021 at 6:24 AM Henry lol wrote: >> >> 2021년 12월 3일 (금) 오후 7:39, Piotr Kliczewski 님이 작성: >> > >> > >> > >> > On Fri, Dec 3, 2021 at 11:22 AM Henry lol >> > wrote: >> >> >> >> In my understanding, an internal broker was introduced with benefits and >> >> enough to cover the workload, right? >> > >> > >> > In general it is correct. There is no broker process running but rather >> > the code is spread between the client (engine) and server (vdsm). >> > >> >> >> >> >> >> but not clear about the need for it on oVirt because I'm not sure there >> >> are so many message flows(or message topics). >> > >> > >> > We created a topic per type of interactions (commands) that are being >> > called. Good number of them are defined. >> > >> >> >> >> I felt like it acts as just a proxy only between engine and rpc server, >> >> so it looks more desirable to me to directly communicate without message >> >> queues in the middle. >> >> (even internal broker is coupled with vdsm) >> > >> > >> > We were concerned about topology complexity and never decided to use an >> > external (proxy) broker. The transport communication hides details so from >> > a logic perspective it >> > looks like direct communication. Please remember that in the past >> > transport was fully synchronous and one of the requirements was to >> > abstract async so the business layer >> > can work without changes. >> > >> yeah as you said, the business layer can focus on their own logic >> thanks to the transport layer. >> I thought that the transport layer could be also abstracted and >> implemented from raw tcp or websocket, and at first that using msg >> protocol with the broker is just an additional overhead. (correct me >> if i'm wrong) >> (i.e. json-rpc communication through tcp or websocket) > > > During the transition process we had several protocols being supported so the > abstractions are > there. Raw tcp is there and you can implement "just" json-rpc on top of it. > In the past we were using xmlrpc > so with this approach you would have unidirectional communication and no > notifications. > It was our starting point with the transport changes we did. > >> >> >> but as Artur said, the main reason for using stomp here seems to >> easily propagate and define msg flows, right? > > > There is more to it. We use stomp heartbeats to determine if a host is > healthy. It is used to trigger fencing flow when the host is not reachable. > >> >> >> sorry again in advance if it sounds foolish. >> >> >> >> >> >> could I know usecases of it in oVirt compared to raw tcp? >> > >> > >> > Interesting one is bidirectional notifications which need to be delivered >> > to specific parts of the logic on either side. >> > For most of use cases we could get away with raw tcp. >> > >> >> >> >> >> >> sorry in advance if it sounds foolish. >> ___ 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/XDXRPOS3PCYE2H363ALNDHMSP66IYWC5/
[ovirt-users] Re: Questions about VDSM communication protocol
2021년 12월 3일 (금) 오후 7:39, Piotr Kliczewski 님이 작성: > > > > On Fri, Dec 3, 2021 at 11:22 AM Henry lol > wrote: >> >> In my understanding, an internal broker was introduced with benefits and >> enough to cover the workload, right? > > > In general it is correct. There is no broker process running but rather the > code is spread between the client (engine) and server (vdsm). > >> >> >> but not clear about the need for it on oVirt because I'm not sure there are >> so many message flows(or message topics). > > > We created a topic per type of interactions (commands) that are being called. > Good number of them are defined. > >> >> I felt like it acts as just a proxy only between engine and rpc server, so >> it looks more desirable to me to directly communicate without message queues >> in the middle. >> (even internal broker is coupled with vdsm) > > > We were concerned about topology complexity and never decided to use an > external (proxy) broker. The transport communication hides details so from a > logic perspective it > looks like direct communication. Please remember that in the past transport > was fully synchronous and one of the requirements was to abstract async so > the business layer > can work without changes. > yeah as you said, the business layer can focus on their own logic thanks to the transport layer. I thought that the transport layer could be also abstracted and implemented from raw tcp or websocket, and at first that using msg protocol with the broker is just an additional overhead. (correct me if i'm wrong) (i.e. json-rpc communication through tcp or websocket) but as Artur said, the main reason for using stomp here seems to easily propagate and define msg flows, right? sorry again in advance if it sounds foolish. >> >> >> could I know usecases of it in oVirt compared to raw tcp? > > > Interesting one is bidirectional notifications which need to be delivered to > specific parts of the logic on either side. > For most of use cases we could get away with raw tcp. > >> >> >> sorry in advance if it sounds foolish. ___ 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/JBPJEG2CTQ75EVALIQHJKMOEYXINP7IU/
[ovirt-users] Re: Questions about VDSM communication protocol
In my understanding, an internal broker was introduced with benefits and enough to cover the workload, right? but not clear about the need for it on oVirt because I'm not sure there are so many message flows(or message topics). I felt like it acts as just a proxy only between engine and rpc server, so it looks more desirable to me to directly communicate without message queues in the middle. (even internal broker is coupled with vdsm) could I know usecases of it in oVirt compared to raw tcp? sorry in advance if it sounds foolish. > ___ 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/JT4A3KTMWX6XYYGI3VB4S3B62Q4XQLNB/
[ovirt-users] Questions about VDSM communication protocol
Hello, 1. I know vdsm communication adopted rpc over "stomp" and i'm wondering if it's due to use of the message broker or any other purpose. 2. according to https://www.ovirt.org/develop/release-management/features/infra/jsonrpc.html, vdsm has the final plan to completely separate msg broker. Is it still valid and under development? 3. if so, why is vdsm trying to use msg broker? because it seems enough even without msg broker. thanks, ___ 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/EREUPD7LZIFV6YUKSK3NYD64ENPRS2ZX/
[ovirt-users] Re: split brain scenario?
2021년 1월 24일 (일) 오전 1:22, Nir Soffer 님이 작성: > On Sat, Jan 23, 2021 at 5:18 PM Henry lol > wrote: > > > > Hi, > > > > according to HA VM documentation, a paused VM may be started on another > host and later resumed on the original host. > > - https://www.ovirt.org/develop/ha-vms.html > > here, I'm assuming the HA VM was paused due to I/O error. > > > > but I'm wondering how it can happen because I guess the HA VM will be > restarted on another host only after it's completely killed from the > original host. > > This is true for normal VMs, but not for HA VMs. These can be started > on another host even if we don't know if the VM is still running on the > original host. An example use case is host becoming disconnected from > the management network, or host having a hardware issue. > It means the normal VMs can be restarted by user's intervention so that it may result in the split brain?? > can you give the split brain scenario? > > HA VM is using a storage lease, so it cannot have a split brain. > > When VM is paused, it releases the lease. When VM is resumed, > it tries to acquire the lease before resuming, and resume will fail > if the lease is owned by another host. > > If you start the HA VM on another host, the other host will acquire > the storage lease. Resuming the original paused VM will fail. > > Nir > > Specifically, I assumed the PM setup and the HA VM not using the storage lease because I'm going to use MBS which doesn't support it yet AFAIK. so, I was wondering in which case the split brain can occur under this circumstance. I guess it doesn't occur as long as the user/admin doesn't manually restart VM, right? Sincerely, ___ 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/TBDGP2SGJT6V7LCDE52O72ZNJEAQGMLJ/
[ovirt-users] static IP assignment to VM
Hi, I'm trying to use Cloud-Init for assigning static IP to the guest, is there any other way commonly used? and in order to assign IP using cloud-init, "In-guest Network Interface Name" field should be filled but how to know that name in advance? ___ 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/3LHYTM63ZXWEE7ORHAOILWXBAQNSIIVI/
[ovirt-users] split brain scenario?
Hi, according to HA VM documentation, a paused VM may be started on another host and later resumed on the original host. - https://www.ovirt.org/develop/ha-vms.html here, I'm assuming the HA VM was paused due to I/O error. but I'm wondering how it can happen because I guess the HA VM will be restarted on another host only after it's completely killed from the original host. can you give the split brain scenario? ___ 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/SHKQ5QWA2NCFFYN4DSA6RJFEAU6JMLH7/
[ovirt-users] Re: Disaster Recovery using Ansible roles
Thanks Pavel, it becomes clear now. Have a nice weekend~!! Sincerely 2021년 1월 15일 (금) 오전 9:24, Pavel Bar 님이 작성: > Hi Henry, > Answers inside! > > Have a nice weekend :) > > Pavel > > On Thu, 14 Jan 2021 at 20:22, Henry lol > wrote: > >> Hi, >> >> I have 2 questions about Disaster Recovery with Ansible. >> >> 1) >> regarding Ansible failover, AFAIK, a mapping file must be generated >> before running failover. >> then, should I periodically generate a new mapping file to reflect the >> latest structure of the environment? >> > > Yes, generate it while your primary environment is up-and-running. > Regenerate after the environment structure changes. > Although no need to manually update it with the secondary site specific > values (which are by default commented out) until you actually want to run > the failover flow, just keep the created mapping skeleton file. > > >> >> 2) >> I guess Ansible failover uses OVF_STOREs to restore the environment and >> OVF_STOREs in storage domains are updated every 1 min as default. >> then, how to recover the changes made in the meantime? >> > > AFAIK you might be "back in time" to the latest time when the OVF_STOREs > were updated. > Not sure there is a solution. > I will verify that for you after the weekend. > > >> ___ >> 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/IPMQQ4PXH7AG3YDFPJMOO772AI3UOWEQ/ >> > ___ 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/YVTMBPDJQXNW3XUK3CXFTLOXOVF2SGSB/
[ovirt-users] Disaster Recovery using Ansible roles
Hi, I have 2 questions about Disaster Recovery with Ansible. 1) regarding Ansible failover, AFAIK, a mapping file must be generated before running failover. then, should I periodically generate a new mapping file to reflect the latest structure of the environment? 2) I guess Ansible failover uses OVF_STOREs to restore the environment and OVF_STOREs in storage domains are updated every 1 min as default. then, how to recover the changes made in the meantime? ___ 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/IPMQQ4PXH7AG3YDFPJMOO772AI3UOWEQ/
[ovirt-users] Re: image upload on Managed Block Storage
It really works well~! Thanks, Benny, Sincerely 2021년 1월 13일 (수) 오후 5:30, Benny Zlotnik 님이 작성: > The workaround I tried with ceph is to use `rbd import` and replace > the volume created by ovirt, the complete steps are: > 1. Create an MBS disk in ovirt and find its ID > 2. rbd import --dest-pool > 3. rbd rm volume- --pool > 4. rbd mv volume- --pool > > I only tried it with raw images > > > > On Wed, Jan 13, 2021 at 10:12 AM Henry lol > wrote: > > > > yeah, I'm using ceph as a backend, > > then can oVirt discover/import existing volumes in ceph? > > > > 2021년 1월 13일 (수) 오후 5:00, Benny Zlotnik 님이 작성: > >> > >> It's not implemented yet, there are ways to workaround it with either > >> backend specific tools (like rbd) or by attaching the volume, are you > >> using ceph? > >> > >> On Wed, Jan 13, 2021 at 4:13 AM Henry lol > wrote: > >> > > >> > Hello, > >> > > >> > I've just checked I can't upload an image into the MBS block through > either UI or restAPI. > >> > > >> > So, is there any method to do that? > >> > > >> > ___ > >> > 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/SIXBQGJJEWM4UXL676NRPLISVLQN4V6V/ > >> > > ___ 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/QKN2AMZDWLVOJNF6PWUANGHZ7E3RGUQO/
[ovirt-users] Re: image upload on Managed Block Storage
yeah, I'm using ceph as a backend, then can oVirt discover/import existing volumes in ceph? 2021년 1월 13일 (수) 오후 5:00, Benny Zlotnik 님이 작성: > It's not implemented yet, there are ways to workaround it with either > backend specific tools (like rbd) or by attaching the volume, are you > using ceph? > > On Wed, Jan 13, 2021 at 4:13 AM Henry lol > wrote: > > > > Hello, > > > > I've just checked I can't upload an image into the MBS block through > either UI or restAPI. > > > > So, is there any method to do that? > > > > ___ > > 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/SIXBQGJJEWM4UXL676NRPLISVLQN4V6V/ > > ___ 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/ZQ4W6J5UY2EV5M3QVQFOQJMP2A465AZB/
[ovirt-users] image upload on Managed Block Storage
Hello, I've just checked I can't upload an image into the MBS block through either UI or restAPI. So, is there any method to do that? ___ 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/SIXBQGJJEWM4UXL676NRPLISVLQN4V6V/
[ovirt-users] how to build oVirt engine on eclipse?
hello, I've just only imported existing maven projects from engine's git, but there were so many errors and failed to build. Should I do some configurations before importing? ___ 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/EUV5X3USKPL7CJ223PPP7Y3IOQYUFGPI/