[ovirt-users] Re: Python error when deploying SHE on Rocky Linux

2022-05-24 Thread paul . chapman
Sorry. My fault. 

ansible -m firewalld -a state=enabled localhost -e 
ansible_python_interpreter=/usr/bin/python3 

returns

localhost | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: root@localhost: Permission 
denied (publickey,gssapi-keyex,gssapi-with-mic,password).",
"unreachable": true
}

This is since I added the path /usr/bin/python to ansible.cfg. Previously it 
returned 

localhost | FAILED! => {
"changed": false,
"msg": "Python Module not found: firewalld and its python module are 
required for this module, version 0.2.11 or newer 
required (0.3.9 or newer for offline operations)"
}
___
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/AWQG5D2GN62JBVFDYZ6LF66JPVOQX64T/


[ovirt-users] Re: Python error when deploying SHE on Rocky Linux

2022-05-24 Thread paul . chapman
Here you go --

# ansible --version
ansible [core 2.12.2]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', 
'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  ansible collection location = 
/root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.8.12 (default, May 10 2022, 23:46:40) [GCC 8.5.0 20210514 
(Red Hat 8.5.0-10)]
  jinja version = 2.10.3
  libyaml = True

[root@frm-cta-ov3 plugins]# rpm -qa | grep ovirt-hosted-engine-setup
ovirt-hosted-engine-setup-2.6.3-1.el8.noarch

[root@frm-cta-ov3 plugins]# rpm -qa | grep ovirt-ansible-collection
ovirt-ansible-collection-2.0.3-1.el8.noarch

ansible -m firewalld -a state=enabled localhost -e 

This returns the ansible syntax help. Should I change something?

ansible_python_interpreter=/usr/bin/python3

This doesn't return anything.

Hope this is enlightening!



___
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/ZK7YIESGE6ZNUVZ2GHUTSFROPHBSFA2G/


[ovirt-users] Re: Python error when deploying SHE on Rocky Linux

2022-05-24 Thread paul . chapman
Thanks Didi.

I've edited ansible.cfg to hardwire the interpreter path but I still get the 
error when trying to deploy the SHE.

ansible -m firewalld -a state=enabled localhost

Returns

localhost | FAILED! => {
"changed": false,
"msg": "Python Module not found: firewalld and its python module are 
required for this module, version 0.2.11 or newer 
required (0.3.9 or newer for offline operations)"

and  

ansible -m firewalld -a state=enabled -c local -i localhost, all

returns 

[WARNING]: Platform linux on host localhost is using the discovered Python 
interpreter at /usr/bin/python3.8, but future installation of
another Python interpreter could change the meaning of that path. See 
https://docs.ansible.com/ansible-
core/2.12/reference_appendices/interpreter_discovery.html for more information.
localhost | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3.8"
},
"changed": false,
"msg": "Python Module not found: firewalld and its python module are 
required for this module, version 0.2.11 or newer 
required (0.3.9 or newer for offline operations)"

Thanks for your reply by the way. It's really appreciated.

Paul.

___
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/VHQAUYLSNDX5UIP4FJLU2Z3V4FZFDVXJ/


[ovirt-users] Python error when deploying SHE on Rocky Linux

2022-05-20 Thread paul . chapman
Hi, I'm trying to deploy a self hosted engine on a Rocky Linux 8.6. Ovirt has 
installed ok but I get this when deploying the engine - 

[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "Python 
Module not found: firewalld and its python module are required for this module, 
version 0.2.11 or newer required (0.3.9 or newer for offline operations)"}

I've tried running ansible_python_interpreter=/usr/bin/python3 on the host pre 
deployment but that hasn't worked. I've copied the progress below. Does the 
engine exist in part at the point it fails and the problem is Python on the 
Engine not the host?

 INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Execute just a specific set of 
steps]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Force facts gathering]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Install oVirt Hosted Engine 
packages]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : System configuration 
validations]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Detecting interface on 
existing management bridge]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set variable for supported 
bond modes]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get all active network 
interfaces]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter bonds with bad naming]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate output list]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect interface types]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for Team devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get list of Team devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect Team devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter team devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only team devices are 
available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Search VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for base interface of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get base interface types of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for bond as base type of 
VLAN device]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check if bond base interface 
of VLAN device is in supported mode]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices with bad 
bond mode base interfaces]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate invalid VLANs list]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create list of unsupported 
network devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices naming 
convention pattern]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VLAN devices with bad 
naming]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect VLAN devices with 
invalid naming convention]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter VLAN devices with 
invalid naming convention]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only VLAN devices with 
invalid naming convention are available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for base interface of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Get base interface types of 
VLAN devices]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check for bond as base type of 
VLAN device]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check if bond base interface 
of VLAN device is in supported mode]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Check VLAN devices with bad 
bond mode base interfaces]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Collect unsupported VLAN bonds]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter VLAN devices with 
invalid bond mode base interface]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fail if only VLAN devices with 
bad bond mode are available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate list of all 
unsupported VLAN devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Generate list of all 
unsupported network devices]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Filter unsupported interface 
types]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Failed if only unsupported 
devices are available]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Validate selected bridge

[ovirt-users] Re: Unable to install Hosted engine.

2022-05-19 Thread paul . chapman
Thanks guys. Apologies for not replying sooner. I waited for the fix in the 
end. I'm determined to make life difficult for myself by dumping a working 
Stream system in favour of a Rocky based system which I have a different 
deployment issue with!

Thanks again

Paul.
___
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/73GSGRANRZAGKG5YPLG5OLU6BKIXNVL4/


[ovirt-users] Re: Unable to install Hosted engine.

