Re: [ovirt-users] Hosted engine: sending ioctl 5401 to a partition!
On 11/21/2014 10:28 PM, Chris Adams wrote: I have set up oVirt with hosted engine, on an iSCSI volume. On both nodes, the kernel logs the following about every 10 seconds: Nov 21 15:27:49 node8 kernel: ovirt-ha-broker: sending ioctl 5401 to a partition! Is this a known bug, something that I need to address, etc.? I was looking into our code and there is nothing explicitly sending this, it's too low-level. I believe it's caused by attempts to read from that partitions (agent reads the data every 10 secs, so it matches the pattern). To be honest I actually don't know if that's wrong or not I'm not storage expert, so CCing Federico to shed some light into this. Regards, --Jirka ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Issues with vm start up
Try to remove content and run the vm, ie remove the runcmd: or some of it - try to use the xml with out CDATA maybe you can pinpoint the problem that way... On 27.11.14 10:03, Shanil S wrote: Hi All, I am using the ovirt version 3.5 and having some issues with the vm startup with cloud-init using api in run-once mode. Below is the steps i follow :- 1. Create the VM by API from precreated Template.. 2. Start the VM in run-once mode and push the cloud-init data from API.. 3. VM stuck and from console it display the following :- Booting from DVD/CD.. ... Boot failed : could not read from CDROM (code 004) I am using the following xml for this operation :- action vm os boot dev='cdrom'/ /os initialization cloud_init host addresstest/address /host network_configuration nics nic interfacevirtIO/interface nameeth0/name boot_protocolstatic/boot_protocol mac address=''/ network ip address='' netmask='' gateway=''/ /network on_boottrue/on_bootvnic_profile id='' / /nic nic interfacevirtIO/interface nameeth1/name boot_protocolstatic/boot_protocol mac address=''/ network ip address='' netmask='255.255.255.0' gateway=''/ /network on_boottrue/on_bootvnic_profile id='' / /nic /nics /network_configuration files file name/ignored/namecontent![CDATA[#cloud-config disable-ec2-metadata: true disable_root: false ssh_pwauth: true ssh_deletekeys: true chpasswd: { expire: False } users: - name: root primary-group: root passwd: 8W7RQ5Bh lock-passwd: false runcmd: - sed -i '/nameserver/d' /etc/resolv.conf - echo 'nameserver 8.8.8.8' /etc/resolv.conf - echo 'nameserver 8.8.4.4' /etc/resolv.conf - echo 'root:8W7RQ5Bh' | chpasswd - yum -y update - yum -y install rdate - rdate -s stdtime.gov.hk]]/content typeplaintext/type /file /files /cloud_initcustom_script![CDATA[#cloud-config disable-ec2-metadata: true disable_root: false ssh_pwauth: true ssh_deletekeys: true chpasswd: { expire: False } users: - name: root primary-group: root passwd: 8W7RQ5Bh lock-passwd: false runcmd: - sed -i '/nameserver/d' /etc/resolv.conf - echo 'nameserver 8.8.8.8' /etc/resolv.conf - echo 'nameserver 8.8.4.4' /etc/resolv.conf - echo 'root:8W7RQ5Bh' | chpasswd - yum -y update - yum -y install rdate - rdate -s stdtime.gov.hk]]/custom_script /initialization /vm /action I am also attaching the screen shot to this. -- Regards Shanil ___ 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 redirect
Maybe this should be added to the oVirt wiki? Yaniv - Original Message - From: Juan Jose jj197...@gmail.com To: u...@redhat.com Cc: users@ovirt.org List users@ovirt.org, Lev Veyde lve...@redhat.com Sent: Wednesday, November 26, 2014 2:46:40 PM Subject: Re: [ovirt-users] USB redirect Thank you very much Uri and everybody, Best regards, Juanjo. On Wed, Nov 26, 2014 at 1:01 PM, Uri Lublin u...@redhat.com wrote: On 11/23/2014 10:42 AM, Lev Veyde wrote: Hi Michal, As far as I know there is no need to install something inside VM for the Native USB redirection to function properly, thus nothing related is included on the oVirt WGT ISO. Hi, Lev, you are correct; there is nothing to install on the guest for Spice Native USB. On the client side there is a need for remote-viewer to be configured with USB redir enabled, and having access to the device (via libusb). On a Windows client currently we use WinUSB driver to enable access to the USB device. The driver can be installed using the usbclerk service or manually (e.g. with Zadig). It must be installed for each device to be redirected. On Ovirt, as mentioned, Native Spice USB option has to be enabled. (This would also add the virtual usb devices needed on the qemu-kvm/spice-server side). Hope that helps, Uri. The user/admin only needs to properly configure the VM for Native USB redirection and install the Spice client. I forwarded the issue to the Spice team, they could properly point to the issue. Thanks in advance, Lev Veyde. - Original Message - From: Michal Skrivanek michal.skriva...@redhat.com To: Juan Jose jj197...@gmail.com , Lev Veyde lve...@redhat.com Cc: users@ovirt.org List users@ovirt.org Sent: Friday, November 21, 2014 3:07:09 PM Subject: Re: [ovirt-users] USB redirect On Nov 13, 2014, at 12:00 , Juan Jose jj197...@gmail.com wrote: Hello Michal and everybody, I'm sorry but I have downloaded ovirt-guest-tools from URL you gave me but the driver usbredir is not there. Is it normal or maybe it is in another resource? As the oVirt documentation says, when this driver is installed a new USB windows service will be started in the client, but after execute the ovirt-guest-tool setup and finish the installation there is not any USB new service in my Windows client. Is it possible that this usbredir driver is not in this ISO? adding Lev who builds the ISO…can you please check? Thanks, michal Many thanks in advanced, Juanjo. On Wed, Nov 12, 2014 at 4:55 PM, Juan Jose jj197...@gmail.com wrote: Many thanks Michal, I will try it and I will try to upgrade my oVirt 3.4. Thanks again and best regards, Juanjo. On Wed, Nov 12, 2014 at 4:45 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Nov 12, 2014, at 16:39 , Juan Jose jj197...@gmail.com wrote: Hello Michal or everybody, Could you tell me where can I get or download ovirt-guest-tool.iso? Hi, it's a regular part of the 3.5 release... http://resources.ovirt.org/ pub/ovirt-3.5/iso/ovirt-guest- tools/ enjoy!:) Thanks, michal Many thanks in advanced, Juanjo. On Tue, Nov 11, 2014 at 12:15 PM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Nov 11, 2014, at 11:08 , Juan Jose jj197...@gmail.com wrote: Thank you very much Michal, If I have checked Device administrator in my Windows 7 VM and as you can see in the attached image, the USB device is correctly installed. But when I click File in remote-viewer USB device selection appears in grey and I can't select any USB device. Is there any other requirement to be able redirect USB devices?, Is it necessary to install usbclerk in Windows clients to redirect USB to the Windows guest? usbredir drivers yes, you need them, they should be on the guest tools iso Thanks, michal Many thanks in advanced, Juanjo. On Tue, Nov 11, 2014 at 8:23 AM, Michal Skrivanek michal.skriva...@redhat.com wrote: On Nov 10, 2014, at 17:54 , Juan Jose jj197...@gmail.com wrote: Hello everybody, I have an oVirt 3.4 deployment and I have some Windows 7
Re: [ovirt-users] 答复: Ovirt 3.5 Bug !!!!!!!!!!!!!!!!!!
- Original Message - From: PaulCheung eq2...@msn.com To: Frantisek Kobzik fkob...@redhat.com Cc: users@ovirt.org Sent: Thursday, November 27, 2014 3:02:44 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi F, Is there a way make the spice port listening on all network interface ? Keep in in mind that you can also use the Spice Proxy, it could be a simpler design. http://www.ovirt.org/Features/Spice_Proxy Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Wed, 26 Nov 2014 08:47:53 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: xiec.f...@cn.fujitsu.com; users@ovirt.org; lver...@redhat.com; asegu...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi, But the 3.5 behavior is correct IMO. I think there are two possible solutions: 1, Create a brand new display network on the cluster (it'll be ONLY for displays) and make sure it's accessible by all clients. , or 2, Write a firewall rule or a VDSM hook that translates the spice/vnc traffic from vlans to the management network. (3, there is also a possibility to set 'display' attribute of your management network to false in the database. But I highly don't recommend this as the results aren't guaranteed.). Toni, could you check my suggestions, whether they are correct? Thanks! F. From: PaulCheung eq2...@msn.com To: Frantisek Kobzik fkob...@redhat.com Cc: Chao Xie xiec.f...@cn.fujitsu.com, users@ovirt.org, Lior Vernia lver...@redhat.com Sent: Wednesday, November 26, 2014 11:05:21 AM Subject: RE: [ovirt-users] 答复: Ovirt 3.5 Bug !! Except the display network, other network user can't telnet the 59xx spice port. I guess because the spice port only listening in this display network. But, all spice port can listening in all network interface in 0virt 3.4, why Ovirt 3.5 not provide this ? If I can't choose more than one network to display the spice port oVirt 3.5 , is there a way for me to down grade to oVirt 3.4? Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Wed, 26 Nov 2014 04:37:39 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: xiec.f...@cn.fujitsu.com; users@ovirt.org; lver...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi, I don't think multiple display network is possible within single cluster. How would engine know which is the correct one for given client? Also that would mean vdsm would have to start spice server on multiple interfaces and I believe it's not capable of this. But maybe I'm missing something. I'll try adding Lior from networking team. Lior, can you take a quick glance on this thread? Thanks! Franta. - Original Message - From: PaulCheung eq2...@msn.com To: Chao Xie xiec.f...@cn.fujitsu.com Cc: users@ovirt.org Sent: Wednesday, November 26, 2014 6:19:43 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! JUST PS. What I mean is if they make it into checkbox, it would sloved my problem. Sorry for my poor English! Sincerely yours, PaulCheung tel: 180-8882-7173 From: xiec.f...@cn.fujitsu.com To: eq2...@msn.com Subject: 答复: [ovirt-users] Ovirt 3.5 Bug !! Date: Wed, 26 Nov 2014 05:15:22 + Hi, Paul Did you change the code and let the “Migration Display” to checkbox ?Or just use PS to change the photo? 发件人 : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] 代表 PaulCheung 发送时间 : 2014 年 11 月 26 日 11:27 收件人 : Frantisek Kobzik 抄送 : users@ovirt.org 主题 : Re: [ovirt-users] Ovirt 3.5 Bug !! Dear ALL, Can this turn into a multichoose box ? I need to display in all network interface!!! This can solve my problem now. Thank you very much! Sincerely yours, PaulCheung tel: 180-8882-7173 From: eq2...@msn.com To: fkob...@redhat.com CC: users@ovirt.org Subject: RE: [ovirt-users] Ovirt 3.5 Bug !! Date: Wed, 26 Nov 2014 10:55:44 +0800 Is there because the Display Network problem cause other network can not display ? How to enable all network's Display ? Sincerely yours, PaulCheung tel: 180-8882-7173 From: eq2...@msn.com To: fkob...@redhat.com CC: users@ovirt.org Subject: RE: [ovirt-users] Ovirt 3.5 Bug !! Date: Wed, 26 Nov 2014 09:53:33 +0800 It solved the host=kvm0x..com problem, But my guest still can't open the VM!!! User from D E, can't start the VM, except ovirt managerment network
Re: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste?
Le 22/07/2014 14:23, Federico Simoncelli a écrit : - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: users users@ovirt.org Sent: Thursday, July 3, 2014 10:54:57 AM Subject: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste? Hi, In my hosts, I see that /etc/lvm/lvm.conf shows : issue_discards = 0 Can I enable it to 1 ? Thank you? You can change it but it's not going to affect the lvm behavior in VDSM since we don't use the host lvm config file. Frederico, May you describe a little more how it's done, explain the principle, or point us to a place where we can learn more about how LVM is used in oVirt, amongst the manager and the hosts. Thank you. This will be probably addressed as part of bz1017284 as we're considering to extend discard also to vdsm images (and not direct luns only). https://bugzilla.redhat.com/show_bug.cgi?id=1017284 -- Nicolas Ecarnot ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVirt device-mapper: table: 253:3: multipath: error getting device
On 26-11-2014 19:40, Sandvik Agustin wrote: Hi users, I'm using CentOS 6.6 as a host, when I start Installing the host to my ovirt-engine webamin, I starting to have this error message in my host1. Nov 27 10:15:32 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Nov 27 10:15:32 host1 kernel: device-mapper: ioctl: error adding target to table Nov 27 10:22:11 host1 multipathd: force queue_without_daemon (operator) Nov 27 10:22:12 host1 multipathd: 360030480190c68001be31b9a1587e30a: ignoring map Nov 27 10:22:12 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Nov 27 10:22:12 host1 kernel: device-mapper: ioctl: error adding target to table Nov 27 10:22:12 host1 kernel: device-mapper: table: 253:3: multipath: error getting device Nov 27 10:22:12 host1 kernel: device-mapper: ioctl: error adding target to table Nov 27 10:22:12 host1 multipathd: 360030480190c68001be3224d189b03e5: ignoring map Nov 27 10:22:12 host1 multipathd: path checkers start up When I try to reboot it it will only stuck on a screen saying. device-mapper: error getting device continuously, how can I fix it? Hope someone can Help me. If you don't use multipath then add a blacklist section to your multipath.conf, something like this: blacklist { wwid * } Now, if you do use multipath you can whitelist the paths that you want. Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt italian translation and jenkins
Il 26/11/2014 15:03, Gianluca Cecchi ha scritto: Hello, Amedeo Salvati has begun working on it (we are now at 40% on master). Is it possible to include him in destination list for these e-mails? Added in jenkins job: http://jenkins.ovirt.org/job/ovirt-engine_master_create-rpms_merged_italian_translation/ Address amedeo.salv...@gmail.com mailto:amedeo.salv...@gmail.com is ok BTW: is there any way to concentrate and work only master and then quickly dump to 3.5 eventually? Thanks in advance, Gianluca -- Forwarded message -- From: *Jenkins ci oVirt Server* jenk...@ovirt.org mailto:jenk...@ovirt.org Date: Wed, Nov 26, 2014 at 2:37 PM Subject: [oVirt Jenkins] ovirt-engine_master_create-rpms_merged_italian_translation » fc20 - Build # 118 - Failure! To: de...@redhat.com mailto:de...@redhat.com, sbona...@redhat.com mailto:sbona...@redhat.com, gianluca.cec...@gmail.com mailto:gianluca.cec...@gmail.com, giorgio.bers...@gmail.com mailto:giorgio.bers...@gmail.com Project: http://jenkins.ovirt.org/job/ovirt-engine_master_create-rpms_merged_italian_translation/label=fc20/ Build: http://jenkins.ovirt.org/job/ovirt-engine_master_create-rpms_merged_italian_translation/label=fc20/118/ Build Number: 118 Build Status: Failure Triggered By: Started by upstream project ovirt-engine_master_create-rpms_merged_italian_translation build number 118 - Changes Since Last Success: - Changes for Build #118 [Daniel Erez] core: tpgt should not be sent when empty - Failed Tests: - No tests ran. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Datacenter not initialized
Hi, i stuck adding a storage domain. (- ¨To add NFS storage¨ section at http://www.ovirt.org/Quick_Start_Guide) The ¨new domain¨dialog does not present my ¨host1¨ in the Use Host field. The host1 is listed under Data-Centers-default-Clusters-cl1-Hosts. There is also a orange exlamation mark with a ¨Data-Center is not initialized. To initialize it add a new Datadomain¨ (translated). I do not understand that. How do i initialize the datacenter if not as described in the currenct doc section? -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste?
Hi Nicolas, you can find more information on this at: https://bugzilla.redhat.com/show_bug.cgi?id=981626 First of all an important note (that was already mentioned): vdsm is not using lvm.conf, so whatever change you make there it won't affect vdsm behavior. Anyway long story short, enabling issue_discards in lvm would lead to lvm commands starvation when the lv that you're removing is large and the granularity is small. The correct solution is to use blkdiscard on the lv and I happened to submit a patch series for that yesterday: http://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:master+topic:block-discard,n,z (very much experimental) The approach is to begin with issuing blkdiscard when wipe after delete is selected on the disk. That is because blkdiscard in the majority of the cases will wipe the lv data and I know that someone in the past has been brave enough to try and recover data from a mistakenly removed lv that wasn't post-zeroed. Anyway extending the support to non post-zero is trivial and it's just a matter of agreement and expectations. With regard to the legitimate question of why both post-zero and block discard, the answer is that after discussing it with storage array experts it seems that blkdiscard has no contract in guaranteeing that the data will be blanked out and it could later on show up even on a completely different LUN of the same storage. -- Federico - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: Federico Simoncelli fsimo...@redhat.com Cc: users users@ovirt.org Sent: Thursday, November 27, 2014 10:43:06 AM Subject: Re: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste? Le 22/07/2014 14:23, Federico Simoncelli a écrit : - Original Message - From: Nicolas Ecarnot nico...@ecarnot.net To: users users@ovirt.org Sent: Thursday, July 3, 2014 10:54:57 AM Subject: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste? Hi, In my hosts, I see that /etc/lvm/lvm.conf shows : issue_discards = 0 Can I enable it to 1 ? Thank you? You can change it but it's not going to affect the lvm behavior in VDSM since we don't use the host lvm config file. Frederico, May you describe a little more how it's done, explain the principle, or point us to a place where we can learn more about how LVM is used in oVirt, amongst the manager and the hosts. Thank you. This will be probably addressed as part of bz1017284 as we're considering to extend discard also to vdsm images (and not direct luns only). https://bugzilla.redhat.com/show_bug.cgi?id=1017284 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted engine: sending ioctl 5401 to a partition!
- Original Message - From: Chris Adams c...@cmadams.net To: users@ovirt.org Sent: Friday, November 21, 2014 10:28:28 PM Subject: [ovirt-users] Hosted engine: sending ioctl 5401 to a partition! I have set up oVirt with hosted engine, on an iSCSI volume. On both nodes, the kernel logs the following about every 10 seconds: Nov 21 15:27:49 node8 kernel: ovirt-ha-broker: sending ioctl 5401 to a partition! Is this a known bug, something that I need to address, etc.? Is this on centos or fedora? We may have to do some testing to identify where that's coming from. Feel free to ping me: fsimonce (#ovirt on OFTC) so we can check what's going on. -- Federico ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Hosted engine: sending ioctl 5401 to a partition!
On 21.11.2014 22:28, Chris Adams wrote: I have set up oVirt with hosted engine, on an iSCSI volume. On both nodes, the kernel logs the following about every 10 seconds: Nov 21 15:27:49 node8 kernel: ovirt-ha-broker: sending ioctl 5401 to a partition! Is this a known bug, something that I need to address, etc.? I'm seeing the same on EL7 hosts with hosted-engine on iSCSI. (on 3.5 and 3.5.1 snapshot) Regards Patrick -- Lobster SCM GmbH, Hindenburgstraße 15, D-82343 Pöcking HRB 178831, Amtsgericht München Geschäftsführer: Dr. Martin Fischer, Rolf Henrich ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt italian translation and jenkins
thanks Best Regards Amedeo Date: Thu, 27 Nov 2014 11:07:32 +0100 From: Sandro Bonazzola sbona...@redhat.com To: Gianluca Cecchi gianluca.cec...@gmail.com, users users@ovirt.org, Einav Cohen eco...@redhat.com, Giorgio Bersano giorgio.bers...@gmail.com Subject: Re: [ovirt-users] ovirt italian translation and jenkins Il 26/11/2014 15:03, Gianluca Cecchi ha scritto: Hello, Amedeo Salvati has begun working on it (we are now at 40% on master). Is it possible to include him in destination list for these e-mails? Added in jenkins job: http://jenkins.ovirt.org/job/ovirt-engine_master_create-rpms_merged_italian_translation/ Address amedeo.salv...@gmail.com mailto:amedeo.salv...@gmail.com is ok BTW: is there any way to concentrate and work only master and then quickly dump to 3.5 eventually? Thanks in advance, Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] OVA imports into virt-v2v (was: Re: [ovirt-devel] virt-v2v integration feature)
On Thu, Jul 10, 2014 at 10:11:24AM +0100, Richard W.M. Jones wrote: On Thu, Jul 10, 2014 at 10:41:16AM +0300, Itamar Heim wrote: On 07/10/2014 10:29 AM, Sven Kieske wrote: Am 09.07.2014 20:30, schrieb Arik Hadas: Hi All, The proposed feature will introduce a new process of import virtual machines from external systems using virt-v2v in oVirt. I've created a wiki page that contains initial thoughts and design for it: http://www.ovirt.org/Features/virt-v2v_Integration You are more than welcome to share your thoughts and insights. Thanks, Arik Am I right that this still involves a full operational e.g. esxi host to import vmware vms? There is a huge user demand on a simpler process for just converting and importing an vmware disk image. This feature will not solve this use case, will it? I agree it should. need to check if virt-v2v can cover this. if not, need to fix it so it will... From live ESX, yes. Offline VMware images (OVAs), not yet. However patches are welcome. We quite literally have no one available to implement this. Just catching up on this .. virt-v2v now supports OVA imports, and it works pretty well. Please make sure you use the new version, available here: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html or in Fedora = 21 or Debian experimental. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste?
Le 27/11/2014 11:17, Federico Simoncelli a écrit : Hi Nicolas, you can find more information on this at: https://bugzilla.redhat.com/show_bug.cgi?id=981626 First of all an important note (that was already mentioned): vdsm is not using lvm.conf, so whatever change you make there it won't affect vdsm behavior. Anyway long story short, enabling issue_discards in lvm would lead to lvm commands starvation when the lv that you're removing is large and the granularity is small. The correct solution is to use blkdiscard on the lv and I happened to submit a patch series for that yesterday: http://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:master+topic:block-discard,n,z (very much experimental) Thank you Frederico, This sounds very clever and encouraging. Would it be possible to imagine see it appear in a future 3.6.? release? -- Nicolas Ecarnot ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore
- Original Message - From: Hans-Joachim r...@chef.net To: Yedidyah Bar David d...@redhat.com, users@ovirt.org Sent: Tuesday, November 25, 2014 5:59:26 PM Subject: Re: [ovirt-users] oVIRT 3.5/CentOS 6.5 Reports are not working anymore Hi, as requested by Didi, I've done an fresh install Here, what a diff -c of the different locate jboss shows... (/tmp/jboss_ok.. fresh install, reports working /tmp/jboss_ko running system, no reports working) BTW. After the update 3.4 - 3.5, the structure in /usr/share/jboss-as-7.1.1.Final stayed. I've deleted it right now. So.. any hints, what to delete, copy, .. ??? Please compare /etc/httpd between setups, also content and not just filenames. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] 答复: Ovirt 3.5 Bug !!!!!!!!!!!!!!!!!!
Hi guys, Simone: I don't think spice proxy helps in this case - the customers have two separate networks. Where should be the proxy placed then? Paul: - I still think that solution with a new display network accessible for both customers should be the intended way to do it. - But if you can't do it, you can try deploying a small vdsm hook i just wrote on all your hosts. It makes spice/vnc server listen on all interfaces (exactly the behavior of 3.4 by default). You can find it here [1]. You can deploy this hook (.py file) by placing the file in the hooks directory (/usr/libexec/vdsm/hooks/before_vm_start on Fedora) and renaming it to something meaningful (console_listen_on_all_ifs.py). Then configure in [vars] section /etc/vdsm/vdsm.conf by putting this line: console_listen_on_all_ifs = true Then restart vdsm and try running a vm and check if spice/vnc listens on all ifs. Cheers, F. [1]: http://gerrit.ovirt.org/#/c/35661/ - Original Message - From: Simone Tiraboschi stira...@redhat.com To: PaulCheung eq2...@msn.com Cc: Frantisek Kobzik fkob...@redhat.com, users@ovirt.org Sent: Thursday, November 27, 2014 10:30:38 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! - Original Message - From: PaulCheung eq2...@msn.com To: Frantisek Kobzik fkob...@redhat.com Cc: users@ovirt.org Sent: Thursday, November 27, 2014 3:02:44 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi F, Is there a way make the spice port listening on all network interface ? Keep in in mind that you can also use the Spice Proxy, it could be a simpler design. http://www.ovirt.org/Features/Spice_Proxy Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Wed, 26 Nov 2014 08:47:53 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: xiec.f...@cn.fujitsu.com; users@ovirt.org; lver...@redhat.com; asegu...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi, But the 3.5 behavior is correct IMO. I think there are two possible solutions: 1, Create a brand new display network on the cluster (it'll be ONLY for displays) and make sure it's accessible by all clients. , or 2, Write a firewall rule or a VDSM hook that translates the spice/vnc traffic from vlans to the management network. (3, there is also a possibility to set 'display' attribute of your management network to false in the database. But I highly don't recommend this as the results aren't guaranteed.). Toni, could you check my suggestions, whether they are correct? Thanks! F. From: PaulCheung eq2...@msn.com To: Frantisek Kobzik fkob...@redhat.com Cc: Chao Xie xiec.f...@cn.fujitsu.com, users@ovirt.org, Lior Vernia lver...@redhat.com Sent: Wednesday, November 26, 2014 11:05:21 AM Subject: RE: [ovirt-users] 答复: Ovirt 3.5 Bug !! Except the display network, other network user can't telnet the 59xx spice port. I guess because the spice port only listening in this display network. But, all spice port can listening in all network interface in 0virt 3.4, why Ovirt 3.5 not provide this ? If I can't choose more than one network to display the spice port oVirt 3.5 , is there a way for me to down grade to oVirt 3.4? Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Wed, 26 Nov 2014 04:37:39 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: xiec.f...@cn.fujitsu.com; users@ovirt.org; lver...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi, I don't think multiple display network is possible within single cluster. How would engine know which is the correct one for given client? Also that would mean vdsm would have to start spice server on multiple interfaces and I believe it's not capable of this. But maybe I'm missing something. I'll try adding Lior from networking team. Lior, can you take a quick glance on this thread? Thanks! Franta. - Original Message - From: PaulCheung eq2...@msn.com To: Chao Xie xiec.f...@cn.fujitsu.com Cc: users@ovirt.org Sent: Wednesday, November 26, 2014 6:19:43 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! JUST PS. What I mean is if they make it into checkbox, it would sloved my problem. Sorry for my poor English! Sincerely yours, PaulCheung tel: 180-8882-7173 From: xiec.f...@cn.fujitsu.com To: eq2...@msn.com Subject: 答复: [ovirt-users] Ovirt 3.5 Bug !! Date: Wed, 26 Nov 2014 05:15:22 + Hi, Paul Did you change the code and let the “Migration Display” to checkbox ?Or just use PS to change the photo? 发件人 : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] 代表 PaulCheung 发送时间 : 2014 年 11 月 26 日 11:27 收件人 : Frantisek Kobzik 抄送 : users@ovirt.org 主题 : Re: [ovirt-users] Ovirt 3.5 Bug !! Dear ALL,
[ovirt-users] Backup solution using the API
Hello, now that our oVirt Cluster runs great, I'd like to know if anybody has done a backup solution for oVirt before. My basic idea goes as follows: - Create a JSON file with machine's preferences for later restore, create a snapshot, snatch the disk by its disk-id (copy it to the fileserver), then deleting the snapshot and be done with it. - On restore I'd just create a new VM with the Disks and NICs specified in the preferences; then I'd go ahead and and put back the disk... t I've played a little bit around with building a JSON file and so far it works great; I haven't tried to make a VM with that, though... Using the export domain or a simple export command is not what I want since you'd have to turn off the machine to do that - AFAIK. Correct me if that should not be true. Now, before I go into any more hassle, has somebody else of you done a live-backup solution for oVirt? Are there any recommendations? Thanks for any help provided! Best regards Thomas Keppler ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] ovirt report portal question
Hi all, How can I make own querys in engine reports? I would like to see the CONSUMED disk usage of a VM /day or /month. Is it possible? Thanks in advance, Tibor ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] failures in vdsm logs Ovirt 3.5 Gluster 3.6.1
I see very frequents errors in the vdsm log on one of the gluster servers in my gluster cluster. The host is fine in the ovirt console, as are the volumes, and gluster functions ok, so this is a nuisance primarily. The gluster cluster is a replica 2, with 2 hosts, both CentSO 6.6 with gluster version 3.6.1, vdsm version 4.16.7. Ovirt engine version 3.5.0.1-1.fc20 the host producing the errors is identified by fqdn in ovirt, the one that does not produce errors is identified by ip address. Any ideas about how to trouble shoot this? -Thanks, Alastair Gluster Server VentOS 6.6: vdsmd: vdsm-4.16.7-1.gitdb83943.el6 gluster: glusterfs-3.6.1-1.el6 ovirt host Fedora 20: hosted ovirt-engine 3.5.0.1-1 Thread-53::DEBUG::2014-11-24 14:11:45,362::BindingXMLRPC::1132::vds::(wrapper) client [xxx.xxx.xxx.39]::call hostsList with () {} Thread-53::ERROR::2014-11-24 14:11:45,363::BindingXMLRPC::1151::vds::(wrapper) unexpected error Traceback (most recent call last): File /usr/share/vdsm/rpc/BindingXMLRPC.py, line 1135, in wrapper res = f(*args, **kwargs) File /usr/share/vdsm/gluster/api.py, line 54, in wrapper rv = func(*args, **kwargs) File /usr/share/vdsm/gluster/api.py, line 251, in hostsList return {'hosts': self.svdsmProxy.glusterPeerStatus()} File /usr/share/vdsm/supervdsm.py, line 50, in __call__ return callMethod() File /usr/share/vdsm/supervdsm.py, line 48, in lambda **kwargs) File string, line 2, in glusterPeerStatus File /usr/lib64/python2.6/multiprocessing/managers.py, line 725, in _callmethod conn.send((self._id, methodname, args, kwds)) IOError: [Errno 32] Broken pipe Thread-53::DEBUG::2014-11-24 14:03:08,721::BindingXMLRPC::1132::vds::(wrapper) client [xxx.xxx.xxx.39]::call volumesList with () {} Thread-53::ERROR::2014-11-24 14:03:08,721::BindingXMLRPC::1151::vds::(wrapper) unexpected error Traceback (most recent call last): File /usr/share/vdsm/rpc/BindingXMLRPC.py, line 1135, in wrapper res = f(*args, **kwargs) File /usr/share/vdsm/gluster/api.py, line 54, in wrapper rv = func(*args, **kwargs) File /usr/share/vdsm/gluster/api.py, line 78, in volumesList return {'volumes': self.svdsmProxy.glusterVolumeInfo(volumeName)} File /usr/share/vdsm/supervdsm.py, line 50, in __call__ return callMethod() File /usr/share/vdsm/supervdsm.py, line 48, in lambda **kwargs) File string, line 2, in glusterVolumeInfo File /usr/lib64/python2.6/multiprocessing/managers.py, line 725, in _callmethod conn.send((self._id, methodname, args, kwds)) IOError: [Errno 32] Broken pipe ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] 答复: Ovirt 3.5 Bug !!!!!!!!!!!!!!!!!!
God ! Damn! It works! Thank you very much ! F.You are really awesome! Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Thu, 27 Nov 2014 08:14:19 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: users@ovirt.org; stira...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi guys, Simone: I don't think spice proxy helps in this case - the customers have two separate networks. Where should be the proxy placed then? Paul: - I still think that solution with a new display network accessible for both customers should be the intended way to do it. - But if you can't do it, you can try deploying a small vdsm hook i just wrote on all your hosts. It makes spice/vnc server listen on all interfaces (exactly the behavior of 3.4 by default). You can find it here [1]. You can deploy this hook (.py file) by placing the file in the hooks directory (/usr/libexec/vdsm/hooks/before_vm_start on Fedora) and renaming it to something meaningful (console_listen_on_all_ifs.py). Then configure in [vars] section /etc/vdsm/vdsm.conf by putting this line: console_listen_on_all_ifs = true Then restart vdsm and try running a vm and check if spice/vnc listens on all ifs. Cheers, F. [1]: http://gerrit.ovirt.org/#/c/35661/ - Original Message - From: Simone Tiraboschi stira...@redhat.com To: PaulCheung eq2...@msn.com Cc: Frantisek Kobzik fkob...@redhat.com, users@ovirt.org Sent: Thursday, November 27, 2014 10:30:38 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! - Original Message - From: PaulCheung eq2...@msn.com To: Frantisek Kobzik fkob...@redhat.com Cc: users@ovirt.org Sent: Thursday, November 27, 2014 3:02:44 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi F, Is there a way make the spice port listening on all network interface ? Keep in in mind that you can also use the Spice Proxy, it could be a simpler design. http://www.ovirt.org/Features/Spice_Proxy Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Wed, 26 Nov 2014 08:47:53 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: xiec.f...@cn.fujitsu.com; users@ovirt.org; lver...@redhat.com; asegu...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi, But the 3.5 behavior is correct IMO. I think there are two possible solutions: 1, Create a brand new display network on the cluster (it'll be ONLY for displays) and make sure it's accessible by all clients. , or 2, Write a firewall rule or a VDSM hook that translates the spice/vnc traffic from vlans to the management network. (3, there is also a possibility to set 'display' attribute of your management network to false in the database. But I highly don't recommend this as the results aren't guaranteed.). Toni, could you check my suggestions, whether they are correct? Thanks! F. From: PaulCheung eq2...@msn.com To: Frantisek Kobzik fkob...@redhat.com Cc: Chao Xie xiec.f...@cn.fujitsu.com, users@ovirt.org, Lior Vernia lver...@redhat.com Sent: Wednesday, November 26, 2014 11:05:21 AM Subject: RE: [ovirt-users] 答复: Ovirt 3.5 Bug !! Except the display network, other network user can't telnet the 59xx spice port. I guess because the spice port only listening in this display network. But, all spice port can listening in all network interface in 0virt 3.4, why Ovirt 3.5 not provide this ? If I can't choose more than one network to display the spice port oVirt 3.5 , is there a way for me to down grade to oVirt 3.4? Sincerely yours, PaulCheung tel: 180-8882-7173 Date: Wed, 26 Nov 2014 04:37:39 -0500 From: fkob...@redhat.com To: eq2...@msn.com CC: xiec.f...@cn.fujitsu.com; users@ovirt.org; lver...@redhat.com Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! Hi, I don't think multiple display network is possible within single cluster. How would engine know which is the correct one for given client? Also that would mean vdsm would have to start spice server on multiple interfaces and I believe it's not capable of this. But maybe I'm missing something. I'll try adding Lior from networking team. Lior, can you take a quick glance on this thread? Thanks! Franta. - Original Message - From: PaulCheung eq2...@msn.com To: Chao Xie xiec.f...@cn.fujitsu.com Cc: users@ovirt.org Sent: Wednesday, November 26, 2014 6:19:43 AM Subject: Re: [ovirt-users] 答复: Ovirt 3.5 Bug !! JUST PS. What I mean is if they make it into checkbox, it would sloved my problem. Sorry for my poor English! Sincerely yours, PaulCheung tel: 180-8882-7173 From: xiec.f...@cn.fujitsu.com To: