[ovirt-users] Cannot start VM - pauses due to storage error
Hello, All of the sudden stared getting the errors below. Can't start VM's, they immediately go into paused state. Thread-51856::DEBUG::2014-12-27 09:56:08,812::vm::486::vm.Vm::(_getUserCpuTuneInfo) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::Domain Metadata is not set Thread-51858::DEBUG::2014-12-27 09:56:11,953::vm::486::vm.Vm::(_getUserCpuTuneInfo) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::Domain Metadata is not set Thread-51860::DEBUG::2014-12-27 09:56:12,856::__init__::467::jsonrpc.JsonRpcServer::(_serveRequest) Calling 'VM.cont' in bridge with {u'vmID': u'e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d'} libvirtEventLoop::DEBUG::2014-12-27 09:56:13,016::vm::5461::vm.Vm::(_onLibvirtLifecycleEvent) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::event Resumed detail 0 opaque None libvirtEventLoop::DEBUG::2014-12-27 09:56:13,021::vm::5461::vm.Vm::(_onLibvirtLifecycleEvent) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::event Resumed detail 0 opaque None libvirtEventLoop::INFO::2014-12-27 09:56:13,026::vm::4780::vm.Vm::(_onIOError) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::abnormal vm stop device virtio-disk0 error eother libvirtEventLoop::DEBUG::2014-12-27 09:56:13,029::vm::5461::vm.Vm::(_onLibvirtLifecycleEvent) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::event Suspended detail 2 opaque None Thread-51863::DEBUG::2014-12-27 09:56:15,072::vm::486::vm.Vm::(_getUserCpuTuneInfo) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::Domain Metadata is not set Thread-51869::DEBUG::2014-12-27 09:56:18,120::vm::486::vm.Vm::(_getUserCpuTuneInfo) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::Domain Metadata is not set Thread-51872::DEBUG::2014-12-27 09:56:21,154::vm::486::vm.Vm::(_getUserCpuTuneInfo) vmId=`e3d75e55-2b41-4f0b-8d2a-16f8fde2ba0d`::Domain Metadata is not set ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] python floppy in RunOnce mode
On 12/24/2014 11:11 AM, Giulio Casella wrote: I can see this behaviour in ovirt 3.5 environment (ovirt-engine-3.5.0.1-1.el6) and in rhev 3.4 environment (rhevm-3.4.3-1.2.el6ev). I'm stuck, what I'm doing wrong? :-( I think that you are doing things correctly. Did you take into account that the sysprep logic is triggered only the first time that the VM is started? In later starts the sysprep logic is just ignored. Try to remove the VM and create it again, then start it with a simple script. I'm using this: #!/usr/bin/env python from ovirtsdk.api import API from ovirtsdk.xml import params api = API( url=https://ovirt.example.com/ovirt-engine/api;, username=admin@internal, password=**, ca_file=/etc/pki/ovirt-engine/ca.pem ) vm = api.vms.get(name=myvm) initialization = params.Initialization() vm.set_initialization(initialization) vm.update() action = params.Action() vm.start(action) api.disconnect() This works correctly in my 3.5.0.1 environment. If you don't want to create the VM again you can also change the is_initialized flag in the database (this isn't currently possible with the RESTAPI): # psql --host=localhost --user=engine --password engine Password for user engine: ** engine= update vm_static set is_initialized = false where vm_name='myvm'; UPDATE 1 engine= \q (The database password is in /etc/ovirt-engine/engine.conf.d/10-setup-database.conf). Il 23/12/2014 10:16, Giulio Casella ha scritto: Yes, the VM is windows 7: print myvm.get_os().get_type() shows windows_7x64 Anyway I tried to force it, as you suggested, but with no luck... Il 22/12/2014 17:52, Juan Hernández ha scritto: On 12/22/2014 01:21 PM, Giulio Casella wrote: Hi Juan, I tried to use builtin sysprep files, with no luck. Here is my code: myvm = api.vms.get(name=vmname) initialization = params.Initialization() myvm.set_initialization(initialization) myvm.update() myvm.start(params.Action()) Virtual Machine starts, but there is no mounted floppy. VM is a freshly installed Windows 7 x86_64, with ovirt guest agent and no other software. Any ideas? Giulio Is the operating system of the set to one of the Windows variants? If it isn't set to a Windows variant then the Sysprep logic won't trigger. To make sure you can update the OS from the script: myvm = api.vms.get(name=vmname) initialization = params.Initialization() myvm.set_initialization(initialization) myvm.set_os( params.OperatingSystem( type_=windows_7x64 ) ) myvm.update() myvm.start(params.Action()) Il 24/10/2014 16:08, Giulio Casella ha scritto: Il 23/10/2014 20:59, Juan Hernandez ha scritto: On 10/23/2014 09:40 AM, Giulio Casella wrote: Hi, I'm trying to boot a vm with non persistent floppy using python ovirt sdk (the RunOnce way in administrator portal), but guest OS can't see floppy drive. The ultimate goal is to deploy floppy with sysprep unattend.xml file for windows 7 pools of vm. Here is a snippet of code I use: - myvm = api.vms.get(name=vmname) content=This is file content! f=params.File(name=foobar.txt,content=content) fs=params.Files() fs.add_file(f) payload=params.Payload() payload.set_type(floppy) payload.set_files(fs) payloads=params.Payloads() payloads.add_payload(payload) thevm=params.VM() thevm.set_payloads(payloads) action=params.Action(vm=thevm) myvm.start(action=action) xml = ParseHelper.toXml(action) print xml - As you can see, for debugging purpose, I print my xml action, and I get: - action vm payloads payload type=floppy files file namefoobar.txt/name contentThis is file content/content /file /files /payload /payloads /vm /action - in the admin portal I can see my vm in RunOnce state, but no floppy is present... In fact in the vm process command line (ps -ef | grep qemu-kvm | grep vmname) I can't see -drive option referring to floppy (I only see 2 -drive options, referring to vm system disk and to a correctly mounted cdrom ISO) What I'm doing wrong? (The engine is RHEV-M version 3.4.1-0.31.el6ev) The problem is that using non persistent payloads isn't currently supported, so basically your payloads element is silently ignored. You have currently two alternatives: 1. Use persistent payloads: vm = vms.get(name=myvm) vm.set_payloads(paylaods) vm.update() vm.start(params.Action()) You may also want to remove the payloads once the machine is configured, but this isn't strictly required, as Windows will not try to locate the sysprep floppy in subsequent boots. The only minor
Re: [ovirt-users] VM failover with ovirt3.5
Hi I had a try with hosted-engine --set-maintence --mode=local on compute2-1, which is host 3 in my cluster. From the log, it shows maintence mode is dectected, but migration does not happen. The logs are as follows. Is there any other config I need to check? [root@compute2-1 vdsm]# hosted-engine --vm-status --== Host 1 status ==- Status up-to-date : True Hostname : 10.0.0.94 Host ID: 1 Engine status : {health: good, vm: up, detail: up} Score : 2400 Local maintenance : False Host timestamp : 836296 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=836296 (Sat Dec 27 11:42:39 2014) host-id=1 score=2400 maintenance=False state=EngineUp --== Host 2 status ==-- Status up-to-date : True Hostname : 10.0.0.93 Host ID: 2 Engine status : {reason: vm not running on this host, health: bad, vm: down, detail: unknown} Score : 2400 Local maintenance : False Host timestamp : 687358 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=687358 (Sat Dec 27 08:42:04 2014) host-id=2 score=2400 maintenance=False state=EngineDown --== Host 3 status ==-- Status up-to-date : True Hostname : 10.0.0.92 Host ID: 3 Engine status : {reason: vm not running on this host, health: bad, vm: down, detail: unknown} Score : 0 Local maintenance : True Host timestamp : 681827 Extra metadata (valid at timestamp): metadata_parse_version=1 metadata_feature_version=1 timestamp=681827 (Sat Dec 27 08:42:40 2014) host-id=3 score=0 maintenance=True state=LocalMaintenance [root@compute2-1 vdsm]# tail -f /var/log/ovirt-hosted-engine-ha/agent.log MainThread::INFO::2014-12-27 08:42:41,109::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-27 08:42:51,198::state_decorators::124::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(check) Local maintenance detected MainThread::INFO::2014-12-27 08:42:51,420::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state LocalMaintenance (score: 0) MainThread::INFO::2014-12-27 08:42:51,420::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-27 08:43:01,507::state_decorators::124::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(check) Local maintenance detected MainThread::INFO::2014-12-27 08:43:01,773::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state LocalMaintenance (score: 0) MainThread::INFO::2014-12-27 08:43:01,773::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) MainThread::INFO::2014-12-27 08:43:11,859::state_decorators::124::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(check) Local maintenance detected MainThread::INFO::2014-12-27 08:43:12,072::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state LocalMaintenance (score: 0) MainThread::INFO::2014-12-27 08:43:12,072::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.94 (id: 1, score: 2400) [root@compute2-3 ~]# tail -f /var/log/ovirt-hosted-engine-ha/agent.log MainThread::INFO::2014-12-27 11:36:28,855::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-27 11:36:39,130::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-27 11:36:39,130::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-27 11:36:49,449::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Current state EngineUp (score: 2400) MainThread::INFO::2014-12-27 11:36:49,449::hosted_engine::332::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring) Best remote host 10.0.0.93 (id: 2, score: 2400) MainThread::INFO::2014-12-27 11:36:59,739::hosted_engine::327::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
Re: [ovirt-users] Can not connect to Storage domain data
I issued one bug with the workaround as https://bugzilla.redhat.com/show_bug.cgi?id=1177459 On 2014/12/22, at 5:39, Vered Volansky ve...@redhat.commailto:ve...@redhat.com wrote: I you determine there is indeed a bug, We'd appreciate you opening one in bugzilla, along with the workaround. Thanks, Vered - Original Message - From: Cong Yue cong_...@alliedtelesis.commailto:cong_...@alliedtelesis.com To: users@ovirt.orgmailto:users@ovirt.org Sent: Friday, December 19, 2014 2:18:34 AM Subject: Re: [ovirt-users] Can not connect to Storage domain data I found the workaround for this. For some reason my Storage domain of data can not be mounted. I just mount it manually, like mount –t nfs nfs2-3:/data /rhev/data-center/mnt/nfs2-3:_data Actually, the folder of “/rhev/data-center/mnt/nfs2-3:_data” has been created. I think this may be some bug as for in my environment, I will reproduce it always if I try to deploy the host from second time. Thanks, Cong From: Yue, Cong Sent: Thursday, December 18, 2014 2:17 PM To: 'users@ovirt.orgmailto:users@ovirt.org' Subject: RE: Can not connect to Storage domain data I think the problems for my issue are related with the NFS version. From the second, if I change the value of Defaultver /etc/nfsmount.conf from “Defaultvres=4” to “Defaulvers=3”, the mount can not be done. When I changed it back to “Defaultvers=4”, it will work. Also from /proc/mounts, it shows the nfs version is nfs4. But for my first host, it is nfs3. Do somebody have the similar issue about thi? Thank in advance, Cong From: Yue, Cong Sent: Thursday, December 18, 2014 9:52 AM To: users@ovirt.orgmailto:users@ovirt.org Subject: Can not connect to Storage domain data Hi I successfully deployed the first ovirt host with hosted-engine –deploy. Engine VM works well. While, when I try to create the second host with the same way as the guide of http://community.redhat.com/blog/2014/11/up-and-running-with-ovirt-3-5-part-two/ I am not using GlusterFS, and just use one external storage(nfs) in my environment. The issue I have is in the engine administration menu, it says “can not connect to storage domain data” In the second host, I checked with nfs-check.py for both storage and data domain. It shows the status is ok. http://www.ovirt.org/Troubleshooting_NFS_Storage_Issues During deployment of the second host, how the data domain is trying to be mounted? Thanks, This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator. ___ Users mailing list Users@ovirt.orgmailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Stucked VM Migration and now only run once
Hi all, we have a Problem with a VM that can only be started in run-once mode. After a temporary network disconnect on the hosting node, the vm (and some others) was down. When I tried to start regularly, it showed a currently beeing migrated status. I only could start it with run-once. Reboot didn't make a change. Any ideas? Greets Kurt -- Kurt Woitschach-Müller kurt.woitschach-muel...@tngtech.com * +49-1743180076 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock Sitz: Unterföhring * Amtsgericht München * HRB 135082 signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client
Hey guys, Thanks for remembering about Opaque. For those who are not familiar with the project, it is an oVirt/RHEV graphics console client which supports the SPICE protocol so far. It uses libgovirt to connect to the oVirt/RHEV API. I also created a separate pure SPICE client (called aSPICE) for Android based on libspice. It would be nice if I got more feedback from Red Hat developers, but you guys are probably as busy as I am :). The app is getting attention on Google Play and people are using it successfully for their installations, it seems. I have plans to add the following features to Opaque, time permitting: - Ability to edit default settings, so that people who connect with console.vv file will be able to configure Audio, keyboard layout, etc. - The ability to allocate VMs from a pool. - The ability to control Audio Playback and Recording separately. I don't think Opaque needs to get portal-management functionality. I was contacted by an intern working on movirt (Sphoorti Joglekar, cc-ed), asking whether I would be willing to support a URI Intent scheme that movirt can use to launch aSPICE. I think I already have a pretty well specified URI scheme that may work for the purpose, so we'll see how that goes. I am wondering whether it wouldn't be better to launch aSPICE or Opaque with a console.vv file instead, though. I guess the developers of movirt will have to consider both options. At any rate, Opaque is far from dead. I'm security supporting it, I just don't find a lot of time to work on additional features. I am cc-ing Brian Proffitt, because at one point we discussed setting up Opaque as a sub-project of oVirt. I don't know whether there is any interest for that in Red Hat, or any interest at all in supporting mobile clients for oVirt/RHEV, etc. It would be nice to hear an official stance on the topic. Thanks! iordan On Tue, Nov 4, 2014 at 10:17 AM, David Jaša dj...@redhat.com wrote: The app in Google may be half year old but there is a movement in git [1] and the author recently called for testing or comments on spice-devel ML. David [1] https://github.com/iiordanov/remote-desktop-clients/tree/master/eclipse_projects/Opaque On Pá, 2014-10-31 at 07:56 +0100, Gianluca Cecchi wrote: On Fri, Oct 31, 2014 at 7:03 AM, Yair Zaslavsky yzasl...@redhat.com wrote: - Original Message - From: Greg Sheremeta gsher...@redhat.com To: users users@ovirt.org, de...@ovirt.org Sent: Friday, October 31, 2014 3:49:11 AM Subject: [ovirt-devel] [RFC] oVirt mobile client Hi, The focus of our OPW internship program starting in December will be mobile and/or lightweight engine clients -- hopefully integrating the new ovirt.js project. +100 [snip] I see that there are some already existing mobile clients for oVirt. I'm trying to grasp what we have and what the needs are. That's all I see on the first few pages of google. There was also project from Iordanov about spice/oVirt support on android.. See: http://lists.ovirt.org/pipermail/users/2013-December/018434.html Some days ago it seems he go also support international keyboard layout support: I finally got some time to back-port the international keyboard layout support from the Android Ovirt client Opaque into the SPICE client aSPICE I made same preliminary tests at the end of 2013 but I was not able to connect to oVirt... I don't know actually how it went ahead... the Google channel seems stopped since February... Gianluca ___ Devel mailing list de...@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- The conscious mind has only one thread of execution. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] feedback-on-oVirt-engine-3.5.0.1-1.el6
Dear Sir, When I try to install the oVirt-engine 3.5 in the CentOS 6.6 .Below error is show : -- Finished Dependency Resolution Error: Package: ovirt-engine-backend-3.5.0.1-1.el6.noarch (ovirt-3.5) Requires: novnc You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I have added the EPEL source and installed ovirt-release35.rpm ,but it still shows requires:novnc . Please help me to check this .Thank you very much ! bingozhou2013___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Would you add the project of Jasper into the Zanata?
The reports is used by oVirt, but we do not translate it. I would contact the Jasper community on how to donate translations. - Original Message - From: 张亚琪 zhangyingyun...@gmail.com To: users@ovirt.org Cc: t...@redhat.com, ykata...@redhat.com Sent: Friday, December 26, 2014 10:19:00 AM Subject: [ovirt-users] Would you add the project of Jasper into the Zanata? hi all, Would you add Jasper into zanata? I want to translate it for reports, and this project is based on this project. So would you add it for reports? Thanks a lot. :) ___ 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] Would you add the project of Jasper into the Zanata?
corrections: - Original Message - From: Yaniv Dary yd...@redhat.com To: 张亚琪 zhangyingyun...@gmail.com Cc: users@ovirt.org, t...@redhat.com, ykata...@redhat.com Sent: Sunday, December 28, 2014 1:36:27 AM Subject: Re: [ovirt-users] Would you add the project of Jasper into the Zanata? JasperServer is used by oVirt, but we do not translate it. I would contact the Jasper community on how to donate translations. We do have a translation project for the reports themselves, Yuko can refer you to that. - Original Message - From: 张亚琪 zhangyingyun...@gmail.com To: users@ovirt.org Cc: t...@redhat.com, ykata...@redhat.com Sent: Friday, December 26, 2014 10:19:00 AM Subject: [ovirt-users] Would you add the project of Jasper into the Zanata? hi all, Would you add Jasper into zanata? I want to translate it for reports, and this project is based on this project. So would you add it for reports? Thanks a lot. :) ___ 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