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

2022-09-22 Thread Diego Ercolani
I did it following the {read,write}-perf example reported in paragraph 12.6 and 
12.7 
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.5/html/administration_guide/sect-running_the_volume_top_command,
 here are the results:
https://cloud.ssis.sm/index.php/s/9bncnNSopnFReRS
___
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/NND3WXVLXSKYSIRXZTQJU4IWJYFO67K7/


[ovirt-users] cancel export task - no qemu-img process on host

2022-09-22 Thread goosesk blabla
Hi, 

i tried to find way how to cancel hanged export task. I found that there should 
be some hidden possibility, but it is still not released and i cannot find how 
to allow it.

i found how to remove this task directly from pg database on engine, but i am 
not sure if this also will unlock that VM. 

i cannot kill it by qemu-img process, because this process is not running.


stucked VM is ubuntu 20.04  with 3 disks 20 + 80 + 300GB .   Already running 
more than 12 hours and still did not start making ova file (checking in export 
folder) . qemu-img process on the host is missing . 

i tried to export smaller VM 7GB and it was successfully done by 2 minutes. 
During export qemu-img process was running on the host.


Thank you for any help. 
BR
jan
___
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/JU6FDIJFZONUNDSICWRTXXWVPE4NZ44K/


[ovirt-users] Re: cancel export task - no qemu-img process on host

2022-09-22 Thread goosesk blabla
last log from  /var/log/ovirt-engine/ova for this VM:

2022-09-22 03:35:41 CEST - TASK [ovirt-ova-export-pre-pack : Allocating the 
temporary path for the OVA file] ***


and then many hours no change.
___
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/3EDTH4CGVFIWECY6JZ3CTJY226Y5UZPR/


[ovirt-users] Re: Uncaught exception occurred

2022-09-22 Thread Lucia Jelinkova
I think this might have the same root cause as the following issue
https://bugzilla.redhat.com/show_bug.cgi?id=2121083 that should be fixed in
the next release.

Lucia

On Wed, Sep 21, 2022 at 4:58 PM  wrote:

> Hi all,
> recently I have upgraded from 4.4 to 4.5, since while a create or edit a
> new pool an error occurr in a pop up red:
> "Uncaught exception occurred. Please try reloading the page. Details:
> (TypeError) : Cannot read properties of undefined (reading 'Kh') Please
> have your administrator check the UI logs"
> and the pool is create but with wrong settings.
> I checked the ui.log file:
>
> 2022-09-21 16:33:21,382+02 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-23) [] Permutation name: 872EE01DC49AC3F81586694F1584D19D
> 2022-09-21 16:33:21,382+02 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-23) [] Uncaught exception:
> com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read
> properties of undefined (reading 'Kh')
> at
> org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView.$addDiskList(DisksAllocationView.java:190)
> at
> org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView.$lambda$0(DisksAllocationView.java:179)
> at
> org.ovirt.engine.ui.common.widget.uicommon.storage.DisksAllocationView$lambda$0$Type.eventRaised(DisksAllocationView.java:179)
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$onPropertyChanged(DisksAllocationModel.java:310)
> at
> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$setQuotaEnforcementType(DisksAllocationModel.java:121)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.$compatibilityVersionChanged(UnitVmModel.java:2384)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.UnitVmModel.eventRaised(UnitVmModel.java:2223)
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at
> org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:82)
> at
> org.ovirt.engine.ui.uicommonweb.builders.vm.CoreVmBaseToUnitBuilder.$postBuild(CoreVmBaseToUnitBuilder.java:35)
> at
> org.ovirt.engine.ui.uicommonweb.builders.vm.CoreVmBaseToUnitBuilder.postBuild(CoreVmBaseToUnitBuilder.java:35)
> at
> org.ovirt.engine.ui.uicommonweb.builders.CompositeBuilder$LastBuilder.build(CompositeBuilder.java:45)
> at
> org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder.build(BaseSyncBuilder.java:13)
> at
> org.ovirt.engine.ui.uicommonweb.builders.BaseSyncBuilder.build(BaseSyncBuilder.java:13)
> at
> org.ovirt.engine.ui.uicommonweb.builders.vm.IconVmBaseToUnitBuilder.lambda$0(IconVmBaseToUnitBuilder.java:23)
> at
> org.ovirt.engine.ui.uicommonweb.builders.vm.IconVmBaseToUnitBuilder$lambda$0$Type.onSuccess(IconVmBaseToUnitBuilder.java:23)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.IconCache.$lambda$0(IconCache.java:57)
> at
> org.ovirt.engine.ui.uicommonweb.models.vms.IconCache$lambda$0$Type.onSuccess(IconCache.java:57)
> at
> org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:239)
> at
> org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:239)
> at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133)
> at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133)
> at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270)
> at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270)
> at
> com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198)
> at
> com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233)
> at
> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409)
> at Unknown.eval(webadmin-0.js)
> at com.google.gwt.core.client.impl.Impl.apply(Impl.java:306)
> at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:345)
> at Unknown.eval(webadmin-0.js)
>
> Any suggestions for resolve the problem?
> Thank you
> ___
> 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/VUF7252OSLP6DI7EWLXRQXCNJJRQSNS2/
>
___
Users mailin

