[ovirt-users] Re: oVirt 4.5 on Rocky 9

2022-09-18 Thread Yedidyah Bar David
On Sun, Sep 18, 2022 at 10:03 PM Bjorn M  wrote:
>
> Hi,
>
> I'm moving all my infra nodes to Rocky 9 and my oVirt cluster is next on the 
> list. I'm deploying a standalone oVirt VM on a KVM box and will set up the 
> hosts afterwards. All are to run on Rocky 9 x86_64.

The engine is not ready yet for EL9. People are working on this, notably Martin:

https://github.com/oVirt/ovirt-engine/pull/647

Best regards,




>
> I followed https://www.ovirt.org/download/install_on_rhel.html and created an 
> Ansible playbook to set up the customisations.
>
> I now have all repos set up correctly, or at least that is my understanding.
>
> When I run yum search ovirt-engine I get a number of packages available from 
> the repos, but not the ovirt-engine package. I do see the 
> ovirt-hosted-engine, but I prefer the standalone option.
>
> This makes sense as I don't find the package at 
> http://mirror.stream.centos.org/SIGs/9-stream/virt/x86_64/ovirt-45/Packages/o/
>  , which I where all ovirt- packages are, except this one.
>
> Yum whatprovides engine-setup also turns out negative.
>
> I then decided to install ovirt-engine-appliance 4.5-20220419160254.1.el9 
> from ovirt-45-upstream, but that package produces an error on the GPG key 
> import.
>
> It's unclear whether the issue is on my specific stack or wider. The missing 
> ovirt-engine package is confusing though.
>
>
> Any help is appreciated,
>
> Cheers, Bjorn
>
>
>
> OUTPUT :
>
>
> (0)[root@ovirt ~]# yum repolist
> Updating Subscription Management repositories.
> Unable to read consumer identity
>
> This system is not registered with an entitlement server. You can use 
> subscription-manager to register.
>
> repo id   
> repo name
> appstream 
> Rocky Linux 9 - AppStream
> baseos
> Rocky Linux 9 - BaseOS
> c9s-extras-common 
> CentOS Stream 9 - Extras packages
> centos-ceph-pacific   
> CentOS-9-stream - Ceph Pacific
> centos-gluster10  
> CentOS-9-stream - Gluster 10
> centos-nfv-openvswitch
> CentOS Stream 9 - NFV OpenvSwitch
> centos-openstack-yoga 
> CentOS-9 - OpenStack yoga
> centos-opstools   
> CentOS Stream 9 - OpsTools - collectd
> centos-ovirt45
> CentOS Stream 9 - oVirt 4.5
> centos-rabbitmq-38
> CentOS-9 - RabbitMQ 38
> crb   
> Rocky Linux 9 - CRB
> epel  
> Extra Packages for Enterprise Linux 9 - x86_64
> extras
> Rocky Linux 9 - Extras
> ovirt-45-upstream 
> oVirt upstream for CentOS Stream 9 - oVirt 4.5
> resilientstorage  
> Rocky Linux 9 - Resilient Storage
> (0)[root@ovirt ~]# yum search ovirt-engine
> Updating Subscription Management repositories.
> Unable to read consumer identity
>
> This system is not registered with an entitlement server. You can use 
> subscription-manager to register.
>
> Last metadata expiration check: 3:37:50 ago on Wed 14 Sep 2022 08:24:39 AM 
> CEST.
> 
>  Name Matched: ovirt-engine 
> 
> ovirt-engine-appliance.x86_64 : The oVirt Engine Appliance image (OVA)
> ovirt-engine-extension-aaa-ldap.noarch : oVirt Engine LDAP Users Management 
> Extension
> ovirt-engine-extension-aaa-ldap-setup.noarch : oVirt Engine LDAP Users 
> Management Extension Setup Tool
> ovirt-engine-extensions-api.noarch : oVirt engine extensions API
> ovirt-engine-extensions-api-javadoc.noarch : oVirt engine extensions API 
> documentation
> ovirt-engine-nodejs-modules.noarch : Node.js modules required 

[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-18 Thread Yedidyah Bar David
Hi,

please see my reply to "[ovirt-users] Error during deployment of ovirt-engine".

Best regards,

On Sun, Sep 18, 2022 at 9:56 PM Peter H  wrote:
>
> Hi Jonas,
>
> I get the same error when I try to install. Last weekend I managed to do it 
> (but with a lot of other problems) so something has changed during the week.
>
> After the VM is up I logged in through ssh and saw that the oVirt appliance 
> comes with Python-3.6 and Python-3.8 which both have netaddr installed.
>
> Part of the log:
> ...
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Update setup packages]
> [ INFO  ] skipping: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Copy yum configuration file]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Set 'best' to false]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Update all packages]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum configuration 
> file]
> [ INFO  ] changed: [localhost -> 192.168.222.35]
> [ INFO  ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if variable 
> is set]
> ...
> I noticed that after the task "Update all packages" Python-3.9 gets installed 
> and that version does not have netaddr installed. My theory is that the 
> playbook somehow uses the newest version of Python which is installed.
>
> pip3.9 list
> Package  Version
>  ---
> ansible-core 2.13.3
> cffi 1.14.3
> cryptography 3.3.1
> idna 2.10
> pip  20.2.4
> ply  3.11
> pycparser2.20
> PyYAML   5.4.1
> setuptools   50.3.2
> six  1.15.0
>
> I have tried another run where I installed the netaddr module as soon as 
> Python-3.9 got installed and that installation went further but then it had 
> another error.
>
> When I log into my hosted engine VM from last week there is no Python-3.9.
>
> My dnf(1) skills are not good enough to figure out which dependency is 
> causing Python-3.9 to be installed.
>
> There are probably a lot of other modules missing that can explain the other 
> error(s) I see.
>
> I will see if I can find out how to file a proper bug report.
>
> BR
> Peter
>
> ___
> 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/TDB7QQF3BQ3KGPG34RX2AAKEVHLCJW5G/



-- 
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/WY7IOOUGFJGZZLKRC4JO2KRZLVMYSH3L/


[ovirt-users] Re: Unable to deploy to new host

2022-09-18 Thread Yedidyah Bar David
Hi,

please see my reply to "[ovirt-users] Error during deployment of ovirt-engine".

Best regards,

On Mon, Sep 19, 2022 at 5:02 AM David White via Users  wrote:
>
> I currently have a self-hosted engine that was restored from a backup of an 
> engine that was originally in a hyperconverged state. (See 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/APQ3XBUM34TG76XGRBV6GIW62RP6MZOD/).
>
> This was also an upgrade from ovirt 4.4 to ovirt 4.5.
>
> There were 4 hosts in this cluster. Unfortunately, 2 of them are completely 
> in an "Unassigned" state right now, and I don't know why. The VMs on those 
> hosts are working fine, but I have no way to move the VMs or manage them.
>
> More to the point of this email:
> I'm trying to re-deploy onto a 3rd host. I did a fresh install of Rocky Linux 
> 8, and followed the instructions at https://ovirt.org/download/ and at 
> https://ovirt.org/download/install_on_rhel.html, including the part there 
> that is specific to Rocky.
>
> After installing the centos-release-ovirt45 package, I then logged into the 
> oVirt engine web UI, and went to Compute -> Hosts -> New, and have tried (and 
> failed) many times to install / deploy to this new host.
>
> The last error in the host deploy log is the following:
>
> 2022-09-18 21:29:39 EDT - {
>   "uuid" : "94b93e6a-5410-4d26-b058-d7d1db0a151e",
>   "counter" : 404,
>   "stdout" : "fatal: [cha2-storage.mgt.example.com]: FAILED! => {\"msg\": 
> \"The conditional check 'cluster_switch == \\\"ovs\\\" or (ovn_central is 
> defined and ovn_central | ipaddr)' failed. The error was: The ipaddr filter 
> requires python's netaddr be installed on the ansible controller\\n\\nThe 
> error appears to be in 
> '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
>  line 3, column 5, but may\\nbe elsewhere in the file depending on the exact 
> syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n  - 
> name: Install ovs\\n^ here\\n\"}",
>   "start_line" : 405,
>   "end_line" : 406,
>   "runner_ident" : "e2cbd38d-64fa-4ecd-82c6-114420ea14a4",
>   "event" : "runner_on_failed",
>   "pid" : 65899,
>   "created" : "2022-09-19T01:29:38.983937",
>   "parent_uuid" : "02113221-f1b3-920f-8bd4-003d",
>   "event_data" : {
> "playbook" : "ovirt-host-deploy.yml",
> "playbook_uuid" : "73a6e8f1-3836-49e1-82fd-5367b0bf4e90",
> "play" : "all",
> "play_uuid" : "02113221-f1b3-920f-8bd4-0006",
> "play_pattern" : "all",
> "task" : "Install ovs",
> "task_uuid" : "02113221-f1b3-920f-8bd4-003d",
> "task_action" : "package",
> "task_args" : "",
> "task_path" : 
> "/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml:3",
> "role" : "ovirt-provider-ovn-driver",
> "host" : "cha2-storage.mgt.example.com",
> "remote_addr" : "cha2-storage.mgt.example.com",
> "res" : {
>   "msg" : "The conditional check 'cluster_switch == \"ovs\" or 
> (ovn_central is defined and ovn_central | ipaddr)' failed. The error was: The 
> ipaddr filter requires python's netaddr be installed on the ansible 
> controller\n\nThe error appears to be in 
> '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
>  line 3, column 5, but may\nbe elsewhere in the file depending on the exact 
> syntax problem.\n\nThe offending line appears to be:\n\n- block:\n  - name: 
> Install ovs\n^ here\n",
>   "_ansible_no_log" : false
> },
> "start" : "2022-09-19T01:29:38.919334",
> "end" : "2022-09-19T01:29:38.983680",
> "duration" : 0.064346,
> "ignore_errors" : null,
> "event_loop" : null,
> "uuid" : "94b93e6a-5410-4d26-b058-d7d1db0a151e"
>   }
> }
>
> On the engine, I have verified that netaddr is installed. And just for kicks, 
> I've installed as many different versions as I can find:
>
> [root@ovirt-engine1 host-deploy]# rpm -qa | grep netaddr
> python38-netaddr-0.7.19-8.1.1.el8.noarch
> python2-netaddr-0.7.19-8.1.1.el8.noarch
> python3-netaddr-0.7.19-8.1.1.el8.noarch
>
> The engine is based on CentOS Stream 8 (when I moved the engine out of the 
> hyperconverged environment, my goal was to keep things as close to the 
> original environment as possible)
> [root@ovirt-engine1 host-deploy]# cat /etc/redhat-release
> CentOS Stream release 8
>
> The engine is fully up-to-date:
> [root@ovirt-engine1 host-deploy]# uname -a
> Linux ovirt-engine1.mgt.barredowlweb.com 4.18.0-408.el8.x86_64 #1 SMP Mon Jul 
> 18 17:42:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
>
> And the engine has the following repos:
> [root@ovirt-engine1 host-deploy]# yum repolist
> repo id   
>repo name
> appstream 
>CentOS Stream 8 - AppStr

