[ovirt-users] Re: Changing Cluster Compatibility Version from 4.6 to 4.7 issue
This is solution: update vm_static set time_zone='Etc/GMT' where vm_name='HostedEngine'; ___ 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/CL4MI3IJH6MPDXS3B23FQ3BDJXHHSKAG/
[ovirt-users] Changing Cluster Compatibility Version from 4.6 to 4.7 issue
Hi! Just uprgaded from 4.4. to 4.5. Had all the problems with this update, such as postgresql-jdbc version and with stripeCount in cli.y . But I managed it, everything works more or less. Now I cannot raise the Cluster compatibility level. The problem is that increasing the level tries to change something in the HE configuration but cannot. This is error massage: Error while executing action: Cannot update cluster because the update triggered update of the VMs/Templates and it failed for the following: HostedEngine. "There was an attempt to change Hosted Engine VM values that are locked." is one of the error(s). To fix the issue, please go to each VM/Template, edit, change the Custom Compatibility Version (or other fields changed previously in the cluster dialog) and press OK. If the save does not pass, fix the dialog validation. After successful cluster update, you can revert your Custom Compatibility Version change (or other changes). If the problem still persists, you may refer to the engine.log file for further details. If i trying to edit HE machine without changing anything i se next error: There was an attempt to change Hosted Engine VM values that are locked/ I think this is linked issues. Log from engine log when i trying to update Cluster version: 2022-05-27 14:20:54,410+06 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-212) [1b8b6b78] EVENT_ID: CLUSTER_CANNOT_UPDATE_VM_COMPATIBILITY_VERSION(12,005), Ca nnot update compatibility version of Vm/Template: [HostedEngine], Message: There was an attempt to change Hosted Engine VM values that are locked. Log from engine log when i trying to save HE configuration without any changing: 2022-05-27 14:34:10,965+06 INFO [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-220) [9cdfe99b-b7a1-46a4-ab3f-fc110b939f08] Lock Acquired to object 'EngineLock:{exclusiveLocks='[HostedEngine= VM_NAME]', sharedLocks='[4d6a0ffb-a221-4ef8-9846-6ada7690e74a=VM]'}' 2022-05-27 14:34:10,968+06 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-220) [9cdfe99b-b7a1-46a4-ab3f-fc110b939f08] Validation of action 'UpdateVm' failed for user admin@internal-auth z. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__VM,VM_CANNOT_UPDATE_HOSTED_ENGINE_FIELD 2022-05-27 14:34:10,969+06 INFO [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-220) [9cdfe99b-b7a1-46a4-ab3f-fc110b939f08] Lock freed to object 'EngineLock:{exclusiveLocks='[HostedEngine=VM_ NAME]', sharedLocks='[4d6a0ffb-a221-4ef8-9846-6ada7690e74a=VM]'}' It is not clear what is happening and what changes to the configuration are trying to be saved and what to do about it. Help please. ___ 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/MW2FD7XB2ZCEYY2YCWAWOHU2SC3Z6VBK/
[ovirt-users] Cannot to update hosts, nothing provides libvirt-daemon-kvm >= 7.6.0-2 needed by vdsm-4.40.90.4-1.el8.x86_64
Hi! Last time i has updated my host running ovirt 4.4 in september. Everything was normally. After now in november i trying to update via UI but fave error that update failed. Checking over "dnf update" shows me that error in not resolved dependencies, and main is: nothing provides libvirt-daemon-kvm >= 7.6.0-2 needed by vdsm-4.40.90.3-1.el8.x86_64 nothing provides libvirt-daemon-kvm >= 7.6.0-2 needed by vdsm-4.40.90.4-1.el8.x86_64 Hosts running Centos 8.4. I already try to use one with stream - same trouble. My opinion this is problem with libvirt-daemon-kvm package in centos repo. Maybe i mistakes. Please help. ___ 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/FSIBOGQZHHMORWYBZRIA5DR3UPFPBZO2/
[ovirt-users] Re: Libgfapi considerations
Hi! I have tested also with last version of Ovirt 4.4, and I see that writing speed in 4 times more then with fuse. I think this is important reason to support snapshots with Libgfapi. Regards, Alex ___ 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/BWNGPBUPMCDQ3IFBNQKEI5LEULNZB3B3/
[ovirt-users] Re: Libgfapi considerations
Hi! I have tested also with last version of Ovirt 4.4, and I see that writing speed in 4 times more then with fuse. I think this is important reason to support snapshots with Libgfapi. Regards, Alex ___ 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/FKDAOJ4S5YS3HOHEHA5AVL7VAMQ4DAAB/
[ovirt-users] Re: Can't connect vdsm storage: Command StorageDomain.getInfo with args failed: (code=350, message=Error in storage domain action
Yes. The problem with permission. But not with permissoin on export directory. Two ways to resolve this: 1) Make 777 permission on directory - dont right solution. 2) anonuid=36,anongid=36 in export - this right solution, very strange that this is not in any documentation, but very important! I has right permission on my export directory, but this is not working before i mke 777 chmod. After i chande parameters in exports file i return chmod to 755 and all working fine now! Thank you and all very much. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y6KJ2PTMHDJTYXBNT63G5QRF7RH3JVMA/
[ovirt-users] Re: Can't connect vdsm storage: Command StorageDomain.getInfo with args failed: (code=350, message=Error in storage domain action
Yes. The problem with permission. But not with permissoin on export directory. Two ways to resolve this: 1) Make 777 permission on directory - dont right solution. 2) anonuid=36,anongid=36 in export - this right solution, very strange that this is not in any documentation, but very important! I has right permission on my export directory, but this is not working before i mke 777 chmod. After i chande parameters in exports file i return chmod to 755 and all working fine now! Thank you and all very much. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/CRAVOYFYFZCTEQITSIWLTQCTQFBRFC4W/
[ovirt-users] Re: Fwd: FreeBSD after 10.3 could not boot (Freeze)
2 vCPU 8Gb vRAM 10Gb vHDD (virtio-scsi) Intel SandyBridge Family Cluster 29.05.2018 21:06, Karli Sjöberg пишет: I just tried it as well, works fine, no problemo. My VM has: 1 vCPU 1GB vRAM 8GB vHDD In a Nehalem cluster. Alex, Paul, what´s yours? ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/NFOYSZNGANUTEJNK7NTG7OXDE7OBPCHM/
[ovirt-users] Re: Fwd: FreeBSD after 10.3 could not boot (Freeze)
Hi! I procced with default instalation of 10.4-amd64 from ISO and it boots just fine. Can you provide some more info about VM configuration? 26.05.2018 20:59, Paul.LKW пишет: HI All: Any one have tried to boot up FreeBSD 10.4 successful? I tried 10.3 is all working fine but no lucky in 10.4 at all even boot from DVD !!! Attached is the freezes point. BR, Paul.LKW ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BCXCX5QMXL7SQUVBJMN3HFSQSS56VPJF/
Re: [ovirt-users] Power off VM from VM portal
06.03.2018 19:22, Derek Atkins пишет: Alexandr Krivulya <shur...@shurik.kiev.ua> writes: is there any way to power off VM from VM portal (4.2.1.7)? I can't find "power off" button, just "shutdown". I don't know about 4.2, but in 4.1 and 4.0 there is a right-click context menu that gives you access to the Power Off feature. If that doesn't work (ISTR disucssion about removing that context menu), then there must be a different way to access it now. In 4.2 User portal was replaced with new VM portal. There is no right-click context menu on VM list :( From admin portal I can poweroff VM. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Power off VM from VM portal
06.03.2018 17:39, Nicolas Ecarnot пишет: Le 06/03/2018 à 16:02, Alexandr Krivulya a écrit : Hi, is there any way to power off VM from VM portal (4.2.1.7)? I can't find "power off" button, just "shutdown". ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Hello Alexandr, After having clicked on the VM link, you'll notice that on the right of the Shutdown button is an arrow allowing you to access to the Power Off feature. I cant find this arrow on Shutdown button ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Power off VM from VM portal
Hi, is there any way to power off VM from VM portal (4.2.1.7)? I can't find "power off" button, just "shutdown". ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt 4.2: hostdev passthrough not working any more
22.02.2018 11:37, Alexandr Krivulya пишет: 22.02.2018 11:30, Martin Polednik пишет: On 22/02/18 10:40 +0200, Alexandr Krivulya wrote: Hello, the same problem after upgrade to 4.2.1 :( 18.01.2018 11:53, Daniel Helgenberger пишет: Hello, yesterday I upgraded to 4.2.0 from 4.1.8. Now I notice I cannot assign host dev pass though any more; in the GUI the 'Pinnded to host' list is empty; I cannot select any host for pass through host pinning. Does the host that previously worked report device passthrough capability? In the UI it's the "Device Passthrough: Enabled" field. (and similarly named field in vdsm-client getCapabilities call) Now "Device Passthrough: Disabled", but usb passthrough works well on 4.1 After enabling intel_iommu usb passthrough works again. But why this option needed for usb now? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt 4.2: hostdev passthrough not working any more
22.02.2018 11:30, Martin Polednik пишет: On 22/02/18 10:40 +0200, Alexandr Krivulya wrote: Hello, the same problem after upgrade to 4.2.1 :( 18.01.2018 11:53, Daniel Helgenberger пишет: Hello, yesterday I upgraded to 4.2.0 from 4.1.8. Now I notice I cannot assign host dev pass though any more; in the GUI the 'Pinnded to host' list is empty; I cannot select any host for pass through host pinning. Does the host that previously worked report device passthrough capability? In the UI it's the "Device Passthrough: Enabled" field. (and similarly named field in vdsm-client getCapabilities call) Now "Device Passthrough: Disabled", but usb passthrough works well on 4.1 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt 4.2: hostdev passthrough not working any more
Hello, the same problem after upgrade to 4.2.1 :( 18.01.2018 11:53, Daniel Helgenberger пишет: Hello, yesterday I upgraded to 4.2.0 from 4.1.8. Now I notice I cannot assign host dev pass though any more; in the GUI the 'Pinnded to host' list is empty; I cannot select any host for pass through host pinning. When I was creating the particular VM in 4.1 it was working as expected. The hostdev from before the upgrades are still present. I tried to remove them and got an NPE (see below). As a workaround, is the old hostusb[1] method I know back from 3.x still working in the 4.x line? AFAICT IOMMU is working dmesg | grep -e DMAR -e IOMMU [0.00] ACPI: DMAR 7b7e7000 002C6 (v01 HP ProLiant 0001 HP 0001) [0.168032] DMAR: Host address width 46 [0.168034] DMAR: DRHD base: 0x00fbffc000 flags: 0x0 [0.168047] DMAR: dmar0: reg_base_addr fbffc000 ver 1:0 cap 8d2078c106f0466 ecap f020de [0.168050] DMAR: DRHD base: 0x00c7ffc000 flags: 0x1 [0.168061] DMAR: dmar1: reg_base_addr c7ffc000 ver 1:0 cap 8d2078c106f0466 ecap f020de [0.168063] DMAR: RMRR base: 0x0079174000 end: 0x0079176fff [0.168065] DMAR: RMRR base: 0x00791f4000 end: 0x00791f7fff [0.168067] DMAR: RMRR base: 0x00791de000 end: 0x00791f3fff [0.168070] DMAR: RMRR base: 0x00791cb000 end: 0x00791dbfff [0.168071] DMAR: RMRR base: 0x00791dc000 end: 0x00791ddfff [0.168073] DMAR: ATSR flags: 0x0 [0.168075] DMAR: ATSR flags: 0x0 [0.168079] DMAR-IR: IOAPIC id 10 under DRHD base 0xfbffc000 IOMMU 0 [0.168082] DMAR-IR: IOAPIC id 8 under DRHD base 0xc7ffc000 IOMMU 1 [0.168084] DMAR-IR: IOAPIC id 9 under DRHD base 0xc7ffc000 IOMMU 1 [0.168086] DMAR-IR: HPET id 0 under DRHD base 0xc7ffc000 [0.168088] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping. [0.169073] DMAR-IR: Enabled IRQ remapping in x2apic mode Thanks, [1] https://www.ovirt.org/develop/release-management/features/virt/hostusb/ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Guest IP
Hi, is there any way to get guest ip provided by guest tools from user portal? It present in an admin portal, but not in user. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] BSD Guests + oVirt
09.09.2016 09:37, Vinzenz Feenstra пишет: >>> >> ovirt-guest-tools doesn't support freebsd from what I can find. > This is correct, this is due to the fact that we don’t have, or at least we > haven’t had, virtio-serial drivers which we need for the communication with > the guest os > I think tihis is not correct, virtio-serial drivers are supported on latest FreeBSD. See my old post: http://lists.ovirt.org/pipermail/users/2015-May/033069.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Change local DC host address
Thank you, so the safest way is to export all vm's and create new local dc. 18.08.2016 05:03, Jakub Niedermertl пишет: > Hi Alexandr, > > changing host address is not supported in general. The only way to do so is > to remove and re-add the host. I'm not sure if there is some way for storage > to survive the re-adding. > @Tal, can you please add details? > > Jakub > > - Original Message - >> From: "Alexandr Krivulya" <shur...@shurik.kiev.ua> >> To: users@ovirt.org >> Sent: Monday, August 15, 2016 3:58:31 PM >> Subject: [ovirt-users] Change local DC host address >> >> Hi! >> >> There is any way to change host address in a local DC? In web-ui it's >> grayed out, ovirt-shell gives an error: >> >> status: 400 >> reason: Bad Request >> detail: Host Address can not be modified due to Security >> restrictions. In order to change Host Address, Host has to be reinstalled >> >> >> Reinstall host is not a solution with local DC. >> >> ___ >> 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] Change local DC host address
Hi! There is any way to change host address in a local DC? In web-ui it's grayed out, ovirt-shell gives an error: status: 400 reason: Bad Request detail: Host Address can not be modified due to Security restrictions. In order to change Host Address, Host has to be reinstalled Reinstall host is not a solution with local DC. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Move from Local SD to Shared
Hi, I need to move my datacenter from local storage domain to shared (nfs or posix) without destroying storage. What is the best way to do it in oVirt 3.6? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Guest OS wrong cpu count
Hi, Windows Server 2008 R2 Standard supports up to 4 sockets. 03.03.16 13:30, Johan Kooijman пишет: > Hi all, > > I created a VM on our ovirt 3.5 cluster having 8 CPU's and 16 GB of > RAM (http://imgur.com/aaXfbfq). The guest however, only sees 4 > CPU's: http://imgur.com/dEYVe0S. > > Any clues what may have caused this? > > -- > Met vriendelijke groeten / With kind regards, > Johan Kooijman > > > ___ > 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
Re: [ovirt-users] oVirt 3.6.1 USB Host Device passthrough
Hi, 1. Look at my previous posts: http://lists.ovirt.org/pipermail/users/2015-November/035881.html http://lists.ovirt.org/pipermail/users/2015-November/035890.html 2. You can try to pass a usb host controller and not devices itself. But I didn't verify it. 23.12.15 10:28, ov...@timmi.org пишет: > Hi list, > > I'm currently trying to get USB devices into a VM. > My host is running a oVirt 3.6.1. > > I'm trying to use the GUI feature to add the device into the VM and > I'm facing two issues: > > 1. I receive the following message while starting the VM: > Error while executing action: > > : > > * Cannot run VM. There is no host that satisfies current scheduling > constraints. See below for details: > * The host did not satisfy internal filter HostDevice > because it does not support host device passthrough.. > > 2. The USB device list never get refreshed while removing or inserting > different devices. > > Does anyone knows what I'm doing wrong or what I need to check? > > I found for example the following description for oVirt 3.5. > http://wiki.rosalab.com/en/index.php/Blog:ROSA_Planet/How_to_use_USB_device_inside_VM_under_Rosa_Virtualisation_%28oVirt_3.5%29 > > But this is not helping me as I will have multiple USB devices with > the same ID in the host. > > Best regards and Merry Christmas > Christoph > > > > ___ > 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
Re: [ovirt-users] ZFS record size for oVirt
23.11.15 12:32, Johan Kooijman пишет: > Hi all, > > I'm using an NFS storage domain, backed by a ZFS cluster. I need to > deploy a new storage domain, what would the recommended record size be > in this? > > I don't think you need care about it, because its real value calculates via internal algorithms. Generally it depends on your workload. if you have VM's that do a lot of random writes try to set recsize to equal or greater value of guest file system block size. Did you read this white paper? It might help you. http://www.oracle.com/technetwork/server-storage/sun-unified-storage/documentation/bestprac-zfssa-vsphere5-1940129.pdf ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] hostusb with ovirt3.6
12.11.15 21:29, Alexandr Krivulya пишет: > Hello, > after upgrade to 3.6 virtual machine with hostusb vdsm hook attached > cannot be started: > > Thread-2194::ERROR::2015-11-12 > 21:21:16,527::vm::751::virt.vm::(_startUnderlyingVm) > vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::The vm start process failed > Traceback (most recent call last): > File "/usr/share/vdsm/virt/vm.py", line 695, in _startUnderlyingVm > self._run() > File "/usr/share/vdsm/virt/vm.py", line 1876, in _run > self._domDependentInit() > File "/usr/share/vdsm/virt/vm.py", line 1733, in _domDependentInit > self._getUnderlyingVmDevicesInfo() > File "/usr/share/vdsm/virt/vm.py", line 1682, in > _getUnderlyingVmDevicesInfo > self._getUnderlyingHostDeviceInfo() > File "/usr/share/vdsm/virt/vm.py", line 4106, in > _getUnderlyingHostDeviceInfo > if device_type == 'usb': > File "/usr/share/vdsm/virt/vm.py", line 4092, in > _getUnderlyingHostDeviceUSBInfo > for dev in self.conf['devices']: > UnboundLocalError: local variable 'device' referenced before assignment > Thread-2194::INFO::2015-11-12 > 21:21:16,546::vm::1278::virt.vm::(setDownStatus) > vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::Changed state to Down: > local variable 'device' referenced before assignment (code=1) > > Corresponding xml entry present in vm start config: > > id="0x14a8"/> > > Dirty hack solves issue (I'm far away from python): --- vm.py.orig 2015-11-13 14:14:37.152170286 +0200 +++ vm.py 2015-11-13 14:13:47.387855814 +0200 @@ -4103,7 +4103,7 @@ for x in self._domain.get_device_elements('hostdev'): device_type = x.getAttribute('type') if device_type == 'usb': -self._getUnderlyingHostDeviceUSBInfo(x) +#self._getUnderlyingHostDeviceUSBInfo(x) continue alias = x.getElementsByTagName('alias')[0].getAttribute('name') address = self._getUnderlyingDeviceAddress(x) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Error running VM because of fnternal filter
13.11.15 15:32, Michal Skrivanek пишет: >> On 12 Nov 2015, at 17:54, Alexandr Krivulya <shur...@shurik.kiev.ua> wrote: >> >> 12.11.15 16:40, Alexandr Krivulya пишет: >>> Hello! >>> >>> After upgrade cluster to 3.6 I cannot run VM's because of error: >>> >>> The host vms-intron did not satisfy internal filter HostDevice because >>> it does not support host device passthrough.. >>> >>> How can I disable this filter? >>> >> Half-day brainstorm and everything is ok: >> >> delete from vm_device where type='hostdev' and vm_id='aaa--ccc…'; > and you didn’t add anything in UI, this is just an upgrade from 3.5 when > using usbhost hook? > When VM did not start after upgrade I did many different steps including attaching/detaching usb devices via UI. All my attempts ended with the same error. Only editing vm_device table by hand solves my problem. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] hostusb with ovirt3.6
13.11.15 14:29, Michal Skrivanek пишет: >> On 13 Nov 2015, at 13:21, Alexandr Krivulya <shur...@shurik.kiev.ua> wrote: >> >> 12.11.15 21:29, Alexandr Krivulya пишет: >>> Hello, >>> after upgrade to 3.6 virtual machine with hostusb vdsm hook attached cannot >>> be started: > there shouldn’t be a reason for a hook in 3.6, there’s a full support for usb > passthrough in UI. > though it shouldn’t break just by upgrade to 3.6…Martin? There is an old platform - no support for device passthrough. See my previous post: http://lists.ovirt.org/pipermail/users/2015-November/035881.html > >>> Thread-2194::ERROR::2015-11-12 >>> 21:21:16,527::vm::751::virt.vm::(_startUnderlyingVm) >>> vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::The vm start process failed >>> Traceback (most recent call last): >>> File "/usr/share/vdsm/virt/vm.py", line 695, in _startUnderlyingVm >>> self._run() >>> File "/usr/share/vdsm/virt/vm.py", line 1876, in _run >>> self._domDependentInit() >>> File "/usr/share/vdsm/virt/vm.py", line 1733, in _domDependentInit >>> self._getUnderlyingVmDevicesInfo() >>> File "/usr/share/vdsm/virt/vm.py", line 1682, in >>> _getUnderlyingVmDevicesInfo >>> self._getUnderlyingHostDeviceInfo() >>> File "/usr/share/vdsm/virt/vm.py", line 4106, in >>> _getUnderlyingHostDeviceInfo >>> if device_type == 'usb': >>> File "/usr/share/vdsm/virt/vm.py", line 4092, in >>> _getUnderlyingHostDeviceUSBInfo >>> for dev in self.conf['devices']: >>> UnboundLocalError: local variable 'device' referenced before assignment >>> Thread-2194::INFO::2015-11-12 >>> 21:21:16,546::vm::1278::virt.vm::(setDownStatus) >>> vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::Changed state to Down: local >>> variable 'device' referenced before assignment (code=1) >>> >>> Corresponding xml entry present in vm start config: >>> >>> >> id="0x14a8"/> >>> >>> >> Dirty hack solves issue (I'm far away from python): >> >> --- vm.py.orig 2015-11-13 14:14:37.152170286 +0200 >> +++ vm.py 2015-11-13 14:13:47.387855814 +0200 >> @@ -4103,7 +4103,7 @@ >> for x in self._domain.get_device_elements('hostdev'): >> device_type = x.getAttribute('type') >> if device_type == 'usb': >> -self._getUnderlyingHostDeviceUSBInfo(x) >> +#self._getUnderlyingHostDeviceUSBInfo(x) >> continue >> alias = x.getElementsByTagName('alias')[0].getAttribute('name') >> address = self._getUnderlyingDeviceAddress(x) >> >> ___ >> 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] hostusb with ovirt3.6
Hello, after upgrade to 3.6 virtual machine with hostusb vdsm hook attached cannot be started: Thread-2194::ERROR::2015-11-12 21:21:16,527::vm::751::virt.vm::(_startUnderlyingVm) vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::The vm start process failed Traceback (most recent call last): File "/usr/share/vdsm/virt/vm.py", line 695, in _startUnderlyingVm self._run() File "/usr/share/vdsm/virt/vm.py", line 1876, in _run self._domDependentInit() File "/usr/share/vdsm/virt/vm.py", line 1733, in _domDependentInit self._getUnderlyingVmDevicesInfo() File "/usr/share/vdsm/virt/vm.py", line 1682, in _getUnderlyingVmDevicesInfo self._getUnderlyingHostDeviceInfo() File "/usr/share/vdsm/virt/vm.py", line 4106, in _getUnderlyingHostDeviceInfo if device_type == 'usb': File "/usr/share/vdsm/virt/vm.py", line 4092, in _getUnderlyingHostDeviceUSBInfo for dev in self.conf['devices']: UnboundLocalError: local variable 'device' referenced before assignment Thread-2194::INFO::2015-11-12 21:21:16,546::vm::1278::virt.vm::(setDownStatus) vmId=`ec7cde24-ac17-453c-a0d3-1873993b80e1`::Changed state to Down: local variable 'device' referenced before assignment (code=1) Corresponding xml entry present in vm start config: ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Error running VM because of fnternal filter
Hello! After upgrade cluster to 3.6 I cannot run VM's because of error: The host vms-intron did not satisfy internal filter HostDevice because it does not support host device passthrough.. How can I disable this filter? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Error running VM because of fnternal filter
12.11.15 16:40, Alexandr Krivulya пишет: > Hello! > > After upgrade cluster to 3.6 I cannot run VM's because of error: > > The host vms-intron did not satisfy internal filter HostDevice because > it does not support host device passthrough.. > > How can I disable this filter? > Half-day brainstorm and everything is ok: delete from vm_device where type='hostdev' and vm_id='aaa--ccc...'; ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] CPU Threads Help!!!
13.08.2015 08:54, Roy Golan пишет: On 08/12/2015 01:55 PM, Artyom Lukianov wrote: Can you please provide output of lscpu for your host please. Thanks - Original Message - From: zhangjian2011 zhangjian2...@cn.fujitsu.com To: users@ovirt.org Sent: Wednesday, August 12, 2015 1:06:11 PM Subject: [ovirt-users] CPU Threads Help!!! Hi, Guys Recently I am investigating the Optimization Policy in Cluster and try to use “ CPU Threads ”. As the manual of description: For example, a 24-core system with 2 threads per core (48 threads total) can run virtual machines with up to 48 cores each My host CPU is i3-2120 CPU (2 cores 4 threads) So I think the expect result case is : 1. If the “ Count Threads As Cores ” disable , we can’t run virtual vm with above 2 vCPU 2. If the “ Count Threads As Cores ” enable , we can’t run virtual vm with above 4 vCPU Now the problem is about result case 1: 1. When I set “ Count Threads As Cores ” disable , I still can run virtual vm with 4 vCPU Can anyone help me to explain it ??? Like Artyom mentioned, it best to see your lscpu output but my guess is that the 4 threads is actually 2 per core. And there are 2 core and 2 sockets. this means 4 cpus without hyper threading and 8 with. BTW the Host General subtab on the webadmin should output all this info as well. Check it out. According to ARK Intel Core i3-2120 cannot be used in dual-socket configurations. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Users] Compiling ovirt-guest-agent on FreeBSD
02.02.2015 12:57, Karli Sjöberg пишет: On Sat, 2015-01-31 at 23:54 +0200, Alexandr Krivulya wrote: 19.08.2013 13:21, Karli Sjöberg пишет: mån 2013-08-19 klockan 12:11 +0200 skrev Vinzenz Feenstra: On 08/19/2013 10:01 AM, Karli Sjöberg wrote: mån 2013-08-19 klockan 09:53 +0200 skrev Michal Skrivanek: On Aug 19, 2013, at 09:41 , Karli Sjöberg karli.sjob...@slu.se wrote: Hi! As part of a template I´m preparing, I´m wondering how to compile the agent with just the basics included. I´ve tried running like: OPTIONS=' --without-gdm-plugin --without-gdm2-plugin --without-kdm-plugin --without-pam-ovirt-cred --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no --with-pam-ovirt-cred=no --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin --disable-pam-ovirt-cred --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no --enablepam-ovirt-cred-=no' # ./configure ${OPTIONS} Regardless of how I try, it just responds: configure: WARNING: unrecognized options: ${OPTIONS} I took the package from the official oVirt.org repo, src file: ovirt-guest-agent-1.0.6.tar.bz2 What am I doing wrong? Hi the parameters are gdm, kdm and sso, set them to no I don´t get it, it doesn´t seem to care: # ./configure --without-gdm # ./configure --with-gdm=no # ./configure --enable-gdm=no # ./configure --disable-gdm # ./configure --without-gdm --with-gdm=no --enable-gdm=no --disable-gdm configure: WARNING: unrecognized options: --without-gdm, --with-gdm, --enable-gdm, --disable-gdm this feature of disabling it was introduced to ovirt-guest-agent in 1.0.8 Try this one: http://evilissimo.fedorapeople.org/releases/ovirt-guest-agent/1.0.8/ovirt-guest-agent-1.0.8.1.tar.bz2 ./configure --without-sso --prefix=/usr You know what, sorry about the noise, because it seems as if virtio-serial isn´t even available on FreeBSD, so it´s moot anyway... Should probably have looked that up before even getting started;) But besides the fact that it won´t work until that´s sorted, I can at least say that it configured, compiled and installed OK using René´s suggestion, cloning from git and building from there. Hello! Now when virtio_console(4) driver available in CURRENT does anyone works on porting ovirt-guest-agent to FreeBSD? plain text document attachment (ATT1) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I haven´t tested anything since last time but good to know someone doing something:) I can imagine the guest agent would need some tweeking to get it running as well: http://lists.freebsd.org/pipermail/freebsd-emulation/2013-April/010569.html The VirtIO spec is written with mostly Linux in mind and usually takes varying amounts of extra effort to adapt to FreeBSD. I have successfully build and run guest agent on FreeBSD-Current. It provides a few information (for example fqdn and logged users) into admin portal, but all other requires rewriting GuestAgentLinux2.py or implementing it as separate module. I have no experience in python and programming itself, but implementing some simple features may be quiet easy. Can anyone help with it? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] engine-reports portal and cpu cores
Ок, I understand it. But in admin portal on hosts detail tab I see for example 32 logical cores vs 16 in reports because of Hyper-Threading enabled. All VM's on this host consumes 26 vCores. Does it overallocation? According to report - yes, but actually I think not. Can you clarify? 13.05.2015 10:32, Shirly Radco пишет: H Alexandr, The vCores are the logical cpu cores, and if you has more vCores than Host Cores it means that you have over allocation for the hosts. So, if on a specific vm one of the cores will be on 100% usage than all the vms using this core will show 100% as well. Best, --- Shirly Radco BI Software Engineer Red Hat Israel Ltd. - Original Message - From: Alexandr Krivulya shur...@shurik.kiev.ua To: users@ovirt.org Sent: Tuesday, May 12, 2015 3:30:32 PM Subject: [ovirt-users] engine-reports portal and cpu cores Hello, why we have in reports host cores but not logical cpu cores? For example in Cluster Capacity Vs. Usage report I always have more vCores then Host Cores. Thank you. ___ 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] engine-reports portal and cpu cores
Hello, why we have in reports host cores but not logical cpu cores? For example in Cluster Capacity Vs. Usage report I always have more vCores then Host Cores. Thank you. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Basic export/import question (KVM to oVirt)
01.04.2015 23:08, Bellamy, Peter пишет: Is it necessary to export VMs that are straight libvirt/KVM (raw) images before importing them into oVirt? I have a working oVirt 3.5 lab environment up I’d like to try and bring in some of my existing VMs from my straight KVM/libvirt setup. Those VMs are in raw image format. I *think* I need to export the VMs (using virt-v2v) from the KVM hosts to an export domain, then import those VM images into oVirt (using oVirt admin GUI). Is that correct, or is it simpler than that? Yes, you are absolutely right. We moved all our infrastructure from pure KVM (VM disks inside LVM) to oVirt in this way, except of FreeBSD VM's that we moved via zfs send/recv. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Users] Compiling ovirt-guest-agent on FreeBSD
19.08.2013 13:21, Karli Sjöberg пишет: mån 2013-08-19 klockan 12:11 +0200 skrev Vinzenz Feenstra: On 08/19/2013 10:01 AM, Karli Sjöberg wrote: mån 2013-08-19 klockan 09:53 +0200 skrev Michal Skrivanek: On Aug 19, 2013, at 09:41 , Karli Sjöberg karli.sjob...@slu.se mailto:karli.sjob...@slu.se wrote: Hi! As part of a template I´m preparing, I´m wondering how to compile the agent with just the basics included. I´ve tried running like: OPTIONS=' --without-gdm-plugin --without-gdm2-plugin --without-kdm-plugin --without-pam-ovirt-cred --with-gdm-plugin=no --with-gdm2-plugin=no --with-kdm-plugin=no --with-pam-ovirt-cred=no --disable-gdm-plugin --disable-gdm2-plugin --disable-kdm-plugin --disable-pam-ovirt-cred --enable-gdm-plugin=no --enable-gdm2-plugin=no --enable-kdm-plugin=no --enablepam-ovirt-cred-=no' # ./configure ${OPTIONS} Regardless of how I try, it just responds: configure: WARNING: unrecognized options: ${OPTIONS} I took the package from the official oVirt.org repo, src file: ovirt-guest-agent-1.0.6.tar.bz2 What am I doing wrong? Hi the parameters are gdm, kdm and sso, set them to no I don´t get it, it doesn´t seem to care: # ./configure --without-gdm # ./configure --with-gdm=no # ./configure --enable-gdm=no # ./configure --disable-gdm # ./configure --without-gdm --with-gdm=no --enable-gdm=no --disable-gdm configure: WARNING: unrecognized options: --without-gdm, --with-gdm, --enable-gdm, --disable-gdm this feature of disabling it was introduced to ovirt-guest-agent in 1.0.8 Try this one: http://evilissimo.fedorapeople.org/releases/ovirt-guest-agent/1.0.8/ovirt-guest-agent-1.0.8.1.tar.bz2 ./configure --without-sso --prefix=/usr You know what, sorry about the noise, because it seems as if virtio-serial isn´t even available on FreeBSD, so it´s moot anyway... Should probably have looked that up before even getting started;) But besides the fact that it won´t work until that´s sorted, I can at least say that it configured, compiled and installed OK using René´s suggestion, cloning from git and building from there. Hello! Now when virtio_console(4) driver available in CURRENT does anyone works on porting ovirt-guest-agent to FreeBSD? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Problems after upgrade to 3.5
No luck, same error. I think it's due to some misconfiguration... 09.01.2015 17:04, Martin Pavlík пишет: Hi Alexandr, for the API part try to change the entry_point as follows: whatever_the_path_was/api to whatever_the_path_was/ovirt-engine/api HTH Martin Pavlik - RHEV QE On 09 Jan 2015, at 15:24, Alexandr Krivulya shur...@shurik.kiev.ua wrote: Hello! Recently I have upgraded my installation to 3.5. Everything works fine except of two things: 1. I cannot use REST API any more - Internal server error 500 with java exception. May be I missing something? 2. Cannot import VM from Export domain to Local Storage - VM already exists error, but there are no any vms or disks on local storage. dfdiaadb.png ___ 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
Re: [ovirt-users] Problems after upgrade to 3.5
09.01.2015 18:00, Alexander Wels пишет: On Friday, January 09, 2015 05:31:20 PM Alexandr Krivulya wrote: No luck, same error. I think it's due to some misconfiguration... Hi, look in /var/log/ovirt-engine at server.log. It should contain the exception that generated the 500 error. If not there look in engine.log. I have a suspicion you will see a java.lang.NoClassDefFoundError exception related to jackson-xc. Thank you, Alexander and Martin It's java.lang.RuntimeException: Unable to instantiate MessageBodyWriter. This points me to a similar thread [1], which helps to solve the problem. 1. http://lists.ovirt.org/pipermail/users/2014-October/028370.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Problems after upgrade to 3.5
Hello! Recently I have upgraded my installation to 3.5. Everything works fine except of two things: 1. I cannot use REST API any more - Internal server error 500 with java exception. May be I missing something? 2. Cannot import VM from Export domain to Local Storage - VM already exists error, but there are no any vms or disks on local storage. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Backup
I think you could start from: - http://www.ovirt.org/Features/Backup-Restore_API_Integration - http://www.ovirt.org/Features/Backup_API - http://www.ovirt.org/Ovirt-engine-backup In our production environment we use storage filesystem snapshots with subsequent archiving (NFS over ZFS), but it can't be useful in some tasks. 03.07.2014 04:26, Punit Dambiwal ?: Hi, I have one question regarding the backup architecture for ovirt 1. How to take the backup of VM ?? 2. Is there any way we can schedule the backup of all VM's on another storage(Suppose we have two storage one for VM disks and another for VM backups) ?? 3. Is there any way to restore the backup (after point 2) ?? 4. How to take the ovirt-engine database backup and restore itis there any automated way to do this or we need to manually take the backup as we take the backup of postgresql ?? Thanks, Punit ___ 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
Re: [ovirt-users] USB support?
You can use hostusb vdsm hook: http://wiki.ovirt.org/VDSM-Hooks/hostusb 26.06.2014 21:37, Demeter Tibor пишет: Hi, Is there any possibility for using the host's usb ports for a guest? I need to migrate a physical windows based machine that using usb tokens. Thanks in advance. Tibor ___ 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] VM migration timeout
Hi! How can I adjust migration timeout? I see this error in my vdsm.log when I try to migrate one of my VM's: The migration took 130 seconds which is exceeding the configured maximum time for migrations of 128 seconds. The migration will be aborted. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt or RHEV ?
06.02.2014 17:06, Martijn Grendelman пишет: Hi, This may be the wrong place to ask, but I'm looking for input to form an opinion on an oVirt or RHEV question within my company. I have been running oVirt for about 5 months now, and I'm quite comfortable with its features and maintenance procedures. We are now planning to build a private virtualization cluster for hosting clients' applications as well as our own. Some people in the company are questioning whether we should buy RHEV, but at this point, I can't see the benefits. Can anyone on this list shed a light on when RHEV might be a better choice than oVirt? What are the benefits? The trade-offs? I am looking for pragmatic, real-world things, not marketing mumbo jumbo. That, I can get from redhat.com ;-) Best regards, Martijn. ___ IMHO, great plus for RHEV is vendor support (it's related not only to RedHat products). If you can spend days in troubleshooting - stay with ovirt. But sometimes it is not acceptable for business. I don't see any other reason. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reattach storage domain
03.02.2014 13:08, Itamar Heim пишет: On 02/03/2014 09:17 AM, Alexandr wrote: 01.02.2014 23:12, Itamar Heim пишет: On 02/01/2014 09:58 PM, Alexandr wrote: 01.02.2014 21:57, Meital Bourvine пишет: I think that it should be something like this: Method: PUT URL:https://IP/api/storageconnections/ID Body: storage_connection address/address type/type port/port target/target /storage_connection (Add the correct details to the body. - Original Message - From: Itamar Heimih...@redhat.com To: Alexandrshur...@shurik.kiev.ua,users@ovirt.org Sent: Saturday, February 1, 2014 7:58:56 PM Subject: Re: [Users] Reattach storage domain On 02/01/2014 06:56 PM, Alexandr wrote: Thank you. Can you provide me more detailed steps, I'm not familiar with rest api :( sorry i can't give more details right now: manage connection details: http://www.ovirt.org/Features/Manage_Storage_Connections rest api (and other things): https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Developer_Guide/index.html 01.02.2014 19:51, Itamar Heim пишет: On 02/01/2014 06:38 PM, Alexandr wrote: Hello! Unfortunately my master storage domain (gluster) is dead. I setup another gluster-storage and attach it to the ovirt. Hostname, path and volume name are same as old ones. Then I restored from tar archive all files. But I cannot activate master domain, operation failed and domain status remains inactive. I see - it mounted on nodes: vms02.lis.ua:STORAGE on /rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE a I attached engine.log, can someone provide me recovery steps? P.S. Sorry for my english ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users the right way to do this would be to restore it not via engine, then use the rest api to edit the storage domain connection (mount) in the engine. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I tried to change it via ovirt-shell and receive an error: [oVirt shell (connected)]# update storageconnection 4a1d8b07-f393-4134-86cc-4f46145cca2b --address vms02.lis.ua --path STORAGE error: status: 400 reason: Bad Request detail: Cannot edit Storage Connection. Storage connection parameters can be edited only for NFS, Posix, local or iSCSI data domains. alisa/derez - any reason we don't support edit connection for gluster sd? I still cannot solve my problem with a storage, and now I have started most important virtual machines directly via libvirt and set in domain xml configuration file disk configuration to disk type='file' device='disk' driver name='qemu' type='raw'/ source file='/rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE/7f9709c1-3ab6-4af8-9e58-955ef7c9452e/images/fd0bf58e-3ba1-428c-a3e2-7e5410d6bc75/4ebf1396-28ac-4851-8b86-e0f1085f735e'/ Now I have two questions: 1. If setup fresh ovirt installation how can I attach an existing gluster storage and import disks? Are http://www.ovirt.org/Features/Import_an_existing_Storage_Domain and http://www.ovirt.org/Features/Domain_Scan already implemented in 3.3.2? or 2. May be I can move these disk images into a new SD? we're working on this, but for now you can only attach a clean SD. you can later move to it the disks and register them via the domain scan Can anyone tell me how can I use domain scan to register disks? I cannot find any relevant info. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reattach storage domain
01.02.2014 23:12, Itamar Heim пишет: On 02/01/2014 09:58 PM, Alexandr wrote: 01.02.2014 21:57, Meital Bourvine пишет: I think that it should be something like this: Method: PUT URL:https://IP/api/storageconnections/ID Body: storage_connection address/address type/type port/port target/target /storage_connection (Add the correct details to the body. - Original Message - From: Itamar Heimih...@redhat.com To: Alexandrshur...@shurik.kiev.ua,users@ovirt.org Sent: Saturday, February 1, 2014 7:58:56 PM Subject: Re: [Users] Reattach storage domain On 02/01/2014 06:56 PM, Alexandr wrote: Thank you. Can you provide me more detailed steps, I'm not familiar with rest api :( sorry i can't give more details right now: manage connection details: http://www.ovirt.org/Features/Manage_Storage_Connections rest api (and other things): https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Developer_Guide/index.html 01.02.2014 19:51, Itamar Heim пишет: On 02/01/2014 06:38 PM, Alexandr wrote: Hello! Unfortunately my master storage domain (gluster) is dead. I setup another gluster-storage and attach it to the ovirt. Hostname, path and volume name are same as old ones. Then I restored from tar archive all files. But I cannot activate master domain, operation failed and domain status remains inactive. I see - it mounted on nodes: vms02.lis.ua:STORAGE on /rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE a I attached engine.log, can someone provide me recovery steps? P.S. Sorry for my english ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users the right way to do this would be to restore it not via engine, then use the rest api to edit the storage domain connection (mount) in the engine. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I tried to change it via ovirt-shell and receive an error: [oVirt shell (connected)]# update storageconnection 4a1d8b07-f393-4134-86cc-4f46145cca2b --address vms02.lis.ua --path STORAGE error: status: 400 reason: Bad Request detail: Cannot edit Storage Connection. Storage connection parameters can be edited only for NFS, Posix, local or iSCSI data domains. alisa/derez - any reason we don't support edit connection for gluster sd? I still cannot solve my problem with a storage, and now I have started most important virtual machines directly via libvirt and set in domain xml configuration file disk configuration to disk type='file' device='disk' driver name='qemu' type='raw'/ source file='/rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE/7f9709c1-3ab6-4af8-9e58-955ef7c9452e/images/fd0bf58e-3ba1-428c-a3e2-7e5410d6bc75/4ebf1396-28ac-4851-8b86-e0f1085f735e'/ Now I have two questions: 1. If setup fresh ovirt installation how can I attach an existing gluster storage and import disks? Are http://www.ovirt.org/Features/Import_an_existing_Storage_Domain and http://www.ovirt.org/Features/Domain_Scan already implemented in 3.3.2? or 2. May be I can move these disk images into a new SD? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reattach storage domain
Thank you. Can you provide me more detailed steps, I'm not familiar with rest api :( 01.02.2014 19:51, Itamar Heim пишет: On 02/01/2014 06:38 PM, Alexandr wrote: Hello! Unfortunately my master storage domain (gluster) is dead. I setup another gluster-storage and attach it to the ovirt. Hostname, path and volume name are same as old ones. Then I restored from tar archive all files. But I cannot activate master domain, operation failed and domain status remains inactive. I see - it mounted on nodes: vms02.lis.ua:STORAGE on /rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE I attached engine.log, can someone provide me recovery steps? P.S. Sorry for my english ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users the right way to do this would be to restore it not via engine, then use the rest api to edit the storage domain connection (mount) in the engine. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reattach storage domain
01.02.2014 21:57, Meital Bourvine пишет: I think that it should be something like this: Method: PUT URL: https://IP/api/storageconnections/ID Body: storage_connection address/address type/type port/port target/target /storage_connection (Add the correct details to the body. - Original Message - From: Itamar Heim ih...@redhat.com To: Alexandr shur...@shurik.kiev.ua, users@ovirt.org Sent: Saturday, February 1, 2014 7:58:56 PM Subject: Re: [Users] Reattach storage domain On 02/01/2014 06:56 PM, Alexandr wrote: Thank you. Can you provide me more detailed steps, I'm not familiar with rest api :( sorry i can't give more details right now: manage connection details: http://www.ovirt.org/Features/Manage_Storage_Connections rest api (and other things): https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Developer_Guide/index.html 01.02.2014 19:51, Itamar Heim пишет: On 02/01/2014 06:38 PM, Alexandr wrote: Hello! Unfortunately my master storage domain (gluster) is dead. I setup another gluster-storage and attach it to the ovirt. Hostname, path and volume name are same as old ones. Then I restored from tar archive all files. But I cannot activate master domain, operation failed and domain status remains inactive. I see - it mounted on nodes: vms02.lis.ua:STORAGE on /rhev/data-center/mnt/glusterSD/vms02.lis.ua:STORAGE a I attached engine.log, can someone provide me recovery steps? P.S. Sorry for my english ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users the right way to do this would be to restore it not via engine, then use the rest api to edit the storage domain connection (mount) in the engine. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I tried to change it via ovirt-shell and receive an error: [oVirt shell (connected)]# update storageconnection 4a1d8b07-f393-4134-86cc-4f46145cca2b --address vms02.lis.ua --path STORAGE error: status: 400 reason: Bad Request detail: Cannot edit Storage Connection. Storage connection parameters can be edited only for NFS, Posix, local or iSCSI data domains. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Cannot start VM
23.01.2014 15:22, Alexandr пишет: Hi! I built small ovirt cluster with one dedicated node (A) and one node (B) with engine and gluster storage. Test VM succesfuly started at node A, but cannot start at node B. In an engine.log I see error could not open disk image ... Permission denied. SELinux disabled on both nodes. All nodes on Centos 6 with ovirt 3.3.2-1.el6. Could you help me? P.S. Node B also runs a few VM's, not managed by ovirt with disks in lvm-volumes. I found difference between two nodes - node A has qemu-kvm-0.12.1.2-2.415.el6_5.3, but node B has qemu-kvm-rhev-0.12.1.2-2.355.el6. What is the difference between them and what package should I use? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [SOLVED] Cannot start VM
24.01.2014 09:31, Alexandr пишет: 23.01.2014 15:22, Alexandr пишет: Hi! I built small ovirt cluster with one dedicated node (A) and one node (B) with engine and gluster storage. Test VM succesfuly started at node A, but cannot start at node B. In an engine.log I see error could not open disk image ... Permission denied. SELinux disabled on both nodes. All nodes on Centos 6 with ovirt 3.3.2-1.el6. Could you help me? P.S. Node B also runs a few VM's, not managed by ovirt with disks in lvm-volumes. I found difference between two nodes - node A has qemu-kvm-0.12.1.2-2.415.el6_5.3, but node B has qemu-kvm-rhev-0.12.1.2-2.355.el6. What is the difference between them and what package should I use? Three steps to solve my issue on node B: 1. install qemu-kvm-0.12.1.2-2.415.el6_5.3 2. set correct permissions on /var/lib/libvirtd/qemu 3. add qemu user to group kvm ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Cannot start VM
Hi! I built small ovirt cluster with one dedicated node (A) and one node (B) with engine and gluster storage. Test VM succesfuly started at node A, but cannot start at node B. In an engine.log I see error could not open disk image ... Permission denied. SELinux disabled on both nodes. All nodes on Centos 6 with ovirt 3.3.2-1.el6. Could you help me? P.S. Node B also runs a few VM's, not managed by ovirt with disks in lvm-volumes. logs.tar.gz Description: application/gzip ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] xfs options for gluster storage
Hi! I want to build small gluster storage with two nodes, 2x3Tb HDD in md-mirror on each. What parameters should I use in mkfs.xfs for optimal perfomance with ovirt? Should I use -s size=4k or something else? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Upgrade 3.1 to 3.2
07.03.2013 10:16, Neil пишет: Hi guys, Does anyone have any successful upgrades from 3.1 to 3.2 using Centos 6.3 and the Dreyou repos? I'm using ovirt 3.1 on our own production systems and would like to know the recommended upgrade methods/paths. I don't see much in the way of upgrade paths for any distributions for that matter. I've done quite a lot of googling and can't find much, also checked on the ovirt website for any possible guides or methods without much success. Thanks in advance. Regards. Neil Wilson. Have you seen this article http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] local usb device
Hello! Can anyone tell me how can I redirect into VM local usb device plugged into ovirt node's usb port? Currently with libvirt and kvm it works this way: hostdev mode='subsystem' type='usb' managed='yes' source address bus='1' device='3'/ /source /hostdev I do not have any X11 environment on my node (Centos 6.3) and I cannot use spice client. signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] local usb device
14.11.2012 18:15, Itamar Heim пишет: On 11/14/2012 03:58 PM, Alexandr wrote: Hello! Can anyone tell me how can I redirect into VM local usb device plugged into ovirt node's usb port? Currently with libvirt and kvm it works this way: hostdev mode='subsystem' type='usb' managed='yes' source address bus='1' device='3'/ /source /hostdev I do not have any X11 environment on my node (Centos 6.3) and I cannot use spice client. http://wiki.ovirt.org/wiki/VDSM-Hooks http://wiki.ovirt.org/wiki/VDSM-Hooks_Catalogue http://wiki.ovirt.org/wiki/VDSM-Hooks/hostusb HTH, Itamar Thank you, it's exactly that I want. signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users