Re: [Users] oVirt-sdk to fetch individual cpu stats
Thanks a lot Micheal. Works like a charm :) How does one know that you need to access first field in statistic.get_values().get_value()[0].datum. Are these documented any place ? Regards, Deepthi On 09/08/2013 03:55 PM, Michael Pasternak wrote: Hi Deepthi, On 09/06/2013 01:12 PM, Deepthi Dharwar wrote: Hi, I was trying to get the cpu statistics of a host using the oVirt python sdk. But beyond a point I am unable to deference to the actual cpu stats field and the data. h_list = api.hosts.list() for h in h_list: y = h.statistics.list() for i in y: print i.get_values() O/P: ovirtsdk.xml.params.Values object at 0x22cbd90 ovirtsdk.xml.params.Values object at 0x22cbb90 ovirtsdk.xml.params.Values object at 0x22cba90 ovirtsdk.xml.params.Values object at 0x22cba10 ovirtsdk.xml.params.Values object at 0x22cbf10 Can some one please let me know how I can get individual fields like cpu.current.system or cpu.current.idle stats from here. you can use sdk client side filtering on collections using map based constraints [1], just note that you cannot use same constrain (name) twice [2] as following entry will always override the former one, to work this out, just use your private inline filtering [3] (it will have same complexity as using sdk filtering) [1] for h in h_list: statistics = h.statistics.list(**{ 'name':'cpu.current.system' } ) for statistic in statistics: print %s=%0.4f %s % ( statistic.get_name(), statistic.get_values().get_value()[0].datum, statistics[0].get_unit() ) [2] statistics = h.statistics.list(**{ 'name':'cpu.current.system', 'name':'cpu.current.idle' } ) [3] h_list = api.hosts.list() stats_to_show = ['cpu.current.system', 'cpu.current.idle'] for h in h_list: statistics = h.statistics.list() for statistic in statistics: if statistic.get_name() in stats_to_show: print %s=%0.4f %s % ( statistic.get_name(), statistic.get_values().get_value()[0].datum , statistics[0].get_unit() ) hope it helps. Thanks! Deepthi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Bridge for logical network
- Original Message - From: Juan Pablo Lorier jplor...@gmail.com To: Dan Kenigsberg dan...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, September 10, 2013 2:50:08 AM Subject: Re: [Users] Bridge for logical network Hi Dan By hiding the eths, will I be able to use the bridge to assign it to a vm? Regards, As long as the bridge is defined on engine side and reported by VDSM you should be able to assign vms to it. Please report if hiding the additional nics (only one nic shouldn't be hidden) works for you. El 09/09/13 19:48, Dan Kenigsberg escribió: On Mon, Sep 09, 2013 at 03:19:48PM -0300, Juan Pablo Lorier wrote: Hi, Another question: I need to connect 2 eths to a Fortigate cluster so I need them to be in a bridge with single ip so it can connect to the DMZ. As far as I can see, ovirt 3.2 is allowing me to create bonds and assign logical network to them, but not to create a bridge. Can I create it manually and get ovirt to handle it? Indeed, ovirt does not support setting up a bridge with multiple physical legs. I do not recall having tried that, but I have a suspition that Engine may be confused if such a bridge is to be reported by Vdsm. The engine do complains about a bridge created on more than a single interface. If that happens, I suggest that you list these two eths in vdsm.conf's hidden_nics. Then, they would not show up on ovirt's network editing tools and would not tempt admins to use them for other purposes. Dan. Please test it out and r ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Bridge for logical network
On Mon, Sep 09, 2013 at 09:50:08PM -0300, Juan Pablo Lorier wrote: Hi Dan By hiding the eths, will I be able to use the bridge to assign it to a vm? I was not aware that you would like to connect VMs to the same bridge that connects between the two networks. I think, that if you list one of the nics as hidden, this should work - but I have not tried. Please do! Regards, El 09/09/13 19:48, Dan Kenigsberg escribió: On Mon, Sep 09, 2013 at 03:19:48PM -0300, Juan Pablo Lorier wrote: Hi, Another question: I need to connect 2 eths to a Fortigate cluster so I need them to be in a bridge with single ip so it can connect to the DMZ. As far as I can see, ovirt 3.2 is allowing me to create bonds and assign logical network to them, but not to create a bridge. Can I create it manually and get ovirt to handle it? Indeed, ovirt does not support setting up a bridge with multiple physical legs. I do not recall having tried that, but I have a suspition that Engine may be confused if such a bridge is to be reported by Vdsm. If that happens, I suggest that you list these two eths in vdsm.conf's hidden_nics. Then, they would not show up on ovirt's network editing tools and would not tempt admins to use them for other purposes. Dan. Please test it out and r ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Bridge for logical network
Hi Dan and Moti, Why can't vdsm get the bridge interfase just as it gets the bonds?. Both are virtual interfaces, so it would be easier to list the bridge as an interfase and assign the LN to it. If there's no way to do this, I'll try to hide one nic and see what happens. Regards, On 10/09/13 09:17, Moti Asayag wrote: - Original Message - From: Juan Pablo Lorier jplor...@gmail.com To: Dan Kenigsberg dan...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, September 10, 2013 2:50:08 AM Subject: Re: [Users] Bridge for logical network Hi Dan By hiding the eths, will I be able to use the bridge to assign it to a vm? Regards, As long as the bridge is defined on engine side and reported by VDSM you should be able to assign vms to it. Please report if hiding the additional nics (only one nic shouldn't be hidden) works for you. El 09/09/13 19:48, Dan Kenigsberg escribió: On Mon, Sep 09, 2013 at 03:19:48PM -0300, Juan Pablo Lorier wrote: Hi, Another question: I need to connect 2 eths to a Fortigate cluster so I need them to be in a bridge with single ip so it can connect to the DMZ. As far as I can see, ovirt 3.2 is allowing me to create bonds and assign logical network to them, but not to create a bridge. Can I create it manually and get ovirt to handle it? Indeed, ovirt does not support setting up a bridge with multiple physical legs. I do not recall having tried that, but I have a suspition that Engine may be confused if such a bridge is to be reported by Vdsm. The engine do complains about a bridge created on more than a single interface. If that happens, I suggest that you list these two eths in vdsm.conf's hidden_nics. Then, they would not show up on ovirt's network editing tools and would not tempt admins to use them for other purposes. Dan. Please test it out and r ___ 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] Ubuntu/Debian ovirt-guest-agent
Hello Zhou Zheng Sheng, I tested your ovirt-guest-agent PPA which you provided and it works on Ubuntu Precise (12.04) as expected, but I can not install it on Debian Wheezy because that package needs upstart-job from Ubuntu which is not in Debian... Would you be so kind and provide even Debian packages on your PPA? :-) I dont know if sysvinit style file for launching daemon is included by oVirt. Thank you. Jakub Bittner ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt 3.3 webui snapshot pane
Thanks, Markus. Within the snapshot sub-tab, once you select a snapshot on the left-hand side, details with regards to that snapshot are displayed in the tab-panel within the right-hand side. These are not the same details that are displayed in the VM's details sub-tab panel; the snapshot details values may be identical to the VM's details values in case the user chose to not change the VM's meta-data across snapshots, however, of course, this is not necessarily the case. the snapshot details tab-panel don't look exactly like the VM's details tab-panel since corresponding details are not identical: I assume that some information is irrelevant for the snapshot (e.g. Template:, which is relevant only for the VM), other information is simply not persisted as part of the snapshot information, and another information might be persisted, but simply not displayed; [I assume that people that are more familiar with the snapshots feature can help with exact details here] I agree that the snapshots-details-tab-panel looks strange and its graphical design can be improved. Can you please file a new oVirt bugzilla item for this issue? Thanks, Einav - Original Message - From: Markus Stockhausen stockhau...@collogia.de To: Einav Cohen eco...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, September 10, 2013 1:21:04 AM Subject: AW: [Users] ovirt 3.3 webui snapshot pane Von: Einav Cohen [eco...@redhat.com] Gesendet: Montag, 9. September 2013 20:52 An: Markus Stockhausen Cc: users Betreff: Re: [Users] ovirt 3.3 webui snapshot pane Hi Markus, - can you attach a screen-shot? - what is your screen resolution? Thanks, Einav Hello Einav, screenshot is attached to this mail. My resolution is 1600x900 Markus ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Proposed option syntax change to the hostusb VDSM hook.
Hello all, This is a heads up to any users of the hostusb hook of a proposed change to the option syntax of the hook. I've been working in the change below to allow the use of bus and device IDs to identify a host USB device to attach to a guest : Add the ability to use bus and device IDs with the hostusb hook. http://gerrit.ovirt.org/#/c/17428/ This change results in the old option syntax no longer being accepted by the hook. Instead only the new syntax will be accepted : bus=octal:device=octal or vendor=hex:product:hex Please let me know if you have any concerns regarding this change and the lack of backward compatibility with the older option syntax. Thanks in advance, Lee -- Lee Yarwood Senior Software Maintenance Engineer Red Hat UK Ltd 200 Fowler Avenue, Farnborough Business Park, Farnborough, Hants GU14 7JP Registered in England and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parson (USA), Charlie Peters (USA) GPG fingerprint : A5D1 9385 88CB 7E5F BE64 6618 BCA6 6E33 F672 2D76 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Disable MOTD on shell login
If I may interject Disabling the MOTD makes it easier to script...let's say if I want to get a list of VMs' snapshots and out them in a for loop...I would have to write the output of the rhevm-shell to a file; parse that file (oh BTW there are ^[[H and ^[[2 in that file...just to make things more interesteing); then run it through my loop - and then pass that into rhevm-shell...repeating the process. Also it doesn't help that rhevm-shell does a clear of the screen when it runs (can I turn that off too?) I would have to do that for every command. I don't mind having an MOTD...just wished there was an option to turn it off In short: It makes it easier to script and automate tasks. Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com On Tue, Sep 10, 2013 at 8:04 AM, Michael Pasternak mpast...@redhat.comwrote: Hi Anand, On 09/10/2013 09:33 AM, Anand Nande wrote: Hi, Is it possible $subject? If so - please share how. currently there is no user-friendly way to disable it, can you elaborate please why do you need that? I tried to find the file which rhevm-shell would open using: # rhevm-shell -c -d...(no luck) # lsof | egrep -i 'rhev|shell' ...(no luck) Regards --Anand -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Disable MOTD on shell login
Hi Anand, On 09/10/2013 09:33 AM, Anand Nande wrote: Hi, Is it possible $subject? If so - please share how. currently there is no user-friendly way to disable it, can you elaborate please why do you need that? I tried to find the file which rhevm-shell would open using: # rhevm-shell -c -d...(no luck) # lsof | egrep -i 'rhev|shell' ...(no luck) Regards --Anand -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VNC/Spice console connection failure
Hi Itamar, BZ created: https://bugzilla.redhat.com/show_bug.cgi?id=1006490 Thanks, Chris -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, September 09, 2013 8:36 PM To: SULLIVAN, Chris (WGK) Cc: users@ovirt.org; Michal Skrivanek Subject: Re: [Users] VNC/Spice console connection failure On 09/09/2013 12:59 PM, SULLIVAN, Chris (WGK) wrote: Hi, Just to follow up on the below - updating to libvirt 1.1.2-1 from ftp://libvirt.org/libvirt/ has appeared to solve the issue. Console connections via noVNC work as expected. worth opening a bug to require that libvirt version as the minimal version? Cheers, Chris PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY NEED TO. This email and its attachments may contain information which is confidential and/or legally privileged. If you are not the intended recipient of this e-mail please notify the sender immediately by e-mail and delete this e-mail and its attachments from your computer and IT systems. You must not copy, re-transmit, use or disclose (other than to the sender) the existence or contents of this email or its attachments or permit anyone else to do so. - -Original Message- From: SULLIVAN, Chris (WGK) Sent: Monday, September 09, 2013 3:48 PM To: users@ovirt.org Subject: RE: VNC/Spice console connection failure Hi, I am currently unable to connect to the console of a running VM through the Ovirt web interface. I get the following error (log extracts below): error : qemuDomainChangeGraphics:1873 : internal error cannot change listen address setting on vnc graphics I’m using Fedora 19, ovirt-engine 3.3.0-1, VDSM 4.12.1, qemu 1.4.2 and libvirt 1.0.5. I get a similar error when trying to use Spice. Has anyone come across this problem before, and if so, how to resolve? Based on some quick googling the versions of libvirt/qemu available in F19 do not allow changes to the listen address for a running VM. Should I rollback to a previous version? Kind regards, Chris Sullivan Senior Pipeline Engineer/Technical Development | J P Kenny ovirt-engine.log 2013-09-09 12:22:46,688 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Running command: SetVmTicketCommand internal: false. Entities affected : ID: e69df488-ad50-4c8c-9f37-a63463a81702 Type: VM 2013-09-09 12:22:46,692 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) START, SetVmTicketVDSCommand(HostName = r410-02, HostId = d5df2e2b-509c-4b1c-902a-976b932d930b, vmId=e69df488-ad50-4c8c-9f37-a63463a81702, ticket=igRUBsYsw5ds, validTime=120,m userName=admin@internal, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 53359174 2013-09-09 12:22:46,715 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Failed in SetVmTicketVDS method 2013-09-09 12:22:46,715 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Error code unexpected and error message VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception 2013-09-09 12:22:46,716 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Command org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand return value 2013-09-09 12:22:46,716 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) HostName = r410-02 2013-09-09 12:22:46,717 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Command SetVmTicketVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception 2013-09-09 12:22:46,717 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) FINISH, SetVmTicketVDSCommand, log id: 53359174 2013-09-09 12:22:46,718 ERROR [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Command org.ovirt.engine.core.bll.SetVmTicketCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception (Failed with VDSM error unexpected and code 16) 2013-09-09 12:22:46,721 ERROR [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Transaction rolled-back for command: org.ovirt.engine.core.bll.SetVmTicketCommand. Virt host libvirtd.log 2013-09-09 04:22:46.693+: 7413: debug : virDomainFree:2326 : dom=0x7fb920009eb0, (VM: name=rhev-compute-01, uuid=e69df488-ad50-4c8c-9f37-a63463a81702) 2013-09-09 04:22:46.707+: 7415: debug : virDomainUpdateDeviceFlags:10057 : dom=0x7fb914055890, (VM:
Re: [Users] Disable MOTD on shell login
you don't have to write entire output of the shell to the file, all shell commands supports output redirection to file/linux utilities such as grep/etc. [1], I actually didn't know that (just starting to use rhevm-shell)...this will prove very helpful! Thanks! Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com On Tue, Sep 10, 2013 at 8:43 AM, Michael Pasternak mpast...@redhat.comwrote: Hi Christian, On 09/10/2013 06:18 PM, Christian Hernandez wrote: If I may interject Disabling the MOTD makes it easier to script...let's say if I want to get a list of VMs' snapshots and out them in a for loop...I would have to write the output of the rhevm-shell to a file; parse that file (oh BTW there are ^[[H and ^[[2 in that file...just to make things more interesteing); then run it through my loop - and then pass that into rhevm-shell...repeating the process. you don't have to write entire output of the shell to the file, all shell commands supports output redirection to file/linux utilities such as grep/etc. [1], also in script mode printed limited MOTD (without welcome message) if it still doesn't work for you, please file RFE (though i'm not sure it will make to 3.3) [1] list snapshots --vm-identifier aaa snapshots.txt for more details see http://www.ovirt.org/CLI#Scripting Also it doesn't help that rhevm-shell does a clear of the screen when it runs (can I turn that off too?) this is done for create visual isolation between bash and ovirt shells, not sure i understand how it related to the told above, but if you find it usable, i don't mind. I would have to do that for every command. I don't mind having an MOTD...just wished there was an option to turn it off In short: It makes it easier to script and automate tasks. Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto: christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Tue, Sep 10, 2013 at 8:04 AM, Michael Pasternak mpast...@redhat.commailto: mpast...@redhat.com wrote: Hi Anand, On 09/10/2013 09:33 AM, Anand Nande wrote: Hi, Is it possible $subject? If so - please share how. currently there is no user-friendly way to disable it, can you elaborate please why do you need that? I tried to find the file which rhevm-shell would open using: # rhevm-shell -c -d...(no luck) # lsof | egrep -i 'rhev|shell' ...(no luck) Regards --Anand -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt-sdk to fetch individual cpu stats
On 09/10/2013 02:04 PM, Deepthi Dharwar wrote: Thanks a lot Micheal. Works like a charm :) How does one know that you need to access first field in statistic.get_values().get_value()[0].datum. Are these documented any place ? you can see this in api [1] there is a collection of values represented by value place-hoder, you can find discussion on statistics api modelling at the old rhevm-api [2] mailing list. values type=... value datum.../datum /value /values [1] GET http://server:[port]/api/hosts/xxx/statistics [2] https://lists.fedorahosted.org/pipermail/rhevm-api/ Regards, Deepthi On 09/08/2013 03:55 PM, Michael Pasternak wrote: Hi Deepthi, On 09/06/2013 01:12 PM, Deepthi Dharwar wrote: Hi, I was trying to get the cpu statistics of a host using the oVirt python sdk. But beyond a point I am unable to deference to the actual cpu stats field and the data. h_list = api.hosts.list() for h in h_list: y = h.statistics.list() for i in y: print i.get_values() O/P: ovirtsdk.xml.params.Values object at 0x22cbd90 ovirtsdk.xml.params.Values object at 0x22cbb90 ovirtsdk.xml.params.Values object at 0x22cba90 ovirtsdk.xml.params.Values object at 0x22cba10 ovirtsdk.xml.params.Values object at 0x22cbf10 Can some one please let me know how I can get individual fields like cpu.current.system or cpu.current.idle stats from here. you can use sdk client side filtering on collections using map based constraints [1], just note that you cannot use same constrain (name) twice [2] as following entry will always override the former one, to work this out, just use your private inline filtering [3] (it will have same complexity as using sdk filtering) [1] for h in h_list: statistics = h.statistics.list(**{ 'name':'cpu.current.system' } ) for statistic in statistics: print %s=%0.4f %s % ( statistic.get_name(), statistic.get_values().get_value()[0].datum, statistics[0].get_unit() ) [2] statistics = h.statistics.list(**{ 'name':'cpu.current.system', 'name':'cpu.current.idle' } ) [3] h_list = api.hosts.list() stats_to_show = ['cpu.current.system', 'cpu.current.idle'] for h in h_list: statistics = h.statistics.list() for statistic in statistics: if statistic.get_name() in stats_to_show: print %s=%0.4f %s % ( statistic.get_name(), statistic.get_values().get_value()[0].datum , statistics[0].get_unit() ) hope it helps. Thanks! Deepthi -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Disable MOTD on shell login
Hi Christian, On 09/10/2013 06:18 PM, Christian Hernandez wrote: If I may interject Disabling the MOTD makes it easier to script...let's say if I want to get a list of VMs' snapshots and out them in a for loop...I would have to write the output of the rhevm-shell to a file; parse that file (oh BTW there are ^[[H and ^[[2 in that file...just to make things more interesteing); then run it through my loop - and then pass that into rhevm-shell...repeating the process. you don't have to write entire output of the shell to the file, all shell commands supports output redirection to file/linux utilities such as grep/etc. [1], also in script mode printed limited MOTD (without welcome message) if it still doesn't work for you, please file RFE (though i'm not sure it will make to 3.3) [1] list snapshots --vm-identifier aaa snapshots.txt for more details see http://www.ovirt.org/CLI#Scripting Also it doesn't help that rhevm-shell does a clear of the screen when it runs (can I turn that off too?) this is done for create visual isolation between bash and ovirt shells, not sure i understand how it related to the told above, but if you find it usable, i don't mind. I would have to do that for every command. I don't mind having an MOTD...just wished there was an option to turn it off In short: It makes it easier to script and automate tasks. Thank you, Christian Hernandez 1225 Los Angeles Street Glendale, CA 91204 Phone: 877-782-2737 ext. 4566 Fax: 818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Tue, Sep 10, 2013 at 8:04 AM, Michael Pasternak mpast...@redhat.com mailto:mpast...@redhat.com wrote: Hi Anand, On 09/10/2013 09:33 AM, Anand Nande wrote: Hi, Is it possible $subject? If so - please share how. currently there is no user-friendly way to disable it, can you elaborate please why do you need that? I tried to find the file which rhevm-shell would open using: # rhevm-shell -c -d...(no luck) # lsof | egrep -i 'rhev|shell' ...(no luck) Regards --Anand -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org mailto:Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Michael Pasternak RedHat, ENG-Virtualization RD ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] VM Crash at end of disk move
Hello, Thanks for the assistance to get this all running. But now I'm working on the next error on my new ovirt cluster. I migrated a Windows 7 64Bit VMware VM into ovirt using virt-v2v. VMWare tools were deinstalled in advance. After two boots on ovirt everything seems fine. Just for curiousity I moved the boot disk to another storage domain. At the end the machine crashes without any indication of the reason. ovirt webinterface log reads: 2013-Sep-10, 21:32 User admin@internal have failed to move disk colvm40_1IB_win7x64_Office2010_Test_Disk1 to domain NAS3_IB. 2013-Sep-10, 21:32 VM colvm40_1IB_win7x64_Office2010_Test is down. Exit message: Lost connection with qemu process. 2013-Sep-10, 21:19 User admin@internal moving disk colvm40_1IB_win7x64_Office2010_Test_Disk1 to domain NAS3_IB. 2013-Sep-10, 21:19 Snapshot 'Auto-generated for Live Storage Migration' creation for VM 'colvm40_1IB_win7x64_Office2010_Test' has been completed. 2013-Sep-10, 21:18 Snapshot 'Auto-generated for Live Storage Migration' creation for VM 'colvm40_1IB_win7x64_Office2010_Test' was initiated by admin@internal. 2013-Sep-10, 21:17 VM colvm40_1IB_win7x64_Office2010_Test started on Host colovn1 After this crash VM can be started again. The disk image is taken from the target storage domain. So it seems as if the move was successful. Another (SLES 11 SP3) VM that was newly created inside the cluster does not show this problem. As I did not find qemu logs, what would be the best place to start analysis with. Best regards. Markus Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Ãber das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Bridge for logical network
Hi Moti, When you say As long as the bridge is defined on engine side and reported by VDSM you should be able to assign vms to it. What do you mean? I can't see bridge interfaces in the engine, it just shows the fisical nics. Is there a way to force engine to see the bridge? If I hide one nic, then if the visible one fails, I loose connectivity even if the other nic in the bridge is active? If I add both nics to the bridge (the hidden and the visible) and then by the engine assign the LN to the visible nic, is it going to work? I'm used to assign the ip address to the bridgen, no to one of the interfases member as this shouldn't work, and I guess that the engine will set the ip to the nic not to the bridge as it's what it sees. Sorry for so many questions, but I want to be sure of what I'm doing before testing it as I have to work on the production platform. Regards, From: Juan Pablo Lorier jplor...@gmail.com To: Dan Kenigsberg dan...@redhat.com Cc: users users@ovirt.org Sent: Tuesday, September 10, 2013 2:50:08 AM Subject: Re: [Users] Bridge for logical network Hi Dan By hiding the eths, will I be able to use the bridge to assign it to a vm? Regards, As long as the bridge is defined on engine side and reported by VDSM you should be able to assign vms to it. Please report if hiding the additional nics (only one nic shouldn't be hidden) works for you. El 09/09/13 19:48, Dan Kenigsberg escribi?: On Mon, Sep 09, 2013 at 03:19:48PM -0300, Juan Pablo Lorier wrote: Hi, Another question: I need to connect 2 eths to a Fortigate cluster so I need them to be in a bridge with single ip so it can connect to the DMZ. As far as I can see, ovirt 3.2 is allowing me to create bonds and assign logical network to them, but not to create a bridge. Can I create it manually and get ovirt to handle it? Indeed, ovirt does not support setting up a bridge with multiple physical legs. I do not recall having tried that, but I have a suspition that Engine may be confused if such a bridge is to be reported by Vdsm. The engine do complains about a bridge created on more than a single interface. If that happens, I suggest that you list these two eths in vdsm.conf's hidden_nics. Then, they would not show up on ovirt's network editing tools and would not tempt admins to use them for other purposes. Dan. Please test it out and r ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Bridge for logical network
On Tue, Sep 10, 2013 at 10:51:45AM -0300, Juan Pablo Lorier wrote: Hi Dan and Moti, Why can't vdsm get the bridge interfase just as it gets the bonds?. Both are virtual interfaces, so it would be easier to list the bridge as an interfase and assign the LN to it. If there's no way to do this, I'll try to hide one nic and see what happens. Regards, oVirt supports only a limited set of Linux networking topologies. Partly because we have only limited resources, and partly because of covering everything would complicate life to most virt users. I would love to see an RFE on bugzilla, explaining why this ability is important to oVirt users. If the suggested vdsm hacks are widely used, or if someone with interest in this posts patches, it would make sense to streamline this feature into oVirt. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VNC/Spice console connection failure
On Tue, Sep 10, 2013 at 05:31:23PM +, SULLIVAN, Chris (WGK) wrote: Hi Itamar, BZ created: https://bugzilla.redhat.com/show_bug.cgi?id=1006490 Thanks, Thanks, but we cannot simply require libvirt 1.1.0, as it does not ship with F19. We need get a fix backported to F19, so that we can change our VNC password there. (Too bad we've been top-posting here. Now that I'm adding libvir-list I'm going to be cursed.) Chris -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, September 09, 2013 8:36 PM To: SULLIVAN, Chris (WGK) Cc: users@ovirt.org; Michal Skrivanek Subject: Re: [Users] VNC/Spice console connection failure On 09/09/2013 12:59 PM, SULLIVAN, Chris (WGK) wrote: Hi, Just to follow up on the below - updating to libvirt 1.1.2-1 from ftp://libvirt.org/libvirt/ has appeared to solve the issue. Console connections via noVNC work as expected. worth opening a bug to require that libvirt version as the minimal version? Cheers, Chris PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY NEED TO. This email and its attachments may contain information which is confidential and/or legally privileged. If you are not the intended recipient of this e-mail please notify the sender immediately by e-mail and delete this e-mail and its attachments from your computer and IT systems. You must not copy, re-transmit, use or disclose (other than to the sender) the existence or contents of this email or its attachments or permit anyone else to do so. - -Original Message- From: SULLIVAN, Chris (WGK) Sent: Monday, September 09, 2013 3:48 PM To: users@ovirt.org Subject: RE: VNC/Spice console connection failure Hi, I am currently unable to connect to the console of a running VM through the Ovirt web interface. I get the following error (log extracts below): error : qemuDomainChangeGraphics:1873 : internal error cannot change listen address setting on vnc graphics I’m using Fedora 19, ovirt-engine 3.3.0-1, VDSM 4.12.1, qemu 1.4.2 and libvirt 1.0.5. I get a similar error when trying to use Spice. Has anyone come across this problem before, and if so, how to resolve? Based on some quick googling the versions of libvirt/qemu available in F19 do not allow changes to the listen address for a running VM. Should I rollback to a previous version? Kind regards, Chris Sullivan Senior Pipeline Engineer/Technical Development | J P Kenny ovirt-engine.log 2013-09-09 12:22:46,688 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Running command: SetVmTicketCommand internal: false. Entities affected : ID: e69df488-ad50-4c8c-9f37-a63463a81702 Type: VM 2013-09-09 12:22:46,692 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) START, SetVmTicketVDSCommand(HostName = r410-02, HostId = d5df2e2b-509c-4b1c-902a-976b932d930b, vmId=e69df488-ad50-4c8c-9f37-a63463a81702, ticket=igRUBsYsw5ds, validTime=120,m userName=admin@internal, userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 53359174 2013-09-09 12:22:46,715 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Failed in SetVmTicketVDS method 2013-09-09 12:22:46,715 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Error code unexpected and error message VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception 2013-09-09 12:22:46,716 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Command org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand return value 2013-09-09 12:22:46,716 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) HostName = r410-02 2013-09-09 12:22:46,717 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) Command SetVmTicketVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception 2013-09-09 12:22:46,717 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--127.0.0.1-8702-4) FINISH, SetVmTicketVDSCommand, log id: 53359174 2013-09-09 12:22:46,718 ERROR [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-4) Command org.ovirt.engine.core.bll.SetVmTicketCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SetVmTicketVDS, error = Unexpected exception (Failed with VDSM error unexpected and code 16) 2013-09-09 12:22:46,721 ERROR
Re: [Users] so, what do you want next in oVirt?
Hi all, - Mail original - De: Itamar Heim ih...@redhat.com À: users@ovirt.org Envoyé: Mardi 20 Août 2013 23:19:16 Objet: [Users] so, what do you want next in oVirt? earlier in the year we did a survey for feature requests / improvements / etc. since a lot of things were added, and priorities usually change, I'd like to ask again for what do you need the most from oVirt / what are your pain points next? below[1] I've listed my understanding of what already went in from previous survey requests (to various degrees of coverage). Thanks, Itamar [1] from the top 12 V Allow disk resize V Integrate Nagios/Zabbix monitoring - via a ui plugin V Highly Available engine - via hosted engine[2] V Open vSwitch integration - via neutron integration X Allow cloning VMs without template ? Enable hypervisor upgrade/updates through engine[3] V Allow engine on an oVirt hosted VM - via hosted engine[2] V Enable guest configuration (root password, SSH keys, network) via guest agent in engine - via cloud-init X Integrate v2v into engine ? Bond/extend ovirtmgmt with a second network for HA/increased bandwidth[4] X Integrate scheduling of snapshots and VM export for backups in engine[5] V Spice – support Google Chrome - via mime based launch Other items mentioned in previous survey which should be covered by now: - Fix timeout when adding local host during all-in-one configuration - Fix engine set-up when SELinux is disabled - Provide packages for el6 (CentOS, Red Hat Enterprise Linux) - Allow multiple VMs to be deployed from the same template at the same time - ISO domains on local/GlusterS - Show IP addresses in Virtual Machines-Network Interfaces - OpenStack Quantum support (now called Neutron) - noVNC support - Support spice.html5 and websocket proxy - Add other guest OSes to list - Port oVirt guest agent to Ubuntu[6] - SLA - Allow resource time-sharing - Spice - Mac client (via mime based launch) - Spice - port XPI plug-in to Windows (not sure this will happen, but mime based launch allows using firefox now) - Spice - client for Ubuntu/Debian (should be covered via mime based launch) [2] hosted engine is in active development, but not released yet. [3] host update is supported, but not for general yum update. [4] a lot of improvements were done in this space, but i'm not sure if they cover this exact use case [5] backup api is now being pushed to master, and orchestration of backups should probably happen via 3rd part backup vendors? [6] I'm not sure packaging exists yet, but ubuntu is covered for the basic functionality of the guest agent. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Thanks for this thread ! - ISCSI EqualLogic SAN support or use standard iscsi tools/configuration - SSO for webui and cli (IPA integration) - PXE boot for nodes - VMs dependencies on startup Have a nice day. Regards. --- Baptiste ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Starting VM Error
On Tue, Sep 03, 2013 at 05:26:30PM +0100, Dan Kenigsberg wrote: On Tue, Sep 03, 2013 at 05:13:55PM +0200, Joop wrote: Joop wrote: Dan Kenigsberg wrote: I'm only guessing here, but has there been a change in selinux-policy? Is selinux enforcing? Could you provide the output of ls -lRZ /etc/pki/vdsm ? Does these paths show up in /var/log/audit.log? Attached both from working and non-working host and what the update did on the now non-working host. No /etc/pki/vdsm in /var/log/audit/audit.log. Only relation is a failure notice for starting test06 by libvirt, but no why that I can find. those unconfined_* are fishy, but they exist on the working setup as well. If Dan Walsh were not listening I'd suggest to try it with setenforce 0, nonetheless. Excuse my continued guesswork, but how about $ chown vdsm.qemu /etc/pki/vdsm/keys/vdsmkey.pem we once had a libvirt bug were auxiliary group kvm was not set on the qemu process. Maybe history repeats itself. Joop, do you have any news for us? More and more people are crashing into this :-( Bug 1006394 - after update machines fail to up with spice client interface ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ubuntu/Debian ovirt-guest-agent
Hi Jakub, No problem. I'll try to write SysV init script for it. I'm not sure Ubuntu PPA can build and host Debian packages. Once it's over (ready or fail) I'll inform you. on 2013/09/10 21:52, Jakub Bittner wrote: Hello Zhou Zheng Sheng, I tested your ovirt-guest-agent PPA which you provided and it works on Ubuntu Precise (12.04) as expected, but I can not install it on Debian Wheezy because that package needs upstart-job from Ubuntu which is not in Debian... Would you be so kind and provide even Debian packages on your PPA? :-) I dont know if sysvinit style file for launching daemon is included by oVirt. Thank you. Jakub Bittner ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Thanks and best regards! Zhou Zheng Sheng / 周征晟 E-mail: zhshz...@linux.vnet.ibm.com Telephone: 86-10-82454397 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] so, what do you want next in oVirt?
Hi all, whats about Live Snapshot delete function? Its great to create live Snapshots, but for business critical vms its also nessesary to delete online snapshots. Greetz -Ursprüngliche Nachricht- Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von Baptiste AGASSE Gesendet: Dienstag, 10. September 2013 17:58 An: Itamar Heim Cc: users@ovirt.org Betreff: Re: [Users] so, what do you want next in oVirt? Hi all, - Mail original - De: Itamar Heim ih...@redhat.com À: users@ovirt.org Envoyé: Mardi 20 Août 2013 23:19:16 Objet: [Users] so, what do you want next in oVirt? earlier in the year we did a survey for feature requests / improvements / etc. since a lot of things were added, and priorities usually change, I'd like to ask again for what do you need the most from oVirt / what are your pain points next? below[1] I've listed my understanding of what already went in from previous survey requests (to various degrees of coverage). Thanks, Itamar [1] from the top 12 V Allow disk resize V Integrate Nagios/Zabbix monitoring - via a ui plugin V Highly Available engine - via hosted engine[2] V Open vSwitch integration - via neutron integration X Allow cloning VMs without template ? Enable hypervisor upgrade/updates through engine[3] V Allow engine on an oVirt hosted VM - via hosted engine[2] V Enable guest configuration (root password, SSH keys, network) via guest agent in engine - via cloud-init X Integrate v2v into engine ? Bond/extend ovirtmgmt with a second network for HA/increased bandwidth[4] X Integrate scheduling of snapshots and VM export for backups in engine[5] V Spice – support Google Chrome - via mime based launch Other items mentioned in previous survey which should be covered by now: - Fix timeout when adding local host during all-in-one configuration - Fix engine set-up when SELinux is disabled - Provide packages for el6 (CentOS, Red Hat Enterprise Linux) - Allow multiple VMs to be deployed from the same template at the same time - ISO domains on local/GlusterS - Show IP addresses in Virtual Machines-Network Interfaces - OpenStack Quantum support (now called Neutron) - noVNC support - Support spice.html5 and websocket proxy - Add other guest OSes to list - Port oVirt guest agent to Ubuntu[6] - SLA - Allow resource time-sharing - Spice - Mac client (via mime based launch) - Spice - port XPI plug-in to Windows (not sure this will happen, but mime based launch allows using firefox now) - Spice - client for Ubuntu/Debian (should be covered via mime based launch) [2] hosted engine is in active development, but not released yet. [3] host update is supported, but not for general yum update. [4] a lot of improvements were done in this space, but i'm not sure if they cover this exact use case [5] backup api is now being pushed to master, and orchestration of backups should probably happen via 3rd part backup vendors? [6] I'm not sure packaging exists yet, but ubuntu is covered for the basic functionality of the guest agent. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Thanks for this thread ! - ISCSI EqualLogic SAN support or use standard iscsi tools/configuration - SSO for webui and cli (IPA integration) - PXE boot for nodes - VMs dependencies on startup Have a nice day. Regards. --- Baptiste ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users it-novum GmbH i. A. Kai Wagner Consultant Tel: +49 (661) 103-762 Fax: +49 (661) 103-17762 kai.wag...@it-novum.com it-novum GmbH * Edelzeller Straße 44 * 36043 Fulda * http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 * Geschäftsführer: Michael Kienle Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfänger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfältigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users