[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-18 Thread Yedidyah Bar David
On Sat, Sep 17, 2022 at 4:15 PM  wrote:
>
> I meant what exactly is broken and if there is a workaround or a planned fix.

The breakage happened due to:

- ansible-core recently moved to python 3.9

- oVirt needs several python libraries in its use of ansible, some of
which are packaged by oVirt. Those are not yet built for python 3.9.

>
> I performed a deployment using hosted-engine. This goes on step further, but 
> fails while waiting for the host:
> [...]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using 
> username/password credentials]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Wait for the host to be up]
> [ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a 
> failure]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Host is 
> not up, please check logs, perhaps also o
> n the engine machine"}
> [...]
>
> On the hosted-engine, I see in 
> /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20220917140938-server-005.admin.int.rabe.ch-937b3c69-a4d5-45c7-af0f-b8705490ff2a.log:
> [...]
> 2022-09-17 14:12:30 CEST - {
>   "uuid" : "97891064-a215-4709-b944-ceba2d13b19f",
>   "counter" : 391,
>   "stdout" : "fatal: [server-005.admin.int.rabe.ch]: FAILED! => {\"msg\": 
> \"The conditional check 'cluster_switch == \\\"ovs\\\" or (ovn_central is 
> defined and ovn_central | ipaddr)' failed. The error was: The ipaddr filter 
> requires python's netaddr be installed on the ansible controller\\n\\nThe 
> error appears to be in 
> '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
>  line 3, column 5, but may\\nbe elsewhere in the file depending on the exact 
> syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n  - 
> name: Install ovs\\n^ here\\n\"}",
> [...]
>
> But netaddr is installed:

python38-netaddr might be installed, but python39-netaddr is probably not.

> [root@ovirt-engine-test host-deploy]# pip3 install netaddr
> WARNING: Running pip install with root privileges is generally not a good 
> idea. Try `pip3 install --user` instead.
> Requirement already satisfied: netaddr in /usr/lib/python3.6/site-packages
>
> Any ideas what I can do?

For the time being, try to downgrade ansible-core to 2.12, or the last
version requiring python 3.8.

We merged this patch to the engine master branch (to eventually become 4.5.3):

https://github.com/oVirt/ovirt-engine/pull/654

Going forward:

1. We hope to finish porting the engine to CS9 soon, and if this
proves stable, consider dropping support for CS8.

2. We might try, in the time being, to build the missing dependencies
for python 3.9. It's not clear if it's worth the effort.

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/ERXMH7NVN7Q6DPDJO7U5CD5XOB4YEUAQ/


[ovirt-users] Re: Should I migrate existing oVirt Engine, or deploy new?

2022-09-18 Thread Yedidyah Bar David
On Sun, Sep 18, 2022 at 4:10 AM David White via Users  wrote:
>
> I thought I'd report back to the list and mention that I was successful in 
> migrating off of the hyperconverged environment onto a stand-alone engine 
> environment, and Gluster has been removed from the oVirt configuration.

Thanks for the report.

