[Users] Newbie: some questions on ovirt
Hello, I am evaluating ovirt as a developer virtualization solution and a virtualizer for fast provisioning of software in SOHO market (I send entire vms preconfigured) I use ovirt on centos6 with glusterfs. So I have these questions that I have not found the reply in forums: - In my lab I use spice protocol in a gigabit ethernet, and I use an old thinkpad as terminal, so I would like to disable compression because spice rendering is slow; - I have created some snapshots but I cannot see them in the snapshot list, what do I need to check? I would like to export/import snapshot for backups and to provision them: can you tell me best way to automatize it? Thanks in advance for help! Mario ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Newbie: some questions on ovirt
On 10/04/2013 10:39 AM, Mario Giammarco wrote: Hello, I am evaluating ovirt as a developer virtualization solution and a virtualizer for fast provisioning of software in SOHO market (I send entire vms preconfigured) I use ovirt on centos6 with glusterfs. I assume you are using a posixfs storage domain? So I have these questions that I have not found the reply in forums: - In my lab I use spice protocol in a gigabit ethernet, and I use an old thinkpad as terminal, so I would like to disable compression because spice rendering is slow; adding spice-devel on this one - I have created some snapshots but I cannot see them in the snapshot list, what do I need to check? please send a separate email for this issue with rpm-version/screenshot/logs I would like to export/import snapshot for backups and to provision them: can you tell me best way to automatize it? iirc, export of snapshot is not there only of VM, so you would need to clone the snapshot first (ayal/federico?) to automate, you can use the python or java sdk/cli. in a few weeks hopefully the new backup api will be there which may be relevant as well to what you are trying to do: http://www.ovirt.org/Features/Backup-Restore_API_Integration Thanks in advance for help! Mario ___ 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: [Users] Migration issues with ovirt 3.3
On 10/03/2013 06:12 PM, Gianluca Cecchi wrote: On Wed, Oct 2, 2013 at 12:07 AM, Jason Brooks wrote: I'm having this issue on my ovirt 3.3 setup (two node, one is AIO, GlusterFS storage, both on F19) as well. Jason Me too with oVirt 3.3 setup and GlusterFS DataCenter. One dedicated engine + 2 vdsm hosts. All fedora 19 + ovirt stable. My trying to migrate VM is CentOS 6.4 fully updated centos qemu/libvirt versions don't support glusterfs storage domain yet. 6.5 would be needed. we're trying to find a solution until then. After trying to migrate in webadmin gui I get: VM c6s is down. Exit message: 'iface'. For a few moments the VM appears as down in the GUI but actually an ssh session I had before is still alive. Also the qemu process on source host is still there. After a little, the VM results again as Up in the source node from the gui Actually it never stopped: [root@c6s ~]# uptime 16:36:56 up 19 min, 1 user, load average: 0.00, 0.00, 0.00 At target many errors such as Thread-8609::ERROR::2013-10-03 16:17:13,086::task::850::TaskManager.Task::(_setError) Task=`a102541e-fbe5-46a3-958c-e5f4026cac8c`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 857, in _run return fn(*args, **kargs) File /usr/share/vdsm/logUtils.py, line 45, in wrapper res = f(*args, **kwargs) File /usr/share/vdsm/storage/hsm.py, line 2123, in getAllTasksStatuses allTasksStatus = sp.getAllTasksStatuses() File /usr/share/vdsm/storage/securable.py, line 66, in wrapper raise SecureError() SecureError But relevant perhaps is around the time of migration (16:33-16:34) Thread-9968::DEBUG::2013-10-03 16:33:38,811::task::1168::TaskManager.Task::(prepare) Task=`6c1d3161-edcd-4344-a32a-4a18f75f5ba3`::finished: {'taskStatus': {'code': 0, 'message': 'Task is initializing', 'taskState': 'running', 'taskResult': '', 'taskID': '0eaac2f3-3d25-4c8c-9738-708aba290404'}} Thread-9968::DEBUG::2013-10-03 16:33:38,811::task::579::TaskManager.Task::(_updateState) Task=`6c1d3161-edcd-4344-a32a-4a18f75f5ba3`::moving from state preparing - state finished Thread-9968::DEBUG::2013-10-03 16:33:38,811::resourceManager::939::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-9968::DEBUG::2013-10-03 16:33:38,812::resourceManager::976::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-9968::DEBUG::2013-10-03 16:33:38,812::task::974::TaskManager.Task::(_decref) Task=`6c1d3161-edcd-4344-a32a-4a18f75f5ba3`::ref 0 aborting False 0eaac2f3-3d25-4c8c-9738-708aba290404::ERROR::2013-10-03 16:33:38,847::task::850::TaskManager.Task::(_setError) Task=`0eaac2f3-3d25-4c8c-9738-708aba290404`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 857, in _run return fn(*args, **kargs) File /usr/share/vdsm/storage/task.py, line 318, in run return self.cmd(*self.argslist, **self.argsdict) File /usr/share/vdsm/storage/sp.py, line 272, in startSpm self.masterDomain.acquireHostId(self.id) File /usr/share/vdsm/storage/sd.py, line 458, in acquireHostId self._clusterLock.acquireHostId(hostId, async) File /usr/share/vdsm/storage/clusterlock.py, line 189, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('d0b96d4a-62aa-4e9f-b50e-f7a0cb5be291', SanlockException(5, 'Sanlock lockspace add failure', 'Input/output error')) 0eaac2f3-3d25-4c8c-9738-708aba290404::DEBUG::2013-10-03 16:33:38,847::task::869::TaskManager.Task::(_run) Task=`0eaac2f3-3d25-4c8c-9738-708aba290404`::Task._run: 0eaac2f3-3d25-4c8c-9738-708aba290404 () {} failed - stopping task 0eaac2f3-3d25-4c8c-9738-708aba290404::DEBUG::2013-10-03 16:33:38,847::task::1194::TaskManager.Task::(stop) Task=`0eaac2f3-3d25-4c8c-9738-708aba290404`::stopping in state running (force False) Instead at source: Thread-10402::ERROR::2013-10-03 16:35:03,713::vm::244::vm.Vm::(_recover) vmId=`4147e0d3-19a7-447b-9d88-2ff19365bec0`::migration destination error: Error creating the requested VM Thread-10402::ERROR::2013-10-03 16:35:03,740::vm::324::vm.Vm::(run) vmId=`4147e0d3-19a7-447b-9d88-2ff19365bec0`::Failed to migrate Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 311, in run self._startUnderlyingMigration() File /usr/share/vdsm/vm.py, line 347, in _startUnderlyingMigration response['status']['message']) RuntimeError: migration destination error: Error creating the requested VM Thread-1161::DEBUG::2013-10-03 16:35:04,243::fileSD::238::Storage.Misc.excCmd::(getReadDelay) '/usr/bin/dd iflag=direct if=/rhev/data-center/mnt/glusterSD/f18ovn01.mydomain:gvdata/d0b96d4a-62aa-4e9f-b50e-f7a0cb5be291/dom_md/metadata bs=4096 count=1' (cwd None) Thread-1161::DEBUG::2013-10-03 16:35:04,262::fileSD::238::Storage.Misc.excCmd::(getReadDelay) SUCCESS: err = '0+1 records in\n0+1 records out\n512 bytes (512 B) copied, 0.0015976 s, 320 kB/s\n'; rc = 0
Re: [Users] ovirt 3.3 and ilo2 for power fencing?
On Fri, Oct 4, 2013 at 10:52 AM, René Koch (ovido) wrote: Hosts only get fenced when they aren't reachable, not during tests and also not if you confirm changes to power management settings - or at least I've never seen an issue with this. Ok. Thanks for clarifying this You can test fence_ilo2 from command line (if you try a reboot from command line I suggest to set the host into maintenance mode in oVirt as otherwise oVirt tries to fence the host too and ILO/IPMI interfaces sometimes show strange behavior when resetting it twice): # /usr/sbin/fence_ilo2 --help These same blades was configured in the past with RHCS and RHEL 5.x I've already used fence_ilo2, fence_drac5 and fence_ipmilan in both RHEL/CentOS 5.x and 6.y I remember in the past the logic changed regarding fencing So sometimes there was this workflow depending on agent and its actions' support: poweroff status poweron And sometimes there were problems in timing responses so that the node remained in power off state. I also opened a bug for this with an improved suggestion, I don't remeber right now some years ago for the python script So the question is about how gui settings translates into fence_ilo2 generated command so that I can reproduce it Thanks for the suggestion about putting host into maintenance If ilo fencing isn't working as expected (e.g. host gets powered off instead of rebooted even if action is set to reboot you could try if fence_ipmilan does the trick. You could also check if you're using the latest BIOS version... Eventually I'll try it. Blades bios is the latest available as they don't receive updates any more. For iLO2 fw I think they are on 2.x version even if the better release probabbly was around 1.80 I'll check also this Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.3 gluster volume active but unable to activate domain
On 10/04/2013 12:54 AM, Gianluca Cecchi wrote: On messages of vdsm hosts Oct 3 23:05:57 f18ovn03 sanlock[1146]: 2013-10-03 23:05:57+0200 16624 [13543]: read_sectors delta_leader offset 512 rv -5 /rhev/data-center/mnt/glusterSD/f18ovn01.mydomain:gvdata/d0b96d4a-62aa-4e9f-b50e-f7a0cb5be291/dom_md/ids Oct 3 23:05:58 f18ovn03 sanlock[1146]: 2013-10-03 23:05:58+0200 16625 [1155]: s2142 add_lockspace fail result -5 Oct 3 23:04:24 f18ovn01 sanlock[1166]: 2013-10-03 23:04:24+0200 16154 [1172]: s2688 add_lockspace fail result -5 Oct 3 23:04:24 f18ovn01 vdsm TaskManager.Task ERROR Task=`bd6b0848-4550-483e-9002-e3051a2e1074`::Unexpected error Oct 3 23:04:25 f18ovn01 vdsm TaskManager.Task ERROR Task=`f2ac595d-cc9d-4125-a7be-7b8706cc9ee3`::Unexpected error Oct 3 23:04:25 f18ovn01 vdsm TaskManager.Task ERROR Task=`6c03be35-57f1-405e-b127-bd708defad67`::Unexpected error Oct 3 23:04:26 f18ovn01 sanlock[1166]: 2013-10-03 23:04:26+0200 16157 [21348]: read_sectors delta_leader offset 0 rv -5 /rhev/data-center/mnt/glusterSD/f18ovn01.mydomain:gvdata/d0b96d4a-62aa-4e9f-b50e-f7a0cb5be291/dom_md/ids Oct 3 23:04:27 f18ovn01 sanlock[1166]: 2013-10-03 23:04:27+0200 16158 [1172]: s2689 add_lockspace fail result -5 But the origin possibly is a split brain detected at gluster level I see it in rhev-data-center-mnt-glusterSD-f18ovn01.mydomain:gvdata.log this afternoon around the time I had installed the first guest and ran a shutdown and a power on. see: https://docs.google.com/file/d/0BwoPbcrMv8mvNHNOVlNrOFFabjQ/edit?usp=sharing Why gluster logs are two hours behind? UTC? Any way to set them with the current system time? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users do you happen to know why it got into a split brain status? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.3 gluster volume active but unable to activate domain
On Fri, Oct 4, 2013 at 11:30 AM, Itamar Heim wrote: do you happen to know why it got into a split brain status? I suppose with the fist migration attempt. But last night I replicated but I only got the heal for ids file, that gluster apparently solved itself. Possibly the bug about ide can influence the migration problem and the possible gluster split brain? What does it contain dom_md/ids file and when does it get updated? During install of OS, and yum update it seems all was ok and no heal about disk file itself SO I presume the metadata update not correctly managed someway could induce gluster coherence on this ids file Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Monitoring UI-Plugin 0.1 released
I'm happy to announce version 0.1 of Monitoring UI-Plugin for oVirt and RHEV. This UI-Plugin for oVirt and RHEV integrates an existing Nagios or Icinga monitoring solution into oVirt and RHEV and displays detailed service status information for data centers, clusters, hosts, storage domains, virtual machines and pools including performance graphs. Download this plugin from: https://github.com/monitoring-ui-plugin/development/releases/monitoring-ui-plugin-0.1 For further information on how to install this plugin visit: https://github.com/monitoring-ui-plugin/development/wiki/Installation-Documentation A detailed usage documentation can be found here: https://github.com/monitoring-ui-plugin/development/wiki/Usage-Documentation Changelog: New Features: * Rewrite of Backend-Code * Configuration files for Monitoring UI-Plugin * Mapping of hosts/vms when names differ in oVirt/RHEV and Nagios/Icinga * New data backend provider infrastructure supporting * NDOUtils (MySQL-Database) * IDOUtils (MySQL-Database) * IDOUtils (PostgreSQL-Database) * mk-livestatus (Unix-socket) * mk-livestatus (TCP-connection) * New graph backend provider infrastructure supporting * PNP4Nagios * Service check results, details and graphs for * Data Centers * Clusters * Storage Domains * Pools * Refresh and automatic refresh of service check results * Resizable Tables * Logging to logfile * Installation with autotools support * Perl pod documentation * FastCGI support * Cached database connections * JavaScript templates * jQuery and jQueryUI upgrades * Supported virtualization platforms * RHEV 3.2 * oVirt 3.2 * oVirt 3.3 * experimental SELinux support * RPMs for Red Hat Enterprise Linux 6 and CentOS 6 Bugs fixed: * CSS issues in Internet Explorer and Google Chrome Infrastructure: * Renamed to Monitoring UI-Plugin as it supports RHEV now, too * Moved project to github * Project URL: https://github.com/monitoring-ui-plugin/development * Project Wiki: https://github.com/monitoring-ui-plugin/development/wiki If you have any questions or ideas, please drop me an email: r.k...@ovido.at. Thank you for using Monitoring UI-plugin. -- Best Regards René Koch Senior Solution Architect ovido gmbh - open source solutins Brünner Straße 163, A-1210 Vienna Phone: +43 720 / 530 670 Mobile: +43 660 / 512 21 31 E-Mail: r.k...@ovido.at ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Migration issues with ovirt 3.3
Hi, if I understand Gianluca correct he has setup the ManagementNode and 2 ComputeNodes with Fedora 19. CentOS 6.4 is the VM-OS (inside the VM). So this should work? HTH Sven On 04/10/13 11:29, Itamar Heim wrote: Me too with oVirt 3.3 setup and GlusterFS DataCenter. One dedicated engine + 2 vdsm hosts. All fedora 19 + ovirt stable. My trying to migrate VM is CentOS 6.4 fully updated centos qemu/libvirt versions don't support glusterfs storage domain yet. 6.5 would be needed. we're trying to find a solution until then. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Monitoring UI-Plugin 0.1 released
On Oct 4, 2013, at 11:36 , René Koch (ovido) r.k...@ovido.at wrote: I'm happy to announce version 0.1 of Monitoring UI-Plugin for oVirt and RHEV. This UI-Plugin for oVirt and RHEV integrates an existing Nagios or Icinga monitoring solution into oVirt and RHEV and displays detailed service status information for data centers, clusters, hosts, storage domains, virtual machines and pools including performance graphs. Download this plugin from: https://github.com/monitoring-ui-plugin/development/releases/monitoring-ui-plugin-0.1 For further information on how to install this plugin visit: https://github.com/monitoring-ui-plugin/development/wiki/Installation-Documentation A detailed usage documentation can be found here: https://github.com/monitoring-ui-plugin/development/wiki/Usage-Documentation Looks great, can be really helpful for troubleshooting! Thanks, michal Changelog: New Features: * Rewrite of Backend-Code * Configuration files for Monitoring UI-Plugin * Mapping of hosts/vms when names differ in oVirt/RHEV and Nagios/Icinga * New data backend provider infrastructure supporting * NDOUtils (MySQL-Database) * IDOUtils (MySQL-Database) * IDOUtils (PostgreSQL-Database) * mk-livestatus (Unix-socket) * mk-livestatus (TCP-connection) * New graph backend provider infrastructure supporting * PNP4Nagios * Service check results, details and graphs for * Data Centers * Clusters * Storage Domains * Pools * Refresh and automatic refresh of service check results * Resizable Tables * Logging to logfile * Installation with autotools support * Perl pod documentation * FastCGI support * Cached database connections * JavaScript templates * jQuery and jQueryUI upgrades * Supported virtualization platforms * RHEV 3.2 * oVirt 3.2 * oVirt 3.3 * experimental SELinux support * RPMs for Red Hat Enterprise Linux 6 and CentOS 6 Bugs fixed: * CSS issues in Internet Explorer and Google Chrome Infrastructure: * Renamed to Monitoring UI-Plugin as it supports RHEV now, too * Moved project to github * Project URL: https://github.com/monitoring-ui-plugin/development * Project Wiki: https://github.com/monitoring-ui-plugin/development/wiki If you have any questions or ideas, please drop me an email: r.k...@ovido.at. Thank you for using Monitoring UI-plugin. -- Best Regards René Koch Senior Solution Architect ovido gmbh - open source solutins Brünner Straße 163, A-1210 Vienna Phone: +43 720 / 530 670 Mobile: +43 660 / 512 21 31 E-Mail: r.k...@ovido.at ___ 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: [Users] Migration issues with ovirt 3.3
On Fri, Oct 4, 2013 at 11:39 AM, Sven Kieske wrote: Hi, if I understand Gianluca correct he has setup the ManagementNode and 2 ComputeNodes with Fedora 19. CentOS 6.4 is the VM-OS (inside the VM). So this should work? Yes, this is my environment with plain F19 systems installed and updated as of yesterday and ovirt repo stable enabled. CentOS 6.4 x86_64 was configured as a server in oVirt, but wanting to generate some significant I/O during install to test Gluster efficiency I choosed Gnome Desktop in CentOS anaconda phase. This led to 1089 packages installed. After reboot I ran yum update on the VM, enabled epel and installed the new ovirt-guest-agent so that I was correctly able to see ip and kernel of the VM from the webadmin GUI. But then I incurred in these problems with preliminary tests, donna if correlated or not: - migration issue - shutdown (so power off ) and power on error see: https://bugzilla.redhat.com/show_bug.cgi?id=1007980 that coud be related to both of them - gluster split brain Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Gluster network info
On 10/03/2013 09:27 PM, Livnat Peer wrote: On 10/03/2013 03:45 PM, Gianluca Cecchi wrote: On Thu, Oct 3, 2013 at 2:08 PM, Dan Kenigsberg wrote: SO the question is : what about ovirtmgmt network for gluster replication when gluster domain is provided by ovirt nodes? I suppose it could be a problem too, couldn't it? yes that is correct, using ovirtmgmt for non management traffic is not a good idea. In case I have a dedicated network for gluster for the nodes, how can i configure it? Generally there two ways to go about this: 1. add a new network role 'gluster replication' and then adjust the engine code to pass the network with this role as parameter to the replication verb in VDSM. 2. in the replication verb in the UI let the user choose which network to use for the replication. I am not familiar with the replication verb so I might be missing something but otherwise I think that solution 2 is more simple and less invasive then requiring a new network role. Bala, is there a means to select, for each node, which IP address is to be used for replication? AFAICT we use the host fqdn, which most probably resolves to the ovirtmgmt device. what is replication verb in the UI? Inside UI when I click create volume and then add Bricks buttons I can only select Server that in my case is a drop down menu containing only ip addresses of my 2 hypervisors Or simply do you mean development steps to integrate this missing functionality in oVirt with steps 1. and 2.? I am probably missing some background around Gluster, could you share what triggers the gluster replication? [Adding Amar from gluster team] There's no user interface way to trigger replication. Gianluca, I assume you do not mean geo-replication but replication of files when volume is of replicated type. Currently, we do not have a way to specify the network to be used when gluster communicates with peers. Like Joop mentioned in a separate mail, if you use FQDN to add host to the engine, and FQDN resolves differently for internal and external communication, gluster would then use the internal network for its communication thanks sahina Thanks, Gianluca ___ 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: [Users] Gluster network info
On Fri, Oct 4, 2013 at 12:01 PM, Sahina Bose wrote: There's no user interface way to trigger replication. Gianluca, I assume you do not mean geo-replication but replication of files when volume is of replicated type. YesSahina, I mean replication of files when volume is of replicated type (in my case distributed replicated) Currently, we do not have a way to specify the network to be used when gluster communicates with peers. Like Joop mentioned in a separate mail, if you use FQDN to add host to the engine, and FQDN resolves differently for internal and external communication, gluster would then use the internal network for its communication OK, eventuallt I'm going to try this way. Do you think it would work if without dns at all for a test environment I set up this way mgmt lan 192.x gluster network 10.x server hostnames involved engine node01 node02 In /etc/hosts of engine 192.xxx engine 192.yyy node01 192.zzz node02 In /etc/hosts of nodes 192.xxx engine 10.yyy node01 10.zzz node02 and accordingly in sysconfig files of nodes for their hostnames/ip bindng And when I preconfigure gluster on nodes I use on node01 the command gluster peer probe node02 Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Gluster network info
On 10/04/2013 03:40 PM, Gianluca Cecchi wrote: On Fri, Oct 4, 2013 at 12:01 PM, Sahina Bose wrote: There's no user interface way to trigger replication. Gianluca, I assume you do not mean geo-replication but replication of files when volume is of replicated type. YesSahina, I mean replication of files when volume is of replicated type (in my case distributed replicated) Currently, we do not have a way to specify the network to be used when gluster communicates with peers. Like Joop mentioned in a separate mail, if you use FQDN to add host to the engine, and FQDN resolves differently for internal and external communication, gluster would then use the internal network for its communication OK, eventuallt I'm going to try this way. Do you think it would work if without dns at all for a test environment I set up this way mgmt lan 192.x gluster network 10.x server hostnames involved engine node01 node02 In /etc/hosts of engine 192.xxx engine 192.yyy node01 192.zzz node02 In /etc/hosts of nodes 192.xxx engine 10.yyy node01 10.zzz node02 and accordingly in sysconfig files of nodes for their hostnames/ip bindng And when I preconfigure gluster on nodes I use on node01 the command gluster peer probe node02 I believe it should. When you add host to engine you would use node01. Please let us know how it goes, thanks again sahina Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Newbie: some questions on ovirt
Thanks for so quick and detailed reply! I use ovirt on centos6 with glusterfs. I assume you are using a posixfs storage domain? Yes posixfx not glusterfs. rendering is slow; adding spice-devel on this one Thanks, to be more precise rendering is laggy - I have created some snapshots but I cannot see them in the snapshot list, what do I need to check? please send a separate email for this issue with rpm-version/screenshot/logs Ok, which logs? http://www.ovirt.org/Features/Backup-Restore_API_Integration Ok I will check these api ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Migration issues with ovirt 3.3
On 10/04/2013 12:39 PM, Sven Kieske wrote: Hi, if I understand Gianluca correct he has setup the ManagementNode and 2 ComputeNodes with Fedora 19. CentOS 6.4 is the VM-OS (inside the VM). So this should work? yes, it should. HTH Sven On 04/10/13 11:29, Itamar Heim wrote: Me too with oVirt 3.3 setup and GlusterFS DataCenter. One dedicated engine + 2 vdsm hosts. All fedora 19 + ovirt stable. My trying to migrate VM is CentOS 6.4 fully updated centos qemu/libvirt versions don't support glusterfs storage domain yet. 6.5 would be needed. we're trying to find a solution until then. ___ 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: [Users] Newbie: some questions on ovirt
On 10/04/2013 01:58 PM, Mario Giammarco wrote: Thanks for so quick and detailed reply! I use ovirt on centos6 with glusterfs. I assume you are using a posixfs storage domain? Yes posixfx not glusterfs. rendering is slow; adding spice-devel on this one Thanks, to be more precise rendering is laggy - I have created some snapshots but I cannot see them in the snapshot list, what do I need to check? please send a separate email for this issue with rpm-version/screenshot/logs Ok, which logs? engine log, vdsm log http://www.ovirt.org/Features/Backup-Restore_API_Integration Ok I will check these api ___ 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: [Users] Customizing node configuration
On 10/03/2013 01:09 AM, Allen Belletti wrote: Have since learned that what I did was equivalent to using the persist command, and known not to work for modprobe and other things early in the boot process. Have also discovered that even mounting / read-write and using mount --bind to get at what's under /etc doesn't help. Am assuming that the live-rw filesystem is created at boot time from an image, and can't be modified short of building from source. Is that correct? It looks like perhaps what I want to do is install the ovirt-node packages onto my OS of choice (CentOS 6.4, currently.) Will do some reading and trying to see if that's possible. I see that it's documented on FC19 but would prefer to remain with CentOS. you don't need to install packages from node into centos, just point ovirt-engine add-host dialog to the host and it will bootstrap with all needed packages (assuming the target host has the relevant repo configured). to change something in the node you can build your own node as well Any tips are appreciated of course! Thanks, Allen Belletti AVP Ed. Tech Engineering Innovation Georgia Gwinnett College 678-407-5093 www.ggc.edu *From:* users-boun...@ovirt.org users-boun...@ovirt.org on behalf of Allen Belletti al...@ggc.edu *Sent:* Wednesday, October 02, 2013 4:40 PM *To:* users@ovirt.org *Subject:* [Users] Customizing node configuration Hello All, I've been searching the archives and not yet managed to find anything on the subject, so I'm hoping that someone can point me in the right direction. I am using nodes with Intel 10G network cards. The driver for these cards has been tweaked to complain (and fail to start the interface) if a non-Intel approved optical transceiver is in use. It's easy to override with the following options: ixgbe.allow_unsupported_sfp=1 The usual ways of doing this are either to place it on the kernel command line at boot time, or in /etc/modprobe.d/ixgbe.conf where it would read options ixgbe allow_unsupported_sfp=1. Unfortunately I have no idea how to make either of these permanent on an oVirt node. I'm running the ovirt-node-iso-3.0.1-1.0.2.vdsm.el6.iso image. It has an /etc/modprobe.d directory where changes do not persist across reboots. It also has /config/etc where I've added modprobe.d and modprobe.d/ixgbe.conf. By adding this file to /config/files, I've been able to make it appear in /etc/modprobe.d at boot time. This has no effect. It appears to take place after the ixgbe driver has already been started. If I rmmod ixgbe and modprobe ixgbe manually, it works fine. So the general question is, how do I make configuration changes which persist across reboots? Surely others have run into the same situation when trying to support specific devices. Thanks, Allen Belletti AVP Ed. Tech Engineering Innovation Georgia Gwinnett College 678-407-5093 www.ggc.edu ___ 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: [Users] Understanding Console Options
On 10/03/2013 02:29 AM, Christian Hernandez wrote: Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Agreed Maybe this is just a ploy to get everyone to use Spice? ...if that's the case; when are we going to get Spice plugin for Mac OSX? to answer both. 1. its not a ploy, its actually to solve the problem for platforms without plugins for spice or vnc (no platform has a plugin for vnc). 2. virt-viewer supports both windows and linux http://www.spice-space.org/download.html i remember there is a client for mac as well actually, i suggest asking on: http://lists.freedesktop.org/mailman/listinfo/spice-devel 3. you can write a small wrapper script and associate it with the .vv file (hopefully, someone will do this and attach an example for others). this will work for both vnc of your choice and spice on any platform HTH, Itamar Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Oct 2, 2013 at 4:20 PM, Haoyang Haven Liu haven@ucla.edu mailto:haven@ucla.edu wrote: The replacement of VNC popup with a .vv file download seems like a (or several) step backward. Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Haven On Sep 30, 2013, at 2:08 AM, Frantisek Kobzik fkob...@redhat.com mailto:fkob...@redhat.com wrote: Hello Nick, concerning the 3rd screenshot - that was a bug in oVirt, but the fix has been already merged. About the VNC popup - indeed, it has been removed. The only way to get the VNC connection information is using 'Native' mode in Console options dialog and then open incoming .vv file (e.g. using text editor, script...). I suppose the virt-viewer association with .vv file must be turned off (otherwise virt-viewer will pop up instantly). Regards, Frank. - Original Message - From: Nicholas Kesick cybertimber2...@hotmail.com mailto:cybertimber2...@hotmail.com To: oVirt Mailing List users@ovirt.org mailto:users@ovirt.org Sent: Saturday, September 28, 2013 11:09:14 PM Subject: [Users] Understanding Console Options I'm trying to understand the various console options for a wiki page. Can someone make sure what I have in the attachments are right? Also when a VM is set to Spice and I open Console Options (at least in IE 10 for me, need to test further), it opens to Remote Desktop. Are these active yet? I don't see RDP as an option under Edit Console. Finally, is there any way to get the VNC option that we had in oVirt 3.2 that would pop up with a port number and password to use with a local client? - Nick ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ 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: [Users] oVirt Solaris support
On 09/17/2013 04:39 PM, René Koch (ovido) wrote: On Tue, 2013-09-17 at 14:38 +0300, Itamar Heim wrote: On 09/17/2013 02:23 PM, Ren Koch (ovido) wrote: On Mon, 2013-09-16 at 19:16 +0200, Gianluca Cecchi wrote: On Mon, Sep 16, 2013 at 6:39 PM, René Koch (ovido) wrote: and what about the qemu command line produced by virt-manager ? Good point - here's the command line of Sol11 with virt-manager on this oVirt host: Could it be that the -cpu Nehalem in some way can influence the problem? It only appears in oVirt generated command line Yes, indeed it does (even I have no clue how this can influence networking). When adding cpu model to my plain kvm machines libvirt xml network isn't working anymore. I'll test with some hook scripts if removing the cpu model will solve the network issue for my oVirt Solaris guest. Thanks for the hint. if you can pinpoint and reproduce, probably worth adding the qemu-kvm mailing list I managed to get Solaris networking running when removing cpu model and cpu match attributes, which are added by oVirt but not by virt-manager. I created a hook script (99_fix_solaris) which removes these information. Afterwards networking is fine in Solaris guests: https://github.com/ovido/ovirt-stuff/tree/master/hooks Just one question renaming: Is there any downside from oVirt side when removing these cpu information like e.g. features aren't working as expected? it just changes to the qemu_64 cpu model. this sounds like a bug in qemu (well, or solaris) for one of the flags/behaviors with a specific cpu model. maybe you can ask on https://lists.nongnu.org/mailman/listinfo/qemu-discuss or https://lists.nongnu.org/mailman/listinfo/qemu-devel Thanks all for the hints. Regards, René ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Metadata broken
Hi all! I'm getting this message on SPM vdsmd.log: MetaDataSealIsBroken: Meta Data seal is broken (checksum mismatch): 'cksum = 7a7df999bca1c1ac3878433a55d4ce2e2fda671a, computed_cksum = 464c1a075cffe3881375d24242ad490e70a3d8f1' Anyone could help me solve it? Thanks. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Console defaults
Question: Is there a way to set the webadmin to only use NoVNC as a default for the console? Since the devs decided to remove the popup window and only download a file, it added several steps for me to be able to look at the console on my Mac. There isn't a packaged viewer for spice on OSX as of yet and every time I have tried to get it installed it fails. So, my only option is VNC of which there are none that will open the .vv files. Thanks Christian -- --- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VM wont restart after some NFS snapshot restore.
Hi Usman, can you paste somewhere the content of the meta files? $ cat 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145.meta could you also provide the absolute path to those files? (in the vdsm host) Thanks, -- Federico - Original Message - From: Usman Aslam us...@linkshift.com To: users@ovirt.org Sent: Thursday, October 3, 2013 4:29:43 AM Subject: [Users] VM wont restart after some NFS snapshot restore. I have some VM's that live on NFS share. Basically, I had to revert the VM disk to a backup from a few days ago. So I powered the VM down, copied over the following files 039a8482-c267-4051-b1e6-1c1dee49b3d7 039a8482-c267-4051-b1e6-1c1dee49b3d7.lease 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145 8d48505d-846d-49a7-8b50-d972ee051145.lease 8d48505d-846d-49a7-8b50-d972ee051145.meta and now when I try to power the VM, it complains 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 (User: admin@internal). 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 on Host tss-tusk-ovirt-01-ovirtmgmt.tusk.tufts.edu . 2013-Oct-02, 22:02:38 VM zabbix-prod-01 is down. Exit message: 'truesize'. Any ideas on how I could resolve this? Perhaps a better way of approaching the restore on a filesystem level? I see the following the vsdm.log Thread-7843::ERROR::2013-10-02 22:02:37,548::vm::716::vm.Vm::(_startUnderlyingVm) vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::The vm start process failed Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 678, in _startUnderlyingVm self._run() File /usr/share/vdsm/libvirtvm.py, line 1467, in _run devices = self.buildConfDevices() File /usr/share/vdsm/vm.py, line 515, in buildConfDevices self._normalizeVdsmImg(drv) File /usr/share/vdsm/vm.py, line 408, in _normalizeVdsmImg drv['truesize'] = res['truesize'] KeyError: 'truesize' Thread-7843::DEBUG::2013-10-02 22:02:37,553::vm::1065::vm.Vm::(setDownStatus) vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::Changed state to Down: 'truesize' Any help would be really nice, thanks! -- Usman ___ 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: [Users] Console defaults
Hello Christian, if you select noVNC in 'Console Options' for some VM, this choice should be remembered in your browser for this VM. So next time when you're connecting via VNC, noVNC client is used. Is this what you're looking for? Regards, Frantisek Kobzik. - Original Message - From: Christian Kolquist ckolqu...@rgmadvisors.com To: users@ovirt.org Sent: Friday, October 4, 2013 3:26:51 PM Subject: [Users] Console defaults Question: Is there a way to set the webadmin to only use NoVNC as a default for the console? Since the devs decided to remove the popup window and only download a file, it added several steps for me to be able to look at the console on my Mac. There isn't a packaged viewer for spice on OSX as of yet and every time I have tried to get it installed it fails. So, my only option is VNC of which there are none that will open the .vv files. Thanks Christian --- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. 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
Re: [Users] Console defaults
I am asking for a way to make it to be the default for ALL vm's as we have multiple users working on this. Plus with over 30 vm's it is quite a pain to have each person to set each one individually (we haven't fully migrated over to 3.3 from 3.1 at the moment.) It does not scale to larger installations. On Fri, Oct 4, 2013 at 8:58 AM, Frantisek Kobzik fkob...@redhat.com wrote: Hello Christian, if you select noVNC in 'Console Options' for some VM, this choice should be remembered in your browser for this VM. So next time when you're connecting via VNC, noVNC client is used. Is this what you're looking for? Regards, Frantisek Kobzik. - Original Message - From: Christian Kolquist ckolqu...@rgmadvisors.com To: users@ovirt.org Sent: Friday, October 4, 2013 3:26:51 PM Subject: [Users] Console defaults Question: Is there a way to set the webadmin to only use NoVNC as a default for the console? Since the devs decided to remove the popup window and only download a file, it added several steps for me to be able to look at the console on my Mac. There isn't a packaged viewer for spice on OSX as of yet and every time I have tried to get it installed it fails. So, my only option is VNC of which there are none that will open the .vv files. Thanks Christian --- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- --- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VM wont restart after some NFS snapshot restore.
Federico, The files reside on this mount on the hypervisor /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99/images/79ccd989-3033-4e6a-80da-ba210c94225a and are symlinked as described below [root@xyz-02 430cd986-6488-403b-8d46-29abbc3eba38]# pwd /rhev/data-center/430cd986-6488-403b-8d46-29abbc3eba38 [root@xyz-02 430cd986-6488-403b-8d46-29abbc3eba38]# ll total 12 lrwxrwxrwx 1 vdsm kvm 120 Oct 3 12:35 ee2ae498-6e45-448d-8f91-0efca377dcf6 - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__iso_tusk__iso/ee2ae498-6e45-448d-8f91-0efca377dcf6 lrwxrwxrwx 1 vdsm kvm 118 Oct 3 12:35 fa3279ec-2912-45ac-b7bc-9fe89151ed99 - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99 lrwxrwxrwx 1 vdsm kvm 118 Oct 3 12:35 mastersd - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99 I did a diff and the contents of the the *Original *meta file (that works and VM starts but have bad file system) and the *Backup *meta file (the files being restored from nfs snapshot) *are exactly the same*. Contents are listed blow. Also the files sizes for all six related files are exactly the same. [root@xyz-02 images]# cat 79ccd989-3033-4e6a-80da-ba210c94225a/039a8482-c267-4051-b1e6-1c1dee49b3d7.meta DOMAIN=fa3279ec-2912-45ac-b7bc-9fe89151ed99 VOLTYPE=SHARED CTIME=1368457020 FORMAT=RAW IMAGE=59b6a429-bd11-40c6-a218-78df840725c6 DISKTYPE=2 PUUID=---- LEGALITY=LEGAL MTIME=1368457020 POOL_UUID= DESCRIPTION=Active VM TYPE=SPARSE SIZE=104857600 EOF [root@tss-tusk-ovirt-02 images]# cat 79ccd989-3033-4e6a-80da-ba210c94225a/8d48505d-846d-49a7-8b50-d972ee051145.meta DOMAIN=fa3279ec-2912-45ac-b7bc-9fe89151ed99 CTIME=1370303194 FORMAT=COW DISKTYPE=2 LEGALITY=LEGAL SIZE=104857600 VOLTYPE=LEAF DESCRIPTION= IMAGE=79ccd989-3033-4e6a-80da-ba210c94225a PUUID=039a8482-c267-4051-b1e6-1c1dee49b3d7 MTIME=1370303194 POOL_UUID= TYPE=SPARSE EOF Any help would be greatly appreciated! Thanks, Usman On Fri, Oct 4, 2013 at 9:50 AM, Federico Simoncelli fsimo...@redhat.comwrote: Hi Usman, can you paste somewhere the content of the meta files? $ cat 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145.meta could you also provide the absolute path to those files? (in the vdsm host) Thanks, -- Federico - Original Message - From: Usman Aslam us...@linkshift.com To: users@ovirt.org Sent: Thursday, October 3, 2013 4:29:43 AM Subject: [Users] VM wont restart after some NFS snapshot restore. I have some VM's that live on NFS share. Basically, I had to revert the VM disk to a backup from a few days ago. So I powered the VM down, copied over the following files 039a8482-c267-4051-b1e6-1c1dee49b3d7 039a8482-c267-4051-b1e6-1c1dee49b3d7.lease 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145 8d48505d-846d-49a7-8b50-d972ee051145.lease 8d48505d-846d-49a7-8b50-d972ee051145.meta and now when I try to power the VM, it complains 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 (User: admin@internal). 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 on Host tss-tusk-ovirt-01-ovirtmgmt.tusk.tufts.edu . 2013-Oct-02, 22:02:38 VM zabbix-prod-01 is down. Exit message: 'truesize'. Any ideas on how I could resolve this? Perhaps a better way of approaching the restore on a filesystem level? I see the following the vsdm.log Thread-7843::ERROR::2013-10-02 22:02:37,548::vm::716::vm.Vm::(_startUnderlyingVm) vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::The vm start process failed Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 678, in _startUnderlyingVm self._run() File /usr/share/vdsm/libvirtvm.py, line 1467, in _run devices = self.buildConfDevices() File /usr/share/vdsm/vm.py, line 515, in buildConfDevices self._normalizeVdsmImg(drv) File /usr/share/vdsm/vm.py, line 408, in _normalizeVdsmImg drv['truesize'] = res['truesize'] KeyError: 'truesize' Thread-7843::DEBUG::2013-10-02 22:02:37,553::vm::1065::vm.Vm::(setDownStatus) vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::Changed state to Down: 'truesize' Any help would be really nice, thanks! -- Usman ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Usman Aslam 401.6.99.66.55 us...@linkshift.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Metadata broken
Hi! I solved it using: vgchange --deltag MDT__SHA_CKSUM=7a7df999bca1c1ac3878433a55d4ce2e2fda671a c332da29-ba9f-4c94-8fa9-346bb8e04e2 vgchange --addtag MDT__SHA_CKSUM=464c1a075cffe3881375d24242ad490e70a3d8f1 On 10/04/2013 09:42 AM, Eduardo Ramos wrote: Hi all! I'm getting this message on SPM vdsmd.log: MetaDataSealIsBroken: Meta Data seal is broken (checksum mismatch): 'cksum = 7a7df999bca1c1ac3878433a55d4ce2e2fda671a, computed_cksum = 464c1a075cffe3881375d24242ad490e70a3d8f1' Anyone could help me solve it? Thanks. ___ 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: [Users] Quota for VMs created from templates
Good question, Mitja. @Gilad: 1. Does the 'VmCreator' Role contain the 'consume-quota' action? so when granting VmCreator on Data Center DC1 to user User1, User1 can automatically consume any quota defined in DC1 (including, for example, TemplateQuota, in Mitja's case)? 2. Related to both your previous reply and my previous reply: Can a user associate a CPU/RAM Quota to a VM that he is now *creating*, even if he doesn't have consume-quota permissions on that CPU/RAM Quota? In Mitja's case, he attempted to create a VM associated with both TemplateQuota and UserQuota, while the user (maybe - depends on answer to 1) didn't have permission to consume TemplateQuota, and the VM creation succeeded. Is that OK? [if the answer to both questions is no, there is a chance that Mitja discovered a bug] Thanks, Einav - Original Message - From: Mitja Mihelič mitja.mihe...@arnes.si To: Einav Cohen eco...@redhat.com Cc: users@ovirt.org Sent: Friday, October 4, 2013 8:14:10 AM Subject: Re: [Users] Quota for VMs created from templates In addition to the described setup: The user was also given a permission on the data center with the role VmCreator. The user is not listed as a consumer of TemplateQuota, but they have an inherited role VmCreator in the permissions tab. Could this permission be the reason the user can create and run VMs that are associated with TemplateQuota? Regards, Mitja -- Mitja Mihelič ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia tel: +386 1 479 8877, fax: +386 1 479 88 78 On 10/03/2013 05:06 PM, Einav Cohen wrote: AFAIK, a user cannot create a VM that is associated with one (or more) quota objects on which he doesn't have consumer permissions. i.e. if the VM was created successfully by the user, and this VM is associated with TemplateQuota, and with the quota that has been created for the user (let's call it UserQuota), it means that the user has consumer permissions on both TemplateQuota and UserQuota. If the user doesn't have permissions on one of these Quota objects - the fact that the VM has been created successfully sounds like a bug to me. Thanks, Einav - Original Message - From: Mitja Mihelič mitja.mihe...@arnes.si To: users@ovirt.org Sent: Thursday, October 3, 2013 9:59:06 AM Subject: [Users] Quota for VMs created from templates Hi! We are running engine version 3.3.0 on CentOS6 and we have come across a problem, possibly a bug. When a user creates a VM from a template, the template's quota is assigned to the VM. Here is the setup: - quota is set to Enforced on the data center - quota is created for template purposes (TemplateQuota) - a template is created from a sealed VM with TemplateQuota assigned to it - quota is created for a user, the user is set as its consumer - the user creates a VM from the mentioned template and leaves the quota unchanged - the created VM consumes the user's storage quota but does not consume their memory and CPU quota This way a user can create and run an arbitrary number of VMs as long they stay within their storage quota. No errors are reported in the logs. Kind regards, Mitja Mihelic -- -- Mitja Mihelič ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia tel: +386 1 479 8877, fax: +386 1 479 88 78 ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Quota for VMs created from templates
On 10/04/2013 03:14 PM, Mitja Mihelič wrote: In addition to the described setup: The user was also given a permission on the data center with the role VmCreator. The user is not listed as a consumer of TemplateQuota, but they have an inherited role VmCreator in the permissions tab. Could this permission be the reason the user can create and run VMs that are associated with TemplateQuota? there is a difference between permission to run a VM, and permission to a quota. user A has a permission to consume a quota Q. user A assigns that quota Q to resource R user B has permission to run resource R. user B doesn't need a permission to any quota. i.e., permission to run is a relation between user and a resource. permission to quota, is to associate a resource with a quota. Regards, Mitja -- Mitja Mihelič ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia tel: +386 1 479 8877, fax: +386 1 479 88 78 On 10/03/2013 05:06 PM, Einav Cohen wrote: AFAIK, a user cannot create a VM that is associated with one (or more) quota objects on which he doesn't have consumer permissions. i.e. if the VM was created successfully by the user, and this VM is associated with TemplateQuota, and with the quota that has been created for the user (let's call it UserQuota), it means that the user has consumer permissions on both TemplateQuota and UserQuota. If the user doesn't have permissions on one of these Quota objects - the fact that the VM has been created successfully sounds like a bug to me. Thanks, Einav - Original Message - From: Mitja Mihelič mitja.mihe...@arnes.si To: users@ovirt.org Sent: Thursday, October 3, 2013 9:59:06 AM Subject: [Users] Quota for VMs created from templates Hi! We are running engine version 3.3.0 on CentOS6 and we have come across a problem, possibly a bug. When a user creates a VM from a template, the template's quota is assigned to the VM. Here is the setup: - quota is set to Enforced on the data center - quota is created for template purposes (TemplateQuota) - a template is created from a sealed VM with TemplateQuota assigned to it - quota is created for a user, the user is set as its consumer - the user creates a VM from the mentioned template and leaves the quota unchanged - the created VM consumes the user's storage quota but does not consume their memory and CPU quota This way a user can create and run an arbitrary number of VMs as long they stay within their storage quota. No errors are reported in the logs. Kind regards, Mitja Mihelic -- -- Mitja Mihelič ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia tel: +386 1 479 8877, fax: +386 1 479 88 78 ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VM wont restart after some NFS snapshot restore.
Usman, the only thing that comes to my mind is something related to: http://gerrit.ovirt.org/13529 which means that in some way the restored volumes are either inaccessible (permissions?) or their metadata is corrupted (but it doesn't seem so). There is probably another Traceback in the logs that should give us more information. Could you post somewhere the entire vdsm log? Thanks. -- Federico - Original Message - From: Usman Aslam us...@linkshift.com To: Federico Simoncelli fsimo...@redhat.com Cc: users@ovirt.org Sent: Friday, October 4, 2013 4:49:08 PM Subject: Re: [Users] VM wont restart after some NFS snapshot restore. Federico, The files reside on this mount on the hypervisor /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99/images/79ccd989-3033-4e6a-80da-ba210c94225a and are symlinked as described below [root@xyz-02 430cd986-6488-403b-8d46-29abbc3eba38]# pwd /rhev/data-center/430cd986-6488-403b-8d46-29abbc3eba38 [root@xyz-02 430cd986-6488-403b-8d46-29abbc3eba38]# ll total 12 lrwxrwxrwx 1 vdsm kvm 120 Oct 3 12:35 ee2ae498-6e45-448d-8f91-0efca377dcf6 - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__iso_tusk__iso/ee2ae498-6e45-448d-8f91-0efca377dcf6 lrwxrwxrwx 1 vdsm kvm 118 Oct 3 12:35 fa3279ec-2912-45ac-b7bc-9fe89151ed99 - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99 lrwxrwxrwx 1 vdsm kvm 118 Oct 3 12:35 mastersd - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99 I did a diff and the contents of the the *Original *meta file (that works and VM starts but have bad file system) and the *Backup *meta file (the files being restored from nfs snapshot) *are exactly the same*. Contents are listed blow. Also the files sizes for all six related files are exactly the same. [root@xyz-02 images]# cat 79ccd989-3033-4e6a-80da-ba210c94225a/039a8482-c267-4051-b1e6-1c1dee49b3d7.meta DOMAIN=fa3279ec-2912-45ac-b7bc-9fe89151ed99 VOLTYPE=SHARED CTIME=1368457020 FORMAT=RAW IMAGE=59b6a429-bd11-40c6-a218-78df840725c6 DISKTYPE=2 PUUID=---- LEGALITY=LEGAL MTIME=1368457020 POOL_UUID= DESCRIPTION=Active VM TYPE=SPARSE SIZE=104857600 EOF [root@tss-tusk-ovirt-02 images]# cat 79ccd989-3033-4e6a-80da-ba210c94225a/8d48505d-846d-49a7-8b50-d972ee051145.meta DOMAIN=fa3279ec-2912-45ac-b7bc-9fe89151ed99 CTIME=1370303194 FORMAT=COW DISKTYPE=2 LEGALITY=LEGAL SIZE=104857600 VOLTYPE=LEAF DESCRIPTION= IMAGE=79ccd989-3033-4e6a-80da-ba210c94225a PUUID=039a8482-c267-4051-b1e6-1c1dee49b3d7 MTIME=1370303194 POOL_UUID= TYPE=SPARSE EOF Any help would be greatly appreciated! Thanks, Usman On Fri, Oct 4, 2013 at 9:50 AM, Federico Simoncelli fsimo...@redhat.comwrote: Hi Usman, can you paste somewhere the content of the meta files? $ cat 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145.meta could you also provide the absolute path to those files? (in the vdsm host) Thanks, -- Federico - Original Message - From: Usman Aslam us...@linkshift.com To: users@ovirt.org Sent: Thursday, October 3, 2013 4:29:43 AM Subject: [Users] VM wont restart after some NFS snapshot restore. I have some VM's that live on NFS share. Basically, I had to revert the VM disk to a backup from a few days ago. So I powered the VM down, copied over the following files 039a8482-c267-4051-b1e6-1c1dee49b3d7 039a8482-c267-4051-b1e6-1c1dee49b3d7.lease 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145 8d48505d-846d-49a7-8b50-d972ee051145.lease 8d48505d-846d-49a7-8b50-d972ee051145.meta and now when I try to power the VM, it complains 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 (User: admin@internal). 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 on Host tss-tusk-ovirt-01-ovirtmgmt.tusk.tufts.edu . 2013-Oct-02, 22:02:38 VM zabbix-prod-01 is down. Exit message: 'truesize'. Any ideas on how I could resolve this? Perhaps a better way of approaching the restore on a filesystem level? I see the following the vsdm.log Thread-7843::ERROR::2013-10-02 22:02:37,548::vm::716::vm.Vm::(_startUnderlyingVm) vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::The vm start process failed Traceback (most recent call last): File /usr/share/vdsm/vm.py, line 678, in _startUnderlyingVm self._run() File /usr/share/vdsm/libvirtvm.py, line 1467, in _run devices = self.buildConfDevices() File /usr/share/vdsm/vm.py, line 515, in buildConfDevices self._normalizeVdsmImg(drv) File /usr/share/vdsm/vm.py, line 408, in _normalizeVdsmImg drv['truesize'] = res['truesize'] KeyError: 'truesize' Thread-7843::DEBUG::2013-10-02 22:02:37,553::vm::1065::vm.Vm::(setDownStatus)
Re: [Users] Understanding Console Options
I can appreciate the .vv file for certain platforms in which virt-viewer provides additional benefits, but my point was I (and I suspect at least some other) use existing VNC clients in Mac/Windows/Linux, and perhaps don't want to use virt-viewer. In those cases, that the download .vv file method is more needlessly cumbersome as compared to the popup with host/port/password method, whether it involves writing a wrapper, or just open the downloaded text file. As I said, perhaps instead of the two console options scheme currently, it should be a three console option scheme with VNC, virt-viewer, SPICE, because the download .vv file method is not at all (generic) VNC clients friendly. On Oct 4, 2013, at 4:49 AM, Itamar Heim ih...@redhat.com wrote: On 10/03/2013 02:29 AM, Christian Hernandez wrote: Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Agreed Maybe this is just a ploy to get everyone to use Spice? ...if that's the case; when are we going to get Spice plugin for Mac OSX? to answer both. 1. its not a ploy, its actually to solve the problem for platforms without plugins for spice or vnc (no platform has a plugin for vnc). 2. virt-viewer supports both windows and linux http://www.spice-space.org/download.html i remember there is a client for mac as well actually, i suggest asking on: http://lists.freedesktop.org/mailman/listinfo/spice-devel 3. you can write a small wrapper script and associate it with the .vv file (hopefully, someone will do this and attach an example for others). this will work for both vnc of your choice and spice on any platform HTH, Itamar Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Oct 2, 2013 at 4:20 PM, Haoyang Haven Liu haven@ucla.edu mailto:haven@ucla.edu wrote: The replacement of VNC popup with a .vv file download seems like a (or several) step backward. Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Haven On Sep 30, 2013, at 2:08 AM, Frantisek Kobzik fkob...@redhat.com mailto:fkob...@redhat.com wrote: Hello Nick, concerning the 3rd screenshot - that was a bug in oVirt, but the fix has been already merged. About the VNC popup - indeed, it has been removed. The only way to get the VNC connection information is using 'Native' mode in Console options dialog and then open incoming .vv file (e.g. using text editor, script...). I suppose the virt-viewer association with .vv file must be turned off (otherwise virt-viewer will pop up instantly). Regards, Frank. - Original Message - From: Nicholas Kesick cybertimber2...@hotmail.com mailto:cybertimber2...@hotmail.com To: oVirt Mailing List users@ovirt.org mailto:users@ovirt.org Sent: Saturday, September 28, 2013 11:09:14 PM Subject: [Users] Understanding Console Options I'm trying to understand the various console options for a wiki page. Can someone make sure what I have in the attachments are right? Also when a VM is set to Spice and I open Console Options (at least in IE 10 for me, need to test further), it opens to Remote Desktop. Are these active yet? I don't see RDP as an option under Edit Console. Finally, is there any way to get the VNC option that we had in oVirt 3.2 that would pop up with a port number and password to use with a local client? - Nick ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ 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: [Users] Understanding Console Options
On 10/04/2013 06:09 PM, Haoyang Haven Liu wrote: I can appreciate the .vv file for certain platforms in which virt-viewer provides additional benefits, but my point was I (and I suspect at least some other) use existing VNC clients in Mac/Windows/Linux, and perhaps don't want to use virt-viewer. In those cases, that the download .vv file method is more needlessly cumbersome as compared to the popup with host/port/password method, whether it involves writing a wrapper, or just open the downloaded text file. As I said, perhaps instead of the two console options scheme currently, it should be a three console option scheme with VNC, virt-viewer, SPICE, because the download .vv file method is not at all (generic) VNC clients friendly. it is missing a script for you to associate with your browser, which will get the .vv file and launch your favorite vnc client with the info from the .vv file? On Oct 4, 2013, at 4:49 AM, Itamar Heim ih...@redhat.com wrote: On 10/03/2013 02:29 AM, Christian Hernandez wrote: Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Agreed Maybe this is just a ploy to get everyone to use Spice? ...if that's the case; when are we going to get Spice plugin for Mac OSX? to answer both. 1. its not a ploy, its actually to solve the problem for platforms without plugins for spice or vnc (no platform has a plugin for vnc). 2. virt-viewer supports both windows and linux http://www.spice-space.org/download.html i remember there is a client for mac as well actually, i suggest asking on: http://lists.freedesktop.org/mailman/listinfo/spice-devel 3. you can write a small wrapper script and associate it with the .vv file (hopefully, someone will do this and attach an example for others). this will work for both vnc of your choice and spice on any platform HTH, Itamar Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Oct 2, 2013 at 4:20 PM, Haoyang Haven Liu haven@ucla.edu mailto:haven@ucla.edu wrote: The replacement of VNC popup with a .vv file download seems like a (or several) step backward. Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Haven On Sep 30, 2013, at 2:08 AM, Frantisek Kobzik fkob...@redhat.com mailto:fkob...@redhat.com wrote: Hello Nick, concerning the 3rd screenshot - that was a bug in oVirt, but the fix has been already merged. About the VNC popup - indeed, it has been removed. The only way to get the VNC connection information is using 'Native' mode in Console options dialog and then open incoming .vv file (e.g. using text editor, script...). I suppose the virt-viewer association with .vv file must be turned off (otherwise virt-viewer will pop up instantly). Regards, Frank. - Original Message - From: Nicholas Kesick cybertimber2...@hotmail.com mailto:cybertimber2...@hotmail.com To: oVirt Mailing List users@ovirt.org mailto:users@ovirt.org Sent: Saturday, September 28, 2013 11:09:14 PM Subject: [Users] Understanding Console Options I'm trying to understand the various console options for a wiki page. Can someone make sure what I have in the attachments are right? Also when a VM is set to Spice and I open Console Options (at least in IE 10 for me, need to test further), it opens to Remote Desktop. Are these active yet? I don't see RDP as an option under Edit Console. Finally, is there any way to get the VNC option that we had in oVirt 3.2 that would pop up with a port number and password to use with a local client? - Nick ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing
Re: [Users] VM wont restart after some NFS snapshot restore.
Federico, You're a life savor.. Its was a permissions issues, somehow, the owner and group was assigned as root. I matched permission with the original data and it works! Cant believe I missed something so simple. Thanks you! Usman On Fri, Oct 4, 2013 at 11:07 AM, Federico Simoncelli fsimo...@redhat.comwrote: Usman, the only thing that comes to my mind is something related to: http://gerrit.ovirt.org/13529 which means that in some way the restored volumes are either inaccessible (permissions?) or their metadata is corrupted (but it doesn't seem so). There is probably another Traceback in the logs that should give us more information. Could you post somewhere the entire vdsm log? Thanks. -- Federico - Original Message - From: Usman Aslam us...@linkshift.com To: Federico Simoncelli fsimo...@redhat.com Cc: users@ovirt.org Sent: Friday, October 4, 2013 4:49:08 PM Subject: Re: [Users] VM wont restart after some NFS snapshot restore. Federico, The files reside on this mount on the hypervisor /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99/images/79ccd989-3033-4e6a-80da-ba210c94225a and are symlinked as described below [root@xyz-02 430cd986-6488-403b-8d46-29abbc3eba38]# pwd /rhev/data-center/430cd986-6488-403b-8d46-29abbc3eba38 [root@xyz-02 430cd986-6488-403b-8d46-29abbc3eba38]# ll total 12 lrwxrwxrwx 1 vdsm kvm 120 Oct 3 12:35 ee2ae498-6e45-448d-8f91-0efca377dcf6 - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__iso_tusk__iso/ee2ae498-6e45-448d-8f91-0efca377dcf6 lrwxrwxrwx 1 vdsm kvm 118 Oct 3 12:35 fa3279ec-2912-45ac-b7bc-9fe89151ed99 - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99 lrwxrwxrwx 1 vdsm kvm 118 Oct 3 12:35 mastersd - /rhev/data-center/mnt/xyz-02.tufts.edu: _vol_tusk__vm_tusk__vm/fa3279ec-2912-45ac-b7bc-9fe89151ed99 I did a diff and the contents of the the *Original *meta file (that works and VM starts but have bad file system) and the *Backup *meta file (the files being restored from nfs snapshot) *are exactly the same*. Contents are listed blow. Also the files sizes for all six related files are exactly the same. [root@xyz-02 images]# cat 79ccd989-3033-4e6a-80da-ba210c94225a/039a8482-c267-4051-b1e6-1c1dee49b3d7.meta DOMAIN=fa3279ec-2912-45ac-b7bc-9fe89151ed99 VOLTYPE=SHARED CTIME=1368457020 FORMAT=RAW IMAGE=59b6a429-bd11-40c6-a218-78df840725c6 DISKTYPE=2 PUUID=---- LEGALITY=LEGAL MTIME=1368457020 POOL_UUID= DESCRIPTION=Active VM TYPE=SPARSE SIZE=104857600 EOF [root@tss-tusk-ovirt-02 images]# cat 79ccd989-3033-4e6a-80da-ba210c94225a/8d48505d-846d-49a7-8b50-d972ee051145.meta DOMAIN=fa3279ec-2912-45ac-b7bc-9fe89151ed99 CTIME=1370303194 FORMAT=COW DISKTYPE=2 LEGALITY=LEGAL SIZE=104857600 VOLTYPE=LEAF DESCRIPTION= IMAGE=79ccd989-3033-4e6a-80da-ba210c94225a PUUID=039a8482-c267-4051-b1e6-1c1dee49b3d7 MTIME=1370303194 POOL_UUID= TYPE=SPARSE EOF Any help would be greatly appreciated! Thanks, Usman On Fri, Oct 4, 2013 at 9:50 AM, Federico Simoncelli fsimo...@redhat.comwrote: Hi Usman, can you paste somewhere the content of the meta files? $ cat 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145.meta could you also provide the absolute path to those files? (in the vdsm host) Thanks, -- Federico - Original Message - From: Usman Aslam us...@linkshift.com To: users@ovirt.org Sent: Thursday, October 3, 2013 4:29:43 AM Subject: [Users] VM wont restart after some NFS snapshot restore. I have some VM's that live on NFS share. Basically, I had to revert the VM disk to a backup from a few days ago. So I powered the VM down, copied over the following files 039a8482-c267-4051-b1e6-1c1dee49b3d7 039a8482-c267-4051-b1e6-1c1dee49b3d7.lease 039a8482-c267-4051-b1e6-1c1dee49b3d7.meta 8d48505d-846d-49a7-8b50-d972ee051145 8d48505d-846d-49a7-8b50-d972ee051145.lease 8d48505d-846d-49a7-8b50-d972ee051145.meta and now when I try to power the VM, it complains 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 (User: admin@internal). 2013-Oct-02, 22:02:38 Failed to run VM zabbix-prod-01 on Host tss-tusk-ovirt-01-ovirtmgmt.tusk.tufts.edu . 2013-Oct-02, 22:02:38 VM zabbix-prod-01 is down. Exit message: 'truesize'. Any ideas on how I could resolve this? Perhaps a better way of approaching the restore on a filesystem level? I see the following the vsdm.log Thread-7843::ERROR::2013-10-02 22:02:37,548::vm::716::vm.Vm::(_startUnderlyingVm) vmId=`8e8764ad-6b4c-48d8-9a19-fa5cf77208ef`::The vm start process failed Traceback (most recent call last): File /usr/share/vdsm/vm.py, line
Re: [Users] Understanding Console Options
On 4 Oct 2013, at 17:12, Itamar Heim wrote: On 10/04/2013 06:09 PM, Haoyang Haven Liu wrote: I can appreciate the .vv file for certain platforms in which virt-viewer provides additional benefits, but my point was I (and I suspect at least some other) use existing VNC clients in Mac/Windows/Linux, and perhaps don't want to use virt-viewer. In those cases, that the download .vv file method is more needlessly cumbersome as compared to the popup with host/port/password method, whether it involves writing a wrapper, or just open the downloaded text file. As I said, perhaps instead of the two console options scheme currently, it should be a three console option scheme with VNC, virt-viewer, SPICE, because the download .vv file method is not at all (generic) VNC clients friendly. it is missing a script for you to associate with your browser, which will get the .vv file and launch your favorite vnc client with the info from the .vv file? or, if you prefer, associate it with your favorite text editor so you can copypaste the same info as before. It's a browser's association you have to set/change Thanks, michal On Oct 4, 2013, at 4:49 AM, Itamar Heim ih...@redhat.com wrote: On 10/03/2013 02:29 AM, Christian Hernandez wrote: Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Agreed Maybe this is just a ploy to get everyone to use Spice? ...if that's the case; when are we going to get Spice plugin for Mac OSX? to answer both. 1. its not a ploy, its actually to solve the problem for platforms without plugins for spice or vnc (no platform has a plugin for vnc). 2. virt-viewer supports both windows and linux http://www.spice-space.org/download.html i remember there is a client for mac as well actually, i suggest asking on: http://lists.freedesktop.org/mailman/listinfo/spice-devel 3. you can write a small wrapper script and associate it with the .vv file (hopefully, someone will do this and attach an example for others). this will work for both vnc of your choice and spice on any platform HTH, Itamar Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Oct 2, 2013 at 4:20 PM, Haoyang Haven Liu haven@ucla.edu mailto:haven@ucla.edu wrote: The replacement of VNC popup with a .vv file download seems like a (or several) step backward. Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Haven On Sep 30, 2013, at 2:08 AM, Frantisek Kobzik fkob...@redhat.com mailto:fkob...@redhat.com wrote: Hello Nick, concerning the 3rd screenshot - that was a bug in oVirt, but the fix has been already merged. About the VNC popup - indeed, it has been removed. The only way to get the VNC connection information is using 'Native' mode in Console options dialog and then open incoming .vv file (e.g. using text editor, script...). I suppose the virt-viewer association with .vv file must be turned off (otherwise virt-viewer will pop up instantly). Regards, Frank. - Original Message - From: Nicholas Kesick cybertimber2...@hotmail.com mailto:cybertimber2...@hotmail.com To: oVirt Mailing List users@ovirt.org mailto:users@ovirt.org Sent: Saturday, September 28, 2013 11:09:14 PM Subject: [Users] Understanding Console Options I'm trying to understand the various console options for a wiki page. Can someone make sure what I have in the attachments are right? Also when a VM is set to Spice and I open Console Options (at least in IE 10 for me, need to test further), it opens to Remote Desktop. Are these active yet? I don't see RDP as an option under Edit Console. Finally, is there any way to get the VNC option that we had in oVirt 3.2 that would pop up with a port number and password to use with a local client? - Nick ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___
Re: [Users] Migration issues with ovirt 3.3
On Wed, Oct 02, 2013 at 01:36:56PM -0300, emi...@gmail.com wrote: I've configured the host as a NFS cluster. I've imported the VMs, the debian now it's migrating without problems, the pfSense now gives me an error (Migration failed due to Error: Desktop does not exist) and the Windows VM doesn't start in the new cluster after import it. I've attached the logs of the vdsm Thanks for providing your, but they begin too late. The bug is still a mystery to me. Something garbles Vdsm's internal representation of virtual disks. And it's bad. I would appreciate if you could dig backward in your logs and find the last successfull startup of a VM, say W2K8_cluster1 (86f10137-d917-4508-a07a-3f83e6f24a95). Then, browse forward to find the first failure (be it on next startup of VM or during migration). Best regards, Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Adding ISO storage, post engine install - is it possible?
I've set up the oVirt engine, v. 3.3.0-4.el6, on a CentOS 6.4 system. I was hoping to use an existing ISO repository on my network, that's NFS-shared for other hypervisors (Xen, ESX), but it doesn't look like oVirt is designed to support that. That's not too much of an obstacle, I can recreate the ISO store on my oVirt engine. However, I didn't create an ISO storage domain during the engine setup sequence. I don't really see a way to do this now. I've tried using the Import Domain feature in the engine web admin, but that tells me Failed to retrieve existing storage domain information. I've tried using the New Domain with ISO/NFS settings, but when I click OK, nothing happens. No errors, the New Domain window stays in place, no visible changes. Any suggestions on adding an ISO storage domain, after the initial oVirt install? platformagnostic ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Console defaults
On 4 Oct 2013, at 16:17, Christian Kolquist wrote: I am asking for a way to make it to be the default for ALL vm's as we have multiple users working on this. Plus with over 30 vm's it is quite a pain to have each person to set each one individually (we haven't fully migrated over to 3.3 from 3.1 at the moment.) It does not scale to larger installations. On Fri, Oct 4, 2013 at 8:58 AM, Frantisek Kobzik fkob...@redhat.com wrote: Hello Christian, if you select noVNC in 'Console Options' for some VM, this choice should be remembered in your browser for this VM. So next time when you're connecting via VNC, noVNC client is used. Is this what you're looking for? Regards, Frantisek Kobzik. - Original Message - From: Christian Kolquist ckolqu...@rgmadvisors.com To: users@ovirt.org Sent: Friday, October 4, 2013 3:26:51 PM Subject: [Users] Console defaults Question: Is there a way to set the webadmin to only use NoVNC as a default for the console? Since the devs decided to remove the popup window and only download a file, it added several steps for me to be able to look at the console on my Mac. There isn't a packaged viewer for spice on OSX as of yet and every time I have tried to get it installed it fails. So, my only option is VNC of which there are none that will open the .vv files. did you try http://www.spice-space.org/page/OSX_Client ? for VNC - associate the .vv with a TextEdit or something similar, and do copypaste of credentails as you were doing from the popup for noVNC, well, it's a per user and browser setting (for all VMs), but no easy way how to set it in advance for many users. There is a global option for SPICE to select either plugin or .vv, but that doesn't appl to the new browser-only clinets. But that should be relatively easy to implement…Franta? Thanks, michal Thanks Christian --- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users --- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. 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
Re: [Users] Migration issues with ovirt 3.3
On 4 Oct 2013, at 19:55, emi...@gmail.com wrote: Dan, I've made a whole new installation of oVirt 3.3 using the stable repos, I've updated libvirt to 1.1.2-1 and configured a glusterFS cluster. I've just tried the live migration of the Windows Host, here i send you the vdsm, libvir and qemu logs hmm…I see both PCI address for CDROM as we've been seeing on gluster setups. So far no update from gluster AFAIK…it seems to be broken on their side somewhere… and I also see error on migrations dst which seems to be another/different disk device mess up The W2K8 create VM call in the ovirt1's log is already wrong, can you capture/include the initial create call? In the previous cases it was always the case that the VM was created(from engine) with IDE address but then after the first run it somehow changed to PCI on the first status update from vdsm Thanks, michal 2013/10/4 Dan Kenigsberg dan...@redhat.com On Wed, Oct 02, 2013 at 01:36:56PM -0300, emi...@gmail.com wrote: I've configured the host as a NFS cluster. I've imported the VMs, the debian now it's migrating without problems, the pfSense now gives me an error (Migration failed due to Error: Desktop does not exist) and the Windows VM doesn't start in the new cluster after import it. I've attached the logs of the vdsm Thanks for providing your, but they begin too late. The bug is still a mystery to me. Something garbles Vdsm's internal representation of virtual disks. And it's bad. I would appreciate if you could dig backward in your logs and find the last successfull startup of a VM, say W2K8_cluster1 (86f10137-d917-4508-a07a-3f83e6f24a95). Then, browse forward to find the first failure (be it on next startup of VM or during migration). Best regards, Dan. -- Emiliano Tortorella +598 98941176 emi...@gmail.com ovirt_logs_clusterGFS.tar.gz___ 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: [Users] Understanding Console Options
On 4 Oct 2013, at 20:31, H. Haven Liu wrote: I don't mean to appear argumentative, but these suggestions sounds like non-answers: 1. my favorite VNC viewer is the Screen Sharing app in Mac (which is the default VNC viewer that comes with every OS X installation). It does not take input files (AFAIK). The previous solution was good in that it just presents the password, which I can copy/paste into Screen Sharing; Have you tried SPICE with http://www.spice-space.org/page/OSX_Client ? Have you tried noVNC support new in 3.3? 2. the problem with downloading a file is that I have to open it (with yet another application), and delete the file afterwards. indeed, that's not very convenient :-/ Again, I'm not even saying the .vv file does not have benefits or that the option should not be there, as I'm sure those that use virt-viewer can enjoy it. But not everyone uses virt-viewer, and not all popular VNC viewer supports file inputs. well, the file contains all the info needed for connection so with a simple wrapper every single VNC client which accepts a host/pwd on cmdline will work just fine. regarding your favorite app, there seems to be way how to open it without asking for anything, see http://superuser.com/questions/217425/is-there-a-way-to-launch-screensharing-from-the-terminal so how about writing a simple bash wrapper to parse out the hostpassword and launch open vnc://user@pass:server:port ? If you succeed it would be great if you can share your wrapper script You can't possibly be telling me that using a VNC client such as mine is benefited by the download .vv file method as compared to the previous method. Anyway you slice it, it sounds just like well, too bad. deal with it I hope one of the three solutions above would work for you… Thanks, michal On Oct 4, 2013, at 10:06 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On 4 Oct 2013, at 17:12, Itamar Heim wrote: On 10/04/2013 06:09 PM, Haoyang Haven Liu wrote: I can appreciate the .vv file for certain platforms in which virt-viewer provides additional benefits, but my point was I (and I suspect at least some other) use existing VNC clients in Mac/Windows/Linux, and perhaps don't want to use virt-viewer. In those cases, that the download .vv file method is more needlessly cumbersome as compared to the popup with host/port/password method, whether it involves writing a wrapper, or just open the downloaded text file. As I said, perhaps instead of the two console options scheme currently, it should be a three console option scheme with VNC, virt-viewer, SPICE, because the download .vv file method is not at all (generic) VNC clients friendly. it is missing a script for you to associate with your browser, which will get the .vv file and launch your favorite vnc client with the info from the .vv file? or, if you prefer, associate it with your favorite text editor so you can copypaste the same info as before. It's a browser's association you have to set/change Thanks, michal On Oct 4, 2013, at 4:49 AM, Itamar Heim ih...@redhat.com wrote: On 10/03/2013 02:29 AM, Christian Hernandez wrote: Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more cumbersome for not apparent benefit. There should at least be an option for those that don't use virt-viewer to still get the popup. Agreed Maybe this is just a ploy to get everyone to use Spice? ...if that's the case; when are we going to get Spice plugin for Mac OSX? to answer both. 1. its not a ploy, its actually to solve the problem for platforms without plugins for spice or vnc (no platform has a plugin for vnc). 2. virt-viewer supports both windows and linux http://www.spice-space.org/download.html i remember there is a client for mac as well actually, i suggest asking on: http://lists.freedesktop.org/mailman/listinfo/spice-devel 3. you can write a small wrapper script and associate it with the .vv file (hopefully, someone will do this and attach an example for others). this will work for both vnc of your choice and spice on any platform HTH, Itamar Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Oct 2, 2013 at 4:20 PM, Haoyang Haven Liu haven@ucla.edu mailto:haven@ucla.edu wrote: The replacement of VNC popup with a .vv file download seems like a (or several) step backward. Since virt-viewer appears to be a linux-only tool, and VNC clients from Windows or OS X do not recognize the file formats, opening a console to a VM just became more
Re: [Users] ovirt-node post-reboot no persistent networks config .. !!! urgent update req for POC coming weekend
Am Donnerstag, den 03.10.2013, 00:07 +0800 schrieb Anil Dhingra: Hey Fabian Thanks you so much .. abv mentioned iso draft for el6 works like a charm config is persistent now ..only issue I faced is after configuring first interface eth0 when it starts VDSM other service it hangs at close hard reboot was required but after that no issue tried multiple reboots different n/w configs ..looks perfect. I never noticed this, but I'll keep an eye open and see if it happens regularly. just wanted to ask some n/w related q to clear my doubts .. may be its not a right group to ask such question Please find attached image for below 1- ovirt-node creates Bridged network only when vm network option is selected ... ? correct me if I am wrong 2- is it recommended or best practice to select ovirtmgmt for VM n/w ? so that it make a Bridged n/w 3- for Migration/Display network whats the best practice do we need to create manual bridge setup ? Sorry, I actually can't help you with this. But maybe somemone more familiar with Engines UI can help here. Thanks again for prompt response really appreciate yours help .. I'm glad that it solved the issue - and I must admit that I wasn't really aware that custom ifcfg configs were used. Greetings and a nice weekend fabian Anil On Wed, Oct 2, 2013 at 5:16 PM, Fabian Deutsch fabi...@redhat.com wrote: Am Dienstag, den 01.10.2013, 15:05 + schrieb Sven Kieske: Hi, we encountered the same problem as Anil. We wanted to give this nightly iso a try: http://jenkins.ovirt.org/job/node-devel/825/distro=centos64/artifact/ovirt-node-iso-3.1.0-0.999.825.el6.iso but it seems it doesn't contain the required vdsm-plugin? True. The plugin is missing. I've prepared two isos (but untested) which address this bug: http://fedorapeople.org/~fabiand/node/ovirt-node-iso-3.0.1-1.0.201310020841draft.vdsm.el6.iso http://fedorapeople.org/~fabiand/node/ovirt-node-iso-3.1.0-0.999.201310020841draft.vdsm.fc19.iso They are basically the base iso (found in jenkins) plus an edit-node run: /edit-node --repo edit-node-el6.repo --install ovirt-node-plugin-vdsm ovirt-node-iso-3.0.1-1.0.201310020841draft.el6.iso Please let me know if they fix the problem. Greetings fabian So any help on this topic would be appreciated. Greetings Sven On 30/09/13 20:52, Fabian Deutsch wrote: Hey Anil, you were doing the right thing to persist the network cfg files. It might have been node that was to greedy when reconfiguring DNS :) You might take a look at this fix: http://gerrit.ovirt.org/19705 It is untested but at least I could reproduce the behavior you were seeing and prepared the patch based on that findings. An ISO containing that fix will sooner or later land here: http://jenkins.ovirt.org/job/node-devel/ (The queue is currently quite long, which can take a day until the patch above is turned into an ISO). Long story short, please check if this patch fixes your problem, I'll also try to take a look at it when an iso is ready. And file a bug if you want to track the state of this issue. Greetings fabian ___ 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