[ovirt-users] How to run virt-sysprep / How to troubleshoot template creation failure

2022-05-24 Thread jeremy_tourville
When attempting to create a template the process fails.  It has been suggested 
to run virt-sysprep manually and see why it it failed.  Specifically, I have an 
Ubuntu 20.04 machine that doesn't boot properly even if the the template 
process does finish without error.  I have tried creating the template several 
times as a test.  about 80% of the time the template creation fails outright 
for qemu errors.  The other 20% "appear" to work but the system boots to a grub 
emergency prompt

Can someone clarify the process?
I know you can run the command: virt-sysprep -d 

1. Where do you run it from?  The hypervisor host or the management engine?
2. What account do you need to use? What is the authentication username and 
password?

I also think I read somewhere that you should refrain from using root.  
Anything else to know?

Anything else to try regarding the grub prompt?

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


[ovirt-users] Re: On oVirt 4.4 Can not import VM from Export domain from ovirt-4.3 nor DataDomain from ovirt-4.3

2022-05-24 Thread Arik Hadas
On Mon, May 23, 2022 at 3:31 PM  wrote:
>
> HI
>
> Thank you for fast response.
>
> In the mean time I have discovered what was the problem in my case.
>
> The problem was that export domain and data domain from oVirt 4.3 had OVF 
> where  tag is used (ID caps letters) instead of expected 
> .

That's weird as oVirt 4.3 didn't write InstanceID - that was added in
4.4.1 and only to OVAs [1]
Do you use plain oVirt or a version that may have been patched incorrectly?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1850103

>
> oVirt 4.4 expected   tag which wasn't used in this case so the 
> engine assumed that OVF files were corrupted.
>
> Fix for me was simple on Export Domain I swapped InstanceID with InstanceId.
> bash# for i in `find . -name "*.ovf"` ; do sudo sed -i 
> 's/InstanceID/InstanceId/g' $i ; done ;
>
> But I could not fix datadomain since I didn't want to dive into OVF_STORE 
> disk. I am guessing that there is a tool for editing OVF_STORE disks whit out 
> damaging the domain?!
>
> Regards Uros
>
>
> ___
> 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/PGD6IDKYDEPVFRXBVXBRHIHPUSU3XM6J/
___
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/5E627F7YDEB2WPNUSGH2F6PNYTYPJZBH/


[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
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] Re: Python error when deploying SHE on Rocky Linux

2022-05-24 Thread Asaf Rachmani
Hi,
can you please share the output of:

# ansible --version

# rpm -qa | grep ovirt-hosted-engine-setup

# rpm -qa | grep ovirt-ansible-collection
# ansible -m firewalld -a state=enabled localhost -e
'ansible_python_interpreter=/usr/bin/python3'


On Tue, May 24, 2022 at 12:15 PM  wrote:

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


[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] why out of sync hosts ?

2022-05-24 Thread tommy

What configuration is not synchronized to the host?






___
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/3NCYSHGZLJJG3VOUOMDP3ZXOIDGGDWK7/