>
> I ran into a few minor hiccups, all of which were resolved fairly easily, and 
> I took notes. I intend to submit a PR to the github documentation, since none 
> currently exist for migrating the engine off of a hyperconverged environment.
>
> My only remaining questions at this point is:
>
> Are there things on the hosts themselves that I should cleanup?

You might want to reinstall them from scratch, one-by-one, if you care
that much about them being clean. I personally do not think it's worth
it if your only reason is getting rid of hosted-engine remains, but
you might want to do this regardless for other reasons (e.g. if they
are old machines and accumulated other kinds of cruft).

> I noticed that the "hosted-engine" command still exists. I went to run a yum 
> remove on that, and it tried to remove basically everything...

You can try 'dnf remove --noautoremove ovirt-hosted-engine-setup
ovirt-hosted-engine-ha'. This will remove also 'ovirt-host', which is
not such a good idea - it's a package that has no content, other than
a list of dependencies, on the various packages needed for a
functional oVirt host. Nothing will be broken immediately, but in
principle you risk losing new deps added to a future version of it,
etc.


> so I figured that wasn't actually a good idea.
>
> Do I need to do anything in the oVirt config (maybe something in the Postgres 
> database) to basically tell it that it is no longer self-hosted, but is 
> instead stand-alone?

I do not know all the details, sorry. You might want to deploy a
hosted-engine, dump the engine db, then search the dump for 'hosted'
or something like that. Even checking a dump of a standalone engine
can show you relevant stuff to check.

One item I do know about is how to prevent 'engine-setup' from
preventing you from continuing because it thinks it's a hosted-engine
and not in global maintenance:

https://lists.ovirt.org/archives/list/users@ovirt.org/thread/SKGWY5ZIBAG5GTWHIPDUO5O64PUZN7Y2/

There is also the field 'hosted_engine_configured' in 'vds_dynamic',
not sure it's safe to change it outside of the engine (but no idea why
it might not be).

Good luck and best regards,

>
>
> Sent with Proton Mail secure email.
>
> --- Original Message ---
> On Friday, August 19th, 2022 at 11:01 AM, David White via Users 
>  wrote:
>
> Hi Paul,
> Thanks for the response.
>
> I think you're suggesting that I take a hybrid approach, and do a restore of 
> the current Engine onto the new VM. I hadn't thought about this option.
>
> Essentially what I was considering was either:
>
> Export to OVA or something
> OR
> Build a completely new oVirt engine with a completely new domain, etc... and 
> try to live migrate the VMs from the old engine to the new engine.
>
>
> Do I understand you correctly that you're suggesting I install the OS onto a 
> new VM, and try to do a restore of the oVirt settings onto the new VM (after 
> I put the cluster into Global maintenance mode and shutdown the old oVirt)?
>
> Sent with Proton Mail secure email.
>
> --- Original Message ---
> On Friday, August 19th, 2022 at 10:46 AM, Staniforth, Paul 
>  wrote:
>
> Hello David,
>   I don't think there's a documentated method to go from 
> a Hosted Engine to standalone just the other way standalone to HE.
>
> I would suggest doing a full backup of the engine prepare the new VM and 
> restore to that rather than trying to export it.
> This way you can shut down the original engine and run the new engine VM to 
> test it works as you will be able to restart the original engine if it 
> doesn't work.
>
> Regards,
> Paul S.
>
>
>
> 
> From: David White via Users 
> Sent: 19 August 2022 15:27
> To: David White 
> Cc: oVirt Users 
> Subject: [ovirt-users] Re: Should I migrate existing oVirt Engine, or deploy 
> new?
>
>
> Caution External Mail: Do not click any links or open any attachments unless 
> you trust the sender and know that the content is safe.
>
> In other words, I want to migrate the Engine from a hyperconverged 
> environment into a stand-alone setup.
>
> Sent with Proton Mail secure email.
>
> --- Original Message ---
> On Friday, August 19th, 2022 at 10:17 AM, David White via Users 
>  wrote:
>
> Hello,
> I have just purchased a Synology SA3400 which I plan to use for my oVirt 
> storage domain(s) going forward. I'm currently using Gluster storage in a 
> hyperconverged environment.
>
> My goal now is to:
>
> Use the Synology Virtual Machine manager to host the oVirt Engine on the 
> Synology
> Setup NFS storage on the Synology as the storage domain for all VMs in our 
> enviro

[ovirt-users] Unable to deploy to new host

2022-09-18 Thread David White via Users
I currently have a self-hosted engine that was restored from a backup of an 
engine that was originally in a hyperconverged state. (See 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/APQ3XBUM34TG76XGRBV6GIW62RP6MZOD/).


This was also an upgrade from ovirt 4.4 to ovirt 4.5.


There were 4 hosts in this cluster. Unfortunately, 2 of them are completely in 
an "Unassigned" state right now, and I don't know why. The VMs on those hosts 
are working fine, but I have no way to move the VMs or manage them.

