[ovirt-users] Re: engine python sdk ImportError: cannot import name 'Client'

2023-09-11 Thread parallax
solved

пн, 11 сент. 2023 г. в 13:43, parallax :

>
>  I try to use the Python sdk to download vm disk but get the error:
>
> # python3.9 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
> /home/librenms.raw --format raw --config engine2
> Traceback (most recent call last):
>   File "download_disk.py", line 31, in 
> from ovirt_imageio import client
> ModuleNotFoundError: No module named 'ovirt_imageio'
>
>   or when run it with python3.6:
>
> # python3.6 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
> /home/librenms.raw --format raw --config engine2
> Traceback (most recent call last):
>   File "download_disk.py", line 31, in 
> from ovirt_imageio import client
> ImportError: cannot import name 'client'
>
>  Environment:
>
>  Rocky Linux release 8.8
>  Python 3.6.8, Python 3.9.16
>  python39-ovirt-engine-sdk4-4.6.0-1.el8.x86_64,
> python3-ovirt-engine-sdk4-4.6.2-1.el8.x86_64
>  ovirt-release44-4.4.10.3-1.el8.noarch
>
___
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/2TTQ2HRJOHFGNGHSERNRWR5UQYJOFYTZ/


[ovirt-users] engine python sdk ImportError: cannot import name 'Client'

2023-09-11 Thread parallax
 I try to use the Python sdk to download vm disk but get the error:

# python3.9 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
/home/librenms.raw --format raw --config engine2
Traceback (most recent call last):
  File "download_disk.py", line 31, in 
from ovirt_imageio import client
ModuleNotFoundError: No module named 'ovirt_imageio'

  or when run it with python3.6:

# python3.6 download_disk.py f556403f-2a32-4e35-9f17-dc67864e0ae1
/home/librenms.raw --format raw --config engine2
Traceback (most recent call last):
  File "download_disk.py", line 31, in 
from ovirt_imageio import client
ImportError: cannot import name 'client'

 Environment:

 Rocky Linux release 8.8
 Python 3.6.8, Python 3.9.16
 python39-ovirt-engine-sdk4-4.6.0-1.el8.x86_64,
python3-ovirt-engine-sdk4-4.6.2-1.el8.x86_64
 ovirt-release44-4.4.10.3-1.el8.noarch
___
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/SAXW74AILUR2LOBGGRFFUJAQZG3UGPD4/


[ovirt-users] ERROR HSMGetAllTasksStatusesVDS Cannot deactivate Logical Volume:

2023-05-25 Thread parallax
Hello
environment: oVirt 4.5.4-1
messages like this appear in the event log
what do these errors mean?
the volume 114f08c4-f864-44e1-a937-19405307e643 has 128m size

ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-18) []
EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM kvm3 command
HSMGetAllTasksStatusesVDS failed: value=Cannot deactivate Logical Volume:
'error=General Storage Exception: ("5 [] [\' Logical volume
3526ebaa-31de-4c9f-b724-f0fbe5448a78/114f08c4-f864-44e1-a937-19405307e643
in
use.\']\\n3526ebaa-31de-4c9f-b724-f0fbe5448a78/[\'114f08c4-f864-44e1-a937-19405307e643\']",),
users={\'/dev/3526ebaa-31de-4c9f-b724-f0fbe5448a78/114f08c4-f864-44e1-a937-19405307e643\':
[{\'pid\': 2227780, \'command\': \'systemd-udevd\', \'user\': \'root\',
\'fd\': 7}]}' abortedcode=552
___
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/FE2NJRX7OBHB5NULJNPJNO4EBY332QKS/


[ovirt-users] ovirt node Emulex network

2022-12-19 Thread parallax
ovirt-node-ng-installer-4.4.10-2022030308.el8

ovirt-node-ng-installer-4.4.10-2022030308

can't recognize network intefaces:

06:00.0 Ethernet controller [0200]: Emulex Corporation OneConnect 10Gb NIC
(be3) [19a2:0710] (rev 01)
06:00.1 Ethernet controller [0200]: Emulex Corporation OneConnect 10Gb NIC
(be3) [19a2:0710] (rev 01)
06:00.4 Ethernet controller [0200]: Emulex Corporation OneConnect 10Gb NIC
(be3) [19a2:0710] (rev 01)
06:00.5 Ethernet controller [0200]: Emulex Corporation OneConnect 10Gb NIC
(be3) [19a2:0710] (rev 01)

anyone know howto fix it ?
___
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/X2QWLS5ZXGDUYYWXMZREQG7PLP4MGTZP/


[ovirt-users] dracut-initqueue Could not boot

2022-12-15 Thread parallax
I got an error while booting ovirt node and the following error message was
displayed: dracut-initqueue timeout - starting

I'm trying to boot into recovery mode but I'm getting the following message
saying "panel is dead"

error screenshots attached

ovirt-node-ng-4.4.10.1-0
___
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/IWJLNMAB3IFJ2FQDYSDEKEAUTLD6GUSB/


[ovirt-users] Re: vm migration failed with certifacate issue

2022-09-11 Thread parallax
solved
reloaded libvirtd on servers involved in certificate renewal
thanks

чт, 8 сент. 2022 г. в 17:57, Milan Zamazal :

> parallax  writes:
>
> > ovirt 4.4.4.7
> >
> > not able to migrate VMs between hosts with following vdsm error:
> >
> > operation failed: Failed to connect to remote libvirt URI
> > qemu+tls://kvm4.imp.loc/system: authentication failed: Failed to verify
> > peer's certificate
>
> You should be able to see a more exact reason for the certificate
> verification failure in libvirtd logs on the source host (perhaps after
> adjusting logging settings in /etc/libvirt/libvirtd.conf + restarting
> libvirtd).
>
> Anyway, you should check the certificates in /etc/pki/vdsm/certs on both
> the source and destination hosts:
>
> - cacert.pem should be the Engine CA certificate.
>
> - vdsmcert.pem should be a certificate signed by the CA certificate,
>   with the right host name and not expired.
>
> If you are using encrypted migrations then you should additionally check
> the certificates in /etc/pki/vdsm/libvirt-migrate.  cacert.pem should be
> the CA certificate, server-cert.pem a valid certificate signed by the CA
> certificate and there should be links client-cert.pem and client-key.pem
> to server-cert.pem and server-key.pem respectively.
>
> > hosts certificates was renewed recently but hosts hasn't been reloaded
> > how to fix this issue
>
> Regards,
> Milan
>
>
___
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/6URQYJKFDF6H46XVPU4MAUDOBLJBVNO6/


[ovirt-users] vm migration failed with certifacate issue

2022-09-08 Thread parallax
ovirt 4.4.4.7

not able to migrate VMs between hosts with following vdsm error:

operation failed: Failed to connect to remote libvirt URI
qemu+tls://kvm4.imp.loc/system: authentication failed: Failed to verify
peer's certificate

hosts certificates was renewed recently but hosts hasn't been reloaded
how to fix this 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/STDVYZZM3E6Z3W7BSOBEUVVPDKOGEGAI/


[ovirt-users] Re: (no subject)

2022-08-27 Thread parallax
I need to switch the host into maintenance mode but without stopping VMs
VM is not checked as "HA available" and selected "manual migration only" in
options
If I do manual fencing to the host (confirm host has been rebooted) will
the VM automatically start on another host ?

ср, 24 авг. 2022 г. в 14:15, parallax :

> I had to add a new server into the datacenter and the StorageDomains
> status back to normal and the error is gone
> but I still have hosts that haven't valid certificates
> putting host into maintenance mode is the only way to update the
> certificate ?
>
> пн, 22 авг. 2022 г. в 13:31, Strahil Nikolov :
>
>> Are you able to set a host into maintenance?
>> If yes, then you should be able to Hosts -> select host -> Installation
>> -> Enroll Certificate
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> On Mon, Aug 22, 2022 at 10:30, parallax
>>  wrote:
>> no vdsm errors on hosts side
>> but I see vdsmcert.pem has expired on each hosts in the datacenter
>> and there were no warning to me about certs expiration beginning
>>
>> it is possible to update the certificate without stopping the server ?
>>
>> сб, 20 авг. 2022 г. в 18:27, Strahil Nikolov :
>>
>> Check the vdsm logs on all hosts to get a clue why this is happening.
>>
>> P.S.: Next time consider adding a subject.
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> On Sat, Aug 20, 2022 at 17:23, parallax
>>  wrote:
>> oVirt version:4.4.4.7-1.el8
>>
>> I have several servers in cluster and I got this error:
>>
>> Data Center is being initialized, please wait for initialization to
>> complete.
>> VDSM command GetStoragePoolInfoVDS failed: PKIX path validation failed:
>> java.security.cert.CertPathValidatorException: validity check failed
>>
>> the SPM role is constantly being transferred to the servers and I can't
>> do anything
>>
>> in StorageDomains storages are in inactive status but virtual machines
>> are runnig
>>
>> how ti fix it?
>> ___
>> 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/P6MGHC2NU3BDQ7DJSER2VH757C2Y5YKJ/
>>
>>
___
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/WOVV6HJLSIRDLUTCYBLJCWCNMBMK73LF/


[ovirt-users] Re: (no subject)

2022-08-24 Thread parallax
I had to add a new server into the datacenter and the StorageDomains status
back to normal and the error is gone
but I still have hosts that haven't valid certificates
putting host into maintenance mode is the only way to update the
certificate ?

пн, 22 авг. 2022 г. в 13:31, Strahil Nikolov :

> Are you able to set a host into maintenance?
> If yes, then you should be able to Hosts -> select host -> Installation ->
> Enroll Certificate
>
> Best Regards,
> Strahil Nikolov
>
> On Mon, Aug 22, 2022 at 10:30, parallax
>  wrote:
> no vdsm errors on hosts side
> but I see vdsmcert.pem has expired on each hosts in the datacenter
> and there were no warning to me about certs expiration beginning
>
> it is possible to update the certificate without stopping the server ?
>
> сб, 20 авг. 2022 г. в 18:27, Strahil Nikolov :
>
> Check the vdsm logs on all hosts to get a clue why this is happening.
>
> P.S.: Next time consider adding a subject.
>
> Best Regards,
> Strahil Nikolov
>
> On Sat, Aug 20, 2022 at 17:23, parallax
>  wrote:
> oVirt version:4.4.4.7-1.el8
>
> I have several servers in cluster and I got this error:
>
> Data Center is being initialized, please wait for initialization to
> complete.
> VDSM command GetStoragePoolInfoVDS failed: PKIX path validation failed:
> java.security.cert.CertPathValidatorException: validity check failed
>
> the SPM role is constantly being transferred to the servers and I can't do
> anything
>
> in StorageDomains storages are in inactive status but virtual machines are
> runnig
>
> how ti fix it?
> ___
> 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/P6MGHC2NU3BDQ7DJSER2VH757C2Y5YKJ/
>
>
___
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/25BU3XGAFBMECCCVLXTGRSIAQMJHYQHW/


[ovirt-users] Re: (no subject)

2022-08-22 Thread parallax
no vdsm errors on hosts side
but I see vdsmcert.pem has expired on each hosts in the datacenter
and there were no warning to me about certs expiration beginning

it is possible to update the certificate without stopping the server ?

сб, 20 авг. 2022 г. в 18:27, Strahil Nikolov :

> Check the vdsm logs on all hosts to get a clue why this is happening.
>
> P.S.: Next time consider adding a subject.
>
> Best Regards,
> Strahil Nikolov
>
> On Sat, Aug 20, 2022 at 17:23, parallax
>  wrote:
> oVirt version:4.4.4.7-1.el8
>
> I have several servers in cluster and I got this error:
>
> Data Center is being initialized, please wait for initialization to
> complete.
> VDSM command GetStoragePoolInfoVDS failed: PKIX path validation failed:
> java.security.cert.CertPathValidatorException: validity check failed
>
> the SPM role is constantly being transferred to the servers and I can't do
> anything
>
> in StorageDomains storages are in inactive status but virtual machines are
> runnig
>
> how ti fix it?
> ___
> 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/P6MGHC2NU3BDQ7DJSER2VH757C2Y5YKJ/
>
>
___
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/4ZRCI4O2WDPXNDIGRHPP7CLZBCKCBHF3/


[ovirt-users] (no subject)

2022-08-20 Thread parallax
oVirt version:4.4.4.7-1.el8

I have several servers in cluster and I got this error:

Data Center is being initialized, please wait for initialization to
complete.
VDSM command GetStoragePoolInfoVDS failed: PKIX path validation failed:
java.security.cert.CertPathValidatorException: validity check failed

the SPM role is constantly being transferred to the servers and I can't do
anything

in StorageDomains storages are in inactive status but virtual machines are
runnig

how ti fix it?
___
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/P6MGHC2NU3BDQ7DJSER2VH757C2Y5YKJ/


[ovirt-users] Re: VDSM command GetStoragePoolInfoVDS failed:

2022-08-19 Thread parallax
I have check the vdsmcert.pem has expired on hypervisors
how to renew the vdsmcert.pem manually ?

пт, 19 авг. 2022 г. в 15:43, parallax :

> oVirt version:4.4.4.7-1.el8
>
> I have several servers in cluster and I got this error:
>
> Data Center is being initialized, please wait for initialization to
> complete.
> VDSM command GetStoragePoolInfoVDS failed: PKIX path validation failed:
> java.security.cert.CertPathValidatorException: validity check failed
>
> the SPM role is constantly being transferred to the servers and I can't do
> anything
>
> in StorageDomains storages are in inactive status but virtual machines are
> runnig
>
> how ti fix it?
>
___
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/C2CANRZR4NCHG7SHSRDZLZ4BYCAI46BY/


[ovirt-users] VDSM command GetStoragePoolInfoVDS failed:

2022-08-19 Thread parallax
oVirt version:4.4.4.7-1.el8

I have several servers in cluster and I got this error:

Data Center is being initialized, please wait for initialization to
complete.
VDSM command GetStoragePoolInfoVDS failed: PKIX path validation failed:
java.security.cert.CertPathValidatorException: validity check failed

the SPM role is constantly being transferred to the servers and I can't do
anything

in StorageDomains storages are in inactive status but virtual machines are
runnig

how ti fix it?
___
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/4GECOOFZA2IZGYRZDSGO5W5JSWLB2LJF/


[ovirt-users] Setting VM ticket failed

2022-05-19 Thread parallax
hello

Ovirt engine: 4.4.10.6-1.el8

Host: ovirt-node-ng-4.4.10.2-0.20220303.0 (4.18.0-365.el8.x86_64)

can't connect to VM via VNC console in WebUI, an error message appears:
Setting VM ticket failed

error in the engine.log:

2022-05-19 06:57:58,282-04 ERROR
[org.ovirt.engine.core.bll.SetVmTicketCommand] (default task-3) [13cf96a]
Command 'org.ovirt.engine.core.bll.SetVmTicketCommand' failed:
EngineException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error =
General Exception: ('unsupported configuration: VNC password is 12
characters long, only 8 permitted',), code = 100 (Failed with error
GeneralException and code 100)

any ideas how to fix it ?

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


[ovirt-users] migrate windows guest between datacenters without re activation

2021-06-21 Thread parallax x
Hi
I move the guest disk to a new location using exporting and imoprting a
dedicated storage between datacenters

And here is a question:
how to move a windows guest to another Ovirt datacenter without Windows re
activation ?
___
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/WPJHFO2BI4EUD5JWJFVTNWN4PGJGKJPP/