[ovirt-users] Re: How to list all snapshots?

2022-04-04 Thread Nir Soffer
On Mon, Apr 4, 2022 at 9:05 PM  wrote:
>
> Hello everyone!
>
> First, I would like to thank everyone involved in this wonderful project. I 
> leave here my sincere thanks!
>
> Does anyone know if it is possible to list all snapshots automatically? It 
> can be by ansible, python, shell... any way that helps to list them all 
> without having to enter Domain by Domain.

I'm not sure what you mean by "all" snapshots? All snapshots of a vm?

You can try the API in a browser, for example this list all the
snapshots of one vm:


https://engine.local/ovirt-engine/api/vms/4a964ea0-c9f8-48d4-8fc1-aa8eee04c7c7/snapshots

If you want easier to use way the python sdk can help, see:
https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/list_vm_snapshots.py

Nir
___
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/2OGKWJDIKF4LKYJWVIIHNXTSXI3EL5HO/


[ovirt-users] Re: ovirt hosted engine restore backup fails: remot host identifaction changed

2022-04-04 Thread jeroen . gui
Thanks for your answer, removing the entire host from IPA and then re-joining 
it solved my issue.
___
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/FKXDWWBHAHVPKC6GESXB2BYH2SW4T3FT/


[ovirt-users] How to list all snapshots?

2022-04-04 Thread jorgevisentini
Hello everyone!

First, I would like to thank everyone involved in this wonderful project. I 
leave here my sincere thanks!

Does anyone know if it is possible to list all snapshots automatically? It can 
be by ansible, python, shell... any way that helps to list them all without 
having to enter Domain by Domain.

Thank you all!
___
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/G66Q2AJQII6R4MGTEZ5KUZTN4LE2M24A/


[ovirt-users] Re: ovirt hosted engine restore backup fails: remot host identifaction changed

2022-04-04 Thread Erez Zarum
If this is the case, what i have done on my ovirt nodes that are part of an
IPA domain is to simply remove the following entries from the ssh_config:
GlobalKnownHostsFile
VerifyHostKeyDNS
ProxyCommand

I have created a small ansible bootstrap playbook for ovirt nodes which is
part of it.

- name: Configure ssh_config (comment out)
lineinfile:
dest: /etc/ssh/ssh_config
backrefs: yes
regexp: "^({{ item }}) (.*)"
line: '# \1 \2'
loop:
- GlobalKnownHostsFile
- VerifyHostKeyDNS
- ProxyCommand



On Mon, Apr 4, 2022 at 5:42 PM Sketch  wrote:

> It sounds like your machine is part of an IPA domain and getting the host
> key from IPA if it's in /var/lib/sss/pubconf, in which case it will keep
> re-adding the host key to that file every time you attempt to connect to
> it.  You need to either remove the old host keys from IPA (via webui or
> ipa commands) so they don't get re-added to the pubconf file, or remove
> the entire host from IPA and then re-join it to the IPA domain so that IPA
> has the correct keys.
>
> On Sun, 3 Apr 2022, jeroen@telenet.be wrote:
>
> > I have a backup file from our ovirt hosted engine. When I try to run
> "hosted-engine --deploy --restore-from-file=backup.bck" on the same machine
> with a fresh install of ovirt node 4.3 I get this error after some minutes:
> >
> >
> > [ ERROR ] fatal: [localhost -> ovirt.*mydomain.com*]: FAILED! =>
> {"changed": false, "elapsed": 185, "msg": "timed out waiting for ping
> module test success: Failed to connect to the host via ssh:
> @@@\r\n@
> WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 
> @\r\n@@@\r\nIT
> IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be
> eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also
> possible that a host key has just been changed.\r\nThe fingerprint for the
> ECDSA key sent by the remote host
> is\nSHA256:aer7BMZyKHhfzMXX4pzVULHN7OwSSNDrCuOyvdmG8sQ.\r\nPlease contact
> your system administrator.\r\nAdd correct host key in /dev/null to get rid
> of this message.\r\nOffending ED25519 key in
> /var/lib/sss/pubconf/known_hosts:6\r\nPassword authentication is disabled
> to avoid man-in-the-middle attacks.\r\nKeyboard-interactive authentication
> is disabled t
>  o
> > avoid man-in-the-middle attacks.\r\nPermission denied
> (publickey,gssapi-keyex,gssapi-with-mic,password)."}
> >
> > I can't find anything in the docs about this problem. I already removed
> all the entries in /var/lib/sss/pubconf/known_hosts on my ovirt host
> machine. But that didn't change anything. Is their something wrong with the
> backup. At the moment I have 2 other hosts running my VM's but no ovirt
> manager.
> >
> > ___
> > 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/CQYPBO5TDLUKSVS7WW3T6OXMGGOJVHFW/
> ___
> 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/CS5SMQH7SCHPFJ2DHCD53GVBZC3F5ICH/
>
___
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/I5AZ56Z6LCFQQNDNYSEHMY3WZXL5DFYQ/


[ovirt-users] Re: ovirt hosted engine restore backup fails: remot host identifaction changed

2022-04-04 Thread Sketch
It sounds like your machine is part of an IPA domain and getting the host 
key from IPA if it's in /var/lib/sss/pubconf, in which case it will keep 
re-adding the host key to that file every time you attempt to connect to 
it.  You need to either remove the old host keys from IPA (via webui or 
ipa commands) so they don't get re-added to the pubconf file, or remove 
the entire host from IPA and then re-join it to the IPA domain so that IPA 
has the correct keys.


On Sun, 3 Apr 2022, jeroen@telenet.be wrote:


I have a backup file from our ovirt hosted engine. When I try to run "hosted-engine 
--deploy --restore-from-file=backup.bck" on the same machine with a fresh install of 
ovirt node 4.3 I get this error after some minutes:


[ ERROR ] fatal: [localhost -> ovirt.*mydomain.com*]: FAILED! => {"changed": false, "elapsed": 
185, "msg": "timed out waiting for ping module test success: Failed to connect to the host via ssh: 
@@@\r\n@WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 
@\r\n@@@\r\nIT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING 
NASTY!\r\nSomeone could be eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also possible that a host 
key has just been changed.\r\nThe fingerprint for the ECDSA key sent by the remote host 
is\nSHA256:aer7BMZyKHhfzMXX4pzVULHN7OwSSNDrCuOyvdmG8sQ.\r\nPlease contact your system administrator.\r\nAdd correct host 
key in /dev/null to get rid of this message.\r\nOffending ED25519 key in /var/lib/sss/pubconf/known_hosts:6\r\nPassword 
authentication is disabled to avoid man-in-the-middle attacks.\r\nKeyboard-interactive authentication is disabled t

o

avoid man-in-the-middle attacks.\r\nPermission denied 
(publickey,gssapi-keyex,gssapi-with-mic,password)."}

I can't find anything in the docs about this problem. I already removed all the 
entries in /var/lib/sss/pubconf/known_hosts on my ovirt host machine. But that 
didn't change anything. Is their something wrong with the backup. At the moment 
I have 2 other hosts running my VM's but no ovirt manager.

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

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


[ovirt-users] Re: Failed to start service jboss.deployment.subunit."engine.ear"."webadmin.war".STRUCTURE Ovirt 4.4.10 Self-hosted engine

2022-04-04 Thread wthomas85
I have ovirt-dependencies-4.4.2-1.el8.noarch and 
ovirt-engine-wildfly-23.0.2-1.el8.x86_64 installed.
___
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/A7NSGVAWYTRHGP36TUAYDAX3W3FPDNXB/


[ovirt-users] Failed to start service jboss.deployment.subunit."engine.ear"."webadmin.war".STRUCTURE Ovirt 4.4.10 Self-hosted engine

2022-04-04 Thread wthomas85
I'm trying to deploy a new ovirt 4.4.10 self-hosted engine. Whenever I try to 
access the server via a web browser I get 404 - Not Found. In 
/var/log/ovirt-engine/server.log I see Failed to start service 
jboss.deployment.subunit."engine.ear"."webadmin.war".STRUCTURE due to a 
java.io.FileNotFoundException for 
/var/lib/ovirt-engine/jboss_runtime/tmp/vfs/deployment/deployment38ca8fb55a7d2674/gwt-servlet.jar-ab669e949f887030/gwt-servlet.jar.
 Inside 
/var/lib/ovirt-engine/jboss_runtime/tmp/vfs/deployment/deployment38ca8fb55a7d2674/,
 I do not have the gwt-servlet.jar-ab669e949f887030 dir. I can create it and 
copy gwt-servlet.jar to it and set the proper ownership and permissions, but 
then I am not sure how to restart jboss. I am not sure what is happening that 
would prevent the gwt-servlet.jar dir from being created inside the 
/var/lib/ovirt-engine/jboss_runtime/tmp/vfs/deployment/ dir. I can see bll.jar, 
4 branding.jar dirs, docs.jar, enginesso.jar, scheduler.jar, services.jar, 
vdsbroker.ja
 r, and welcome.jar dirs inside  
/var/lib/ovirt-engine/jboss_runtime/tmp/vfs/deployment/deployment38ca8fb55a7d2674
 but no gwt-servlet.jar dir unless I make it myself.
___
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/F65HSQ3OHP2F4BXWFF343UGWBAVOKC7T/


[ovirt-users] ovirt hosted engine restore backup fails: remot host identifaction changed

2022-04-04 Thread jeroen . gui
I have a backup file from our ovirt hosted engine. When I try to run 
"hosted-engine --deploy --restore-from-file=backup.bck" on the same machine 
with a fresh install of ovirt node 4.3 I get this error after some minutes:


[ ERROR ] fatal: [localhost -> ovirt.*mydomain.com*]: FAILED! => {"changed": 
false, "elapsed": 185, "msg": "timed out waiting for ping module test success: 
Failed to connect to the host via ssh: 
@@@\r\n@WARNING: 
REMOTE HOST IDENTIFICATION HAS CHANGED! 
@\r\n@@@\r\nIT IS 
POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!\r\nSomeone could be 
eavesdropping on you right now (man-in-the-middle attack)!\r\nIt is also 
possible that a host key has just been changed.\r\nThe fingerprint for the 
ECDSA key sent by the remote host 
is\nSHA256:aer7BMZyKHhfzMXX4pzVULHN7OwSSNDrCuOyvdmG8sQ.\r\nPlease contact your 
system administrator.\r\nAdd correct host key in /dev/null to get rid of this 
message.\r\nOffending ED25519 key in 
/var/lib/sss/pubconf/known_hosts:6\r\nPassword authentication is disabled to 
avoid man-in-the-middle attacks.\r\nKeyboard-interactive authentication is 
disabled to 
 avoid man-in-the-middle attacks.\r\nPermission denied 
(publickey,gssapi-keyex,gssapi-with-mic,password)."}

I can't find anything in the docs about this problem. I already removed all the 
entries in /var/lib/sss/pubconf/known_hosts on my ovirt host machine. But that 
didn't change anything. Is their something wrong with the backup. At the moment 
I have 2 other hosts running my VM's but no ovirt manager. 

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


[ovirt-users] Updated invitation: oVirt 4.5.0 Beta release test day @ Thu Apr 7, 2022 (users@ovirt.org)

2022-04-04 Thread sbonazzo
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART;VALUE=DATE:20220407
DTEND;VALUE=DATE:20220408
DTSTAMP:20220404T065302Z
ORGANIZER;CN=sbona...@redhat.com:mailto:sbona...@redhat.com
UID:1vidghn5bht3fqns5ukq8n5...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=users@ovirt.org;X-NUM-GUESTS=0:mailto:users@ovirt.org
X-MICROSOFT-CDO-OWNERAPPTID:741156413
CREATED:20220321T110332Z
DESCRIPTION:If you're willing to help testing the release during
  the test daysplease join the oVirt development mailing list athttps://lists.ovirt.org/archives/list/de...@ovirt.org/;>https://lis
 ts.ovirt.org/archives/list/de...@ovirt.org/\;and report
  yourfeedback there.Instructions for installing oVirt 4.5.0 Beta fo
 rtesting have been added to the release pagehttps://www.ov
 irt.org/release/4.5.0/">https://www.ovirt.org/release/4.5.0/<
 /a>\;Re-sche
 duled due to beta delay\n\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\nDo not edit this secti
 on of the description.\n\nView your event at https://calendar.google.com/ca
 lendar/event?action=VIEW=MXZpZGdobjViaHQzZnFuczV1a3E4bjUydjQgdXNlcnNAb3
 ZpcnQub3Jn=MTkjc2JvbmF6em9AcmVkaGF0LmNvbWNmNmE1ZjBkNDgwYzQ4ZTliZDZiODEx
 Y2ViMTNiMDRjN2FlMTI3MjY=Europe%2FRome=en=0.\n-::~:~::~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20220404T065301Z
LOCATION:
SEQUENCE:2
STATUS:CONFIRMED
SUMMARY:oVirt 4.5.0 Beta release test day
TRANSP:TRANSPARENT
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT15H0M0S
END:VALARM
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
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/KDLQZDDXZONTTI55WO2TYX2JPFCC4WWW/