More to the point of this email:
I'm trying to re-deploy onto a 3rd host. I did a fresh install of Rocky Linux 
8, and followed the instructions at https://ovirt.org/download/ and at 
https://ovirt.org/download/install_on_rhel.html, including the part there that 
is specific to Rocky.


After installing the centos-release-ovirt45 package, I then logged into the 
oVirt engine web UI, and went to Compute -> Hosts -> New, and have tried (and 
failed) many times to install / deploy to this new host.


The last error in the host deploy log is the following:


2022-09-18 21:29:39 EDT - {  "uuid" : "94b93e6a-5410-4d26-b058-d7d1db0a151e",
  "counter" : 404,
  "stdout" : "fatal: [cha2-storage.mgt.example.com]: FAILED! => {\"msg\": \"The 
conditional check 'cluster_switch == \\\"ovs\\\" or (ovn_central is defined and 
ovn_central | ipaddr)' failed. The error was: The ipaddr filter requires 
python's netaddr be installed on the ansible controller\\n\\nThe error appears 
to be in 
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
 line 3, column 5, but may\\nbe elsewhere in the file depending on the exact 
syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n  - 
name: Install ovs\\n    ^ here\\n\"}",
  "start_line" : 405,
  "end_line" : 406,
  "runner_ident" : "e2cbd38d-64fa-4ecd-82c6-114420ea14a4",
  "event" : "runner_on_failed",
  "pid" : 65899,
  "created" : "2022-09-19T01:29:38.983937",
  "parent_uuid" : "02113221-f1b3-920f-8bd4-003d",
  "event_data" : {
    "playbook" : "ovirt-host-deploy.yml",
    "playbook_uuid" : "73a6e8f1-3836-49e1-82fd-5367b0bf4e90",
    "play" : "all",
    "play_uuid" : "02113221-f1b3-920f-8bd4-0006",
    "play_pattern" : "all",
    "task" : "Install ovs",
    "task_uuid" : "02113221-f1b3-920f-8bd4-003d",
    "task_action" : "package",
    "task_args" : "",
    "task_path" : 
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml:3",
    "role" : "ovirt-provider-ovn-driver",
    "host" : "cha2-storage.mgt.example.com",
    "remote_addr" : "cha2-storage.mgt.example.com",
    "res" : {
      "msg" : "The conditional check 'cluster_switch == \"ovs\" or (ovn_central 
is defined and ovn_central | ipaddr)' failed. The error was: The ipaddr filter 
requires python's netaddr be installed on the ansible controller\n\nThe error 
appears to be in 
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml':
 line 3, column 5, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n- block:\n  - name: 
Install ovs\n    ^ here\n",
      "_ansible_no_log" : false
    },
    "start" : "2022-09-19T01:29:38.919334",
    "end" : "2022-09-19T01:29:38.983680",
    "duration" : 0.064346,
    "ignore_errors" : null,
    "event_loop" : null,
    "uuid" : "94b93e6a-5410-4d26-b058-d7d1db0a151e"
  }
}



On the engine, I have verified that netaddr is installed. And just for kicks, 
I've installed as many different versions as I can find:


[root@ovirt-engine1 host-deploy]# rpm -qa | grep 
netaddrpython38-netaddr-0.7.19-8.1.1.el8.noarch
python2-netaddr-0.7.19-8.1.1.el8.noarch
python3-netaddr-0.7.19-8.1.1.el8.noarch



The engine is based on CentOS Stream 8 (when I moved the engine out of the 
hyperconverged environment, my goal was to keep things as close to the original 
environment as possible)
[root@ovirt-engine1 host-deploy]# cat /etc/redhat-release
CentOS Stream release 8


The engine is fully up-to-date:
[root@ovirt-engine1 host-deploy]# uname -a
Linux ovirt-engine1.mgt.barredowlweb.com 4.18.0-408.el8.x86_64 #1 SMP Mon Jul 
18 17:42:52 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux


And the engine has the following repos:
[root@ovirt-engine1 host-deploy]# yum repolistrepo id                           
                                                           repo name
appstream                                                                       
             CentOS Stream 8 - AppStream
baseos                                                                          
             CentOS Stream 8 - BaseOS
centos-ceph-pacific                                                             
             CentOS-8-stream - Ceph Pacific
centos-gluster10                                                                
             Cent

[ovirt-users] Re: Gluster setup for oVirt

