Re: [ovirt-users] status disks locked
On 06/30/2014 08:06 AM, Vered Volansky wrote: Andy, Did what Sven suggested helped you out? What's the status of you disks? what about engine logs? unlock utility? Regards, Vered - Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Wednesday, June 25, 2014 2:17:14 PM Subject: Re: [ovirt-users] status disks locked Am 25.06.2014 10:33, schrieb Andy Michielsen: Hello, I have a vm in my ovirt setup which has it's disks locked after I wanted to take a snapshot. I have a separate node and an engine and already rebooted them both but it still keeps on telling me it's disks are locked. Where does this info come from and what can I do to rectify the situation. Hi, afaik you can try 2 things: 1. in webadmin rightclick the rebooted node, and select host has been rebooted 2. restart ovirt-engine but ymmv HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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: [ovirt-users] Console using REST API
On 06/30/2014 07:14 AM, Shanil S wrote: Hi All, Could you please explain how can i create console using REST api ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users do you mean a command line shell or a web user portal? for web user portal, several samples here: http://gerrit.ovirt.org/gitweb?p=samples-portals.git;a=tree;h=refs/heads/master;hb=refs/heads/master ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] HP ILO2 , fence not working, with SSH port specified, a Bug?
hi i have an old HP server with ILO2 on manager i configured power management and configured SSH port to use for ILO2 for checking SSH i manually ssh to ILO and is working fine, but power management test always fail with *Unable to connect/login to fencing device* log shows its using fence_ilo instead of fence_ilo2 Thread-18::DEBUG::2014-06-30 08:23:14,106::API::1133::vds::(fenceNode) fenceNode(addr=,port=,*agent=ilo* ,user=Administrator,passwd=,action=status,secure=,options=ipport=22 ssl=no) Thread-18::DEBUG::2014-06-30 08:23:14,741::API::1159::vds::(fenceNode) rc 1 in agent=*fence_ilo* ipaddr=xx login=Administrator action=status passwd= ipport=22 ssl=no out err *Unable to connect/login to fencing device* *Manually testing* fence_ilo -a xx -l Administrator -p x -o status Status: ON but with ssh port specified ie *-u * fence_ilo -a xx -l Administrator -p x -o status -u 22 *Unable to connect/login to fencing device* So when we specify ssh port it fails and with out ssh port its working this is the case with ILO2 also for ilo3 and ilo4 since it does not ask for SSH port its working Is this a Bug Thanks, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] HP ILO2 , fence not working, with SSH port specified, a Bug?
Well if it's a bug then it would be resolved by now :) https://bugzilla.redhat.com/show_bug.cgi?id=1026662 Had the same doubts as you did. I really don't know why it wouldn't connect to iLO if the default port is specified, but I'm glad that you found a workaround. Ivan On 06/30/2014 08:36 AM, mad Engineer wrote: hi i have an old HP server with ILO2 on manager i configured power management and configured SSH port to use for ILO2 for checking SSH i manually ssh to ILO and is working fine, but power management test always fail with *Unable to connect/login to fencing device* log shows its using fence_ilo instead of fence_ilo2 Thread-18::DEBUG::2014-06-30 08:23:14,106::API::1133::vds::(fenceNode) fenceNode(addr=,port=,*agent=ilo*,user=Administrator,passwd=,action=status,secure=,options=ipport=22 ssl=no) Thread-18::DEBUG::2014-06-30 08:23:14,741::API::1159::vds::(fenceNode) rc 1 in agent=*fence_ilo* ipaddr=xx login=Administrator action=status passwd= ipport=22 ssl=no out err *Unable to connect/login to fencing device* *Manually testing* fence_ilo -a xx -l Administrator -p x -o status Status: ON but with ssh port specified ie *-u * fence_ilo -a xx -l Administrator -p x -o status -u 22 *Unable to connect/login to fencing device* So when we specify ssh port it fails and with out ssh port its working this is the case with ILO2 also for ilo3 and ilo4 since it does not ask for SSH port its working Is this a Bug 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: [ovirt-users] HP ILO2 , fence not working, with SSH port specified, a Bug?
:) On Mon, Jun 30, 2014 at 12:12 PM, combuster combus...@archlinux.us wrote: Well if it's a bug then it would be resolved by now :) https://bugzilla.redhat.com/show_bug.cgi?id=1026662 Had the same doubts as you did. I really don't know why it wouldn't connect to iLO if the default port is specified, but I'm glad that you found a workaround. Ivan On 06/30/2014 08:36 AM, mad Engineer wrote: hi i have an old HP server with ILO2 on manager i configured power management and configured SSH port to use for ILO2 for checking SSH i manually ssh to ILO and is working fine, but power management test always fail with *Unable to connect/login to fencing device* log shows its using fence_ilo instead of fence_ilo2 Thread-18::DEBUG::2014-06-30 08:23:14,106::API::1133::vds::(fenceNode) fenceNode(addr=,port=,*agent=ilo* ,user=Administrator,passwd=,action=status,secure=,options=ipport=22 ssl=no) Thread-18::DEBUG::2014-06-30 08:23:14,741::API::1159::vds::(fenceNode) rc 1 in agent=*fence_ilo* ipaddr=xx login=Administrator action=status passwd= ipport=22 ssl=no out err *Unable to connect/login to fencing device* *Manually testing* fence_ilo -a xx -l Administrator -p x -o status Status: ON but with ssh port specified ie *-u * fence_ilo -a xx -l Administrator -p x -o status -u 22 *Unable to connect/login to fencing device* So when we specify ssh port it fails and with out ssh port its working this is the case with ILO2 also for ilo3 and ilo4 since it does not ask for SSH port its working Is this a Bug Thanks, ___ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Convert vmware vm
No, as far as I know this is _not_ on the roadmap. Am 27.06.2014 21:02, schrieb Massimo Mad: But it's in the roadmap a gui converter v2v, or better, insert a menu in the manager where i can import several type of vm like .ovf or .vmk Thanks, -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Added RH EL and CentOS in engine install part of docs
Am 29.06.2014 19:02, schrieb Gianluca Cecchi: Hello, I'm installing a new test oVirt environment and I'm going to use CentOS 6.5 for the engine. I just verified that the instructions at http://www.ovirt.org/Quick_Start_Guide work correctly and exactly the same for CentOS too. Previously only Fedora was referred and the first-time coming users could feel confused... so I took the time to add Red Hat Enterprise Linux and CentOS. Feel free to revise and correct the page Gianluca I don't know if it was corrected since you wrote this mail but I guess this has always been there: http://www.ovirt.org/Quick_Start_Guide#Install_oVirt_Engine_.28Fedora_.2F_Red_Hat_Enterprise_Linux_.2F_CentOS.29 -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Spam Re: Spam Re: Spam Re: Spam Misreporting network activity
I'd love to see cloned bugs for the upstream project from rhev, as it's hard to track those bugs if they don't get cloned or b...@ovirt.org is not listed as a qa contact. wouldn't this be a good practice? Am 29.06.2014 21:13, schrieb Dan Kenigsberg: Your initial report regarded network activity. With memory usage we had a bug fixed recently: https://bugzilla.redhat.com/show_bug.cgi?id=1072030 http://gerrit.ovirt.org/28115 (fixed in ovirt-3.4.2's vdsm) -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Console using REST API
Hi Itamar, I am planning to use web portal using php and curl. I checked this doc http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal but didn't understand about it. On Mon, Jun 30, 2014 at 11:38 AM, Itamar Heim ih...@redhat.com wrote: On 06/30/2014 07:14 AM, Shanil S wrote: Hi All, Could you please explain how can i create console using REST api ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users do you mean a command line shell or a web user portal? for web user portal, several samples here: http://gerrit.ovirt.org/gitweb?p=samples-portals.git; a=tree;h=refs/heads/master;hb=refs/heads/master ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Ip spoofing
On Mon, Jun 30, 2014 at 10:11:21AM +0800, Punit Dambiwal wrote: Hi Dan, I did the same as you suggested...please find the attached logs and domainxml And now, the log does not mention any hook at all. Have you removed the macspoof hook which you had there before? How many hosts do you have? Do they have the same set of installed hooks on them all? Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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] Added RH EL and CentOS in engine install part of docs
On Mon, Jun 30, 2014 at 8:53 AM, Sven Kieske s.kie...@mittwald.de wrote: so I took the time to add Red Hat Enterprise Linux and CentOS. I don't know if it was corrected since you wrote this mail but I guess this has always been there: http://www.ovirt.org/Quick_Start_Guide#Install_oVirt_Engine_.28Fedora_.2F_Red_Hat_Enterprise_Linux_.2F_CentOS.29 -- As I wrote in my message indeed yesterday I took the time to modify and add them... Previously (some weeks ago) I made modifications also inside the Hypervisors part. Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Windows Guest Agent - Server 2008 R2
On 06/29/2014 03:43 AM, Nathan Llaneza wrote: Hello Everyone, I am having difficulties getting the oVirt Windows Guest Agent to work with Windows Server 2008 R2 SP1. We are currently running oVirt 3.4.2. I have used the instructions from http://www.ovirt.org/OVirt_Guest_Agent_For_Windows. As a side note I do have it working on Windows Server 2012 R2. * I have installed the Virtio serial drivers from the virtio-win-0.1-81.iso * For troubleshooting purposes I later tried the drivers from the virtio-win-0.1-74.iso * Installed python 2.7.3, Python for Windows extensions, py2exe * Compiled and copied the two exe files to C:\Program Files\Guest Agents\oVirt Guest Agent\ * The two files sha1 hash is: OVirtGuestService.exe A5F7FD0A15076437D174D3EF33FE95E42059FF0F w9xpopen.exe B4D4623E5522390AEF6F113B5BB6FA8F1CBDC66C * Removed all except the top three # symbols from the ovirt-guest-agent.ini file and then copied it to the directory stated above * The sha1 hash for this file is: ovirt-guest-agent.ini 3ED609F101D44F52A68969DAD8D6F5F294FA733A * Installed the service. It shows up in services.msc. * Configure the service to auto start. * Try to start the service. This is where the problem exist. When I try to start the service I get an error. The error code in Event Viewer within Windows is Event 10. Under the general tab is states The description for Event ID 10 from source OVirtGuestService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. I have tried to remove the service and re-install with no luck. Any suggestions? Thanks! Can you please check that the default.ini and default-logger.ini files are also in that folder? They can be found in the $(project_root)/configurations folder. These files are now required if you build it from the master branch. Once you have those two files in the target location, please try to start the service again. I am not sure what the Event ID 10 means, it's maybe just that the process stopped unexpectedly. Please also be sure that run OvirtGuestService.exe -install from the location where you keep the binary, otherwise the path to the service executable will be the wrong location. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [solved] Problem with reporting
Hi Yaniv, after export, import and restart of the engine I can login. Thank you very much. Best regards, Michael Am 24.06.2014 11:38, schrieb Yaniv Dary: export the users: # export ADDITIONAL_CONFIG_DIR=/var/lib/ovirt-engine-reports/build-conf #./js-export.sh --output-dir /tmp --users change the crypted password to new password in plain text and then import: ./js-import.sh --input-dir /tmp --update Yaniv - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: Yaniv Dary yd...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Yedidyah Bar David d...@redhat.com, users users@ovirt.org Sent: Monday, June 23, 2014 1:50:19 PM Subject: Re: [ovirt-users] Problem with reporting Sorry, this is not the solution. I found the table jiuser in the ovirt_engine_reports database with an user admin and a crypted password. Am 23.06.2014 12:40, schrieb Yaniv Dary: in upgrade admin user stays ovirt-admin, not admin. Yaniv - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: Yaniv Dary yd...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Yedidyah Bar David d...@redhat.com, users users@ovirt.org Sent: Monday, June 23, 2014 1:35:45 PM Subject: Re: [ovirt-users] Problem with reporting I'm using ovirt-engine-reports-3.4.2-1.el6.noarch. I tried to use the reporting engine since Ovirt 3.2x. But it didn't work on Centos systems. So it is an upgrade from an earlier version. Am 23.06.2014 12:26, schrieb Yaniv Dary: - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: Alon Bar-Lev alo...@redhat.com Cc: Yaniv Dary yd...@redhat.com, Yedidyah Bar David d...@redhat.com, users users@ovirt.org Sent: Monday, June 23, 2014 12:18:31 PM Subject: Re: [ovirt-users] Problem with reporting After removing the folders it is working. But I can not login to the reporting portal. When I try to logon with admin and the passwort, defined in engine-setup, I get: Invalid credentials supplied. Could not login to JasperReports Server. Can I reset the password or is it an other problem? What version are you using? and is this a upgrade from 3.3? Am 23.06.2014 10:31, schrieb Alon Bar-Lev: - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: Alon Bar-Lev alo...@redhat.com Cc: Yaniv Dary yd...@redhat.com, Yedidyah Bar David d...@redhat.com, users users@ovirt.org Sent: Monday, June 23, 2014 11:26:00 AM Subject: Re: [ovirt-users] Problem with reporting I found an other logfile, perhaps it is helpful. Please attempt: 1. stop service 2. rm -fr /tmp/jasperserver /tmp/dataSnapshots 3. start service Am 23.06.2014 08:36, schrieb Alon Bar-Lev: - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: Alon Bar-Lev alo...@redhat.com, Yaniv Dary yd...@redhat.com Cc: Yedidyah Bar David d...@redhat.com, users users@ovirt.org Sent: Monday, June 23, 2014 9:32:55 AM Subject: Re: [ovirt-users] Problem with reporting The file has the following permissions: -rw--- 1 ovirt ovirt 3520 18. Jun 09:21 js-jboss7-ds.xml so permission is correct, can you please see what permission is on directory: /var/tmp/ovirt-engine/deployments/ovirt-engine-reports.war/WEB-INF please also confirm that jboss is running under ovirt user... just to make sure... Am 23.06.2014 08:27, schrieb Alon Bar-Lev: - Original Message - From: Yaniv Dary yd...@redhat.com To: Alon Bar-Lev alo...@redhat.com, Yedidyah Bar David d...@redhat.com Cc: users users@ovirt.org, Michael Wagenknecht wagenkne...@fuh-e.de Sent: Monday, June 23, 2014 9:24:44 AM Subject: Re: [ovirt-users] Problem with reporting For some reason this is the error: /var/tmp/ovirt-engine/deployments/ovirt-engine-reports.war/WEB-INF/js-jboss7-ds.xml (Permission denied) it's looking for war in '/var/tmp'. Alon\Didi, any idea why this can happen? this is the deployment location jboss is managing its deployments in a place in which it can write files, so we set it to /var/tmp or in newer versions /var/lib, so it can be happy and not fail as it do not have permissions to write anything. please see what permission this file has. Yaniv - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: Yaniv Dary yd...@redhat.com Cc: users users@ovirt.org Sent: Monday, June 23, 2014 9:02:52 AM Subject: Re: [ovirt-users] Problem with reporting Hi Yaniv, I installed the engine and the reports as user root. The service is running as user ovirt. I changed the permission of the /var/lib/ovirt-engine-reports/ovirt-engine-reports.war folder to user ovirt but I get the same messages and it doesn`t work. Is there an other folder where I have to check the permissions? Regards, Michael Am 22.06.2014 12:31, schrieb Yaniv Dary: - Original Message - From: Michael Wagenknecht wagenkne...@fuh-e.de To: users users@ovirt.org Sent:
Re: [ovirt-users] Ip spoofing
Hi Dan, Yes...i already removed the macspoofi have 3 hosts in the cluster...but i have applied this hook on one server only..not all,but at the time of VM deployment i assign the specific host for the VM,so that the VM should deploy on the same host that has the hook. Do i need to install the hook on all the hosts and give a try ?? On Mon, Jun 30, 2014 at 3:46 PM, Dan Kenigsberg dan...@redhat.com wrote: On Mon, Jun 30, 2014 at 10:11:21AM +0800, Punit Dambiwal wrote: Hi Dan, I did the same as you suggested...please find the attached logs and domainxml And now, the log does not mention any hook at all. Have you removed the macspoof hook which you had there before? How many hosts do you have? Do they have the same set of installed hooks on them all? Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Issues in IP Assigning using API
Hi, I am assigning IP using the REST API as like http://www.ovirt.org/Features/Cloud-Init_Integration but it seems the IP is not assigning to the vm. But the other details like host address etc are correctly saving. I am using cloud init to assign IP address The following is the xml which i used for assigning IP $xml_data = action vm os boot dev='cdrom'/ /os initialization cloud_init host addressTestMachine/address /host users user user_nameusername/user_name passwordadminpassw/password /user /users network_configuration nics nic nameeth0/name boot_protocolnone/boot_protocol network ip address='x.x.x.x' netmask='255.255.0.0' gateway='x.x.x.x'/ /network on_boottrue/on_boot /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action; The above xml is called with the start function of API. IP is assigned from the ovirt portal and the issue is only when assigning it from the REST API. If anyone knows could you please check if any issues with the it ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues in IP Assigning using API
On 30.06.14 16:01, Shanil S wrote: Hi, I am assigning IP using the REST API as like http://www.ovirt.org/Features/Cloud-Init_Integration but it seems the IP is not assigning to the vm. But the other details like host address etc are correctly saving. I am using cloud init to assign IP address What is the guest os that you are using? The following is the xml which i used for assigning IP $xml_data = action vm os boot dev='cdrom'/ /os initialization cloud_init host addressTestMachine/address /host users user user_nameusername/user_name passwordadminpassw/password /user /users network_configuration nics nic nameeth0/name boot_protocolnone/boot_protocol network ip address='x.x.x.x' netmask='255.255.0.0' gateway='x.x.x.x'/ /network on_boottrue/on_boot /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action; The above xml is called with the start function of API. IP is assigned from the ovirt portal and the issue is only when assigning it from the REST API. If anyone knows could you please check if any issues with the it ? ___ 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] Issues in IP Assigning using API
Hi Shahar, I am using cent os for creating vm On Mon, Jun 30, 2014 at 4:18 PM, Shahar Havivi shah...@redhat.com wrote: On 30.06.14 16:01, Shanil S wrote: Hi, I am assigning IP using the REST API as like http://www.ovirt.org/Features/Cloud-Init_Integration but it seems the IP is not assigning to the vm. But the other details like host address etc are correctly saving. I am using cloud init to assign IP address What is the guest os that you are using? The following is the xml which i used for assigning IP $xml_data = action vm os boot dev='cdrom'/ /os initialization cloud_init host addressTestMachine/address /host users user user_nameusername/user_name passwordadminpassw/password /user /users network_configuration nics nic nameeth0/name boot_protocolnone/boot_protocol network ip address='x.x.x.x' netmask='255.255.0.0' gateway='x.x.x.x'/ /network on_boottrue/on_boot /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action; The above xml is called with the start function of API. IP is assigned from the ovirt portal and the issue is only when assigning it from the REST API. If anyone knows could you please check if any issues with the it ? ___ 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] Ip spoofing
On Mon, Jun 30, 2014 at 06:17:25PM +0800, Punit Dambiwal wrote: Hi Dan, Yes...i already removed the macspoofi have 3 hosts in the cluster...but i have applied this hook on one server only..not all,but at the time of VM deployment i assign the specific host for the VM,so that the VM should deploy on the same host that has the hook. Do i need to install the hook on all the hosts and give a try ?? No, as long as you start the VM on the specific host you should be fine. The fact that the macspoof hook disappeared made me worry that you have not. Unfortunately, I have no more guesses why this specific hook would not run when it should. What happens when you put a silly script instead, that only does echo hello world /dev/stderr can you see a trace of it in vdsm.log? Remind me, does PYTHONPATH=/usr/share/vdsm /usr/libexec/vdsm/hooks/before_device_create/50_noipspoof.py --test work for you? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues in IP Assigning using API
On 30.06.14 16:32, Shanil S wrote: Hi Shahar, I am using cent os for creating vm Ok which version and do you know the version of cloud-init rpm that the cent-os is using? On Mon, Jun 30, 2014 at 4:18 PM, Shahar Havivi shah...@redhat.com wrote: On 30.06.14 16:01, Shanil S wrote: Hi, I am assigning IP using the REST API as like http://www.ovirt.org/Features/Cloud-Init_Integration but it seems the IP is not assigning to the vm. But the other details like host address etc are correctly saving. I am using cloud init to assign IP address What is the guest os that you are using? The following is the xml which i used for assigning IP $xml_data = action vm os boot dev='cdrom'/ /os initialization cloud_init host addressTestMachine/address /host users user user_nameusername/user_name passwordadminpassw/password /user /users network_configuration nics nic nameeth0/name boot_protocolnone/boot_protocol network ip address='x.x.x.x' netmask='255.255.0.0' gateway='x.x.x.x'/ /network on_boottrue/on_boot /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action; The above xml is called with the start function of API. IP is assigned from the ovirt portal and the issue is only when assigning it from the REST API. If anyone knows could you please check if any issues with the it ? ___ 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: [ovirt-users] Issues in IP Assigning using API
Hi, if you got any CentOS version 6.5 it will not work as you need at least cloud-init version 0.7.2 as this version supports the used way of submitting the meta-data and user data files to the vm (via cd rom payload). so in short: you need at least centos 6.5 and cloud-init 0.7.2. inside the vm if you can't install this versions for some reason you can still write your own custom script to parse the data. HTH PS: cloud-init can't handle ipv6 Am 30.06.2014 13:25, schrieb Shahar Havivi: Ok which version and do you know the version of cloud-init rpm that the cent-os is using? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Spam Re: Spam Cluster Polcies
Answered it the other thread you've opened.. Thanks, Gilad. - Original Message - From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Friday, June 27, 2014 6:56:38 PM Subject: [ovirt-users] Spam Re: Spam Cluster Polcies Can anyone shed any light for me? From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Thursday, June 26, 2014 6:20:23 PM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) ___ 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: [ovirt-users] Issues in IP Assigning using API
Hi Sven, Thanks for your reply. The IP assigning from the ovirt panel using cloud init is working fine, so i think there may not be any issues with the cloud init version and cent os. The issue is only with the REST API function using cloud init. Is there any other settings need to do to work it with the REST Api calls ? On Mon, Jun 30, 2014 at 5:00 PM, Sven Kieske s.kie...@mittwald.de wrote: Hi, if you got any CentOS version 6.5 it will not work as you need at least cloud-init version 0.7.2 as this version supports the used way of submitting the meta-data and user data files to the vm (via cd rom payload). so in short: you need at least centos 6.5 and cloud-init 0.7.2. inside the vm if you can't install this versions for some reason you can still write your own custom script to parse the data. HTH PS: cloud-init can't handle ipv6 Am 30.06.2014 13:25, schrieb Shahar Havivi: Ok which version and do you know the version of cloud-init rpm that the cent-os is using? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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] Issues in IP Assigning using API
On 30.06.14 17:30, Shanil S wrote: Hi Sven, Thanks for your reply. The IP assigning from the ovirt panel using cloud init is working fine, so i think there may not be any issues with the cloud init version and cent os. The issue is only with the REST API function using cloud init. Is there any other settings need to do to work it with the REST Api calls ? What do you mean only from REST API, does it work fine from the UI? On Mon, Jun 30, 2014 at 5:00 PM, Sven Kieske s.kie...@mittwald.de wrote: Hi, if you got any CentOS version 6.5 it will not work as you need at least cloud-init version 0.7.2 as this version supports the used way of submitting the meta-data and user data files to the vm (via cd rom payload). so in short: you need at least centos 6.5 and cloud-init 0.7.2. inside the vm if you can't install this versions for some reason you can still write your own custom script to parse the data. HTH PS: cloud-init can't handle ipv6 Am 30.06.2014 13:25, schrieb Shahar Havivi: Ok which version and do you know the version of cloud-init rpm that the cent-os is using? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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: [ovirt-users] Issues in IP Assigning using API
Hi Shahar, The REST api means the add,edit operations using the api which ovirt provided, i will call this using the php and curl command http://www.ovirt.org/Features/Cloud-Init_Integration this method i used for the vm creation. On Mon, Jun 30, 2014 at 5:33 PM, Shahar Havivi shah...@redhat.com wrote: On 30.06.14 17:30, Shanil S wrote: Hi Sven, Thanks for your reply. The IP assigning from the ovirt panel using cloud init is working fine, so i think there may not be any issues with the cloud init version and cent os. The issue is only with the REST API function using cloud init. Is there any other settings need to do to work it with the REST Api calls ? What do you mean only from REST API, does it work fine from the UI? On Mon, Jun 30, 2014 at 5:00 PM, Sven Kieske s.kie...@mittwald.de wrote: Hi, if you got any CentOS version 6.5 it will not work as you need at least cloud-init version 0.7.2 as this version supports the used way of submitting the meta-data and user data files to the vm (via cd rom payload). so in short: you need at least centos 6.5 and cloud-init 0.7.2. inside the vm if you can't install this versions for some reason you can still write your own custom script to parse the data. HTH PS: cloud-init can't handle ipv6 Am 30.06.2014 13:25, schrieb Shahar Havivi: Ok which version and do you know the version of cloud-init rpm that the cent-os is using? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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: [ovirt-users] Issues in IP Assigning using API
On 30.06.14 17:59, Shanil S wrote: Hi Shahar, The REST api means the add,edit operations using the api which ovirt provided, i will call this using the php and curl command http://www.ovirt.org/Features/Cloud-Init_Integration this method i used for the vm creation. It may be the version of cloud-init rpm as Sven noted... less then 0.7.2 Can you check that? login to the client and run: $ rpm -qa | grep cloud-init On Mon, Jun 30, 2014 at 5:33 PM, Shahar Havivi shah...@redhat.com wrote: On 30.06.14 17:30, Shanil S wrote: Hi Sven, Thanks for your reply. The IP assigning from the ovirt panel using cloud init is working fine, so i think there may not be any issues with the cloud init version and cent os. The issue is only with the REST API function using cloud init. Is there any other settings need to do to work it with the REST Api calls ? What do you mean only from REST API, does it work fine from the UI? On Mon, Jun 30, 2014 at 5:00 PM, Sven Kieske s.kie...@mittwald.de wrote: Hi, if you got any CentOS version 6.5 it will not work as you need at least cloud-init version 0.7.2 as this version supports the used way of submitting the meta-data and user data files to the vm (via cd rom payload). so in short: you need at least centos 6.5 and cloud-init 0.7.2. inside the vm if you can't install this versions for some reason you can still write your own custom script to parse the data. HTH PS: cloud-init can't handle ipv6 Am 30.06.2014 13:25, schrieb Shahar Havivi: Ok which version and do you know the version of cloud-init rpm that the cent-os is using? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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: [ovirt-users] Is this kind of VM replication possible using oVirt Schedular
hi Gilad/Martin, Please let me know if you need any further clarifications from my side. Thanks Kausik On Fri, Jun 27, 2014 at 3:18 PM, kausik pal kausikpa...@gmail.com wrote: Hi Gilad/Martin, Thanks for the reply. Let me explain the scenario in details:- Each Host would have local filesystems and can be integrated with oVirt as POSIX filesystems storage. Assume each server can run maximum 6 VMs simultaneously(due to memory/CPU constraints) and we have configured 5 hosts (Node1, Node2Node5). In the beginning the 5 hosts are being configured in the oVirt engine and there is no VM. Now I create the first VM named VM1 and place it in Node1, from this point oVirt Schedular would decide which other host it would put the replica on. This replica VM1 will be in passive state in another host (Node 2 as per diagram). The same procedure would apply on the other created VMs as well. The role of the oVirt scheduler would be to optimize the placement of VMs in such a way that we can maximize the number of VMs availability in case of host(s) failure. Also it should replicate the delta updates to corresponding passive VMs. As per the scenario in a perfect condition 4 VMs are running in each host providing scope for running 2 extra VMs(maximum 6)in case of other host failures.The underlying local storage have kept 4 extra VMs (QCOW2 disks and config files) from different hosts in addition to the 4 VM disk files for the running VMs. Due to some reason Node2 and Node4 have failed, now the replicated passive VMs for the failed nodes will be started on the remaining nodes. In this case most of the VMs were able to start in different node except VM7 and VM14 as those VMs don't have replicas available in the other running nodes. The maximum availability of the VMs can be calculated using the following formula:- *Total No. of VMs running after node failure = ((Total No. of Nodes) - (No. of failed Nodes)) * (Max. No. of VMs that can run per Node)* The HA VM reservation is an excellent feature no doubt, but I think its only applicable if you have a shared storage underlying(NFS,SAN,Gluster etc..).(Correct me if I'm wrong) And yes GlusterFS does have distributed replicated feature which can replicate VM data in multiple bricks, but in GlusterFS you have to map the replicated bricks during creation and the data can only be replicated between the two (or multiple based on your replication numbers) bricks only. The advantage of this feature would be that you can add standalone nodes(odd/even numbers) in oVirt ecosystem and schedular can place VMs in such a balanced and optimized mode so that maximum number of VMs remain available after N nodes failure from M number of nodes(where MN) Please put your valuable thoughts regarding the same. Request you to let me know if you need any further clarifications from my side. Thanks Kausik On Thu, Jun 26, 2014 at 6:23 PM, Gilad Chaplik gchap...@redhat.com wrote: Hi Kausik, If I understand correctly your question, we do support this flow. In case of failure we migrate highly available VMs to other hosts, but note that there could be a connectivity problem between engine an node, and node can still communicate with the storage, so to avoid that (split brain) you need to have PM configured for that node, or manually confirm that the host has rebooted. We even added a feature lately (3.4's HA reservation [1]) that indicates whether your HA VMs have enough resources in cluster in case of a node failure. Thanks, Gilad. [1] http://www.ovirt.org/Features/HA_VM_reservation - Original Message - From: kausik pal kausikpa...@gmail.com To: users@ovirt.org Sent: Tuesday, June 24, 2014 8:06:10 PM Subject: [ovirt-users] Is this kind of VM replication possible using oVirtSchedular Hi All, PFA the two diagrams describing placement of the VMs during normal condition and condition after two node failure in 5 node set up (Each Node can host up to 6 VMs due to memory constraints). My question is whether this kind of VM replication as shown in the attached diagram is possible utilizing oVirt schedular. The benefits of this kind of replication would be following :- 1. Any number of Hosts/Nodes can participate (Odd/Even) in the infrastructure. 2. We can add any number (odd/even) number of Nodes to re-balance the VM placement. 3. After node failures the Maximum number of VMs that can run on the remaining nodes can be calculated with the following formula:- Total No. of VMs running after node failure = ((Total No. of Nodes) - (No. of failed Nodes)) * (Max. No. of VMs that can run per Node) The attached table gives a rough calculation on maximum number VMs that can run after node failures. Please let me know if you need any further information from my side. Thanks Kausik ___ Users
Re: [ovirt-users] Spam Cluster Polcies
On 06/30/2014 01:53 PM, Gilad Chaplik wrote: - Original Message - From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms). * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) don't think that there's any relation with HighLimit. It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host. let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 ! 3). - exactly * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized. - I think it's correct as it is, if the SpmVmGrace+currentVms HighVmCount it is overutilized and should be freed if possible. --J @Jirka? ___ 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] Spam Cluster Polcies
- Original Message - From: Jiri Moskovcak jmosk...@redhat.com To: Gilad Chaplik gchap...@redhat.com, Maurice James mja...@media-node.com Cc: users users@ovirt.org Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies On 06/30/2014 01:53 PM, Gilad Chaplik wrote: - Original Message - From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms). * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) don't think that there's any relation with HighLimit. It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host. let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 ! 3). - exactly * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized. - I think it's correct as it is, if the SpmVmGrace+currentVms HighVmCount it is overutilized and should be freed if possible. not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there. --J @Jirka? ___ 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] Spam Cluster Polcies
On 06/30/2014 03:11 PM, Gilad Chaplik wrote: - Original Message - From: Jiri Moskovcak jmosk...@redhat.com To: Gilad Chaplik gchap...@redhat.com, Maurice James mja...@media-node.com Cc: users users@ovirt.org Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies On 06/30/2014 01:53 PM, Gilad Chaplik wrote: - Original Message - From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms). * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) don't think that there's any relation with HighLimit. It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host. let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 ! 3). - exactly * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized. - I think it's correct as it is, if the SpmVmGrace+currentVms HighVmCount it is overutilized and should be freed if possible. not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there. - that's correct, the SPM will be marked as overutilized and the engine will try to find a host to migrate some vms from the SPM. The SpmGrace is not about lowering the noise it's about keeping the host less utilized by running less VMs on it (which will also lower the noise, because it will give the SPM host worse score when looking for target to migrate to) --J --J @Jirka? ___ 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] Spam Cluster Polcies
- Original Message - From: Jiri Moskovcak jmosk...@redhat.com To: Gilad Chaplik gchap...@redhat.com Cc: Maurice James mja...@media-node.com, users users@ovirt.org Sent: Monday, June 30, 2014 4:19:06 PM Subject: Re: [ovirt-users] Spam Cluster Polcies On 06/30/2014 03:11 PM, Gilad Chaplik wrote: - Original Message - From: Jiri Moskovcak jmosk...@redhat.com To: Gilad Chaplik gchap...@redhat.com, Maurice James mja...@media-node.com Cc: users users@ovirt.org Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies On 06/30/2014 01:53 PM, Gilad Chaplik wrote: - Original Message - From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms). * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) don't think that there's any relation with HighLimit. It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host. let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 ! 3). - exactly * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized. - I think it's correct as it is, if the SpmVmGrace+currentVms HighVmCount it is overutilized and should be freed if possible. not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there. - that's correct, the SPM will be marked as overutilized and the engine will try to find a host to migrate some vms from the SPM. The SpmGrace is not about lowering the noise it's about keeping the host less utilized by running less VMs on it (which will also lower the noise, because it will give the SPM host worse score when looking for target to migrate to) got it, thanks :-) --J --J @Jirka? ___ 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] Console using REST API
On Jun 30, 2014, at 09:33 , Shanil S xielessha...@gmail.com wrote: Hi Itamar, I am planning to use web portal using php and curl. I checked this doc http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal but didn't understand about it. You'd need to detail what exactly are your trying to do. The term create console can mean many things. Assuming you want to open a console connection using virt-viewer using REST API… conceptually quite simple - you get a ticket (set password for access, using /vms/{vm:id}/ticket) an then invoke virt-viewer with the right parameters which you get afterwards (vm's host, port, password). Thanks, michal On Mon, Jun 30, 2014 at 11:38 AM, Itamar Heim ih...@redhat.com wrote: On 06/30/2014 07:14 AM, Shanil S wrote: Hi All, Could you please explain how can i create console using REST api ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users do you mean a command line shell or a web user portal? for web user portal, several samples here: http://gerrit.ovirt.org/gitweb?p=samples-portals.git;a=tree;h=refs/heads/master;hb=refs/heads/master ___ 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] Is this kind of VM replication possible using oVirt Schedular
- Original Message - From: kausik pal kausikpa...@gmail.com To: Gilad Chaplik gchap...@redhat.com, msi...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 3:42:49 PM Subject: Re: [ovirt-users] Is this kind of VM replication possible using oVirt Schedular hi Gilad/Martin, Please let me know if you need any further clarifications from my side. Thanks Kausik On Fri, Jun 27, 2014 at 3:18 PM, kausik pal kausikpa...@gmail.com wrote: Hi Gilad/Martin, Thanks for the reply. Let me explain the scenario in details:- Each Host would have local filesystems and can be integrated with oVirt as POSIX filesystems storage. Assume each server can run maximum 6 VMs simultaneously(due to memory/CPU constraints) and we have configured 5 hosts (Node1, Node2Node5). In the beginning the 5 hosts are being configured in the oVirt engine and there is no VM. Now I create the first VM named VM1 and place it in Node1, from this point oVirt Schedular would decide which other host it would put the replica on. This replica VM1 will be in passive state in another host (Node 2 as per diagram). The same procedure would apply on the other created VMs as well. The role of the oVirt scheduler would be to optimize the placement of VMs in such a way that we can maximize the number of VMs availability in case of host(s) failure. Also it should replicate the delta updates to corresponding passive VMs. As per the scenario in a perfect condition 4 VMs are running in each host providing scope for running 2 extra VMs(maximum 6)in case of other host failures.The underlying local storage have kept 4 extra VMs (QCOW2 disks and config files) from different hosts in addition to the 4 VM disk files for the running VMs. Due to some reason Node2 and Node4 have failed, now the replicated passive VMs for the failed nodes will be started on the remaining nodes. In this case most of the VMs were able to start in different node except VM7 and VM14 as those VMs don't have replicas available in the other running nodes. The maximum availability of the VMs can be calculated using the following formula:- Total No. of VMs running after node failure = ((Total No. of Nodes) - (No. of failed Nodes)) * (Max. No. of VMs that can run per Node) The HA VM reservation is an excellent feature no doubt, but I think its only applicable if you have a shared storage underlying(NFS,SAN,Gluster etc..).(Correct me if I'm wrong) And yes GlusterFS does have distributed replicated feature which can replicate VM data in multiple bricks, but in GlusterFS you have to map the replicated bricks during creation and the data can only be replicated between the two (or multiple based on your replication numbers) bricks only. The advantage of this feature would be that you can add standalone nodes(odd/even numbers) in oVirt ecosystem and schedular can place VMs in such a balanced and optimized mode so that maximum number of VMs remain available after N nodes failure from M number of nodes(where MN) Please put your valuable thoughts regarding the same. Request you to let me know if you need any further clarifications from my side. Thanks Kausik On Thu, Jun 26, 2014 at 6:23 PM, Gilad Chaplik gchap...@redhat.com wrote: Hi Kausik, If I understand correctly your question, we do support this flow. In case of failure we migrate highly available VMs to other hosts, but note that there could be a connectivity problem between engine an node, and node can still communicate with the storage, so to avoid that (split brain) you need to have PM configured for that node, or manually confirm that the host has rebooted. We even added a feature lately (3.4's HA reservation [1]) that indicates whether your HA VMs have enough resources in cluster in case of a node failure. Thanks, Gilad. [1] http://www.ovirt.org/Features/HA_VM_reservation - Original Message - From: kausik pal kausikpa...@gmail.com To: users@ovirt.org Sent: Tuesday, June 24, 2014 8:06:10 PM Subject: [ovirt-users] Is this kind of VM replication possible using oVirt Schedular Hi All, PFA the two diagrams describing placement of the VMs during normal condition and condition after two node failure in 5 node set up (Each Node can host up to 6 VMs due to memory constraints). My question is whether this kind of VM replication as shown in the attached diagram is possible utilizing oVirt schedular. The benefits of this kind of replication would be following :- 1. Any number of Hosts/Nodes can participate (Odd/Even) in the infrastructure. 2. We can add any number (odd/even) number of Nodes to re-balance the VM placement. 3. After node failures the Maximum number of VMs that can run on the remaining nodes can be calculated with the following formula:- Total No. of VMs running after node failure = ((Total No. of
[ovirt-users] [Video]: New Live Migration Progess Bar for oVirt
Michal Skrivanek has contributed a new video to the oVirt YouTube channel[1]: a quick peek at the new live migration progress bar coming in oVirt 3.5[2]! Enjoy! Peace, BKP [1] https://www.youtube.com/user/ovirtproject [2] http://youtu.be/XapIZYPaRBg -- Brian Proffitt oVirt Community Manager Project Atomic Community Lead Open Source and Standards, Red Hat - http://community.redhat.com Phone: +1 574 383 9BKP IRC: bkp @ OFTC ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues in IP Assigning using API
No, this can't be the problem as he stated that it worked when useing cloud-init via GUI. I can't see any obvious error in your xml, but you should get an error in engine.log if your xml is not correct. However I'm no expert for the xml version of the cloud-init data, so there might be a bug in your xml. are you sure your connection via rest works right? e.g. can you list vms from a datacenter? Am 30.06.2014 14:37, schrieb Shahar Havivi: It may be the version of cloud-init rpm as Sven noted... less then 0.7.2 Can you check that? login to the client and run: $ rpm -qa | grep cloud-init -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Console using REST API
Am 30.06.2014 15:32, schrieb Michal Skrivanek: conceptually quite simple - you get a ticket (set password for access, using /vms/{vm:id}/ticket) an then invoke virt-viewer with the right parameters which you get afterwards (vm's host, port, password). well as he said he want's to use php and curl I assume he does not want to use virt-viewer but maybe a novnc client, but put that aside, it should work. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [Video]: New Live Migration Progess Bar for oVirt
Dn(a 30.06.2014 15:38, Brian Proffitt wrote / napísal(a): Michal Skrivanek has contributed a new video to the oVirt YouTube channel[1]: a quick peek at the new live migration progress bar coming in oVirt 3.5[2]! Great, looking forward to it. How about disk operations ? those take forever ... :-) -- Ernest Beinrohr, AXON PRO Ing http://www.beinrohr.sk/ing.php, RHCE http://www.beinrohr.sk/rhce.php, RHCVA http://www.beinrohr.sk/rhce.php, LPIC http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, +421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603 icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org I've often compared Open Source development vs proprietary development to science vs witchcraft. Linus Torvalds https://lkml.org/lkml/2006/9/27/191 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] status disks locked
Hello, Can I check the status of the disks somewhere else then the engine ? And if so how ? Kind regards. On Jun 30, 2014 7:07 AM, Vered Volansky ve...@redhat.com wrote: Andy, Did what Sven suggested helped you out? What's the status of you disks? Regards, Vered - Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Wednesday, June 25, 2014 2:17:14 PM Subject: Re: [ovirt-users] status disks locked Am 25.06.2014 10:33, schrieb Andy Michielsen: Hello, I have a vm in my ovirt setup which has it's disks locked after I wanted to take a snapshot. I have a separate node and an engine and already rebooted them both but it still keeps on telling me it's disks are locked. Where does this info come from and what can I do to rectify the situation. Hi, afaik you can try 2 things: 1. in webadmin rightclick the rebooted node, and select host has been rebooted 2. restart ovirt-engine but ymmv HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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: [ovirt-users] Disk's locked of VM
Hello, How can I connect to my postgress database ? Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Spam Re: Spam Cluster Polcies
Thanks I think I got it now. I can adjust my cluster policy accordingly - Original Message - From: Gilad Chaplik gchap...@redhat.com To: Jiri Moskovcak jmosk...@redhat.com Cc: Maurice James mja...@media-node.com, users users@ovirt.org Sent: Monday, June 30, 2014 9:20:31 AM Subject: Re: [ovirt-users] Spam Cluster Polcies - Original Message - From: Jiri Moskovcak jmosk...@redhat.com To: Gilad Chaplik gchap...@redhat.com Cc: Maurice James mja...@media-node.com, users users@ovirt.org Sent: Monday, June 30, 2014 4:19:06 PM Subject: Re: [ovirt-users] Spam Cluster Polcies On 06/30/2014 03:11 PM, Gilad Chaplik wrote: - Original Message - From: Jiri Moskovcak jmosk...@redhat.com To: Gilad Chaplik gchap...@redhat.com, Maurice James mja...@media-node.com Cc: users users@ovirt.org Sent: Monday, June 30, 2014 3:57:29 PM Subject: Re: [ovirt-users] Spam Cluster Polcies On 06/30/2014 01:53 PM, Gilad Chaplik wrote: - Original Message - From: Maurice James mja...@media-node.com To: users users@ovirt.org Sent: Friday, June 27, 2014 1:20:23 AM Subject: [ovirt-users] Spam Cluster Polcies Can someone explain the cluster policies to me? The explanation at http://www.ovirt.org/Features/Even_VM_Count_Distribution is not quite clicking for me. * HighVMSCount - Maximum VM limit. Exceeding it qualifies the host as overloaded. ( Understood ) minimal #vms on host to enable the module (i.e worst host should have more than HighVMSCount vms). * MigrationThreshold - defines a buffer before we start migrating VMs from the host ( Not quite grasping. If my High limit is 5 does this mean that it will only begin to move VMs when the count reaches 10? ) don't think that there's any relation with HighLimit. It means that migration will happen only if there is a difference of X vms or more between worst host (source host) to destination host. let say that you have 2 hosts. one has 10 vms and the second 8. if the threshold is 3, no migration will happen (10-8 ! 3). - exactly * SPMVMCountGrace - defines how many slots for VMs should be reserved on SPM hosts (the SPM host should have less load than others, so this variable defines how many VM less it should have) ( Does this mean that if I have a host with only 3 VMs the SPM will 3 VMs minus the SpmWmGrace? Or is this HighVmCount minus SpmVmGrace count?) you're right, the SPM host will have current + grace VMs in terms of module calculations. I think that this is problematic, it is likely to be selected as worst host candidate and that's not the wanted behavior iiuc imo, we should subtract (-) in overloaded hosts and add (+) in underutilized. - I think it's correct as it is, if the SpmVmGrace+currentVms HighVmCount it is overutilized and should be freed if possible. not sure I understand, let's take an example 2 hosts: spm: 8 #vms, hsm: 8 #vms. SPMVMCountGrace = 2. in this case the 'worst' host will be the SPM... shouldn't we deduct 2 from spm and not add? we want less noise there. - that's correct, the SPM will be marked as overutilized and the engine will try to find a host to migrate some vms from the SPM. The SpmGrace is not about lowering the noise it's about keeping the host less utilized by running less VMs on it (which will also lower the noise, because it will give the SPM host worse score when looking for target to migrate to) got it, thanks :-) --J --J @Jirka? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Spam Re: [Video]: New Live Migration Progess Bar for oVirt
is that progress bar also implemented for disk migrations? - Original Message - From: Brian Proffitt bprof...@redhat.com To: users users@ovirt.org Sent: Monday, June 30, 2014 9:38:32 AM Subject: [ovirt-users] [Video]: New Live Migration Progess Bar for oVirt Michal Skrivanek has contributed a new video to the oVirt YouTube channel[1]: a quick peek at the new live migration progress bar coming in oVirt 3.5[2]! Enjoy! Peace, BKP [1] https://www.youtube.com/user/ovirtproject [2] http://youtu.be/XapIZYPaRBg -- Brian Proffitt oVirt Community Manager Project Atomic Community Lead Open Source and Standards, Red Hat - http://community.redhat.com Phone: +1 574 383 9BKP IRC: bkp @ OFTC ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] oVirt 3.5.0 Beta is now available for testing
The oVirt team is pleased to announce that the 3.5.0 Beta is now available for testing. Feel free to join us testing it! You'll find all needed info for installing it on the release notes page, already available on the wiki [1]. A new oVirt Live iso is already available for testing[2] including all available updates from CentOS. An oVirt Guest Tools iso is now available too[3]. A new oVirt Node build will be available soon as well. Please note that mirrors will need a couple of days before being synchronized. If you want to be sure to use latest rpms and don't want to wait for the mirrors, you can edit /etc/yum.repos.d/ovirt-3.5.repo commenting the mirror line and removing the comment on baseurl line. Known Issues * if you're using f19 host, you'll need libvirt = 1.0.1 to use cluster level 3.5 (pkg will be provided from ovirt repo, but if it not there, you can update from f20 repo: : yum update --releasever=20 libvirt\* ) * You can't refresh iso file list after adding a host, see https://bugzilla.redhat.com/show_bug.cgi?id=1114499 for a workarond. [1] http://www.ovirt.org/OVirt_3.5_Release_Notes [2] http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-live-el6-3.5.0-alpha2.iso (not updated from last alpha yet) [3] http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-guest-tools/ovirt-guest-tools-3.5-1.iso (no change from last alpha) Eyal Edri oVirt infra Team. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
- Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian /etc/postgresql/*/main/pg_hba.conf Gentoo /etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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: [ovirt-users] status disks locked
Hi Andy, Are we talking about the same issue as the other thread? - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:56:08 PM Subject: Re: [ovirt-users] status disks locked Hello, Can I check the status of the disks somewhere else then the engine ? And if so how ? Kind regards. On Jun 30, 2014 7:07 AM, Vered Volansky ve...@redhat.com wrote: Andy, Did what Sven suggested helped you out? What's the status of you disks? Regards, Vered - Original Message - From: Sven Kieske s.kie...@mittwald.de To: users@ovirt.org Sent: Wednesday, June 25, 2014 2:17:14 PM Subject: Re: [ovirt-users] status disks locked Am 25.06.2014 10 :33, schrieb Andy Michielsen: Hello, I have a vm in my ovirt setup which has it's disks locked after I wanted to take a snapshot. I have a separate node and an engine and already rebooted them both but it still keeps on telling me it's disks are locked. Where does this info come from and what can I do to rectify the situation. Hi, afaik you can try 2 things: 1. in webadmin rightclick the rebooted node, and select host has been rebooted 2. restart ovirt-engine but ymmv HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Spam External providers
Does anyone know if there is already an RFE for EC2 as an external provider? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Disk's locked of VM
Or better yet, just use: oVirtDir/share/ovirt-engine/dbscripts/unlock_entity.sh I suppose you have the images GUIDs from engine. BUT - If the images never got released you might want to get to know what got them into this in the first place. You can send vdsm and engine logs from that period of time if you still got them, and we'll take a look. Regards, Vered - Original Message - From: Vered Volansky ve...@redhat.com To: Andy Michielsen andy.michiel...@gmail.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 6:03:15 PM Subject: Re: [ovirt-users] Disk's locked of VM - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: Vered Volansky ve...@redhat.com Cc: users@ovirt.org Sent: Monday, June 30, 2014 4:57:05 PM Subject: Re: [ovirt-users] Disk's locked of VM Hello, How can I connect to my postgress database ? Try this: psql -d engine -U engine . This is assuming you're using password authentication. If you aren't please send me your pg_hba.conf settings and we'll go forward from there: Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf Debian/etc/postgresql/*/main/pg_hba.conf Gentoo/etc/postgresql-*/pg_hba.conf Kind regards. On Jun 30, 2014 10:10 AM, Vered Volansky ve...@redhat.com wrote: Hi Andy, In the DB, try update images set imagestatus = 1 where imagestatus = 2; commit; Let me know if this helps. Regards, Vered - Original Message - From: Andy Michielsen andy.michiel...@gmail.com To: users@ovirt.org Sent: Friday, June 27, 2014 11:08:47 AM Subject: [ovirt-users] Disk's locked of VM Hello all, Does anyone know how I can check if a VM's disk are indeed locked or not. The engine tell's me they are locked but this is now already 16 day's and counting. I already restarted every server involved but to no avail. I can not remove, change or start the VM as long as the disks are locked. Can I give a command to check the status of this machine in the CLI enviroment or after connecting to the database and checking a table (Realy don't know how to do this). Kind regards. ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Spam Re: Convert vmware vm
How do I do this to a VM that has multiple disks? virt-install --connect qemu:///system --ram 1024 -n griffu -r 2048 --os-type=linux --os-variant=rhel6 --disk path=/media/Storage/VMName.qcow2,device=disk,format=qcow2 --vcpus=2 --vnc --noautoconsole –import - Original Message - From: Koen Vanoppen vanoppen.k...@gmail.com To: Massimo Mad mad196...@gmail.com, users@ovirt.org Sent: Friday, June 27, 2014 1:41:12 AM Subject: Re: [ovirt-users] Convert vmware vm II created this document for the company where I work. Maybe it is userfull for you too: Migrate from VMWare to oVirt 1. On VmWare: a. Export the VM to ovf format. There is a smb/nfs share on virt-v2v you can use as storage. i. NFS: Virtv2v.:/media/Storage ii. SMB: virtv2v. share: virtv2v 2. with virtv2v a. Log in on the virt-v2v vm. b. Locate and Extract the ovf file with tar –xvf c. Convert the extracted vmdk file to raw disk format with the following command: vboxmanage clonehd --format RAW VMNAME.vmdk NewVMName.raw d. Convert the created RAW file to a qemu2 img: qemu-img convert -f raw VM-Name.raw -O qcow2 VMName.qcow2 e. Run the vm in virsh: virt-install --connect qemu:///system --ram 1024 -n griffu -r 2048 --os-type=linux --os-variant=rhel6 --disk path=/media/Storage/VMName.qcow2,device=disk,format=qcow2 --vcpus=2 --vnc --noautoconsole –import f. Take a xml dump of the VM and copy the result in a new file VMName.xml virsh dumpxml VMName g. Now let’s move the vm to ovirt. Make sure the nfs is attached to the TestDev Datacenter. virt-v2v -i libvirtxml -ic qemu+ssh://FQDN-Hypervisor /system -o rhev -os FQDN-NFS-exportdomainserver:/media/NfsProgress -n ovirtmgmt VMName.xml 2014-06-24 15:19 GMT+02:00 Massimo Mad mad196...@gmail.com : Hello, I downloaded an image . vmdk from a repository and wanted to import it into my oVirt infrastructure . Is it possible? If it is possible how? Thanks, Massimo ___ 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
[ovirt-users] [ANN] oVirt 3.5 Test Day - Tomorrow Jul 1st
Hi all, Tomorrow Jul 1st we'll have oVirt 3.5.0 test day. On this day all relevant engineers will be online ready to support any issues you find during install / operating this new release. Just make sure you have 1 host or more to test drive the new release. If you're curious to see how it works, this is your chance. Thanks again for everyone who will join us tomorrow! Location #ovirt irc channel Please communicate here to allow others to see any issues What In this test day you have a license to kill ;) Follow the documentation to setup your environment, and test drive the new features. Please remember we expect to see some issues, and anything you come up with will save you when you'll install final release Remember to try daily tasks you'd usually do in the engine, to see there are no regressions. Write down the configuration you used (HW, console, etc) in the report etherpad[1]. Documentation Release notes: http://www.ovirt.org/OVirt_3.4.0_release_notes Features pages links: http://bit.ly/17qBn6F If you find errors in the wiki please annotate it as well in report etherpad [1] Prerequisites / recommendations Use CentOS or RHEL 6.5 only. 6.4 is unsupported due to various issues (sanlock, libvirt, etc). Use Fedora 19 or 20. Latest RPMs repository to be enabled for testing the release are listed in the release notes page [2]. NEW issues / reports For any new issue, please update the reports etherpad [1] Feature owners, please make sure: your feature is updated and referenced on release page [2]. you have testing instruction for your feature either on test day page [3] or in your feature page. your team regression testing section is organized and up to date on test day page [3]. [1] http://etherpad.ovirt.org/p/3.5-testday-1 [2] http://www.ovirt.org/OVirt_3.5_Release_Notes [3] http://www.ovirt.org/OVirt_3.5_TestDay Thanks. -- Yedidyah Bar David, RHEV Integration team ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] [ANN] oVirt 3.5 Test Day - Tomorrow Jul 1st
(Sorry - fixed links inline) - Original Message - From: Yedidyah Bar David d...@redhat.com To: users users@ovirt.org, de...@ovirt.org Sent: Monday, June 30, 2014 11:12:20 PM Subject: [ovirt-users] [ANN] oVirt 3.5 Test Day - Tomorrow Jul 1st Hi all, Tomorrow Jul 1st we'll have oVirt 3.5.0 test day. On this day all relevant engineers will be online ready to support any issues you find during install / operating this new release. Just make sure you have 1 host or more to test drive the new release. If you're curious to see how it works, this is your chance. Thanks again for everyone who will join us tomorrow! Location #ovirt irc channel Please communicate here to allow others to see any issues What In this test day you have a license to kill ;) Follow the documentation to setup your environment, and test drive the new features. Please remember we expect to see some issues, and anything you come up with will save you when you'll install final release Remember to try daily tasks you'd usually do in the engine, to see there are no regressions. Write down the configuration you used (HW, console, etc) in the report etherpad[1]. Documentation Release notes: http://www.ovirt.org/OVirt_3.4.0_release_notes http://www.ovirt.org/OVirt_3.5_Release_Notes Features pages links: http://bit.ly/17qBn6F http://bit.ly/1k7n6fv If you find errors in the wiki please annotate it as well in report etherpad [1] Prerequisites / recommendations Use CentOS or RHEL 6.5 only. 6.4 is unsupported due to various issues (sanlock, libvirt, etc). Use Fedora 19 or 20. Latest RPMs repository to be enabled for testing the release are listed in the release notes page [2]. NEW issues / reports For any new issue, please update the reports etherpad [1] Feature owners, please make sure: your feature is updated and referenced on release page [2]. you have testing instruction for your feature either on test day page [3] or in your feature page. your team regression testing section is organized and up to date on test day page [3]. [1] http://etherpad.ovirt.org/p/3.5-testday-1 [2] http://www.ovirt.org/OVirt_3.5_Release_Notes [3] http://www.ovirt.org/OVirt_3.5_TestDay Thanks. -- Yedidyah Bar David, RHEV Integration team ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] does ovirt suit for managing for farm of test machines?
Hello. I have to manage about farm of 30 virtual machines the farm is hosted on two severs, it consists of windows, linux and solaris OSs. I use VirtualBox for virtualization. I did all setup manually, if I need to apply changes I again do this manually and this is real hell. So now I'm looking for a way to automate this. I have a few gold images of OS, if I need to setup new machine I clone it, then I setup new network setting for it manually and setup test demon. if I need to change test environment I have to change gold image, then remove all test machines and clone gold images and again configure network and setup test demon and all I need to do manually. Can ovirt to help automate this scenarios? Thanks, Michael. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Windows Guest Agent - Server 2008 R2
Hello Everyone, I am having difficulties getting the oVirt Windows Guest Agent to work with Windows Server 2008 R2 SP1. We are currently running oVirt 3.4.2. I have used the instructions from http://www.ovirt.org/OVirt_Guest_Agent_For_Windows. As a side note I do have it working on Windows Server 2012 R2. - I have installed the Virtio serial drivers from the virtio-win-0.1-81.iso - For troubleshooting purposes I later tried the drivers from the virtio-win-0.1-74.iso - Installed python 2.7.3, Python for Windows extensions, py2exe - Compiled and copied the two exe files to C:\Program Files\Guest Agents\oVirt Guest Agent\ - The two files sha1 hash is: OVirtGuestService.exe A5F7FD0A15076437D174D3EF33FE95E42059FF0F w9xpopen.exe B4D4623E5522390AEF6F113B5BB6FA8F1CBDC66C - Removed all except the top three # symbols from the ovirt-guest-agent.ini file and then copied it to the directory stated above - The sha1 hash for this file is: ovirt-guest-agent.ini 3ED609F101D44F52A68969DAD8D6F5F294FA733A - Installed the service. It shows up in services.msc. - Configure the service to auto start. - Try to start the service. This is where the problem exist. When I try to start the service I get an error. The error code in Event Viewer within Windows is Event 10. Under the general tab is states The description for Event ID 10 from source OVirtGuestService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. I have tried to remove the service and re-install with no luck. Any suggestions? Thanks! -- E-mail correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties by an authorized state official. (NCGS.Ch.132) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Windows Guest Agent - Server 2008 R2
I also am running 2008 R2, and the guest agent is working fine. I just mounted the new pre-release tools iso and ran the installer. I did have to change the service to start automatically but filed a bug on that. http://resources.ovirt.org/pub/ovirt-master-snapshot-static/iso/ovirt-guest-tools/ovirt-guest-tools-3.5-2.iso Good luck! -Bob Hello Everyone, I am having difficulties getting the oVirt Windows Guest Agent to work with Windows Server 2008 R2 SP1. We are currently running oVirt 3.4.2. I have used the instructions from http://www.ovirt.org/OVirt_Guest_Agent_For_Windows. As a side note I do have it working on Windows Server 2012 R2. - I have installed the Virtio serial drivers from the virtio-win-0.1-81.iso - For troubleshooting purposes I later tried the drivers from the virtio-win-0.1-74.iso - Installed python 2.7.3, Python for Windows extensions, py2exe - Compiled and copied the two exe files to C:\Program Files\Guest Agents\oVirt Guest Agent\ - The two files sha1 hash is: OVirtGuestService.exe A5F7FD0A15076437D174D3EF33FE95E42059FF0F w9xpopen.exe B4D4623E5522390AEF6F113B5BB6FA8F1CBDC66C - Removed all except the top three # symbols from the ovirt-guest-agent.ini file and then copied it to the directory stated above - The sha1 hash for this file is: ovirt-guest-agent.ini 3ED609F101D44F52A68969DAD8D6F5F294FA733A - Installed the service. It shows up in services.msc. - Configure the service to auto start. - Try to start the service. This is where the problem exist. When I try to start the service I get an error. The error code in Event Viewer within Windows is Event 10. Under the general tab is states The description for Event ID 10 from source OVirtGuestService cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. I have tried to remove the service and re-install with no luck. Any suggestions? Thanks! E-mail correspondence to and from this address may be subject to the North Carolina Public Records Law and may be disclosed to third parties by an authorized state official. (NCGS.Ch.132) ___ 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