[ovirt-users] Re: Unable to change the admin passsword on oVirt 4.5.2.5

2022-09-22 Thread Ayansh Rocks
I am using  Keycloak integration but unable to find the way to change the
password. Can I switch to "AAA" anyhow ?



On Mon, Sep 19, 2022 at 2:15 PM Martin Perina  wrote:

> Hi,
>
> the answer depends if you selected Keycloak integration during
> engine-setup or not. If you are not sure, you can check using following:
>
> 1. What is your username when connecting to webadmin?
> - If it's "admin@ovirt", the you are using Keycloak integration
> - If it's "admin" and profile "internal" then you are using AAA.
>
> 2. Please take a look at the file
> /etc/ovirt-engine/engine.conf.d/12-setup-keycloak:
> - If the file exists and it contains "KEYCLOAK_BUNDLED=true", then you
> are using Keycloak integration
> - If the file doesn't exists or it contains "KEYCLOAK_BUNDLED=false",
> then you are using AAA.
>
> If you selected Keycloak inetgration, the you need to login to Keycloak
> administration console and change admin@ovirt password there. More
> information can be found at
> https://www.keycloak.org/archive/documentation-15.0.html
>
> If you selected AAA, then the steps you posted below are correct.
>
> Unfortunately we don't have yet proper documentation about Keycloak
> integration, which was introduced in oVirt 4.5.1.
>
> Regards,
> Martin
>
>
> On Fri, Sep 16, 2022 at 3:42 PM Ayansh Rocks 
> wrote:
>
>> Hi All,
>>
>> Any idea hot to change password of admin user on oVirt 4.5.2.5 ?
>>
>> Below is not working -
>>
>> [root@ovirt]# ovirt-aaa-jdbc-tool user password-reset admin
>> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
>> Password:
>> Reenter password:
>> updating user admin...
>> user updated successfully
>> [root@delhi-test-ovirtm-02 ~]#
>>
>> Above shows successful but password not changed.
>>
>> 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/YYEHEQU3HIHAJSQI4PPSQP5Y2SZEE6MX/
>>
>
>
> --
> Martin Perina
> Manager, Software Engineering
> Red Hat Czech s.r.o.
>
___
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/3ECRWJ3IFODP3IJQ6TWWZQ4ZOJUDZLBR/


[ovirt-users] GUI snapshot issue

2022-09-22 Thread Facundo Badaracco
Hi everyone.

I have made several snapshot of my vm, the interface says everything is
good. But, when i go to the snapshot section of any vm, there is no
snapshot. But, in disk section, all my snapshot are there.

Any hint?
___
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/HCVBKRWW2RDB4QKRMOCB3JKDAB6TMNWY/


[ovirt-users] Re: Uncaught exception occurred

2022-09-22 Thread nikkognt
thank you Lucia

Nick
___
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/ZR3NH7C4IQ2CELX5OLMN4HX3PFCY5F7M/


[ovirt-users] Re: cancel export task - no qemu-img process on host

2022-09-22 Thread goosesk blabla
no qemu-img process ,, but i found that it hanged on : 