2022-09-18 Thread Strahil Nikolov via Users
It's not outdated but it's rarely necessary because:- the HostedEngine volume 
must be dedicated for the HE VM. Setting enough space for the bricks is enough 
- for example physical disk is 100GB, Thinpool is 100GB, thin LV 84GB (16GB 
should be put aside for the metadata). In such configuration, you can't go out 
of space.I/O overhead can be minimized by setting the full stripe size (and the 
thinpool chunk size) between 1MiB and 2MiB (preferably in the lower end).
One big advantage of the thinpool-based bricks is that you can create snapshots 
of the volume. Usually I shut down the engine, snapshot the volume and then 
power up and do the necessary actions (for example Engine upgrade).
Best Regards,Strahil Nikolov 
 
 
  On Sun, Sep 18, 2022 at 22:50, Jonas wrote:   

https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.8/html/deploying_red_hat_hyperconverged_infrastructure_for_virtualization/rhhi-requirements#rhhi-req-lv

> The logical volumes that comprise the engine gluster volume must be thick 
> provisioned. This protects the Hosted Engine from out of space conditions, 
> disruptive volume configuration changes, I/O overhead, and migration activity.

Or is that extremely dated information?

Am 18. September 2022 21:08:45 MESZ schrieb Strahil Nikolov via Users 
:
>Can you share the RH recommendation to use Thick LV ?
>Best Regards,Strahil Nikolov  
> 
>    I don't have that anymore, but I assume that gluster_infra_lv_logicalvols 
>requires a thin pool: 
>https://github.com/gluster/gluster-ansible-infra/blob/master/roles/backend_setup/tasks/thin_volume_create.yml
>___
>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/XQ4Q4SELENO6EMF4WUQKM27G55RPEM3O/
>  
___
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/I3Z7QEY4CMZD5QFGFGMNABHVAGHK5IWU/
  
___
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/RBDBPEVGJLKB4XLYWCN4BJTPW4WYG43J/


[ovirt-users] Re: Gluster setup for oVirt

2022-09-18 Thread Jonas


https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.8/html/deploying_red_hat_hyperconverged_infrastructure_for_virtualization/rhhi-requirements#rhhi-req-lv

> The logical volumes that comprise the engine gluster volume must be thick 
> provisioned. This protects the Hosted Engine from out of space conditions, 
> disruptive volume configuration changes, I/O overhead, and migration activity.

Or is that extremely dated information?

Am 18. September 2022 21:08:45 MESZ schrieb Strahil Nikolov via Users 
:
>Can you share the RH recommendation to use Thick LV ?
>Best Regards,Strahil Nikolov  
> 
>I don't have that anymore, but I assume that gluster_infra_lv_logicalvols 
> requires a thin pool: 
> https://github.com/gluster/gluster-ansible-infra/blob/master/roles/backend_setup/tasks/thin_volume_create.yml
>___
>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/XQ4Q4SELENO6EMF4WUQKM27G55RPEM3O/
>  
___
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/I3Z7QEY4CMZD5QFGFGMNABHVAGHK5IWU/


[ovirt-users] Re: VMs hang periodically: gluster problem?

2022-09-18 Thread Strahil Nikolov via Users
I hope you do realize that modern consumer SSDs have a small cache (at least 
according to  https://www.storagereview.com/review/samsung-860-evo-ssd-review ) 
and we can't rule out the disks.
Use gluster's top command to view the read (17.2.6) and write (17.2.7) 
performance of the bricks before (regular usage),  during (high load)  and 
after the backup (regular usage):
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.5/html/administration_guide/sect-running_the_volume_top_command


Best Regards,Strahil Nikolov 
 
 
  On Sat, Sep 17, 2022 at 17:49, Diego Ercolani wrote:  
 Parameter cluster.choose-local set to off.
I confirm the filesystem of the bricks are all XFS as required.
I started the farm only to accomplish a test bench of oVirt implementation, so 
I used 3 hosts based on ryzen5 processor desktop environment equipped with 4 
DDR (4 32GB modules) and 1 disk for the OS and the others to use as data brick 
or nfs target. All SATA based, while the OS is installed on an internal M.2 
disk.
The node4 as it doesn't require much space as it is the arbiter, uses only the 
internal M.2 disk.
Every host is equipped with dual channel x520 intel chipset with 2 SFP+ 
configured with 9000 packet size. Access lan is the management lan (and even 
the lan used by gluster) the VLAN are the "production" vlans.

node2:
/dev/mapper/glustervg-glhe on /brickhe type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/glustervg-gv0 on /brickgv0 type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/glustervg-gv1 on /brickgv1 type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)

  Devices file mpath_uuid part4-mpath-Samsung_SSD_860_EVO_500GB_S4XBNF0N334942Y 
PVID 9iyl5761LWcy3AYy36fNcPk0fADjNYtC last seen on 
/dev/mapper/Samsung_SSD_860_EVO_500GB_S4XBNF0N334942Y4 not found.
  PV /dev/mapper/Samsung_SSD_870_EVO_4TB_S6BCNG0R300064E  VG glustervg        
