[ovirt-users] Re: How to force removal of old host from Engine
On Wed, Apr 22, 2020 at 2:17 AM Strahil Nikolov wrote: > > On April 22, 2020 12:41:49 AM GMT+03:00, "Maton, Brett" > wrote: > >Last time I had to forcibly remove a node because it was impossible to > >do > >so otherwise, it had never ever had anything to do with gluster, so I > >STRONGLY dispute your claim that fixing an issue (that was not stated) > >will > >fix anything. > > > >On Tue, 21 Apr 2020 at 22:39, Maton, Brett > >wrote: > > > >> I'm sorry there was no suggestion that the node had anything to do > >with > >> gluster, clearly stated but how to remove a dead and unmanageable > >node from > >> the cluster. > >> > >> On Tue, 21 Apr 2020 at 20:41, Strahil Nikolov > >> wrote: > >> > >>> Not a good approach. > >>> It's important to know if the node was also a gluster peer in the > >storage > >>> pool - if yes, it needs to be replaced with 'replace-brick' or > >>> 'reset-brick' (depending if you use the old hostname or not). > >>> Once the storage node is replaced - oVirt will allow you to remove > >it. > >>> > >>> > >>> Best Regards, > >>> Strahil Nikolov > >>> > >>> > >>> > >>> > >>> > >>> > >>> В вторник, 21 април 2020 г., 19:46:47 Гринуич+3, Maton, Brett < > >>> mat...@ltresources.co.uk> написа: > >>> > >>> > >>> > >>> > >>> > >>> Last time I had to do this I removed from the database. > >>> > >>> (at your own risk) > >>> On ovirt engine switch to the postgres user from root: > >>> > >>> su - postgres > >>> > >>> Enable postgres 10 and connect to the engine database: > >>> > >>> . scl_source enable rh-postgresql10 > >>> psql -d engine > >>> > >>> Change to the name (Name column of the host in > >the > >>> UI) of the host you want to get rid of ( leave the '\' and \'' in > >place ) > >>> > >>> BEGIN;\set host '\'\''DELETE FROM vds_dynamic > >WHERE > >>> vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = > >:host);DELETE > >>> FROM vds_statistics WHERE vds_id IN (SELECT vds_id FROM vds_static > >WHERE > >>> vds_name = :host);DELETE FROM vds_static WHERE vds_name = > >:host;COMMIT; > >>> > >>> > >>> > >>> > >>> On Tue, 21 Apr 2020 at 15:19, Shareef Jalloq > >>> wrote: > >>> > Hi, > >>> > > >>> > I seem to have got a stale host in my engine that I can't remove. > >I > >>> recently reinstalled oVirt Node on this host and while trying to > >refresh > >>> the host in the engine, have got it in some state where I can't do > >anything. > >>> > > >>> > The host is listed as Status=Unassigned. Under the Management > >pull > >>> down I only have Restart and Stop options, both of which error if > >>> selected. The Remove button is not available. > >>> > > >>> > How do I force a removal of this host from the view so I can > >reload it? > >>> > > >>> > Shareef. > >>> > ___ > >>> > 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/ > >>> > > >>> ___ > >>> 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/EAFO7EBLCETILFJGCY55K254TLRKJPRC/ > >>> > >> > > Last time I had to remove a host - I didn't have your issues. > Yet, I'm not claiming the opposite - just that in case the host is also a > gluster node , oVirt will intentionally prevent removal of the node. > > Your approach could be absolutely valid in case there is no Gluster involved > - yet for HCI , Gluster brick has to be replaced prior taking any actions > for the removal. Did any of you try to "Confirm 'Host has been rebooted'"? Did this help? Best regards, -- Didi ___ 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/VCGXJVFZT2OSNI33APH62NH2CRHEZOU3/
[ovirt-users] Safely disable firewalld [Ovirt 4.3]
Hi all, I was wondering if it's "safe" disabling entirely the firewalld service and manage the firewall only via iptables, on the host and on the hosted engine (a self-hosted engine). It would make a lot easier the managing the firewall rules for me because of many automatisms I created based on iptables. Did anyone manage to do this? Any contraindication for doing this or precaution that I have to take care of? Thanks for your time and help, Francesco ___ 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/PNKTCSWLJXKK6FAIJ7EJMWIFTH4GGCL5/
[ovirt-users] Re: How to force removal of old host from Engine
On April 22, 2020 12:41:49 AM GMT+03:00, "Maton, Brett" wrote: >Last time I had to forcibly remove a node because it was impossible to >do >so otherwise, it had never ever had anything to do with gluster, so I >STRONGLY dispute your claim that fixing an issue (that was not stated) >will >fix anything. > >On Tue, 21 Apr 2020 at 22:39, Maton, Brett >wrote: > >> I'm sorry there was no suggestion that the node had anything to do >with >> gluster, clearly stated but how to remove a dead and unmanageable >node from >> the cluster. >> >> On Tue, 21 Apr 2020 at 20:41, Strahil Nikolov >> wrote: >> >>> Not a good approach. >>> It's important to know if the node was also a gluster peer in the >storage >>> pool - if yes, it needs to be replaced with 'replace-brick' or >>> 'reset-brick' (depending if you use the old hostname or not). >>> Once the storage node is replaced - oVirt will allow you to remove >it. >>> >>> >>> Best Regards, >>> Strahil Nikolov >>> >>> >>> >>> >>> >>> >>> В вторник, 21 април 2020 г., 19:46:47 Гринуич+3, Maton, Brett < >>> mat...@ltresources.co.uk> написа: >>> >>> >>> >>> >>> >>> Last time I had to do this I removed from the database. >>> >>> (at your own risk) >>> On ovirt engine switch to the postgres user from root: >>> >>> su - postgres >>> >>> Enable postgres 10 and connect to the engine database: >>> >>> . scl_source enable rh-postgresql10 >>> psql -d engine >>> >>> Change to the name (Name column of the host in >the >>> UI) of the host you want to get rid of ( leave the '\' and \'' in >place ) >>> >>> BEGIN;\set host '\'\''DELETE FROM vds_dynamic >WHERE >>> vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = >:host);DELETE >>> FROM vds_statistics WHERE vds_id IN (SELECT vds_id FROM vds_static >WHERE >>> vds_name = :host);DELETE FROM vds_static WHERE vds_name = >:host;COMMIT; >>> >>> >>> >>> >>> On Tue, 21 Apr 2020 at 15:19, Shareef Jalloq >>> wrote: >>> > Hi, >>> > >>> > I seem to have got a stale host in my engine that I can't remove. >I >>> recently reinstalled oVirt Node on this host and while trying to >refresh >>> the host in the engine, have got it in some state where I can't do >anything. >>> > >>> > The host is listed as Status=Unassigned. Under the Management >pull >>> down I only have Restart and Stop options, both of which error if >>> selected. The Remove button is not available. >>> > >>> > How do I force a removal of this host from the view so I can >reload it? >>> > >>> > Shareef. >>> > ___ >>> > 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/ >>> > >>> ___ >>> 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/EAFO7EBLCETILFJGCY55K254TLRKJPRC/ >>> >> Last time I had to remove a host - I didn't have your issues. Yet, I'm not claiming the opposite - just that in case the host is also a gluster node , oVirt will intentionally prevent removal of the node. Your approach could be absolutely valid in case there is no Gluster involved - yet for HCI , Gluster brick has to be replaced prior taking any actions for the removal. Best Regards, Strahil Nikolov ___ 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/4DN2QFZHWW7KQVRKHVB5IEQCFEX3BFYL/
[ovirt-users] Re: How to force removal of old host from Engine
Last time I had to forcibly remove a node because it was impossible to do so otherwise, it had never ever had anything to do with gluster, so I STRONGLY dispute your claim that fixing an issue (that was not stated) will fix anything. On Tue, 21 Apr 2020 at 22:39, Maton, Brett wrote: > I'm sorry there was no suggestion that the node had anything to do with > gluster, clearly stated but how to remove a dead and unmanageable node from > the cluster. > > On Tue, 21 Apr 2020 at 20:41, Strahil Nikolov > wrote: > >> Not a good approach. >> It's important to know if the node was also a gluster peer in the storage >> pool - if yes, it needs to be replaced with 'replace-brick' or >> 'reset-brick' (depending if you use the old hostname or not). >> Once the storage node is replaced - oVirt will allow you to remove it. >> >> >> Best Regards, >> Strahil Nikolov >> >> >> >> >> >> >> В вторник, 21 април 2020 г., 19:46:47 Гринуич+3, Maton, Brett < >> mat...@ltresources.co.uk> написа: >> >> >> >> >> >> Last time I had to do this I removed from the database. >> >> (at your own risk) >> On ovirt engine switch to the postgres user from root: >> >> su - postgres >> >> Enable postgres 10 and connect to the engine database: >> >> . scl_source enable rh-postgresql10 >> psql -d engine >> >> Change to the name (Name column of the host in the >> UI) of the host you want to get rid of ( leave the '\' and \'' in place ) >> >> BEGIN;\set host '\'\''DELETE FROM vds_dynamic WHERE >> vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = :host);DELETE >> FROM vds_statistics WHERE vds_id IN (SELECT vds_id FROM vds_static WHERE >> vds_name = :host);DELETE FROM vds_static WHERE vds_name = :host;COMMIT; >> >> >> >> >> On Tue, 21 Apr 2020 at 15:19, Shareef Jalloq >> wrote: >> > Hi, >> > >> > I seem to have got a stale host in my engine that I can't remove. I >> recently reinstalled oVirt Node on this host and while trying to refresh >> the host in the engine, have got it in some state where I can't do anything. >> > >> > The host is listed as Status=Unassigned. Under the Management pull >> down I only have Restart and Stop options, both of which error if >> selected. The Remove button is not available. >> > >> > How do I force a removal of this host from the view so I can reload it? >> > >> > Shareef. >> > ___ >> > 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/ >> > >> ___ >> 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/EAFO7EBLCETILFJGCY55K254TLRKJPRC/ >> > ___ 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/2HFVVWBK5CBYLM5C7FISJQWNEIVZDQXB/
[ovirt-users] Re: How to force removal of old host from Engine
I'm sorry there was no suggestion that the node had anything to do with gluster, clearly stated but how to remove a dead and unmanageable node from the cluster. On Tue, 21 Apr 2020 at 20:41, Strahil Nikolov wrote: > Not a good approach. > It's important to know if the node was also a gluster peer in the storage > pool - if yes, it needs to be replaced with 'replace-brick' or > 'reset-brick' (depending if you use the old hostname or not). > Once the storage node is replaced - oVirt will allow you to remove it. > > > Best Regards, > Strahil Nikolov > > > > > > > В вторник, 21 април 2020 г., 19:46:47 Гринуич+3, Maton, Brett < > mat...@ltresources.co.uk> написа: > > > > > > Last time I had to do this I removed from the database. > > (at your own risk) > On ovirt engine switch to the postgres user from root: > > su - postgres > > Enable postgres 10 and connect to the engine database: > > . scl_source enable rh-postgresql10 > psql -d engine > > Change to the name (Name column of the host in the > UI) of the host you want to get rid of ( leave the '\' and \'' in place ) > > BEGIN;\set host '\'\''DELETE FROM vds_dynamic WHERE > vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = :host);DELETE > FROM vds_statistics WHERE vds_id IN (SELECT vds_id FROM vds_static WHERE > vds_name = :host);DELETE FROM vds_static WHERE vds_name = :host;COMMIT; > > > > > On Tue, 21 Apr 2020 at 15:19, Shareef Jalloq wrote: > > Hi, > > > > I seem to have got a stale host in my engine that I can't remove. I > recently reinstalled oVirt Node on this host and while trying to refresh > the host in the engine, have got it in some state where I can't do anything. > > > > The host is listed as Status=Unassigned. Under the Management pull down > I only have Restart and Stop options, both of which error if selected. The > Remove button is not available. > > > > How do I force a removal of this host from the view so I can reload it? > > > > Shareef. > > ___ > > 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/ > > > ___ > 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/EAFO7EBLCETILFJGCY55K254TLRKJPRC/ > ___ 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/JH6BUNCYGDEYQ6K7N6RUD4PDZ6VPPCPU/
[ovirt-users] Re: How to force removal of old host from Engine
Not a good approach. It's important to know if the node was also a gluster peer in the storage pool - if yes, it needs to be replaced with 'replace-brick' or 'reset-brick' (depending if you use the old hostname or not). Once the storage node is replaced - oVirt will allow you to remove it. Best Regards, Strahil Nikolov В вторник, 21 април 2020 г., 19:46:47 Гринуич+3, Maton, Brett написа: Last time I had to do this I removed from the database. (at your own risk) On ovirt engine switch to the postgres user from root: su - postgres Enable postgres 10 and connect to the engine database: . scl_source enable rh-postgresql10 psql -d engine Change to the name (Name column of the host in the UI) of the host you want to get rid of ( leave the '\' and \'' in place ) BEGIN;\set host '\'\''DELETE FROM vds_dynamic WHERE vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = :host);DELETE FROM vds_statistics WHERE vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = :host);DELETE FROM vds_static WHERE vds_name = :host;COMMIT; On Tue, 21 Apr 2020 at 15:19, Shareef Jalloq wrote: > Hi, > > I seem to have got a stale host in my engine that I can't remove. I recently > reinstalled oVirt Node on this host and while trying to refresh the host in > the engine, have got it in some state where I can't do anything. > > The host is listed as Status=Unassigned. Under the Management pull down I > only have Restart and Stop options, both of which error if selected. The > Remove button is not available. > > How do I force a removal of this host from the view so I can reload it? > > Shareef. > ___ > 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/ > ___ 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/EAFO7EBLCETILFJGCY55K254TLRKJPRC/ ___ 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/HVT7VH4IQRY63Q23VLMLF3YLKDX4KTOH/
[ovirt-users] Re: Mirror oVirt content
Thanks Anton, I received the 2 links and will keep and eye on them. Regards, Adrian On Tue, Apr 21, 2020 at 1:19 PM Anton Marchukov wrote: > Hello Adrian. > > Thanks for your help with mirroring. I have forwarded your messages to the > ticketing system our infra team uses. You should get back two links: one > for the ticket about our mirroring docs being outdated (we need to fix > them) and the second one is about your mirroring request. Our infra team > will pick them up from there. > > > On Tue, Apr 21, 2020 at 2:42 PM wrote: > >> Hi Barak, >> Thanks for the info, we have opened a request/email using that link since >> a few months ago, however no one has reached out back to us. >> >> Anything else we can do from our end? >> >> thanks, >> >> Adrian >> ___ >> 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/AMBMC2U745ZOIVMQ6SAOU5PVODCVHZPE/ >> > > > -- > Anton Marchukov > Associate Manager - RHV DevOps - Red Hat > -- Adrian Quintero ___ 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/3HGGZDLUOPIACS6ASO2BNWGSOOLVQ2PH/
[ovirt-users] Re: VM disk I/O
On April 21, 2020 2:57:13 PM GMT+03:00, Jayme wrote: >What is the vm optimizer you speak of? > >Have you tried the high performance vm profile? When set it will prompt >you >to make additional manual changes such as configuring numa and >hugepages >etc > > > >On Tue, Apr 21, 2020 at 8:52 AM wrote: > >> On oVirt 4.3. i installed w10_64 with q35 cpu. >> i've used vm optimizer for better performans for end-users. it seams >good. >> But i need more performance guidelines. >> Ex. >> Our system has FC storage, is tere any options for better read/write >> performance Check the performance by using multi queue and 'none' I/O scheduler. >>Hugepage, Yes, VMs can benefit from Hugepages - but there are some open issues and you have to leave that for oVirt 4.4 Also, check that your hosts cpus are in highest C state -> there are nice articles about that. There is an interesting thread about SPICE streaming for better in-VM performance. Also, as it was mentioned - there are different VM types -> try the recommended by Jayme >>write through >> Like this, if you have any suggestions, could you share >> >> 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/KH6ULJYIRBPDNEAR5CASDY2IOT3ARVHA/ >> ___ 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/QWULWT72JA7DORONI4RQX762IWQRXR6S/
[ovirt-users] Re: Mirror oVirt content
Hello Adrian. Thanks for your help with mirroring. I have forwarded your messages to the ticketing system our infra team uses. You should get back two links: one for the ticket about our mirroring docs being outdated (we need to fix them) and the second one is about your mirroring request. Our infra team will pick them up from there. On Tue, Apr 21, 2020 at 2:42 PM wrote: > Hi Barak, > Thanks for the info, we have opened a request/email using that link since > a few months ago, however no one has reached out back to us. > > Anything else we can do from our end? > > thanks, > > Adrian > ___ > 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/AMBMC2U745ZOIVMQ6SAOU5PVODCVHZPE/ > -- Anton Marchukov Associate Manager - RHV DevOps - Red Hat ___ 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/DLC2LWEDOQOMTXHWT263BPKIRIIUR5G6/
[ovirt-users] Re: How to force removal of old host from Engine
Last time I had to do this I removed from the database. (at your own risk) On ovirt engine switch to the postgres user from root: su - postgres Enable postgres 10 and connect to the engine database: . scl_source enable rh-postgresql10 psql -d engine Change to the name (Name column of the host in the UI) of the host you want to get rid of ( leave the '\' and \'' in place ) BEGIN; \set host '\'\'' DELETE FROM vds_dynamic WHERE vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = :host); DELETE FROM vds_statistics WHERE vds_id IN (SELECT vds_id FROM vds_static WHERE vds_name = :host); DELETE FROM vds_static WHERE vds_name = :host; COMMIT; On Tue, 21 Apr 2020 at 15:19, Shareef Jalloq wrote: > Hi, > > I seem to have got a stale host in my engine that I can't remove. I > recently reinstalled oVirt Node on this host and while trying to refresh > the host in the engine, have got it in some state where I can't do anything. > > The host is listed as Status=Unassigned. Under the Management pull down I > only have Restart and Stop options, both of which error if selected. The > Remove button is not available. > > How do I force a removal of this host from the view so I can reload it? > > Shareef. > ___ > 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/ > ___ 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/EAFO7EBLCETILFJGCY55K254TLRKJPRC/
[ovirt-users] Re: How to force removal of old host from Engine
On April 21, 2020 5:15:10 PM GMT+03:00, Shareef Jalloq wrote: >Hi, > >I seem to have got a stale host in my engine that I can't remove. I >recently reinstalled oVirt Node on this host and while trying to >refresh >the host in the engine, have got it in some state where I can't do >anything. > >The host is listed as Status=Unassigned. Under the Management pull >down I >only have Restart and Stop options, both of which error if selected. >The >Remove button is not available. > >How do I force a removal of this host from the view so I can reload it? > >Shareef. Is the host also a gluster node ? Best Regards, Strahil Nikolov ___ 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/YRULVAYHYRP6V4YQ42OVVFWLZ6GJAQC3/
[ovirt-users] How to force removal of old host from Engine
Hi, I seem to have got a stale host in my engine that I can't remove. I recently reinstalled oVirt Node on this host and while trying to refresh the host in the engine, have got it in some state where I can't do anything. The host is listed as Status=Unassigned. Under the Management pull down I only have Restart and Stop options, both of which error if selected. The Remove button is not available. How do I force a removal of this host from the view so I can reload it? Shareef. ___ 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/TCBGLVCLMTZSQAURDDVGHKYXXQ36NO5H/
[ovirt-users] Re: oVirt and KeyCloak intergration
On Tue, 2020-04-21 at 12:48 +, Anton Louw wrote: > > > Hi Everybody, > > Hi Anton, > Has anybody gone the route of using KeyCloak to login to oVirt? > KeyCloak has been configured and the neccesary configs have also been > done on the engine. It redirects perfectly from the oVirt Web Login > page to KeyCloak, but after logging into KeyCloak, I get redirected > back to the oVirt Web Login. When trying to login again, I get the > below error: > > > > server_error: Missing parameter: 'params' > Not so long ago I managed to setup ovirt engine with keyloack (using ldap as users provider). Hopefully, I would be able to help you with it. There is excellent blog post[1] available. You might also check keycloak+ldap post [2], however, when I was working on the integration I was not aware of if and did not test it. The error you mentioned does not really indicate what exactly is wrong but it might suggest that there is some sort of misconfiguration with apache (you need to install and configure mod_auth_openidc as described at [1]). At least that happened in my case. In case you have already gone through it you could probably check apache logs. Under [1] there is a python script that can be used to check api calls, please update username/password and test it against your environment. Would it be possible post relevant piece of apache logs together with engine.log ? [1] https://blogs.ovirt.org/2019/01/federate-ovirt-engine-authentication-to-openid-connect-infrastructure/ [2] https://blogs.ovirt.org/2018/08/ovirt-saml-with-keyloak-using-389ds-user-federation/ Artur > I have checked all the logs, but nothing is telling me what exactly > the issue is. > > If anybody has any idea, please let me know. > > Thanks > > Anton Louw > Cloud Engineer: Storage and Virtualization at Vox > T: 087 805 | D: 087 805 1572 > M: N/A > E: anton.l...@voxtelecom.co.za > A: Rutherford Estate, 1 Scott Street, Waverley, Johannesburg > www.vox.co.za > > > > > > > > > > > > > > Disclaimer > The contents of this email are confidential to the sender and the > intended recipient. Unless the contents are clearly and entirely of a > personal nature, they are subject to copyright in favour of the > holding company of the Vox group of companies. Any recipient who > receives this email in error should immediately report the error to > the sender and permanently delete this email from all storage > devices. > > This email has been scanned for viruses and malware, and may have > been automatically archived by Mimecast Ltd, an innovator in Software > as a Service (SaaS) for business. Providing a safer and more useful > place for your human generated data. Specializing in; Security, > archiving and compliance. To find out more Click Here. > > > ___ > 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/S4I2I3MID4A4AYXVOLWKU55563DFKEFQ/ signature.asc Description: This is a digitally signed message part ___ 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/FSNYXFSZAXS3LPGZ5ONXZ7422STLBOOF/
[ovirt-users] oVirt and KeyCloak intergration
Hi Everybody, Has anybody gone the route of using KeyCloak to login to oVirt? KeyCloak has been configured and the neccesary configs have also been done on the engine. It redirects perfectly from the oVirt Web Login page to KeyCloak, but after logging into KeyCloak, I get redirected back to the oVirt Web Login. When trying to login again, I get the below error: [cid:ea1b2738-7e36-4cdb-8650-191d6992853c] server_error: Missing parameter: 'params' I have checked all the logs, but nothing is telling me what exactly the issue is. If anybody has any idea, please let me know. Thanks Anton Louw Cloud Engineer: Storage and Virtualization __ D: 087 805 1572 | M: N/A A: Rutherford Estate, 1 Scott Street, Waverley, Johannesburg anton.l...@voxtelecom.co.za www.vox.co.za ___ 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/S4I2I3MID4A4AYXVOLWKU55563DFKEFQ/
[ovirt-users] Re: Mirror oVirt content
Hi Barak, Thanks for the info, we have opened a request/email using that link since a few months ago, however no one has reached out back to us. Anything else we can do from our end? thanks, Adrian ___ 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/AMBMC2U745ZOIVMQ6SAOU5PVODCVHZPE/
[ovirt-users] Re: Migrate engine to another storage domain without losing engine settings?
Didn't recieve the forwarded email. Could you send it to si...@weblink.se please? 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/KGRTK2CVMJZOOHH25JQIRMBON6MWPJTN/
[ovirt-users] Re: spice options hook
Hi, On Tue, Apr 21, 2020 at 11:43:48AM -, ozme...@hotmail.com wrote: > my first problem is hook file. > When i add file before_vm_start directory and restart engine, > it shows under host hooks file on the web page. But options > cannot be displayed under vm custom properties section > > if i set spiceoptions ; > engine-config -s UserDefinedVMProperties=spiceoptions=^.*$ --cver=4.3 Hm, could you try instead: spiceoptions={'streaming':{'mode':'all'}} > engine-config -g UserDefinedVMProperties > UserDefinedVMProperties: version: 4.1 > UserDefinedVMProperties: version: 4.2 > UserDefinedVMProperties: spiceoptions=^.*$ version: 4.3 I can tell if streaming is enable if you provide qemu cmd line for what is running (e.g: ps aux | grep -i qemu ...) > systemctl restart ovirt-engine > > after that under vm custom options shows spiceoptions section. > But nothing works. according to hook file README, needs to be > appear options and youtube became more fluent What do you mean with nothing works exactly? signature.asc Description: PGP signature ___ 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/YIUF6HOMKRU5HEL27DMEGE4MINFEBK6T/
[ovirt-users] Re: spice options hook
Hi, On Tue, Apr 21, 2020 at 11:45:34AM +0200, Gianluca Cecchi wrote: > On Tue, Apr 21, 2020 at 11:10 AM Victor Toso wrote: > > [snip] > > > For mjpeg encoding, you don't need to change anything. For > > x264/vp8 with GStreamer, spice must be built with GStreamer > > option enabled. You can check if that's the case for your spice > > server library by running ldd in the .so file, e.g: > > > > spice (master 717ed19a) $ ldd ~/dev/lib64/libspice-server.so | grep -i gst > > libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 > > (0x7f393b57d000) > > libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f393b568000) > > libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f393b0df000) > > > > > Just for reference, > - on latest 4.3.9 ovirt node ng > [root@ovirt ~]# ldd /usr/lib64/libspice-server.so.1.12.4 | grep -i gst > [root@ovirt ~]# > > - on latest 4.4 beta4 ovirt node ng > [root@novirt2 ~]# ldd /usr/lib64/libspice-server.so.1.13.0 | grep -i gst > libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f8b7845f000) > libgstvideo-1.0.so.0 => /lib64/libgstvideo-1.0.so.0 (0x7f8b781c3000) > libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f8b77f4c000) > libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x7f8b77c0c000) > [root@novirt2 ~]# Cool, > Plus, you need the plugins for encoding in your host. > > > In term of? Packages? How to check? > > Gianluca In terms of packages, that can vary a bit due license/patent code but as quick check, spice's autotools does checks the following: https://gitlab.freedesktop.org/spice/spice/-/blob/master/configure.ac#L93 x264enc element is in gst-plugins-ugly while vp8enc and vp9enc in gst-plugins-good. You can check if you have each of those in the path by running gst-inspect-1.0, eg: $ gst-inspect-1.0 vp8enc | head Factory Details: Rank primary (256) Long-nameOn2 VP8 Encoder KlassCodec/Encoder/Video Description Encode VP8 video streams Author David Schleef , Sebastian Dröge Plugin Details: Name vpx Description VP8 plugin Cheers, Victor signature.asc Description: PGP signature ___ 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/Q2KQP6G5OXI4SY5MRVAD7QFUEE2DFV3V/
[ovirt-users] Re: VM disk I/O
What is the vm optimizer you speak of? Have you tried the high performance vm profile? When set it will prompt you to make additional manual changes such as configuring numa and hugepages etc On Tue, Apr 21, 2020 at 8:52 AM wrote: > On oVirt 4.3. i installed w10_64 with q35 cpu. > i've used vm optimizer for better performans for end-users. it seams good. > But i need more performance guidelines. > Ex. > Our system has FC storage, is tere any options for better read/write > performans, Hugepage, write through > Like this, if you have any suggestions, could you share > > 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/KH6ULJYIRBPDNEAR5CASDY2IOT3ARVHA/ > ___ 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/VCWGMW42Z77FUQ7L27IFAMRJHB2P5HUS/
[ovirt-users] VM disk I/O
On oVirt 4.3. i installed w10_64 with q35 cpu. i've used vm optimizer for better performans for end-users. it seams good. But i need more performance guidelines. Ex. Our system has FC storage, is tere any options for better read/write performans, Hugepage, write through Like this, if you have any suggestions, could you share 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/KH6ULJYIRBPDNEAR5CASDY2IOT3ARVHA/
[ovirt-users] Re: spice options hook
my first problem is hook file. When i add file before_vm_start directory and restart engine, it shows under host hooks file on the web page. But options cannot be displayed under vm custom properties section if i set spiceoptions ; engine-config -s UserDefinedVMProperties=spiceoptions=^.*$ --cver=4.3 engine-config -g UserDefinedVMProperties UserDefinedVMProperties: version: 4.1 UserDefinedVMProperties: version: 4.2 UserDefinedVMProperties: spiceoptions=^.*$ version: 4.3 systemctl restart ovirt-engine after that under vm custom options shows spiceoptions section. But nothing works. according to hook file README, needs to be appear options and youtube became more fluent ___ 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/NUJVXUVLUIDP3MMGUPBVGG7YI2AHBBG3/
[ovirt-users] Re: spice options hook
On Tue, Apr 21, 2020 at 11:10 AM Victor Toso wrote: [snip] > For mjpeg encoding, you don't need to change anything. For > x264/vp8 with GStreamer, spice must be built with GStreamer > option enabled. You can check if that's the case for your spice > server library by running ldd in the .so file, e.g: > > spice (master 717ed19a) $ ldd ~/dev/lib64/libspice-server.so | grep -i gst > libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 > (0x7f393b57d000) > libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f393b568000) > libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f393b0df000) > > Just for reference, - on latest 4.3.9 ovirt node ng [root@ovirt ~]# ldd /usr/lib64/libspice-server.so.1.12.4 | grep -i gst [root@ovirt ~]# - on latest 4.4 beta4 ovirt node ng [root@novirt2 ~]# ldd /usr/lib64/libspice-server.so.1.13.0 | grep -i gst libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f8b7845f000) libgstvideo-1.0.so.0 => /lib64/libgstvideo-1.0.so.0 (0x7f8b781c3000) libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f8b77f4c000) libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x7f8b77c0c000) [root@novirt2 ~]# Plus, you need the plugins for encoding in your host. > > In term of? Packages? How to check? Gianluca ___ 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/DQ4EZI7OFAIU62BNBYRNQNJSRPQGZSW3/
[ovirt-users] Re: spice options hook
Hi, On Tue, Apr 21, 2020 at 07:42:20AM -, ozme...@hotmail.com wrote: > So, can you discribe how can i use streaming method on Ovirt > 4.3? Looking at the hook you posted earlier: https://github.com/oVirt/vdsm/blob/master/vdsm_hooks/spiceoptions/before_vm_start.py It needs user to provide the options and for this feature to work streaming=filter or streaming=all must be giving to spice server to enable streaming. > do i need to change something on host or engine I need to > solve youtube or other video problems For mjpeg encoding, you don't need to change anything. For x264/vp8 with GStreamer, spice must be built with GStreamer option enabled. You can check if that's the case for your spice server library by running ldd in the .so file, e.g: spice (master 717ed19a) $ ldd ~/dev/lib64/libspice-server.so | grep -i gst libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x7f393b57d000) libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x7f393b568000) libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x7f393b0df000) Plus, you need the plugins for encoding in your host. > Additionally, steraming needs to hardware accelerator, all > streaming apps or offers hardware acceletor for best performace As mentioned earlier, the encoding parameters are hardcoded [0] so, even if you argue that gpu is preferred, that's not currently supported but patches are welcome! [0] https://gitlab.freedesktop.org/spice/spice/-/blob/master/server/gstreamer-encoder.c#L887 Video streaming like Youtube, you should get audio sync, lower bandwidth, etc. Cheers, Victor signature.asc Description: PGP signature ___ 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/2OQYPMGOU3HZDDZNAUSKHWPYJPVRI3W5/
[ovirt-users] Re: spice options hook
So, can you discribe how can i use streaming method on Ovirt 4.3? do i need to change something on host or engine I need to solve youtube or other video problems Additionally, steraming needs to hardware accelerator, all streaming apps or offers hardware acceletor for best performace 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/OAFMPRPCBDQDML6GMWFNP2LOS5ASU4TI/