[ovirt-users] Off hosted-engine destroy virtualization
Hi. I try setting hosted-engine. I make cluster of two node. I run installation step by step as written in ovirt documentation. I add storage, iso domain, etc. Then i create VM. Everything working, all right. Now i shutdown hosted-engine and my VM also not avaliable. It normal behavior? Or i something doing at wrong? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM with attached host USB device failed to run
On 16 Aug 2017, at 13:57, Дровалев Роман wrote: Sorry, did not notice that the letter directly from you. In the attachment vdsm.log 16.08.2017 14:36, Yaniv Kaul пишет: No need to share it privately with me - share it with the users mailing list. I see that it's the latest VDSM. It'd be interesting to get the VDSM log as well. Y. On Wed, Aug 16, 2017 at 2:07 PM, Дровалев Роман wrote: > Thanks for the answer. > >Would you like to share with us your version of oVirt? > > Manager > oVirt Engine Version: 4.1.4.2-1.el7.centos > > #engine-config -g UserDefinedVMProperties > UserDefinedVMProperties: version: 3.6 > UserDefinedVMProperties: version: 4.0 > UserDefinedVMProperties: hostusb=[\w:&]+ version: 4.1 > I see you set the user properties, do you use the old hostusb hook by any chance? There is no need for that as we have a native support now. It is possible that the hook is broken > host - > OS Version: > RHEL - 7 - 3.1611.el7.centos > OS Description: > CentOS Linux 7 (Core) > Kernel Version: > 3.10.0 - 514.26.2.el7.x86_64 > KVM Version: > 2.6.0 - 28.el7.10.1 > LIBVIRT Version: > libvirt-2.0.0-10.el7_3.9 > VDSM Version: > vdsm-4.19.24-1.el7.centos > SPICE Version: > 0.12.4 - 20.el7_3 > GlusterFS Version: > [N/A] > CEPH Version: > librbd1-0.94.5-1.el7 > > > > 16.08.2017 12:54, Yaniv Kaul пишет: > > > > On Wed, Aug 16, 2017 at 12:05 PM, Дровалев Роман > wrote: > >> Hello, >> >> I connected a USB to the VM, writes this error: VM Win2012 is down with >> error. Exit message: local variable 'device' referenced before assignment. >> > > Would you like to share with us your version of oVirt? > > >> >> I found this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1261075 > > > This is a duplicate of a bug that was fixed >1 year ago. > Y. > > >> >> >> Does anyone have a working USB forwarding in a virtual machine? If >> "YES", how did you solve this problem? >> >> If this problem is not solved, unfortunately, the ovirt will have to >> completely abandon. (( >> >> >> >> >> >> >> >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> > > > -- > С уважением, Дровалев Роман > инженер ГБУЗ "МИАЦ", > Калужской области. > тел. 4842 705 004 > > -- С уважением, Дровалев Роман инженер ГБУЗ "МИАЦ", Калужской области. тел. 4842 705 004 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] ovirt reports
Hi, Im looking into getting reports out of ovirt, the documentation is not clear on how to get started with reporting, and the link to ovirt reports is broken; http://www.ovirt.org/documentation/how-to/reports/dwh/Ovirt_Reports#documentation how to reports dwh Ovirt Reports Any idea how to get data from DWH ? -- Respectfully Mahdi A. Mahdi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] USER_CREATE_SNAPSHOT_FINISHED_FAILURE with Cinder storage stuck
Hi, we're experimenting with Cinder/Ceph Storage on oVirt 4.1.3. When we tried to snapshot a VM (2 disks on Cinder storage domain) the task never finished and now seems to be in an uninterruptible loop. We tried to stop it in various (brute force) ways, but the below messages (one of the disks as an example) are cluttering engine.log every 10 seconds. We tried the following: - deleting the VM - restarting ovirt-engine service - vdsClient -s 0 getAllTasksStatuses on SPM host (no result) - restarting vdsmd service on SPM host - /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -u engine -d engine -c c841c979-70ea-4e06-b9c4-9c5ce014d76d None of this helped. How do we get rid of this failed transaction? thx matthias 2017-08-21 16:40:44,798+02 INFO [org.ovirt.engine.core.utils.transaction.TransactionSupport] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] transaction rolled back 2017-08-21 16:40:44,799+02 ERROR [org.ovirt.engine.core.bll.job.ExecutionHandler] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] Exception: org.springframework.dao.DataIntegrityViolationException: CallableStatementCallback; SQL [{call insertstep(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: insert or update on table "step" violates foreign key constraint "fk_step_job" 2017-08-21 16:40:44,805+02 ERROR [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] Ending command 'org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand' with failure. 2017-08-21 16:40:44,807+02 WARN [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] No snapshot was created for VM 'c0235316-81c4-48be-9521-b86b338c7d20' which is in LOCKED status 2017-08-21 16:40:44,810+02 INFO [org.ovirt.engine.core.utils.transaction.TransactionSupport] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] transaction rolled back 2017-08-21 16:40:44,810+02 WARN [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] Trying to release exclusive lock which does not exist, lock key: 'c0235316-81c4-48be-9521-b86b338c7d20VM' 2017-08-21 16:40:44,810+02 INFO [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] Lock freed to object 'EngineLock:{exclusiveLocks='[c0235316-81c4-48be-9521-b86b338c7d20=VM]', sharedLocks=''}' 2017-08-21 16:40:44,829+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] EVENT_ID: USER_CREATE_SNAPSHOT_FINISHED_FAILURE(69), Correlation ID: 080af640-bac3-4990-8bf4-6829551b538d, Job ID: a3be8af1-8d33-4d35-9672-215ac7c9959f, Call Stack: null, Custom Event ID: -1, Message: Failed to complete snapshot 'test' creation for VM ''. 2017-08-21 16:40:44,829+02 ERROR [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] (DefaultQuartzScheduler7) [080af640-bac3-4990-8bf4-6829551b538d] Failed invoking callback end method 'onFailed' for command 'c841c979-70ea-4e06-b9c4-9c5ce014d76d' with exception 'null', the callback is marked for end method retries ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] ovirt-ha-agent service errors
Hi, All ovirt 4.1.4 fresh install on two hosts with hosted-engine on both. gluster volume is replica 3 with two vdsm hosts and one VM under esxi working only one vm for HE sometimes have such errors in ha-agent # service ovirt-ha-agent status Redirecting to /bin/systemctl status ovirt-ha-agent.service ● ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2017-08-17 11:43:44 MSK; 3 days ago Main PID: 2534 (ovirt-ha-agent) CGroup: /system.slice/ovirt-ha-agent.service └─2534 /usr/bin/python /usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent --no-daemon Aug 21 00:29:11 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 00:48:32 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 01:12:05 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 02:12:09 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 03:55:08 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 08:14:05 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 08:25:06 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 08:46:05 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 09:20:06 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds Aug 21 09:21:40 kvm03 ovirt-ha-agent[2534]: ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Engine VM has bad health status, timeout in 300 seconds in agent log: MainThread::INFO::2017-08-21 09:21:40,314::ovf_store::103::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan) Found OVF_STORE: imgUUID:c7b33006-e7c7-4e39-8d80-2301149ac8f9, volUUID:184f9e45-ab1b-44b8-8a68-238042dba1a7 MainThread::INFO::2017-08-21 09:21:40,594::ovf_store::103::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan) Found OVF_STORE: imgUUID:e7a3c173-9f87-4f6c-a807-63118b9b7cb2, volUUID:92317b81-1bb0-43e6-b029-8931aa5d0af0 MainThread::INFO::2017-08-21 09:21:40,716::ovf_store::112::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) Extracting Engine VM OVF from the OVF_STORE MainThread::INFO::2017-08-21 09:21:40,749::ovf_store::119::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) OVF_STORE volume path: /rhev/data-center/mnt/glusterSD/localhost:_ovha/7b6badfb-4986-4983-9f62-ae55da33d15e/images/e7a3c173-9f87-4f6c-a807-63118b9b7cb2/92317b81-1bb0-43e6-b029-8931aa5d0af0 MainThread::INFO::2017-08-21 09:21:40,787::config::431::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store) Found an OVF for HE VM, trying to convert MainThread::INFO::2017-08-21 09:21:40,792::config::436::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store) Got vm.conf from OVF_STORE MainThread::ERROR::2017-08-21 09:21:40,792::states::606::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine VM has bad health status, timeout in 300 seconds MainThread::INFO::2017-08-21 09:21:40,792::states::430::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on localhost MainThread::INFO::2017-08-21 09:21:40,796::state_decorators::88::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(check) Timeout cleared while transitioning -> MainThread::INFO::2017-08-21 09:21:40,800::brokerlink::111::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify) Trying: notify time=1503296500.8 type=state_transition detail=EngineUpBadHealth-EngineUp hostname='kvm03' MainThread::INFO::2017-08-21 09:21:40,853::brokerlink::121::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(notify) Success, was notification of state_transition (EngineUpBadHealth-EngineUp) sent? sent MainThread::INFO::2017-08-21 09:21:40,853::hosted_engine::604::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_vdsm) Initializing VDSM T
[ovirt-users] broken authz
Since a few days, I can't connect any more to ovirt. I'm using an ldap authz. In the log I see: 2017-08-21 11:41:56,513+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Framework] (default task-14) [] Creating SearchRequest 2017-08-21 11:41:56,514+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Framework] (default task-14) [] SearchRequest: SearchRequest(baseDN='CN=Partitions,', scope=SUB, deref=NEVER, sizeLimit=0, timeLimit=0, filter='&(objectClass=crossRef)(nCName=)(nETBIOSName=*)', attrs={nCName, dnsRoot}) 2017-08-21 11:41:56,514+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Framework] (default task-14) [] getConnectionPoolEntry Entry name='authz', dn='CN=Partitions,' 2017-08-21 11:41:56,514+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Framework] (default task-14) [] Sequence ad-open-vars default domain failed due to exception: Unexpected comma or semicolon found at the end of the DN string. 2017-08-21 11:41:56,514+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Framework] (default task-14) [] Exception during sequence: LDAPException(resultCode=34 (invalid DN syntax), errorMessage='Unexpected comma or semicolon found at the end of the DN string.') at com.unboundid.ldap.sdk.DN.(DN.java:629) [unboundid-ldapsdk.jar:3.2.0] at com.unboundid.ldap.sdk.DN.normalize(DN.java:1483) [unboundid-ldapsdk.jar:3.2.0] at com.unboundid.ldap.sdk.DN.normalize(DN.java:1460) [unboundid-ldapsdk.jar:3.2.0] at org.ovirt.engineextensions.aaa.ldap.Framework.getDNDomainComponent(Framework.java:235) [ovirt-engine-extension-aaa-ldap.jar:] at org.ovirt.engineextensions.aaa.ldap.Framework.getConnectionPoolEntry(Framework.java:827) [ovirt-engine-extension-aaa-ldap.jar:] Indeed it's looking for 'CN=Partitions,'. But that's not in my ovirt's configuration. So it's must be coming from AD. But I was unable to find it. I think I will need it to report it to my AD admins. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users