root 30850  0.0  0.0 114740  2924 ?SSep21   0:00 /bin/sh -f 
/usr/sbin/xfs_mkfile -n 81257582592 /mnt/transfer/ovirtbackupexample.ova.tmp
root 30853  0.0  0.0 152756  2300 ?DSep21   0:00 
/usr/sbin/xfs_io -p xfs_mkfile -ft -c truncate 81257582592 -- 
/mnt/transfer/ovirtbackupexample.ova.tmp


strace showed,that these processes do nothing,,, so i killed 30850 . 

after kill,  file /mnt/transfer/ovirtbackupexample.ova.tmp   was created  
(strange ,i know) ,,,  task failed,,   snapshot from VM was removed 
automatically and VM was unlocked.  So issue was fixed.  

After this i removed already existed snapshot (forgotten , few months) on VM 
and try export again ... export was succesfull and also import was smoothly. 


when i will have free time, i will try to do export of VM with already existed 
snapshot.

BR
jan
___
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/GKQ6AQV6GZGZF4ROVKBG2FTIZYLVDG54/


[ovirt-users] oVirt API access when using Keycloak

2022-09-22 Thread jonas
Hello all

I just recently installed a fresh oVirt appliance. Now I want to use the API to 
perform some actions but fail to provide the correct username. Can you help?

Here's my script:
import ovirtsdk4 as sdk
from getpass import getpass

dc_name = "Default"
clu_name = "Default"

connection = sdk.Connection(
url="https://ovirt-engine-test.admin.int.rabe.ch/ovirt-engine/api";,
username="admin@ovirt",
password=getpass(),
# ca_file="/etc/pki/ovirt-engine/ca.pem",
insecure=True,
)
...

That's the error I get:
Traceback (most recent call last):
  File "/home/user/ovirt_iso_script/./setup_networks.py", line 25, in 
dc = next(d for d in dcs_svc.list() if d.name == dc_name)
  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/services.py", line 6863, 
in list
return self._internal_get(headers, query, wait)
  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/service.py", line 202, in 
_internal_get
context = self._connection.send(request)
  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 371, 
in send
return self.__send(request)
  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 389, 
in __send
self.authenticate()
  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 382, 
in authenticate
self._sso_token = self._get_access_token()
  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 624, 
in _get_access_token
raise AuthError(
ovirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot 
authenticate user No valid profile found in credentials..
___
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/QX4KU2T3WQLTZXHBGCZC2XQPQLHV34ZE/


[ovirt-users] Re: oVirt API access when using Keycloak

2022-09-22 Thread Jonas
Found it here: 
https://github.com/oVirt/ovirt-engine-keycloak/blob/master/keycloak_usage.md. 
It's admin@ovirt@internalsso.

Am 22. September 2022 19:02:56 MESZ schrieb jo...@rabe.ch:
>Hello all
>
>I just recently installed a fresh oVirt appliance. Now I want to use the API 
>to perform some actions but fail to provide the correct username. Can you help?
>
>Here's my script:
>import ovirtsdk4 as sdk
>from getpass import getpass
>
>dc_name = "Default"
>clu_name = "Default"
>
>connection = sdk.Connection(
>url="https://ovirt-engine-test.admin.int.rabe.ch/ovirt-engine/api";,
>username="admin@ovirt",
>password=getpass(),
># ca_file="/etc/pki/ovirt-engine/ca.pem",
>insecure=True,
>)
>...
>
>That's the error I get:
>Traceback (most recent call last):
>  File "/home/user/ovirt_iso_script/./setup_networks.py", line 25, in 
>dc = next(d for d in dcs_svc.list() if d.name == dc_name)
>  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/services.py", line 6863, 
> in list
>return self._internal_get(headers, query, wait)
>  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/service.py", line 202, 
> in _internal_get
>context = self._connection.send(request)
>  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 371, 
> in send
>return self.__send(request)
>  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 389, 
> in __send
>self.authenticate()
>  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 382, 
> in authenticate
>self._sso_token = self._get_access_token()
>  File "/usr/lib64/python3.10/site-packages/ovirtsdk4/__init__.py", line 624, 
> in _get_access_token
>raise AuthError(
>ovirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot 
>authenticate user No valid profile found in credentials..
>___
>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/QX4KU2T3WQLTZXHBGCZC2XQPQLHV34ZE/
___
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/SR6XHL54PHGN2H6FULYOCCSNARYAIRFG/