lvm2 [<3.64 TiB / 1.54 TiB free]
  PV /dev/nvme0n1p4                                        VG glustervg        
lvm2 [<287.02 GiB / <287.02 GiB free]
  PV /dev/nvme0n1p3                                        VG onn_ovirt-node2  
lvm2 [177.15 GiB / <33.71 GiB free]
  PV /dev/mapper/ST4000NM000A-2HZ100_WJG1ZC85              VG daticold          
lvm2 [<3.64 TiB / 2.44 TiB free]

node3:
/dev/mapper/glustervg-glhe on /brickhe type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/glustervg-gv1 on /brickgv1 type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
/dev/mapper/glustervg-gv0 on /brickgv0 type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)

[root@ovirt-node3 ~]# pvscan -v
  PV /dev/sda        VG glustervg        lvm2 [<3.64 TiB / <1.64 TiB free]
  PV /dev/nvme0n1p4  VG glustervg        lvm2 [<287.02 GiB / <187.02 GiB free]
  PV /dev/nvme0n1p3  VG onn_ovirt-node3  lvm2 [177.15 GiB / <33.71 GiB free]
  Total: 3 [4.09 TiB] / in use: 3 [4.09 TiB] / in no VG: 0 [0  ]

node4:
/dev/mapper/onn_ovirt--node4-gluster on /dati type xfs 
(rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=128,noquota)
___
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/PO7D7UJUAZV2KAD2KNFZY3TTZNDUXLSL/
  
___
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/RJJU22F44AFIDMY6A77WQS4Z2NUQMZOC/


[ovirt-users] Re: Migrating VM from old ovirt to a new one

2022-09-18 Thread Strahil Nikolov via Users
Stop the Storage domains in oVirt and attach the same Gluster volumes on the 
new cluster.Then Import the templates and the VMs from the new engine. Keep in 
mind that you might need to delete all VMs' snapshots and if needed to import 
the same VM as many times as the number of disks those VMs have.
I would give a try to this one as theoretically might work:- revert the time on 
all hosts- block NTP- power on the engine. Then you can try to regenerate all 
certs and shutdown again to fix the time.

Best Regards,Strahil Nikolov 
 
 
  On Sat, Sep 17, 2022 at 15:32, Facundo Badaracco wrote: 
  Hi everyone
I would like to ask you a question
I have an ovirt 4.4 which got corrupted certs and I can't access the gui. It 
gives me error 500 internal when I want to access.
I have a new ovirt 4.5 on glusterfs which I would like to migrate all my vm's 
to.
Is this possible? Can it be done by cli? It would save me from having to 
reinstall all the vm's.___
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/556KSQG5K6CYDTWJGU5NET3UO34YYFXM/
  
___
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/R2DHKQ4ZTBO4MA64IQX6RY7PDRDAILSO/


[ovirt-users] Re: Gluster setup for oVirt

2022-09-18 Thread Strahil Nikolov via Users
Can you share the RH recommendation to use Thick LV ?
Best Regards,Strahil Nikolov  
 
I don't have that anymore, but I assume that gluster_infra_lv_logicalvols 
requires a thin pool: 
https://github.com/gluster/gluster-ansible-infra/blob/master/roles/backend_setup/tasks/thin_volume_create.yml
___
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/XQ4Q4SELENO6EMF4WUQKM27G55RPEM3O/
  
___
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/NT2TXZHHVYRMBC5NGYYHJAPGLQWTZCHK/


[ovirt-users] oVirt 4.5 on Rocky 9

2022-09-18 Thread Bjorn M
Hi, 

I'm moving all my infra nodes to Rocky 9 and my oVirt cluster is next on the 
list. I'm deploying a standalone oVirt VM on a KVM box and will set up the 
hosts afterwards. All are to run on Rocky 9 x86_64. 

I followed https://www.ovirt.org/download/install_on_rhel.html and created an 
Ansible playbook to set up the customisations. 

I now have all repos set up correctly, or at least that is my understanding. 

When I run yum search ovirt-engine I get a number of packages available from 
the repos, but not the ovirt-engine package. I do see the ovirt-hosted-engine, 
but I prefer the standalone option. 

This makes sense as I don't find the package at 
http://mirror.stream.centos.org/SIGs/9-stream/virt/x86_64/ovirt-45/Packages/o/ 
, which I where all ovirt- packages are, except this one. 

Yum whatprovides engine-setup also turns out negative. 

I then decided to install ovirt-engine-appliance 4.5-20220419160254.1.el9 from 
ovirt-45-upstream, but that package produces an error on the GPG key import. 

It's unclear whether the issue is on my specific stack or wider. The missing 
ovirt-engine package is confusing though.


Any help is appreciated,

Cheers, Bjorn



OUTPUT : 


(0)[root@ovirt ~]# yum repolist
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use 
subscription-manager to register.