2022-05-11 Thread paul . chapman
Hi John, thanks for replying. I didn't realised virsh was the way to go. I've 
done the downgrade now but the engine is listed in virsh as HostedEngineLocal 
so I'm not sure if the install completed. I need to get a point where I can 
managed the engine via the web browser.
___
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/2O53J2L7FQO6HF5YF7II2UIZPG57EFMO/


[ovirt-users] Unable to install Hosted engine.

2022-05-10 Thread paul . chapman
I'm trying to install a self hosted engine and it fails in the same place 
everytime. This looks like it could be the postgres error but the 
uninstall/reinstall fix doesn't work because the engine doesn't get installed. 
Here is the feedback from the install. I have posted this on the devel list as 
well, apologies for blitzing the lists.

2022-05-05 14:26:10,352+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_SYSTEM/userApache=str:'apache'

2022-05-05 14:26:10,352+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_SYSTEM/userEngine=str:'ovirt'

2022-05-05 14:26:10,352+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_SYSTEM/userPostgres=str:'postgres'

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_SYSTEM/userRoot=str:'root'

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_SYSTEM/userVdsm=str:'vdsm'

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_SYSTEM/userVmConsole=str:'ovirt-vmconsole'

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyConfig=bool:'True'

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_VMCONSOLE_PROXY_CONFIG/vmconsoleProxyPort=int:''

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_WSP_RPMDISTRO_PACKAGES=str:'ovirt-engine-websocket-proxy'

2022-05-05 14:26:10,353+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
OVESETUP_WSP_RPMDISTRO_PACKAGES_SETUP=str:'ovirt-engine-setup-plugin-websocket-proxy'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/dnfDisabledPlugins=list:'[]'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/dnfExpireCache=bool:'True'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/dnfRollback=bool:'True'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/dnfpackagerEnabled=bool:'True'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/keepAliveInterval=int:'30'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/yumDisabledPlugins=list:'[]'

2022-05-05 14:26:10,354+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/yumEnabledPlugins=list:'[]'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/yumExpireCache=bool:'True'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/yumRollback=bool:'True'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
PACKAGER/yumpackagerEnabled=bool:'False'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/GRAFANA_USE_ENGINE_ADMIN_PASSWORD=str:'yes'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/OVESETUP_DWH_SCALE=str:'1'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/OVESETUP_GRAFANA_ENABLE=str:'yes'

2022-05-05 14:26:10,355+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/OVESETUP_IGNORE_SNAPSHOTS_WITH_OLD_COMPAT_LEVEL=str:'yes'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/OVESETUP_NETWORK_FQDN_this=str:'ovirtengine.farmyard.loc'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/OVESETUP_PKI_ORG=str:'farmyard.loc'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/ovirt-cinderlib-enable=str:'no'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/ovirt-provider-ovn=str:'yes'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
QUESTION/1/ovirt-provider-ovn-default-credentials=str:'yes'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
SYSTEM/clockMaxGap=int:'5'

2022-05-05 14:26:10,356+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
SYSTEM/clockSet=bool:'False'

2022-05-05 14:26:10,357+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
SYSTEM/commandPath=str:'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin'

2022-05-05 14:26:10,357+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
SYSTEM/reboot=bool:'False'

2022-05-05 14:26:10,357+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
SYSTEM/rebootAllow=bool:'True'

2022-05-05 14:26:10,357+0100 DEBUG otopi.context context.dumpEnvironment:775 ENV
SYSTEM/rebootDeferTime=int:'10'

2022-05-05 14:26:10,357+0100 DEBUG otopi.context context.dumpEnvironment:779 
ENVIRONMENT
DUMP - END

2022-05-05 14:26:10,367+0100 DEBUG otopi.context context._executeMethod:127 
Stage
pre-terminate METHO

[ovirt-users] Re: Getting error on oVirt installation

2022-05-05 Thread paul . chapman
I have this exact same problem. The engine IP and name resolves correctly.
___
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/ATNDKCFRASAOKVGB72PWJAJMSDT4DGEU/


[ovirt-users] Rebooting VM with mdev device reboots VM AND the host!

2021-02-21 Thread paul . chapman
Hi

I'm a new to Ovirt so please forgive any gaping hole in my knowledge. I have a 
self hosted engine set up with two hosts. Centos 8.3, Ovirt 4.4, (cluster set 
to 4.5 because it told me to). I have Nvidia Tesla T4 cards in both hosts with 
Nvidia driver 450.102. I have Win10 VMs on one host and the HE on another. The 
problem I have is that when you reboot the Win10 VM it also reboots the host 
it's sat on. I have 'intel_iommu=on' in my grub file and both hosts pass 
virt-host-validate. This set up was working fine on Centos 7 with Ovirt 4.3 so 
I'm at a bit of a loss to know what's going on. I'll post up the logs if anyone 
can let me know which ones they think would be relevant. 
Thanks in advance, 
Paul.
___
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/XIM6YB3VFBUZ3OA6GS3PNIN3DJINOQLT/


[ovirt-users] Re: hosted-engine --vm-status returns "vm not running on this host" on all hosts

2021-02-21 Thread paul . chapman
Hi Didi, apologies for the late response. I'm afraid I've blown the whole thing 
away now so I can't give any details. I do now have a different issue but I'll 
start a new thread for that.
Thanks for your response.

Paul.
___
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/GXEAOW4LIWMFRRPLPVMREHDRGPVC4YMU/


[ovirt-users] hosted-engine --vm-status returns "vm not running on this host" on all hosts

2021-02-11 Thread paul . chapman
I have tried to upgrade from 4.3 to 4.4 in  a self hosted environment and I now 
have multiple problems. One of which is that neither of my two hosts think they 
are running the hosted engine. What could cause this?
___
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/KVLLIFBGAXE3ECFPJFDD7GB6PWKCGASM/