[ovirt-users] Put the engine inside hosts after installation
Hello, I would like to try ovirt with hosted engine installation. I had so many problems (I have written them in another thread) so I will not try anymore hosted installation (up and running with ovirt 3.5 tutorial) But now I would try this approach: I install the engine on a dedicated server or as a virtual machine in another kvm based virtualizator. Now I create an ovirt cluster and use it. Can I after that install change my mind and so move the engine as a vm in the cluster? Or can I install a new engine in the cluster and powerdown the first engine? Thanks in advance for help, Mario ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Put the engine inside hosts after installation
- Original Message - From: Mario Giammarco mgiamma...@gmail.com To: users@ovirt.org Sent: Friday, January 16, 2015 10:39:44 AM Subject: [ovirt-users] Put the engine inside hosts after installation Hello, I would like to try ovirt with hosted engine installation. I had so many problems (I have written them in another thread) so I will not try anymore hosted installation (up and running with ovirt 3.5 tutorial) oVirt 3.5.1 RC1 will be published today so, if everything runs as expected, oVirt 3.5.1 will be out in a few days. oVirt 3.5.1 should solve the issue you reported. But now I would try this approach: I install the engine on a dedicated server or as a virtual machine in another kvm based virtualizator. Now I create an ovirt cluster and use it. Can I after that install change my mind and so move the engine as a vm in the cluster? As far as you maintain the same host name and a compatible network topology it should work without any hassle. Keep present that hosted-engine also installs and configures ovirt-hosted-engine-ha daemon to ensure HA capabilities restarting the engine VM if the host witch runs the VM goes down. In the setup you are proposing you are loosing that capability. Or can I install a new engine in the cluster and powerdown the first engine? Thanks in advance for help, Mario ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] USB Modem in a VM
- Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 10:33:19 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi, I've tried also to inject the device with virsh attach-device, all seems to work but nothing happen in the VM : [root@unc-srv-hyp2 ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml Please enter your authentication name: root Please enter your password: Device attached successfully What did I do wrong, any ideas ? Hello, One possibility might be the fact that libvirt itself doesn't have managed mode for USB devices and I'm not sure virt-manager has the appropriate routine handled. Could you try running $ virsh nodedev-list to find the correct usb device and then # virsh nodedev-detach the_usb_device or posibly nodedev-dettach if you run older libvirt? After that, try starting VM with hostdev element added to XML. Regards Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr De : Alon Bar-Lev [alo...@redhat.com] Envoyé : jeudi 15 janvier 2015 21:23 À : VONDRA Alain; Michal Skrivanek Cc : users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM Michal, any clue? - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 5:56:47 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, Thank you for your answer, I've tried to insert my USB modem, but it doesn't up in the Windows VM. I've tried to insert via virt-manager without success, I can't apply the modification, however I see the modem using lsusb : lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant Systems (Rockwell), Inc. I've unload the cdc_acm kernel module via rmmod without success. I've also tried to edit the xml appending the ID and VENDDOR tags : hostdev mode='subsystem' type='usb' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Ut at the first load the config disappears... Do I need to restart the host or restart libvirtd services ? Thanks for your help Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Alon Bar-Lev [mailto:alo...@redhat.com] Envoyé : mardi 13 janvier 2015 17:47 À : VONDRA Alain Cc : users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: users@ovirt.org Sent: Tuesday, January 13, 2015 5:55:01 PM Subject: [ovirt-users] USB Modem in a VM Hi, Can you tell me if I can use an USB modem through one of the hypervisor hosts to a Windows VM ? I’d like to install a Windows Fax Server. Thank you for your answers. should be possible using qemu args: -usbdevice host:vendor_id:product_id in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties: domain type='kvm' name.../name … devices … hostdev mode='subsystem' type='usb' source vendor id='0x@VENDOR@'/ product id='0x@DEVICE@'/ /source /hostdev /devices /domain if this option is not exposed in ui you can use vdsm-hooks[1] to modify the libvirt configuration and inject such device. Regards, Alon [1] http://www.ovirt.org/VDSM-Hooks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] USB Modem in a VM
Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. Regards Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 10:33:19 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi, I've tried also to inject the device with virsh attach-device, all seems to work but nothing happen in the VM : [root@unc-srv-hyp2 ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml Please enter your authentication name: root Please enter your password: Device attached successfully What did I do wrong, any ideas ? Hello, One possibility might be the fact that libvirt itself doesn't have managed mode for USB devices and I'm not sure virt-manager has the appropriate routine handled. Could you try running $ virsh nodedev-list to find the correct usb device and then # virsh nodedev-detach the_usb_device or posibly nodedev-dettach if you run older libvirt? After that, try starting VM with hostdev element added to XML. Regards Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr De : Alon Bar-Lev [alo...@redhat.com] Envoyé : jeudi 15 janvier 2015 21:23 À : VONDRA Alain; Michal Skrivanek Cc : users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM Michal, any clue? - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 5:56:47 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, Thank you for your answer, I've tried to insert my USB modem, but it doesn't up in the Windows VM. I've tried to insert via virt-manager without success, I can't apply the modification, however I see the modem using lsusb : lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant Systems (Rockwell), Inc. I've unload the cdc_acm kernel module via rmmod without success. I've also tried to edit the xml appending the ID and VENDDOR tags : hostdev mode='subsystem' type='usb' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Ut at the first load the config disappears... Do I need to restart the host or restart libvirtd services ? Thanks for your help Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et
Re: [ovirt-users] Put the engine inside hosts after installation
2015-01-16 11:16 GMT+01:00 Simone Tiraboschi stira...@redhat.com: oVirt 3.5.1 RC1 will be published today so, if everything runs as expected, oVirt 3.5.1 will be out in a few days. oVirt 3.5.1 should solve the issue you reported. Ok I will wait 3.5.1 and try again. Keep present that hosted-engine also installs and configures ovirt-hosted-engine-ha daemon to ensure HA capabilities restarting the engine VM if the host witch runs the VM goes down. In the setup you are proposing you are loosing that capability. I supposed the ha capability was offered by ovirt cluster. I need to investigate. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] [ANN] oVirt 3.5.1 First Release Candidate is now available for testing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The oVirt team is pleased to announce that the 3.5.1 First Release Candidate is now available for testing as of Jan 16th 2015. The release candidate is available now for Fedora 20, Red Hat Enterprise Linux 6.6 (or similar) and Red Hat Enterprise Linux 7 (or similar). This release of oVirt includes numerous bug fixes. See the release notes [1] for a list of the new features and bugs fixed. Please refer to release notes [1] for Installation / Upgrade instructions. New oVirt Live and oVirt Node ISO will be available soon as well[2]. Please note that mirrors may need usually one day before being synchronized. Please refer to the release notes for known issues in this release. [1] http://www.ovirt.org/OVirt_3.5.1_Release_Notes [2] http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ - -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJUuPJtAAoJEHw3u57E4QAOVccP/0qAx81oBpN2U4gVwxbcFJuD tFEXGYgbdBDOrh4Z8hX/PA8U+xuRE0Ctjy3SOP9FzHnPJ6qoekPzZuSfDaKVIqvi qKOrOfQu4lE9wkTiuXuIm/4R/Oc3+34aSKCAO8KQKYx32sEVM4S3yShQVBM9p/Ga +vYearlfHjNOUoqghh/3hNhdgr82XNkS8Lk6RsGaGqbkLhEO5jo5hQ3pv2g2QGXB 7upM8kB9fM4rEDzeflcQ3gHAsak+DeGjnNzY4fKDL9iLgjm08Kf4IemQJSNqXMu6 t9lIQJHTOYGBI9eLyPZ9Q3eC9uAvmk15Ckb7tIQRMulJqI3zxzgXJrQzawDw2Srk enRfnPg18j0OZzeDZSREePDBldQv420hcKhQsQbheObRW67+A1jHQC+Nnn4iAikI y+ZGJwXHsLjmnjvuVkO4ygE2YBp8KSj8OAFLXHlrx2OZJOE4KtIhVHXIY7ES+W6z WFJIwHLGBklEmFLRWRgzcWiGxNZAIAATehvO6ZZmTC3/DWH2CfuhS1f0ZZdussxR qcEcrbd5EEy7AqV5jRDyuQP5q8S53kWawU2N7Iqxdq0QcufSo9XgMnOjqF2nJGKz 7UsPhgBbFSuF3xJbXGGMnKPCesizIm9SotjEievRe1SJxmvcxhA5fybQ7CtB7DI0 ZRmWY8kERzKAYFeH2TeQ =EKEO -END PGP SIGNATURE- ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] USB Modem in a VM
- Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The issue is, you need to get libvirt name of the device and run the nodedev-detach - have you done that with no success? If not, use some simple script such as (python) import libvirt conn = libvirt.openReadOnly() devices = conn.listAllDevices() for dev in devices: print dev.XMLDesc() to easily find the device and use the name element for nodedev-detach call. That should handle unbinding it from the driver and possibly binding it to some usb stub if that exists. If that doesn't fix it, I admit that I'm not sure what could be the cause apart from OS/hw. The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. Regards Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 10:33:19 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi, I've tried also to inject the device with virsh attach-device, all seems to work but nothing happen in the VM : [root@unc-srv-hyp2 ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml Please enter your authentication name: root Please enter your password: Device attached successfully What did I do wrong, any ideas ? Hello, One possibility might be the fact that libvirt itself doesn't have managed mode for USB devices and I'm not sure virt-manager has the appropriate routine handled. Could you try running $ virsh nodedev-list to find the correct usb device and then # virsh nodedev-detach the_usb_device or posibly nodedev-dettach if you run older libvirt? After that, try starting VM with hostdev element added to XML. Regards Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr De : Alon Bar-Lev [alo...@redhat.com] Envoyé : jeudi 15 janvier 2015 21:23 À : VONDRA Alain; Michal Skrivanek Cc : users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM Michal, any clue? - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 5:56:47 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, Thank you for your answer, I've tried to insert my USB modem, but it doesn't up in the Windows VM. I've tried to insert via virt-manager without success, I can't apply the modification, however I see the modem using lsusb : lsusb
Re: [ovirt-users] USB Modem in a VM
On 16 Jan 2015, at 12:10, VONDRA Alain wrote: Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. How do you check it in the guest? can you try that with Linux guest to see if any device whatsoever shows up? Thanks, michal Regards Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 10:33:19 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi, I've tried also to inject the device with virsh attach-device, all seems to work but nothing happen in the VM : [root@unc-srv-hyp2 ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml Please enter your authentication name: root Please enter your password: Device attached successfully What did I do wrong, any ideas ? Hello, One possibility might be the fact that libvirt itself doesn't have managed mode for USB devices and I'm not sure virt-manager has the appropriate routine handled. Could you try running $ virsh nodedev-list to find the correct usb device and then # virsh nodedev-detach the_usb_device or posibly nodedev-dettach if you run older libvirt? After that, try starting VM with hostdev element added to XML. Regards Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr De : Alon Bar-Lev [alo...@redhat.com] Envoyé : jeudi 15 janvier 2015 21:23 À : VONDRA Alain; Michal Skrivanek Cc : users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM Michal, any clue? - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 5:56:47 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, Thank you for your answer, I've tried to insert my USB modem, but it doesn't up in the Windows VM. I've tried to insert via virt-manager without success, I can't apply the modification, however I see the modem using lsusb : lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant Systems (Rockwell), Inc. I've unload the cdc_acm kernel module via rmmod without success. I've also tried to edit the xml appending the ID and VENDDOR tags : hostdev mode='subsystem' type='usb' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Ut at the first load
Re: [ovirt-users] USB Modem in a VM
Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The issue is, you need to get libvirt name of the device and run the nodedev-detach - have you done that with no success? If not, use some simple script such as (python) import libvirt conn = libvirt.openReadOnly() devices = conn.listAllDevices() for dev in devices: print dev.XMLDesc() to easily find the device and use the name element for nodedev-detach call. That should handle unbinding it from the driver and possibly binding it to some usb stub if that exists. If that doesn't fix it, I admit that I'm not sure what could be the cause apart from OS/hw. The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. Regards Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 10:33:19 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi, I've tried also to inject the device with virsh attach-device, all seems to work but nothing happen in the VM : [root@unc-srv-hyp2 ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml Please enter your authentication name: root Please enter your password: Device attached successfully What did I do wrong, any ideas ? Hello, One possibility might be the fact that libvirt itself doesn't have managed mode for USB devices and I'm not sure virt-manager has the appropriate routine handled. Could you try running $ virsh nodedev-list to find the correct usb device and then # virsh nodedev-detach the_usb_device or posibly nodedev-dettach if you run older libvirt? After that, try starting VM with hostdev element added to XML. Regards Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr De : Alon Bar-Lev [alo...@redhat.com] Envoyé : jeudi 15 janvier 2015 21:23 À : VONDRA Alain; Michal Skrivanek Cc : users@ovirt.org Objet : Re: [ovirt-users] USB Modem
[ovirt-users] Low cost fencing/stonith devices
Hello, I ask this question again to see if there are some improvements. I am searching for a low cost stonith/fencing device for servers or hardware that has no ipmi/ilo on board. I see that there are some interesting products on the market like ubnt/mfi mpower that are controllable power outlets but there is no driver for them. In my use case WOL support will be enough (using it with ssh or shared storage fencing) but as far as I know WOL is not yet supported in ovirt. So is there some fencing device supported in 100/200$ price range? Thanks, Mario ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Put the engine inside hosts after installation
- Original Message - From: Mario Giammarco mgiamma...@gmail.com To: Simone Tiraboschi stira...@redhat.com Cc: users@ovirt.org Sent: Friday, January 16, 2015 12:12:34 PM Subject: Re: [ovirt-users] Put the engine inside hosts after installation 2015-01-16 11:16 GMT+01:00 Simone Tiraboschi stira...@redhat.com: oVirt 3.5.1 RC1 will be published today so, if everything runs as expected, oVirt 3.5.1 will be out in a few days. oVirt 3.5.1 should solve the issue you reported. Ok I will wait 3.5.1 and try again. Great, please help us reporting any other issue or strange thing. Keep present that hosted-engine also installs and configures ovirt-hosted-engine-ha daemon to ensure HA capabilities restarting the engine VM if the host witch runs the VM goes down. In the setup you are proposing you are loosing that capability. I supposed the ha capability was offered by ovirt cluster. I need to investigate. HA capability is provided for other VMs by oVirt engine. But who provide it if the engine itself is on a VM on the host that it's managing? HA for the Engine VM needs to be managed by the hosts and not the Engine itself: so we have ovirt-hosted-engine-ha that ensure HA for the engine VM, the engine cloud than provide HA for other VMs. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] USB Modem in a VM
- Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 12:30:10 PM Subject: Re: [ovirt-users] USB Modem in a VM Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Simply save it into something like listdevices.py and run $ python listdevices.py. It will list libvirt XML for all of the devices, you just need to find correct vendor id/product id for your usb device and then use the name for detach e.g. nodedev-detach usb_usb0. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The issue is, you need to get libvirt name of the device and run the nodedev-detach - have you done that with no success? If not, use some simple script such as (python) import libvirt conn = libvirt.openReadOnly() devices = conn.listAllDevices() for dev in devices: print dev.XMLDesc() to easily find the device and use the name element for nodedev-detach call. That should handle unbinding it from the driver and possibly binding it to some usb stub if that exists. If that doesn't fix it, I admit that I'm not sure what could be the cause apart from OS/hw. The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. Regards Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com Cc: users@ovirt.org Sent: Thursday, January 15, 2015 10:33:19 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi, I've tried also to inject the device with virsh attach-device, all seems to work but nothing happen in the VM : [root@unc-srv-hyp2 ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml Please enter your authentication name: root Please enter your password: Device attached successfully What did I do wrong, any ideas ? Hello, One possibility might be the fact that libvirt itself doesn't have managed mode for USB devices and I'm not sure virt-manager has the appropriate routine
Re: [ovirt-users] USB Modem in a VM
Hi Martin, That's what I've done, but the result is a missing argument. [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly() TypeError: openReadOnly() takes exactly 1 argument (0 given Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 12:30:10 PM Subject: Re: [ovirt-users] USB Modem in a VM Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Simply save it into something like listdevices.py and run $ python listdevices.py. It will list libvirt XML for all of the devices, you just need to find correct vendor id/product id for your usb device and then use the name for detach e.g. nodedev-detach usb_usb0. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The issue is, you need to get libvirt name of the device and run the nodedev-detach - have you done that with no success? If not, use some simple script such as (python) import libvirt conn = libvirt.openReadOnly() devices = conn.listAllDevices() for dev in devices: print dev.XMLDesc() to easily find the device and use the name element for nodedev-detach call. That should handle unbinding it from the driver and possibly binding it to some usb stub if that exists. If that doesn't fix it, I admit that I'm not sure what could be the cause apart from OS/hw. The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. Regards Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 11:37 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Alon Bar-Lev alo...@redhat.com,
Re: [ovirt-users] USB Modem in a VM
- Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 2:45:09 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi Martin, That's what I've done, but the result is a missing argument. [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly() TypeError: openReadOnly() takes exactly 1 argument (0 given My mistake, you can use openReadOnly(0) (can be omitted for some libvirt versions). Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 12:30:10 PM Subject: Re: [ovirt-users] USB Modem in a VM Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Simply save it into something like listdevices.py and run $ python listdevices.py. It will list libvirt XML for all of the devices, you just need to find correct vendor id/product id for your usb device and then use the name for detach e.g. nodedev-detach usb_usb0. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt : usb_1_0_1_0 usb_1_1 usb_1_1_1_0 usb_1_1_4 usb_1_1_4_1_0 usb_1_1_4_1_1 usb_1_1_6 usb_1_1_6_1 usb_1_1_6_1_0 usb_1_1_6_1_1_0 usb_1_1_6_1_1_1 usb_1_1_6_1_1_2 usb_2_0_1_0 usb_2_1 usb_2_1_1_0 usb_usb1 usb_usb2 The issue is, you need to get libvirt name of the device and run the nodedev-detach - have you done that with no success? If not, use some simple script such as (python) import libvirt conn = libvirt.openReadOnly() devices = conn.listAllDevices() for dev in devices: print dev.XMLDesc() to easily find the device and use the name element for nodedev-detach call. That should handle unbinding it from the driver and possibly binding it to some usb stub if that exists. If that doesn't fix it, I admit that I'm not sure what could be the cause apart from OS/hw. The xml injected is, I think right : hostdev mode='subsystem' type='usb' managed='yes' source vendor id='0x0572'/ product id='0x1321'/ /source /hostdev Even with The device on the VM xml, the device does'nt appears in the Windows VM. Regards Alain Alain VONDRA Chargé d'exploitation
Re: [ovirt-users] USB Modem in a VM
I've replaced with openReadOnly(0), but had a argument 1 must be string or None, not int issue, so I changed to None, but I had : [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 5, in module devices = conn.listAllDevices() TypeError: listAllDevices() takes exactly 2 arguments (1 given) I put the VM name in openReadOnly(unc-srv-prnt3) and I had this issue : libvirt: error : no connection driver available for unc-srv-prnt3 Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly(unc-srv-prnt3) File /usr/lib64/python2.6/site-packages/libvirt.py, line 247, in openReadOnly if ret is None:raise libvirtError('virConnectOpenReadOnly() failed') libvirt.libvirtError: no connection driver available for unc-srv-prnt3 What's wrong ? Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 15:47 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 2:45:09 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi Martin, That's what I've done, but the result is a missing argument. [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly() TypeError: openReadOnly() takes exactly 1 argument (0 given My mistake, you can use openReadOnly(0) (can be omitted for some libvirt versions). Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 12:30:10 PM Subject: Re: [ovirt-users] USB Modem in a VM Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Simply save it into something like listdevices.py and run $ python listdevices.py. It will list libvirt XML for all of the devices, you just need to find correct vendor id/product id for your usb device and then use the name for detach e.g. nodedev-detach usb_usb0. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial 3 24680246 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 73 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 With nodedev we just see device nodes, pretty difficult to identify, even with --tree opt :
[ovirt-users] [POLL] FOSDEM Social Event Date
For those attending FOSDEM: As is our tradition, we would like to host a social evening out during FOSDEM for members and friends of the oVirt community. We will be gathering at the Au Bon Vieux Temps tavern in Brussels, but before we set the date for the event, we would like your input on which evening would be better: Fri., Jan. 30 or Sat., Jan. 31? Please visit the post about this on Facebook [1] and input your preference in the comments, and early next week we will set it up and announce the details of the event! Thanks! BKP [1] https://www.facebook.com/events/340404086145780/permalink/340730009446521/ -- Brian Proffitt Community Liaison oVirt 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] USB Modem in a VM
- Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 4:00:28 PM Subject: RE: [ovirt-users] USB Modem in a VM I've replaced with openReadOnly(0), but had a argument 1 must be string or None, not int issue, so I changed to None, but I had : [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 5, in module devices = conn.listAllDevices() TypeError: listAllDevices() takes exactly 2 arguments (1 given) I put the VM name in openReadOnly(unc-srv-prnt3) and I had this issue : libvirt: error : no connection driver available for unc-srv-prnt3 Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly(unc-srv-prnt3) File /usr/lib64/python2.6/site-packages/libvirt.py, line 247, in openReadOnly if ret is None:raise libvirtError('virConnectOpenReadOnly() failed') libvirt.libvirtError: no connection driver available for unc-srv-prnt3 What's wrong ? Missing flags parameter again, which version of libvirt are you running? openReadOnly(0) and listAllDevices(0) should be correct for your version, sorry for that again. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 15:47 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 2:45:09 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi Martin, That's what I've done, but the result is a missing argument. [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly() TypeError: openReadOnly() takes exactly 1 argument (0 given My mistake, you can use openReadOnly(0) (can be omitted for some libvirt versions). Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 12:30:10 PM Subject: Re: [ovirt-users] USB Modem in a VM Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Simply save it into something like listdevices.py and run $ python listdevices.py. It will list libvirt XML for all of the devices, you just need to find correct vendor id/product id for your usb device and then use the name for detach e.g. nodedev-detach usb_usb0. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass2 Communications bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x0572 Conexant Systems (Rockwell), Inc. idProduct 0x1321 bcdDevice1.00 iManufacturer 1 Conexant iProduct2 USB Modem iSerial
Re: [ovirt-users] USB Modem in a VM
I've got libvirt-0.10.2-46 version. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 17:11 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 4:00:28 PM Subject: RE: [ovirt-users] USB Modem in a VM I've replaced with openReadOnly(0), but had a argument 1 must be string or None, not int issue, so I changed to None, but I had : [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 5, in module devices = conn.listAllDevices() TypeError: listAllDevices() takes exactly 2 arguments (1 given) I put the VM name in openReadOnly(unc-srv-prnt3) and I had this issue : libvirt: error : no connection driver available for unc-srv-prnt3 Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly(unc-srv-prnt3) File /usr/lib64/python2.6/site-packages/libvirt.py, line 247, in openReadOnly if ret is None:raise libvirtError('virConnectOpenReadOnly() failed') libvirt.libvirtError: no connection driver available for unc-srv-prnt3 What's wrong ? Missing flags parameter again, which version of libvirt are you running? openReadOnly(0) and listAllDevices(0) should be correct for your version, sorry for that again. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 15:47 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 2:45:09 PM Subject: Re: [ovirt-users] USB Modem in a VM Hi Martin, That's what I've done, but the result is a missing argument. [root@unc-srv-hyp2 ~]$ python2.6 usb_dev.py Traceback (most recent call last): File usb_dev.py, line 4, in module conn = libvirt.openReadOnly() TypeError: openReadOnly() takes exactly 1 argument (0 given My mistake, you can use openReadOnly(0) (can be omitted for some libvirt versions). Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 13:18 À : VONDRA Alain Cc : users@ovirt.org; Michal Skrivanek Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: users@ovirt.org, Michal Skrivanek mskri...@redhat.com Sent: Friday, January 16, 2015 12:30:10 PM Subject: Re: [ovirt-users] USB Modem in a VM Ok Martin, I'll try the python script, but I'm a newbie in python, which argumenet I need to put to execute it ? Thank you Alain Simply save it into something like listdevices.py and run $ python listdevices.py. It will list libvirt XML for all of the devices, you just need to find correct vendor id/product id for your usb device and then use the name for detach e.g. nodedev-detach usb_usb0. Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Martin Polednik [mailto:mpoled...@redhat.com] Envoyé : vendredi 16 janvier 2015 12:18 À : VONDRA Alain Cc : Alon Bar-Lev; Michal Skrivanek; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM - Original Message - From: VONDRA Alain avon...@unicef.fr To: Martin Polednik mpoled...@redhat.com Cc: Alon Bar-Lev alo...@redhat.com, Michal Skrivanek mskri...@redhat.com, users@ovirt.org Sent: Friday, January 16, 2015 12:10:35 PM Subject: RE: [ovirt-users] USB Modem in a VM Hi, I'm sure of the device, it's clearer with lsusb, you see all the infos about the device : Bus 001 Device 006: ID 0572:1321 Conexant Systems (Rockwell), Inc. Device Descriptor: bLength18
Re: [ovirt-users] Low cost fencing/stonith devices
Hello Mario, great you ask that, I am pretty interested myself. On 16.01.2015 12:31, Mario Giammarco wrote: Hello, I ask this question again to see if there are some improvements. I am searching for a low cost stonith/fencing device for servers or hardware that has no ipmi/ilo on board. I see that there are some interesting products on the market like ubnt/mfi mpower that are controllable power outlets but there is no driver for them. In my use case WOL support will be enough (using it with ssh or shared storage fencing) but as far as I know WOL is not yet supported in ovirt. Please see [1] - I enclose Martin: What is the status of the Future Enhancements WOL; or better what needs to be done and how can we help? I think we need a custom fence agent here, WOL in python is easily done [3] and the MAC filed could be mapped to one of the configurable items. Though I find it harder working with the fence_agent concept itself. Atm, I did not have time to persue this subjct any futher. So is there some fencing device supported in 100/200$ price range? One option would be networked PDU's [2] (here in Germany, they are around 200 Euro), maybe you can get some used ones. I think there is a list with supported devices though I cannot find it ATM. If I get it correctly the idea would be to define the outlet as Power Management, and switch it on via PMP. Configure the hosts to boot at power restore. The host would be shutdown via SSH anyway; the PM device only used for start up. [1] http://www.ovirt.org/Features/HostPowerManagementPolicy [2] http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=AP7920 [3] https://pypi.python.org/pypi/wakeonlan/0.2.2 Thanks, Mario -- Daniel Helgenberger m box bewegtbild GmbH P: +49/30/2408781-22 F: +49/30/2408781-10 ACKERSTR. 19 D-10115 BERLIN www.m-box.de www.monkeymen.tv Geschäftsführer: Martin Retschitzegger / Michaela Göllner Handeslregister: Amtsgericht Charlottenburg / HRB 112767 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Use dedicated I/O service domain in KVM
Hi, I want to use a dedicated guest VM to handle I/O request just as I/O service domain used in xen. Specifically, using network I/O as an example, I should directly assign the NIC to one guest VM (using pci-assign option), after that all other guest VMs should perform network I/O through that VM rather than the host OS. Is there currently any viable approach to do this? If not, I want to implement one. Currently I'm thinking of combining nahanni shared memory and vhost architecture to implement it, is there any other suggestions? Thanks for any help. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Low cost fencing/stonith devices
2015-01-16 18:52 GMT+01:00 Daniel Helgenberger daniel.helgenber...@m-box.de : Hello Mario, great you ask that, I am pretty interested myself. Great, I am not alone! Atm, I did not have time to persue this subjct any futher. Me too, if I had time I would have tried to develop mPower driver. So is there some fencing device supported in 100/200$ price range? One option would be networked PDU's [2] (here in Germany, they are around 200 Euro), maybe you can get some used ones. I think there is a list with supported devices though I cannot find it ATM. Unfortunately having a complete list of hardware supported is not so easy. And because they are power devices each country has its standard. Infact now I am searching on ebay switched rackmount pdu and I find only item from english shops (that costs more than 200 euro). Can you please tell me the german translation of switched rackmount pdu so I can search in german shops? If I get it correctly the idea would be to define the outlet as Power Management, and switch it on via PMP. Configure the hosts to boot at power restore. The host would be shutdown via SSH anyway; the PM device only used for start up. Yes correct. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Put the engine inside hosts after installation
2015-01-16 12:37 GMT+01:00 Simone Tiraboschi stira...@redhat.com: HA capability is provided for other VMs by oVirt engine. But who provide it if the engine itself is on a VM on the host that it's managing? HA for the Engine VM needs to be managed by the hosts and not the Engine itself: so we have ovirt-hosted-engine-ha that ensure HA for the engine VM, the engine cloud than provide HA for other VMs. I am surprised. I supposed that HA was self provided by the cluster like in xenserver. So you tell me that is the engine that checks if servers and vms are on like in cloudstack? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] FOSDEM 15.... here we come!
Done - added myself to to one of the few empty slots... See you guys at FOSDEM! -Original message- From: Doron Fediuck dfedi...@redhat.com Sent: Thursday 15th January 2015 16:55 To: Brian Proffitt bprof...@redhat.com; users@ovirt.org; annou...@ovirt.org Subject: [ovirt-users] FOSDEM 15 here we come! Hi all, Happy to see oVirt's tradition continuing! I summarized all relevant information here: http://etherpad.ovirt.org/p/ovirt-fosdem-15 Also, we need a few volunteers to help man the booth, so please go ahead and list yourself in the right place. Once we have more updates we'll send them to the list. See you @FOSDEM, Doron ___ 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] [POLL] FOSDEM Social Event Date
I'll vote for Saturday - can't post a comment on Facebook as I don't have an Facebook account. So I hope the mailing list counts as well :) Regards, René -Original message- From: Brian Proffitt bprof...@redhat.com Sent: Friday 16th January 2015 16:38 To: users users@ovirt.org Subject: [ovirt-users] [POLL] FOSDEM Social Event Date For those attending FOSDEM: As is our tradition, we would like to host a social evening out during FOSDEM for members and friends of the oVirt community. We will be gathering at the Au Bon Vieux Temps tavern in Brussels, but before we set the date for the event, we would like your input on which evening would be better: Fri., Jan. 30 or Sat., Jan. 31? Please visit the post about this on Facebook [1] and input your preference in the comments, and early next week we will set it up and announce the details of the event! Thanks! BKP [1] https://www.facebook.com/events/340404086145780/permalink/340730009446521/ -- Brian Proffitt Community Liaison oVirt 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
Re: [ovirt-users] FOSDEM 15.... here we come!
Thanks, René! Always a pleasure having you on board. See you soon, Doron On Jan 16, 2015 10:38 PM, Rene Koch rk...@rk-it.at wrote: Done - added myself to to one of the few empty slots... See you guys at FOSDEM! -Original message- From: Doron Fediuck dfedi...@redhat.com Sent: Thursday 15th January 2015 16:55 To: Brian Proffitt bprof...@redhat.com; users@ovirt.org; annou...@ovirt.org Subject: [ovirt-users] FOSDEM 15 here we come! Hi all, Happy to see oVirt's tradition continuing! I summarized all relevant information here: http://etherpad.ovirt.org/p/ovirt-fosdem-15 Also, we need a few volunteers to help man the booth, so please go ahead and list yourself in the right place. Once we have more updates we'll send them to the list. See you @FOSDEM, Doron ___ 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] [POLL] FOSDEM Social Event Date
It does, and I'll tally the vote! Thanks! BKP - Original Message - From: Rene Koch rk...@rk-it.at To: Brian Proffitt bprof...@redhat.com, users users@ovirt.org Sent: Friday, January 16, 2015 3:41:36 PM Subject: RE: [ovirt-users] [POLL] FOSDEM Social Event Date I'll vote for Saturday - can't post a comment on Facebook as I don't have an Facebook account. So I hope the mailing list counts as well :) Regards, René -Original message- From: Brian Proffitt bprof...@redhat.com Sent: Friday 16th January 2015 16:38 To: users users@ovirt.org Subject: [ovirt-users] [POLL] FOSDEM Social Event Date For those attending FOSDEM: As is our tradition, we would like to host a social evening out during FOSDEM for members and friends of the oVirt community. We will be gathering at the Au Bon Vieux Temps tavern in Brussels, but before we set the date for the event, we would like your input on which evening would be better: Fri., Jan. 30 or Sat., Jan. 31? Please visit the post about this on Facebook [1] and input your preference in the comments, and early next week we will set it up and announce the details of the event! Thanks! BKP [1] https://www.facebook.com/events/340404086145780/permalink/340730009446521/ -- Brian Proffitt Community Liaison oVirt 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 -- Brian Proffitt Community Liaison oVirt 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