repo id 
  repo name
appstream   
  Rocky Linux 9 - AppStream
baseos  
  Rocky Linux 9 - BaseOS
c9s-extras-common   
  CentOS Stream 9 - Extras packages
centos-ceph-pacific 
  CentOS-9-stream - Ceph Pacific
centos-gluster10
  CentOS-9-stream - Gluster 10
centos-nfv-openvswitch  
  CentOS Stream 9 - NFV OpenvSwitch
centos-openstack-yoga   
  CentOS-9 - OpenStack yoga
centos-opstools 
  CentOS Stream 9 - OpsTools - collectd
centos-ovirt45  
  CentOS Stream 9 - oVirt 4.5
centos-rabbitmq-38  
  CentOS-9 - RabbitMQ 38
crb 
  Rocky Linux 9 - CRB
epel
  Extra Packages for Enterprise Linux 9 - x86_64
extras  
  Rocky Linux 9 - Extras
ovirt-45-upstream   
  oVirt upstream for CentOS Stream 9 - oVirt 4.5
resilientstorage
  Rocky Linux 9 - Resilient Storage
(0)[root@ovirt ~]# yum search ovirt-engine
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use 
subscription-manager to register.

Last metadata expiration check: 3:37:50 ago on Wed 14 Sep 2022 08:24:39 AM CEST.

 Name Matched: ovirt-engine 

ovirt-engine-appliance.x86_64 : The oVirt Engine Appliance image (OVA)
ovirt-engine-extension-aaa-ldap.noarch : oVirt Engine LDAP Users Management 
Extension
ovirt-engine-extension-aaa-ldap-setup.noarch : oVirt Engine LDAP Users 
Management Extension Setup Tool
ovirt-engine-extensions-api.noarch : oVirt engine extensions API
ovirt-engine-extensions-api-javadoc.noarch : oVirt engine extensions API 
documentation
ovirt-engine-nodejs-modules.noarch : Node.js modules required to build oVirt 
JavaScript applications
ovirt-engine-wildfly.x86_64 : WildFly Application Server for oVirt Engine
python3-ovirt-engine-sdk4.x86_64 : oVirt Engine Software Development Kit 
(Python)
(0)[root@ovirt ~]# yum install ovirt-engine 
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlem

[ovirt-users] How i can shutdown the virtual servers on a note when the ovirt network is down

2022-09-18 Thread manfred . bohensky
Hello,

i have a question.
When on an ovirt note the ovirt network down how i can shutdown the virtual 
server local on the ovirt note in the local cli?

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/KYBNETDUKNNOR6EJ3WS5IIQ7CQLSZYIH/


[ovirt-users] How does ovirt use cloudbase-init to initialize the Windows image

2022-09-18 Thread labose
How does ovirt use cloudbase-init to initialize the Windows image?
Sorry, I'm a beginner. I don't know if I use cloudbase-init, I install this 
program in the virtual machine image, but I don't know how to operate it in the 
ovirt console.
___
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/4H33ZC4PHKVOLXZVWBLGJZBH3GRGLYK4/


[ovirt-users] Re: Error during deployment of ovirt-engine

2022-09-18 Thread Peter H
Hi Jonas,

I get the same error when I try to install. Last weekend I managed to do it
(but with a lot of other problems) so something has changed during the week.

After the VM is up I logged in through ssh and saw that the oVirt appliance
comes with Python-3.6 and Python-3.8 which both have netaddr installed.

Part of the log:
...
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Update setup packages]
[ INFO  ] skipping: [localhost]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Copy yum configuration file]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Set 'best' to false]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Update all packages]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Remove temporary yum
configuration file]
[ INFO  ] changed: [localhost -> 192.168.222.35]
[ INFO  ] TASK [ovirt.ovirt.engine_setup : Set offline parameter if
variable is set]
...
I noticed that after the task "Update all packages" Python-3.9 gets
installed and that version does not have netaddr installed. My theory is
that the playbook somehow uses the newest version of Python which is
installed.

pip3.9 list
Package  Version
 ---
ansible-core 2.13.3
cffi 1.14.3
cryptography 3.3.1
idna 2.10
pip  20.2.4
ply  3.11
pycparser2.20
PyYAML   5.4.1
setuptools   50.3.2
six  1.15.0

I have tried another run where I installed the netaddr module as soon as
Python-3.9 got installed and that installation went further but then it had
another error.

When I log into my hosted engine VM from last week there is no Python-3.9.

My dnf(1) skills are not good enough to figure out which dependency is
causing Python-3.9 to be installed.

There are probably a lot of other modules missing that can explain the
other error(s) I see.

I will see if I can find out how to file a proper bug report.

BR
Peter
___
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/TDB7QQF3BQ3KGPG34RX2AAKEVHLCJW5G/