Re: [Users] Delete Detach Logical Network
Managed to delete network which is attached to Bond with below code: HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(bond1.1231); nic.delete(); But not able to delete the same when attached to ethernet: HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1.1187); nic.delete(); i want to unmap the logical network which is mapped to eth1. *Result*: code : 400 reason: Bad Request detail: Invalid Bonding definition On Mon, Mar 10, 2014 at 6:54 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com, users@oVirt.org users@ovirt.org Sent: Monday, March 10, 2014 1:22:08 PM Subject: Delete Detach Logical Network Hi, I'm able to delete the logical network but this logical network after deletion shows as unmanaged network in Setup Host Networks against the hostnic. I tried with this code to detach the logical network. *Code 1:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1); Action action = new Action(); action.setNetwork(api.getNetworks().get(nw_name)); action.setDetach(true); action.setCheckConnectivity(false); nic.detach(action); *Returns*: code : 409 reason: Conflict detail: Network Interface is not attached to Logical Network. I can guess by the error message that the logical network 'rhevhost' is vlan, so the proper interface should be the vlan device. *Code 2:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1.1345); Action action = new Action(); action.setNetwork(api.getNetworks().get(nw_name)); action.setDetach(true); action.setCheckConnectivity(false); nic.detach(action); *Returns*: code : 409 reason: Conflict detail: Cannot edit Network while Host is Active, change the Host to Maintenance mode and try again. This is the 3.0 api which required the host to be in maintenance for network operations on the host. You could use setup networks instead which is the recommended api and doesn't require the host to be in maintenance. you can modify the example from [1] and set null for the network name you wish to detach from the specific interface. Try by replacing only lines 28-41 with: HostNIC nic = nicsByNames.get(eth1.1345); nic.setNetwork(null); [1] https://motiasayag.wordpress.com/2014/02/24/invoke-setup-networks-from-the-java-sdk/ -- Thanks Regards Tejesh -- Thanks Regards Tejesh ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt-engine certs
3.1 upgrade was never actually supported if I remember correctly, so you may experience other issues as well. But you can try the following sequence: 1. Move all hosts into maintenance via webadmin. 2. Stop ovirt-engine. 3. Backup your computer and database. 4. Remove /etc/pki/ovirt-engine/ca.pem 5. Run engine-setup. 6. Set new administrator password: # engine-config -s AdminPassword=interactive 7. Restart ovirt-engine 8. Re-install all hosts via webadmin. - Original Message - From: Thomas Scofield tscofi...@gmail.com To: users users@ovirt.org Sent: Tuesday, March 11, 2014 7:13:27 AM Subject: [Users] ovirt-engine certs How can I regenerate the ovirt engine CA certs and corresponding vdsm certs? I have an ovirt setup that I’m upgrading from 3.2.0 (from the dre repos) to 3.2.3 and I am getting the certificate errors listed below after the upgrade. I have done this same upgrade on an number of other ovirt-engines with no issue. The setup had originally been installed with ovirt 3.1 so it possible that some of the certificate configurations from 3.1 are still present on this ovirt-engine and it is contributing to the problem. For example, I noticed that the /etc/pki/ovirt-engine/cacert.conf file on this troublesome upgrade has “default_bits = rsa:1024”, but the systems that upgraded successfully have “default_bits = rsa:2048”. The same is true for the cert.conf file. Engine.log 2014-03-10 17:10:28,954 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-2) vds::refreshVdsStats Failed getVdsStats, vds = a7459d21-b5a6-4330-9897-f2018c9a1776 : vm1, error = VDSNetworkException: javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate Vdsm.log BindingXMLRPC::ERROR::2014-03-10 20:58:00,871::SecureXMLRPCServer::97::root::(verify) invalid client certificate with subject /C=US/O= example.com/CN=CA-ovirt1.example.com.30758 BindingXMLRPC::ERROR::2014-03-10 20:58:00,872::BindingXMLRPC::72::vds::(threaded_start) xml-rpc handler exception Traceback (most recent call last): File /usr/share/vdsm/BindingXMLRPC.py, line 68, in threaded_start self.server.handle_request() File /usr/lib64/python2.6/SocketServer.py, line 268, in handle_request self._handle_request_noblock() File /usr/lib64/python2.6/SocketServer.py, line 278, in _handle_request_noblock request, client_address = self.get_request() File /usr/lib64/python2.6/SocketServer.py, line 446, in get_request return self.socket.accept() File /usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py, line 116, in accept client, address = self.connection.accept() File /usr/lib64/python2.6/site-packages/M2Crypto/SSL/Connection.py, line 167, in accept ssl.accept_ssl() File /usr/lib64/python2.6/site-packages/M2Crypto/SSL/Connection.py, line 156, in accept_ssl return m2.ssl_accept(self.ssl, self._timeout) SSLError: no certificate returned ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt in PAT - NAT environment
Hi René, I don´t have a second NIC, only a public on eth0. So, if I understood correctly, Neutron is not part of oVirt, but needs to be installed a part. I need to use the All-in-one version of oVirt, so I need to install Neutron on this same host? Any additional advice? - Ursprüngliche Mail - Von: René Koch rk...@linuxland.at An: relaxibus relaxi...@akfree.it CC: Assaf Muller amul...@redhat.com, users@ovirt.org Gesendet: Montag, 10. März 2014 16:20:40 Betreff: Re: [Users] oVirt in PAT - NAT environment Hi Jarno, It should work in the following way (needs to be tested - had a similar setup with plain KVM, but didn't test it with oVirt): - create a new network in oVirt and bridge it to your second nic (I guess the server will have 2 nics) or a dummy/virtual interface - create your nat rules in iptables (if you're not that familiar with iptables you could use FWBuilder or shorewall). Here's a documentation on how to setup Neutron: http://www.ovirt.org/OVirt_Neutron_Integration Regards, René On 03/10/2014 02:43 PM, Jarno Puff wrote: Hi Assaf, thanks for the answer. the data center where my server reside is a server4you.net, so all what you get is a dedicated server and a public IP, thats it. You don´t have a private network via a NIC, the only access to the server is via the public IP. Ok, let´s try Neutron. Where can I find details on this? How to enable it and how to configure it? Anyone could also give me advices on how to setup the iptables on my server for correct DNAT and port forwarding to VMs? I would like to try boths. -Jarno - Ursprüngliche Mail - Von: Assaf Muller amul...@redhat.com An: relaxibus relaxi...@akfree.it CC: users@ovirt.org Gesendet: Montag, 10. März 2014 10:59:28 Betreff: Re: [Users] oVirt in PAT - NAT environment - Original Message - Hello folks, Hi! I know, this is a topic where you have spend a lots of words, but, after installing oVirt 3.3 and 3.4 on CentOS and let goign google search engine to become hot, I don´t found any solution for my environment. My environment: - dedicated server at server4you.net with CentOS 6 - Main IP (public) 82.25.xx.yy - Addon IP (public) 62.75.xx.yy What I will do: - create VMs on a private network 192.x.y.z - talk to the internet from the VMs (NAT) - reach the VMs from the internet (PAT) - reach the VMs via SSH from the host server oVirt doesn't have built-in support for NAT. What you can do is either: 1) Define PAT on the data center edge router. For accessing VMS from the outside you can either define port forwarding or DNAT. As for reaching the VMs from your dedicated server, the easiest approach would be ensuring that the server has a leg in the private network. 2) You might want to try the oVirt Neutron integration. In Neutron you can create arbitrary private networks and VMs will get IPs from a DHCP server created in Neutron. You can then define a 'floating ip', which is a mapping between the VM's private IP and an allocated public IP on your public network. Neutron will do the DNAT for you. The oVirt Neutron integration in the recent 3.4 release [1] greatly improved the integration and it now includes IP address management, so you'll be able to do *nearly* everything from the oVirt GUI. [1] http://www.ovirt.org/OVirt_3.4.0_release_notes I found some workarounds, but no one was easy to implement or the infos was not cobering all the aspects. I have seen the possibility to use a hook, but no user guide and step by step instruction found. Looking forward to get a working solution :-) Cheers, -Jarno ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Win8 on oVirt
Hi, I try to install Windows 8 32 bit on our oVirt 3.3.2 environmet. I googled that two CPU Flags (SEP and NX) have to be set. But I cannot manipulate the CPU Flags in the GUI. Is there an other way to set the SEP and NX Flags for the VM? Best Regards, Michael ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
Well, maybe check with a linux distribution first: cat /proc/cpuinfo shows you that at least NX gets passed through (on Intel Nehalem at least). HTH Am 11.03.2014 09:42, schrieb Michael Wagenknecht: Hi, I try to install Windows 8 32 bit on our oVirt 3.3.2 environmet. I googled that two CPU Flags (SEP and NX) have to be set. But I cannot manipulate the CPU Flags in the GUI. Is there an other way to set the SEP and NX Flags for the VM? Best Regards, Michael -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
Yes that's right. But I need the SEP Flag too. Am 11.03.2014 10:23, schrieb Sven Kieske: Well, maybe check with a linux distribution first: cat /proc/cpuinfo shows you that at least NX gets passed through (on Intel Nehalem at least). HTH Am 11.03.2014 09:42, schrieb Michael Wagenknecht: Hi, I try to install Windows 8 32 bit on our oVirt 3.3.2 environmet. I googled that two CPU Flags (SEP and NX) have to be set. But I cannot manipulate the CPU Flags in the GUI. Is there an other way to set the SEP and NX Flags for the VM? Best Regards, Michael -- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Elsässer Str. 18, D-79346 Endingen Telefon +49 - 7642 - 92866 - 0 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vdsm python error
- Original Message - From: jacek burghardt jaceksburgha...@gmail.com To: users@ovirt.org Sent: Saturday, March 8, 2014 3:57:15 AM Subject: [Users] vdsm python error I am attempting to use vdsm with arch linux and I am getting this error when I run vdsm-tool Traceback (most recent call last): [...] File /usr/lib/python2.7/site-packages/vdsm/tool/service.py, line 36, in execCmd return _execCmd(argv, raw=raw, *args, **kwargs) File /usr/lib/python2.7/site-packages/vdsm/utils.py, line 682, in execCmd deathSignal=deathSignal, childUmask=childUmask) TypeError: __init__() got an unexpected keyword argument 'childUmask' How I can solve it ? Hi, please upgrade python-cpopen to version 1.3 Bests, -- Francesco Romani RedHat Engineering Virtualization R D Phone: 8261328 IRC: fromani ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
Which OS/Distribution does your compute node run? I do not know if this might be related: https://bugzilla.redhat.com/show_bug.cgi?id=821741 But I also don't see the SEP flag passed into linux based vms on a CentOS 6.5 based compute node. Maybe this is another feature just available to qemu-kvm-rhev instead of qemu-kvm ? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Delete Detach Logical Network
- Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Tuesday, March 11, 2014 3:18:37 AM Subject: Re: Delete Detach Logical Network I tried below code, but still it is not detaching the network HostNICs nicsApi = api.getHosts().get(venus-vdsb).getHostNics(); ListHostNIC nics = nicsApi.list(); HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(bond1.1231); //logical network network name is testLNw nic.setNetwork(null); *Result of executing this line*: nicsApi.setupnetworks(createSetupNetworksParams(nics)); *Result:* code : 400 reason: Bad Request detail: Cannot setup Networks. The following VMs are actively using the Logical Network: greyvm, vmLogicalTest1, OmVM1. Please stop the VMs and try again., Cannot setup Networks. The following Bonds consist of less than two Network Interfaces: bond0., Cannot setup Networks. The following Network Interfaces were specified more than once: eth0, eth3, eth1, eth2. Can you post the complete code? See example attached. You'll have to adjust the parameters to fit yours (hostName and modified nic). On Mon, Mar 10, 2014 at 6:54 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com, users@oVirt.org users@ovirt.org Sent: Monday, March 10, 2014 1:22:08 PM Subject: Delete Detach Logical Network Hi, I'm able to delete the logical network but this logical network after deletion shows as unmanaged network in Setup Host Networks against the hostnic. I tried with this code to detach the logical network. *Code 1:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1); Action action = new Action(); action.setNetwork(api.getNetworks().get(nw_name)); action.setDetach(true); action.setCheckConnectivity(false); nic.detach(action); *Returns*: code : 409 reason: Conflict detail: Network Interface is not attached to Logical Network. I can guess by the error message that the logical network 'rhevhost' is vlan, so the proper interface should be the vlan device. *Code 2:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1.1345); Action action = new Action(); action.setNetwork(api.getNetworks().get(nw_name)); action.setDetach(true); action.setCheckConnectivity(false); nic.detach(action); *Returns*: code : 409 reason: Conflict detail: Cannot edit Network while Host is Active, change the Host to Maintenance mode and try again. This is the 3.0 api which required the host to be in maintenance for network operations on the host. You could use setup networks instead which is the recommended api and doesn't require the host to be in maintenance. you can modify the example from [1] and set null for the network name you wish to detach from the specific interface. Try by replacing only lines 28-41 with: HostNIC nic = nicsByNames.get(eth1.1345); nic.setNetwork(null); [1] https://motiasayag.wordpress.com/2014/02/24/invoke-setup-networks-from-the-java-sdk/ -- Thanks Regards Tejesh -- Thanks Regards Tejesh package org.ovirt.test; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ovirt.engine.sdk.Api; import org.ovirt.engine.sdk.decorators.Host; import org.ovirt.engine.sdk.decorators.HostNIC; import org.ovirt.engine.sdk.decorators.HostNICs; import org.ovirt.engine.sdk.entities.Action; import org.ovirt.engine.sdk.entities.BaseResource; import org.ovirt.engine.sdk.entities.HostNics; public class SetupNetworksDetachNetworkExample { public static void main(String[] args) throws Exception { try (Api api = new Api(http://localhost:8080/api;, admin@internal, 1, null, null, null, null, null, null, true)) { String hostName = venus-vdsb; Host hostApi = api.getHosts().get(hostName); HostNICs nicsApi = hostApi.getHostNics(); ListHostNIC nics = nicsApi.list(); MapString, HostNIC nicsByNames = entitiesByName(nics); HostNIC nic = nicsByNames.get(eth4.20); nic.setNetwork(null); nicsApi.setupnetworks(createSetupNetworksParams(nics)); hostApi.commitnetconfig(new Action()); } } public static Action createSetupNetworksParams(ListHostNIC nics) { Action action = new Action(); HostNics nicsParams = new HostNics(); nicsParams.getHostNics().addAll(nics); action.setHostNics(nicsParams); action.setCheckConnectivity(true); return action; } public static E extends BaseResource MapString, E entitiesByName(ListE entityList) {
Re: [Users] Delete Detach Logical Network
- Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com Cc: users@oVirt.org users@ovirt.org Sent: Tuesday, March 11, 2014 8:53:15 AM Subject: Re: Delete Detach Logical Network Managed to delete network which is attached to Bond with below code: HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(bond1.1231); nic.delete(); But not able to delete the same when attached to ethernet: HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1.1187); nic.delete(); i want to unmap the logical network which is mapped to eth1. For this specific case I'd suggest using the attached example. *Result*: code : 400 reason: Bad Request detail: Invalid Bonding definition On Mon, Mar 10, 2014 at 6:54 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com To: Moti Asayag masa...@redhat.com, users@oVirt.org users@ovirt.org Sent: Monday, March 10, 2014 1:22:08 PM Subject: Delete Detach Logical Network Hi, I'm able to delete the logical network but this logical network after deletion shows as unmanaged network in Setup Host Networks against the hostnic. I tried with this code to detach the logical network. *Code 1:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1); Action action = new Action(); action.setNetwork(api.getNetworks().get(nw_name)); action.setDetach(true); action.setCheckConnectivity(false); nic.detach(action); *Returns*: code : 409 reason: Conflict detail: Network Interface is not attached to Logical Network. I can guess by the error message that the logical network 'rhevhost' is vlan, so the proper interface should be the vlan device. *Code 2:* HostNIC nic = api.getHosts().get(rhevhost).getHostNics().get(eth1.1345); Action action = new Action(); action.setNetwork(api.getNetworks().get(nw_name)); action.setDetach(true); action.setCheckConnectivity(false); nic.detach(action); *Returns*: code : 409 reason: Conflict detail: Cannot edit Network while Host is Active, change the Host to Maintenance mode and try again. This is the 3.0 api which required the host to be in maintenance for network operations on the host. You could use setup networks instead which is the recommended api and doesn't require the host to be in maintenance. you can modify the example from [1] and set null for the network name you wish to detach from the specific interface. Try by replacing only lines 28-41 with: HostNIC nic = nicsByNames.get(eth1.1345); nic.setNetwork(null); [1] https://motiasayag.wordpress.com/2014/02/24/invoke-setup-networks-from-the-java-sdk/ -- Thanks Regards Tejesh -- Thanks Regards Tejesh package org.ovirt.test; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ovirt.engine.sdk.Api; import org.ovirt.engine.sdk.decorators.Host; import org.ovirt.engine.sdk.decorators.HostNIC; import org.ovirt.engine.sdk.decorators.HostNICs; import org.ovirt.engine.sdk.entities.Action; import org.ovirt.engine.sdk.entities.BaseResource; import org.ovirt.engine.sdk.entities.HostNics; public class SetupNetworksDetachNetworkExample { public static void main(String[] args) throws Exception { try (Api api = new Api(http://localhost:8080/api;, admin@internal, 1, null, null, null, null, null, null, true)) { String hostName = venus-vdsb; Host hostApi = api.getHosts().get(hostName); HostNICs nicsApi = hostApi.getHostNics(); ListHostNIC nics = nicsApi.list(); MapString, HostNIC nicsByNames = entitiesByName(nics); nics.remove(nicsByNames.get(eth4.20)); nicsApi.setupnetworks(createSetupNetworksParams(nics)); hostApi.commitnetconfig(new Action()); } } public static Action createSetupNetworksParams(ListHostNIC nics) { Action action = new Action(); HostNics nicsParams = new HostNics(); nicsParams.getHostNics().addAll(nics); action.setHostNics(nicsParams); action.setCheckConnectivity(true); return action; } public static E extends BaseResource MapString, E entitiesByName(ListE entityList) { if (entityList != null) { MapString, E map = new HashMapString, E(); for (E e : entityList) { map.put(e.getName(), e); } return map; } else { return Collections.emptyMap(); } } } ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
The node runs with CentOS 6.5 I Understand, no Win8 guests on CentOS nodes. Thank you very much Sven Am 11.03.2014 11:21, schrieb Sven Kieske: Which OS/Distribution does your compute node run? I do not know if this might be related: https://bugzilla.redhat.com/show_bug.cgi?id=821741 But I also don't see the SEP flag passed into linux based vms on a CentOS 6.5 based compute node. Maybe this is another feature just available to qemu-kvm-rhev instead of qemu-kvm ? -- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Elsässer Str. 18, D-79346 Endingen Telefon +49 - 7642 - 92866 - 0 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] edit-node problems
I'm trying to use edit-node to add the ovirt-node-plugin-vdsm plugin to the ovirt-node-iso-3.0.2-1.0.0.el6.iso that I downloaded from here: http://resources.ovirt.org/releases/node-base/stable/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso Whenever I run any edit-node commands against this iso I get the error below: # ./ovirt-node/tools/edit-node -dv --print-rpm-manifest /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso Losetup add /dev/loop0 mapping to /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso Mounting /dev/loop0 at /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t Losetup add /dev/loop1 mapping to /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t/LiveOS/squashfs.img Mounting /dev/loop1 at /var/tmp/edit-liveos-nEP1ae/tmp-VOGtjF mount: block device /dev/loop1 is write-protected, mounting read-only Unmounting directory /var/tmp/edit-liveos-nEP1ae/tmp-VOGtjF Losetup remove /dev/loop1 Unmounting directory /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t Losetup remove /dev/loop0 /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return unicode(self.message) Error editing LiveOS : Failed to copy base live image to /var/tmp/edit-liveos-nEP1ae/ex/ext3fs.img for modification: [Errno 5] Input/output error If I try the same with ovirt-node-iso-3.0.1-1.0.2.el6.iso (downloaded from the same location) all works as expected. I've tried this on CentOS 6.2 and 6.4, same results on both. Can anyone tell me where I am going wrong? Alternatively is there a newer node ISO that already has the ovirt-node-plugin-vdsm plugin installed? Thanks, Simon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
2014-03-11 12:40 GMT+01:00 Michael Wagenknecht wagenkne...@fuh-e.de: The node runs with CentOS 6.5 I Understand, no Win8 guests on CentOS nodes. Hi, not tried with Win8 but regarding flags I have this: oVirt 3.4.0 RC host: CentOS 6.5 with current updates [root@host1 ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU E5504 @ 2.00GHz stepping: 5 cpu MHz : 2000.165 cache size : 4096 KB physical id : 0 siblings: 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm dts tpr_shadow vnmi flexpriority ept vpid bogomips: 4000.33 clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: [root@host1 ~]# guest: CentOS 6.5 with current updates [root@guest1 ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel Core i7 9xx (Nehalem Class Core i7) stepping : 3 cpu MHz : 2000.066 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 x2apic popcnt hypervisor lahf_lm bogomips : 4000.13 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: [root@guest1 ~]# SEP and NX are present in guest as in host. Best regards, Giorgio. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] [GSOC][Gerrit] add potential reviewers - questions
Hi I'd like to contribute (within GSOC) in idea: Gerrit add potential reviewers. Maybe at first I'll introduce myself. I'm Tomek, student from Poland. I study Computer Science at University of Wroclaw. The next year will be last year of my first degree study, I hope. As a python programmer I'm working since one year at Nokia Solutions and Networks (don't worry I intend to change my job to another or to participation at GSOC). Every day at work and school I'm using version control system (Git and SVN). At work we were using to Gerrit as a review system but currently we're using JIRA to report review statuses. I love spend my free time in mountains (mainly polish - Tatras mountains). That's all about me. I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I know above questions might seem chaotic but I think answers allow me to better understanding Yours needments Best regards Tomasz Kolek ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reimporting storage domains after reinstalling ovirt
On 03/10/2014 06:03 PM, Jason Brooks wrote: - Original Message - From: Boudewijn Ector boudew...@boudewijnector.nl To: Jason Brooks jbro...@redhat.com Cc: users@ovirt.org Sent: Monday, March 10, 2014 8:56:31 AM Subject: Re: [Users] Reimporting storage domains after reinstalling ovirt On 10-03-14 16:55, Jason Brooks wrote: into: CLASS=Backup DESCRIPTION=export-storage IOOPTIMEOUTSEC=10 LEASERETRIES=3 LEASETIMESEC=60 LOCKPOLICY= LOCKRENEWALINTERVALSEC=5 MASTER_VERSION=613 POOL_DESCRIPTION=Default POOL_DOMAINS= POOL_SPM_ID=1 POOL_SPM_LVER=0 POOL_UUID= REMOTE_PATH=nfsserver:/raid/ovirt-old/data ROLE=Regular SDUUID=1979444d-b79a-494c-8c1a-bcc132e31a04 TYPE=NFS VERSION=3 This needs to be VERSION=0 (I successfully rescued a storage domain this way just this weekend) Good luck! Jason Hi Jason, Thanks! I'm going to try this after finishing my coffee! Can you explain to me *why* this will change the situation? I'd like to have a better understanding about the inner workings of ovirt. I don't know -- TYPE=0 is what you find in the export domain metadata files. I'd love to be able to bring back images w/o the export domain step in the middle... import data domain is in the works, should make 3.5. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
Am 11.03.2014 15:01, schrieb Itamar Heim: On 03/11/2014 01:40 PM, Michael Wagenknecht wrote: The node runs with CentOS 6.5 I Understand, no Win8 guests on CentOS nodes. is your cluster version 3.3? Yes it is. Thank you very much Sven Am 11.03.2014 11:21, schrieb Sven Kieske: Which OS/Distribution does your compute node run? I do not know if this might be related: https://bugzilla.redhat.com/show_bug.cgi?id=821741 But I also don't see the SEP flag passed into linux based vms on a CentOS 6.5 based compute node. Maybe this is another feature just available to qemu-kvm-rhev instead of qemu-kvm ? -- Mit freundlichen Grüßen Michael Wagenknecht FuH Entwicklungsgesellschaft mbH Geschäftsführer Carola Fornoff HRB Freiburg 701203, UID DE255007372 Elsässer Str. 18, D-79346 Endingen Telefon +49 - 7642 - 92866 - 0 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
On 03/11/2014 04:05 PM, Michael Wagenknecht wrote: Am 11.03.2014 15:01, schrieb Itamar Heim: On 03/11/2014 01:40 PM, Michael Wagenknecht wrote: The node runs with CentOS 6.5 I Understand, no Win8 guests on CentOS nodes. is your cluster version 3.3? Yes it is. then assuming qemu-kvm is up to date, it should expose sep to the guest if exists on the host. Thank you very much Sven Am 11.03.2014 11:21, schrieb Sven Kieske: Which OS/Distribution does your compute node run? I do not know if this might be related: https://bugzilla.redhat.com/show_bug.cgi?id=821741 But I also don't see the SEP flag passed into linux based vms on a CentOS 6.5 based compute node. Maybe this is another feature just available to qemu-kvm-rhev instead of qemu-kvm ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] hosted engine help
Il 10/03/2014 22:32, Giuseppe Ragusa ha scritto: Hi all, Date: Mon, 10 Mar 2014 12:56:19 -0400 From: jbro...@redhat.com To: msi...@redhat.com CC: users@ovirt.org Subject: Re: [Users] hosted engine help - Original Message - From: Martin Sivak msi...@redhat.com To: Dan Kenigsberg dan...@redhat.com Cc: users@ovirt.org Sent: Saturday, March 8, 2014 11:52:59 PM Subject: Re: [Users] hosted engine help Hi Jason, can you please attach the full logs? We had very similar issue before I we need to see if is the same or not. I may have to recreate it -- I switched back to an all in one engine after my setup started refusing to run the engine at all. It's no fun losing your engine! This was a migrated-from-standalone setup, maybe that caused additional wrinkles... Jason Thanks I experienced the exact same symptoms as Jason on a from-scratch installation on two physical nodes with CentOS 6.5 (fully up-to-date) using oVirt 3.4.0_pre (latest test-day release) and GlusterFS 3.5.0beta3 (with Gluster-provided NFS as storage for the self-hosted engine VM only). Using GlusterFS with hosted-engine storage is not supported and not recommended. HA daemon may not work properly there. I roughly followed the guide from Andrew Lau: http://www.andrewklau.com/ovirt-hosted-engine-with-3-4-0-nightly/ with some variations due to newer packages (resolved bugs) and different hardware setup (no VLANs in my setup: physically separated networks; custom second nic added to Engine VM template before deploying etc.) The self-hosted installation on first node + Engine VM (configured for managing both oVirt and the storage; Datacenter default set to NFS because no GlusterFS offered) went apparently smooth, but the HA-agent failed to start at the very end (same errors in logs as Jason: the storage domain seems missing) and I was only able to start it all manually with: hosted-engine --connect-storage hosted-engine --start-pool The above commands are used for development and shouldn't be used for starting the engine. hosted-engine --vm-start then the Engine came up and I could use it, I even registered the second node (same final error in HA-agent) and tried to add GlusterFS storage domains for further VMs and ISOs (by the way: the original NFS-GlusterFS domain for Engine VM only is not present inside the Engine web UI) but it always failed activating the domains (they remain Inactive). Furthermore the engine gets killed some time after starting (from 3 up to 11 hours later) and the only way to get it back is repeating the above commands. Need logs for this. I always managed GlusterFS natively (not through oVirt) from the commandline and verified that the NFS-exported Engine-VM-only volume gets replicated, but I obviously failed to try migration because the HA part results inactive and oVirt refuse to migrate the Engine. Since I tried many times, with variations and further manual actions between (like trying to manually mount the NFS Engine domain, restarting the HA-agent only etc.), my logs are cluttered, so I should start from scratch again and pack up all logs in one swipe. +1 Tell me what I should capture and at which points in the whole process and I will try to follow up as soon as possible. What: hosted-engine-setup, hosted-engine-ha, vdsm, libvirt, sanlock from the physical hosts and engine and server logs from the hosted engine VM. When: As soon as you see an error. Many thanks, Giuseppe -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - On Fri, Mar 07, 2014 at 10:17:43AM +0100, Sandro Bonazzola wrote: Il 07/03/2014 01:10, Jason Brooks ha scritto: Hey everyone, I've been testing out oVirt 3.4 w/ hosted engine, and while I've managed to bring the engine up, I've only been able to do it manually, using hosted-engine --vm-start. The ovirt-ha-agent service fails reliably for me, erroring out with RequestError: Request failed: success. I've pasted error passages from the ha agent and vdsm logs below. Any pointers? looks like a VDSM bug, Dan? Why? The exception is raised from deep inside the ovirt_hosted_engine_ha code. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration.
Re: [Users] affects of changing compatibility setting on running cluster
On 03/06/2014 04:59 PM, Charles Weber wrote: Hi everyone, I believe I need to change my cluster compatibility level and would like to know if I can do this ona live cluster or if I have to change everything to maintenance mode first. I ran engine setup and upgraded to current engine level then tried to add a new node using the 3.3.4 el6 iso. This resulted in an error: Host x.x.x.x is installed with VDSM version (4.14) and cannot join cluster Default which is compatible with VDSM versions [4.13,4.9,4.11,4.12,4.10]. My current versions are: Engine 3.3.4-1.el6 at compatibiltiy version 3.2 2 Nodes running CentOS 6.4 with VDSM 4.10.3-0.36.23.el6 Am I correct that I need to change the compatibility version to 3.3? This has some production VMs, do I need to turn everything off first or is this a non-interruptive change? How will this upgrade affect my current 2 hosts at their version? My original idea was to migrate working VMs to new ovirt ISO node and then re-install original nodes to the same version off the 3.3.4 el6 iso. I appreciate any advice. Chuck ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users actually no. this sounds like a bug in VDSM 4.14 not updated to report compatibility with ovirt-engine 3.3 danken? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt -How to add local storage; disks pass-through
On 03/05/2014 07:01 PM, Edwin Lobaina wrote: Hi everyone, I’m currently testing oVirt 3.3 (so far so good!) but I haven’t figured out how to add more local storage to the host. Let’s say you have a second ssd you would like to add to the host and use for testing. Also, in the same area of storage, I haven’t found any documentation on how to pass local disks directly to guest VMs? (For example, an external USB hdd). Thank you in advance for your feedback. 1. the main usage of ovirt is for clusters with shared storage. 2. that said, local storage is also supported. 3. to add another storage domain, create a path on the host to that storage, give permissions/owner to vdsm (36:36), go to the webadmin and add storage domain of type local with relevant path. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVIRT3.3.3 Live Migration fails
On 03/05/2014 06:09 PM, Hans-Joachim wrote: Hello, I'm running into a funny problem on a CentOS 6.5 system Starting a VM on server1, migrate it to server2 and than back to server1 fails. The logs (engine and server1) are attached... server1: vdsm.x86_64 4.13.3-3.el6 @ovirt vdsm-cli.noarch 4.13.3-3.el6 @ovirt vdsm-python.x86_64 4.13.3-3.el6 @ovirt vdsm-python-cpopen.x86_64 4.13.2-1.el6 @ovirt vdsm-xmlrpc.noarch 4.13.3-3.el6 @ovirt qemu-img-rhev.x86_642:0.12.1.2-2.415.el6 @ovirt qemu-kvm-rhev.x86_642:0.12.1.2-2.415.el6 @ovirt qemu-kvm-rhev-tools.x86_64 2:0.12.1.2-2.415.el6 @ovirt server2: vdsm.x86_64 4.13.3-3.el6 @ovirt vdsm-cli.noarch 4.13.3-3.el6 @ovirt vdsm-python.x86_644.13.3-3.el6 @ovirt vdsm-python-cpopen.x86_64 vdsm-xmlrpc.noarch4.13.3-3.el6 @ovirt qemu-img-rhev.x86_64 2:0.12.1.2-2.415.el6 qemu-kvm-rhev.x86_64 2:0.12.1.2-2.415.el6 Thank you for your help Hans-Joachim ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users anything in the libvirt log? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
- Original Message - From: Tomasz Kołek tomasz-ko...@o2.pl To: users@ovirt.org Sent: Monday, March 10, 2014 9:56:28 PM Subject: [Users] [GSOC][Gerrit] add potential reviewers - questions Hi I'd like to contribute (within GSOC) in idea: Gerrit add potential reviewers. Maybe at first I’ll introduce myself. I'm Tomek, student from Poland. I study Computer Science at University of Wroclaw. The next year will be last year of my first degree study, I hope. As a python programmer I'm working since one year at Nokia Solutions and Networks (don't worry I intend to change my job to another or to participation at GSOC). Every day at work and school I'm using version control system (Git and SVN). At work we were using to Gerrit as a review system but currently we're using JIRA to report review statuses. I love spend my free time in mountains (mainly polish - Tatras mountains). That's all about me. I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? Hi Tomasz, I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? cause if you mean by adding reviewers to a patch, that's easily done by just clicking the '+' sign on each patch. those reviewers should have logged in at least once to gerrit.ovirt.org in order to be in the list of potential viewers, and they don't require any special permissions to review with +1/-1 any patch sent. you can add as many reviewers as you want to a patch. does that answer your question? Eyal. I know above questions might seem chaotic but I think answers allow me to better understanding Yours needments Best regards Tomasz Kolek ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] hosted engine help
I experienced the exact same symptoms as Jason on a from-scratch installation on two physical nodes with CentOS 6.5 (fully up-to-date) using oVirt 3.4.0_pre (latest test-day release) and GlusterFS 3.5.0beta3 (with Gluster-provided NFS as storage for the self-hosted engine VM only). Using GlusterFS with hosted-engine storage is not supported and not recommended. HA daemon may not work properly there. I used Gluster NFS, too. That's not supported or recommended? I've assumed that I could use Gluster NFS / NFS interchangeably... Jason ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Supported Billing Software for oVirt
On 03/03/2014 12:00 PM, Gilad Chaplik wrote: I'm not aware of this kind of feature... You can open a RFE, and I hope we'll have the time to add it the upcoming versions: https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt There could have been a possibly to write a cron job/similar that manage quotas externally using oVirt public API, but unfortunately, quotas aren't exposed there yet (on our TODO list). BUT (there's always one :-)), you can use quotas^^ for capping, and use external plugin (external scheduler/ vdsm hook) that responsible for subscription duration (integrate with 3rd party or write one your self, names and dates- shouldn't be that hard). keep me posted :-) i think the right solution here is using 3rd party software focusing on something like that, based on the data collected by ovirt engine and the dwh. one such application would be CloudForms. we're in the process or removing all the roadblocks to open sourcing it, and expect to have an open source version of CloudForms in a few months. CloudForms of course integrates with oVirt/RHEV (and many other platforms). Thanks, Gilad. - Original Message - From: Dewangga Bachrul Alam dewangg...@xtremenitro.org To: Gilad Chaplik gchap...@redhat.com Cc: users@ovirt.org Sent: Monday, March 3, 2014 2:04:16 AM Subject: Re: [Users] Supported Billing Software for oVirt Hi Gilad, Thanks for the info, but Is there any info about billing software? For the example, user A only have one month subscription, then if more than one month, the subscription has expired. So, the service on user A was suspended while the subscription has expired. Is it possible on oVirt? — Dewangga Bachrul Alam, S.St Network System Administrator Sent from Mailbox for iPad On Sun, Mar 2, 2014 at 10:39 PM, Gilad Chaplik gchap...@redhat.com wrote: Hi, Don't know about 3rd parties, but you can use quotas to limit user activities (storage/memory/cpu consumption). Check out these clips, and see if it suits you: http://www.youtube.com/watch?v=zazJ_fW05Qk http://www.youtube.com/watch?v=jExFWEojF4c http://www.youtube.com/watch?v=y8qUoRImimY Thanks, Gilad. - Original Message - From: Dewangga dewangg...@xtremenitro.org To: users@ovirt.org Sent: Sunday, March 2, 2014 5:08:59 PM Subject: [Users] Supported Billing Software for oVirt -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, I'm new using oVirt 3.3, and I planned to make cloud environment using payment gateway. For example, Hostbill are support Openstack, basic things are for provision. http://hostbillapp.com/hostbill/ And, is there any billing software/management support oVirt? -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEcBAEBAgAGBQJTE0mLAAoJEEyntV5BtO+QO/cH/0Akcj/MWj4wihjHUKcoEfWU DBUvL+yiPAY9jRnd6jyGXfEGe8rFekS1PhdF+D+tpih1s8rt6PPC0bSnpVJmCaro I5FvJiQD8W6ZMilKdHEPfc1TGIqM2+nd3uyaGVis7tcxySebfpheJ/k7qxzxZHUf YQqtKOLbTKttRu2t4vSbaQa76LEUdr74GQV+/XTHWQ2yGFHCul7lI3Rv+CT14mH/ +y+AWUQVmO3euaCt8IpYvpy5AZe55ytSSLYplBueyVE8fhMwhwME+qDqHp5lx8j6 PfDuxJfcHvZK1KrQrq55U6aUc2mkf6vi29l5aRWE4svq12aweJvvGvN1NsMvIAM= =ViEx -END PGP SIGNATURE- ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] hosted engine help
On 03/11/2014 04:41 PM, Jason Brooks wrote: I experienced the exact same symptoms as Jason on a from-scratch installation on two physical nodes with CentOS 6.5 (fully up-to-date) using oVirt 3.4.0_pre (latest test-day release) and GlusterFS 3.5.0beta3 (with Gluster-provided NFS as storage for the self-hosted engine VM only). Using GlusterFS with hosted-engine storage is not supported and not recommended. HA daemon may not work properly there. I used Gluster NFS, too. That's not supported or recommended? I've assumed that I could use Gluster NFS / NFS interchangeably... that should be ok. make sure your gluster environment is robust with quorum, etc. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Disk Migration Permissions
On 02/17/2014 07:46 PM, Maurice James wrote: What permissions do I need to allow a user to be able to live migrate a disk from one storage domain to another? I have a group with the Power User and Super user permissions on the cluster and they get the following error when attempting to migrate a disk Error while executing action: User is not authorized to perform this action. 3.3.3-2.el6 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users was this resolved? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Foreman and oVirt 3.4 fails
On 02/17/2014 12:35 PM, Andrew Lau wrote: Hi Frank, Thanks for the link - much appreciated. On Mon, Feb 17, 2014 at 9:09 PM, Frank Wall f...@moov.de mailto:f...@moov.dewrote: Hi Andrew, On Mon, Feb 17, 2014 at 07:57:33PM +1100, Andrew Lau wrote: Is anyone using Foreman with oVirt 3.4? Post upgrade, I appear to be having some issues with Foreman reporting undefined method `text' for nil:NilClass this issue was reported to Foreman: http://projects.theforeman.org/issues/4346#change-13781 oVirt Compute Resource needs to be updated for rbovirt 0.0.21 There is also an API change in recent oVirt releases which requires changes to rbovirt: https://github.com/abenari/rbovirt/pull/28 work around change in Red Hat bugzilla #1038053 Regards - Frank ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Tal - didn't we fix this backward compatibility issue by now? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
Well, I got SEP flag on my compute node, the cluster level is 3.3 engine is 3.3.3-2.el6 however in my centos 6.5 vm I got no sep flag this is my qemu-kvm version: rpm -qa | grep qemu-kvm qemu-kvm-0.12.1.2-2.415.el6_5.4.x86_64 yum update qemu-kvm shows me, there is a newer version: 0.12.1.2-2.415.el6_5.5 the changelog states: 2014-02-25 - Miroslav Rezanina mreza...@redhat.com - 0.12.1.2-2.415.el6_5.5 - kvm-monitor-Cleanup-mon-outbuf-on-write-error.patch [bz#1069239] - Resolves: bz#1069239 (QMP socket breaks on unexpected close) Which leads to this BZ, which seems to have nothing to do at all with this flag: https://bugzilla.redhat.com/show_bug.cgi?id=1069239 Am 11.03.2014 15:06, schrieb Itamar Heim: then assuming qemu-kvm is up to date, it should expose sep to the guest if exists on the host. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] hosted engine help
On 03/11/2014 04:09 PM, Sandro Bonazzola wrote: Il 07/03/2014 01:10, Jason Brooks ha scritto: Hey everyone, I've been testing out oVirt 3.4 w/ hosted engine, and while I've managed to bring the engine up, I've only been able to do it manually, using hosted-engine --vm-start. The ovirt-ha-agent service fails reliably for me, erroring out with RequestError: Request failed: success. I've pasted error passages from the ha agent and vdsm logs below. Any pointers? Regards, Jason *** ovirt-ha-agent.log MainThread::CRITICAL::2014-03-06 18:48:30,622::agent::103::ovirt_hosted_engine_ha.agent.agent.Agent::(run) Could not start ha-agent Traceback (most recent call last): File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py, line 97, in run self._run_agent() File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py, line 154, in _run_agent hosted_engine.HostedEngine(self.shutdown_requested).start_monitoring() File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py, line 303, in start_monitoring for old_state, state, delay in self.fsm: File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/fsm/machine.py, line 125, in next new_data = self.refresh(self._state.data) File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/state_machine.py, line 77, in refresh stats.update(self.hosted_engine.collect_stats()) File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py, line 623, in collect_stats constants.SERVICE_TYPE) File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py, line 171, in get_stats_from_storage result = self._checked_communicate(request) File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py, line 198, in _checked_communicate raise RequestError(Request failed: {0}.format(msg)) RequestError: Request failed: success vdsm.log Thread-29::ERROR::2014-03-06 18:48:11,101::API::1607::vds::(_getHaInfo) failed to retrieve Hosted Engine HA info Traceback (most recent call last): File /usr/share/vdsm/API.py, line 1598, in _getHaInfo stats = instance.get_all_stats() File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py, line 86, in get_all_stats constants.SERVICE_TYPE) File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py, line 171, in get_stats_from_storage result = self._checked_communicate(request) File /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py, line 198, in _checked_communicate raise RequestError(Request failed: {0}.format(msg)) RequestError: Request failed: success Greg, Martin, Request failed: success ? Hi Jason, I talked to Martin about this and opened a bug [1]/submitted a patch [2]. Based on your mail, I'm not sure if you experienced a race condition or some other issue. This patch should help the former case, but if you're still experiencing problems then we would need to investigate further. Thanks, Greg [1] https://bugzilla.redhat.com/show_bug.cgi?id=1075126 [2] http://gerrit.ovirt.org/#/c/25621/ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
Eyal, I think that he's asking about [1]. As far as I understand, the idea is to automatically get the reviewers names, with commands like `git blame`, or from gerrit - get previous reviewers to the same file/module... Adding Maor, since he might have some additional info. [1] http://www.ovirt.org/Summer_of_Code#Idea:_Gerrit_add_potential_reviewers - Original Message - From: Eyal Edri ee...@redhat.com To: Tomasz Kołek tomasz-ko...@o2.pl Cc: users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 4:37:22 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions - Original Message - From: Tomasz Kołek tomasz-ko...@o2.pl To: users@ovirt.org Sent: Monday, March 10, 2014 9:56:28 PM Subject: [Users] [GSOC][Gerrit] add potential reviewers - questions Hi I'd like to contribute (within GSOC) in idea: Gerrit add potential reviewers. Maybe at first I’ll introduce myself. I'm Tomek, student from Poland. I study Computer Science at University of Wroclaw. The next year will be last year of my first degree study, I hope. As a python programmer I'm working since one year at Nokia Solutions and Networks (don't worry I intend to change my job to another or to participation at GSOC). Every day at work and school I'm using version control system (Git and SVN). At work we were using to Gerrit as a review system but currently we're using JIRA to report review statuses. I love spend my free time in mountains (mainly polish - Tatras mountains). That's all about me. I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? Hi Tomasz, I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? cause if you mean by adding reviewers to a patch, that's easily done by just clicking the '+' sign on each patch. those reviewers should have logged in at least once to gerrit.ovirt.org in order to be in the list of potential viewers, and they don't require any special permissions to review with +1/-1 any patch sent. you can add as many reviewers as you want to a patch. does that answer your question? Eyal. I know above questions might seem chaotic but I think answers allow me to better understanding Yours needments Best regards Tomasz Kolek ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] affects of changing compatibility setting on running cluster
This is a known bug: https://bugzilla.redhat.com/show_bug.cgi?id=1067096 this was retargeted to 3.4.1 I suspect to much automation, as this should maybe block the 3.4 GA release? Am 11.03.2014 15:22, schrieb Itamar Heim: On 03/06/2014 04:59 PM, Charles Weber wrote: Hi everyone, I believe I need to change my cluster compatibility level and would like to know if I can do this ona live cluster or if I have to change everything to maintenance mode first. I ran engine setup and upgraded to current engine level then tried to add a new node using the 3.3.4 el6 iso. This resulted in an error: Host x.x.x.x is installed with VDSM version (4.14) and cannot join cluster Default which is compatible with VDSM versions [4.13,4.9,4.11,4.12,4.10]. My current versions are: Engine 3.3.4-1.el6 at compatibiltiy version 3.2 2 Nodes running CentOS 6.4 with VDSM 4.10.3-0.36.23.el6 Am I correct that I need to change the compatibility version to 3.3? This has some production VMs, do I need to turn everything off first or is this a non-interruptive change? How will this upgrade affect my current 2 hosts at their version? My original idea was to migrate working VMs to new ovirt ISO node and then re-install original nodes to the same version off the 3.3.4 el6 iso. I appreciate any advice. Chuck ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users actually no. this sounds like a bug in VDSM 4.14 not updated to report compatibility with ovirt-engine 3.3 danken? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] affects of changing compatibility setting on running cluster
On 03/11/2014 04:54 PM, Sven Kieske wrote: This is a known bug: https://bugzilla.redhat.com/show_bug.cgi?id=1067096 this was retargeted to 3.4.1 seems 3.4.0 to me I suspect to much automation, as this should maybe block the 3.4 GA release? Am 11.03.2014 15:22, schrieb Itamar Heim: On 03/06/2014 04:59 PM, Charles Weber wrote: Hi everyone, I believe I need to change my cluster compatibility level and would like to know if I can do this ona live cluster or if I have to change everything to maintenance mode first. I ran engine setup and upgraded to current engine level then tried to add a new node using the 3.3.4 el6 iso. This resulted in an error: Host x.x.x.x is installed with VDSM version (4.14) and cannot join cluster Default which is compatible with VDSM versions [4.13,4.9,4.11,4.12,4.10]. My current versions are: Engine 3.3.4-1.el6 at compatibiltiy version 3.2 2 Nodes running CentOS 6.4 with VDSM 4.10.3-0.36.23.el6 Am I correct that I need to change the compatibility version to 3.3? This has some production VMs, do I need to turn everything off first or is this a non-interruptive change? How will this upgrade affect my current 2 hosts at their version? My original idea was to migrate working VMs to new ovirt ISO node and then re-install original nodes to the same version off the 3.3.4 el6 iso. I appreciate any advice. Chuck ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users actually no. this sounds like a bug in VDSM 4.14 not updated to report compatibility with ovirt-engine 3.3 danken? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
On 03/11/2014 04:51 PM, Sven Kieske wrote: Well, I got SEP flag on my compute node, the cluster level is 3.3 engine is 3.3.3-2.el6 however in my centos 6.5 vm I got no sep flag this is my qemu-kvm version: rpm -qa | grep qemu-kvm qemu-kvm-0.12.1.2-2.415.el6_5.4.x86_64 yum update qemu-kvm shows me, there is a newer version: 0.12.1.2-2.415.el6_5.5 the changelog states: 2014-02-25 - Miroslav Rezanina mreza...@redhat.com - 0.12.1.2-2.415.el6_5.5 - kvm-monitor-Cleanup-mon-outbuf-on-write-error.patch [bz#1069239] - Resolves: bz#1069239 (QMP socket breaks on unexpected close) Which leads to this BZ, which seems to have nothing to do at all with this flag: https://bugzilla.redhat.com/show_bug.cgi?id=1069239 and the guest is lanunched with -m rhel6.5.0 (which is the default for a 3.3 cluster)? Am 11.03.2014 15:06, schrieb Itamar Heim: then assuming qemu-kvm is up to date, it should expose sep to the guest if exists on the host. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
On Tue, Mar 11, 2014 at 10:37:22AM -0400, Eyal Edri wrote: Tomasz Kołek wrote: I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? I really like this idea. Gerrit currently requires new users to know who to add as reviewers, IMHO impeding new contributors. One relative simple solution would be to look at who recently touched the files that are being modified and add them as reviewers. This can be done by looking at the git log for a file. Some pseudo python code solution: reviewers = set() for modified_file in commit.files: reviewers += set(commit.author for commit in git.log(modified_file)) return reviewers This gives a system that those who touche a file, become the maintainer for that file. A more complex solution could improve on that and limit the reviewers added per patch. One can think of limiting to only contributions in the last X months, weigh contributions so common committers are prefered. It could also combine several methods. For example to limit to the 5 authors who touched the most files: reviewers = collections.Counter() # New in python 2.7 for modified_file in commit.files: reviewers += collections.Counter(commit.author for commit in git.log(modified_file)) return [author for author, count in reviewers.most_common(5)] Since Counter also accepts a dictionary, one could also weigh the touched lines per file. Downside there is big whitespace/formatting patches can skew the line count. In short, I think an entire thesis could be written on the optimal way to determine reviewers but a simple algorithm could do to show the method works. Does this help? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] hosted engine help
Date: Tue, 11 Mar 2014 15:16:36 +0100 From: sbona...@redhat.com To: giuseppe.rag...@hotmail.com; jbro...@redhat.com; msi...@redhat.com CC: users@ovirt.org; fsimo...@redhat.com; gpadg...@redhat.com Subject: Re: [Users] hosted engine help Il 10/03/2014 22:32, Giuseppe Ragusa ha scritto: Hi all, Date: Mon, 10 Mar 2014 12:56:19 -0400 From: jbro...@redhat.com To: msi...@redhat.com CC: users@ovirt.org Subject: Re: [Users] hosted engine help - Original Message - From: Martin Sivak msi...@redhat.com To: Dan Kenigsberg dan...@redhat.com Cc: users@ovirt.org Sent: Saturday, March 8, 2014 11:52:59 PM Subject: Re: [Users] hosted engine help Hi Jason, can you please attach the full logs? We had very similar issue before I we need to see if is the same or not. I may have to recreate it -- I switched back to an all in one engine after my setup started refusing to run the engine at all. It's no fun losing your engine! This was a migrated-from-standalone setup, maybe that caused additional wrinkles... Jason Thanks I experienced the exact same symptoms as Jason on a from-scratch installation on two physical nodes with CentOS 6.5 (fully up-to-date) using oVirt 3.4.0_pre (latest test-day release) and GlusterFS 3.5.0beta3 (with Gluster-provided NFS as storage for the self-hosted engine VM only). Using GlusterFS with hosted-engine storage is not supported and not recommended. HA daemon may not work properly there. If it is unsupported (and particularly not recommended) even with the interposed NFS (the native Gluster-provided NFSv3 export of a volume), then which is the recommended way to setup a fault-tolerant load-balanced 2 node oVirt cluster (without external dedicated SAN/NAS)? I roughly followed the guide from Andrew Lau: http://www.andrewklau.com/ovirt-hosted-engine-with-3-4-0-nightly/ with some variations due to newer packages (resolved bugs) and different hardware setup (no VLANs in my setup: physically separated networks; custom second nic added to Engine VM template before deploying etc.) The self-hosted installation on first node + Engine VM (configured for managing both oVirt and the storage; Datacenter default set to NFS because no GlusterFS offered) went apparently smooth, but the HA-agent failed to start at the very end (same errors in logs as Jason: the storage domain seems missing) and I was only able to start it all manually with: hosted-engine --connect-storage hosted-engine --start-pool The above commands are used for development and shouldn't be used for starting the engine. Directly starting the engine (with the command below) failed because of storage unavailability, so I used the above trick as a last resort to at least prove that the engine was able to start and had not been somewhat destroyed or lost in the process (but I do understand that it is an extreme debug-only action). hosted-engine --vm-start then the Engine came up and I could use it, I even registered the second node (same final error in HA-agent) and tried to add GlusterFS storage domains for further VMs and ISOs (by the way: the original NFS-GlusterFS domain for Engine VM only is not present inside the Engine web UI) but it always failed activating the domains (they remain Inactive). Furthermore the engine gets killed some time after starting (from 3 up to 11 hours later) and the only way to get it back is repeating the above commands. Need logs for this. I will try to reproduce it all, but I can recall that on libvirt logs (HostedEngine.log) there was always clear indication of the PID that killed the Engine VM and each time it belonged to an instance of sanlock. I always managed GlusterFS natively (not through oVirt) from the commandline and verified that the NFS-exported Engine-VM-only volume gets replicated, but I obviously failed to try migration because the HA part results inactive and oVirt refuse to migrate the Engine. Since I tried many times, with variations and further manual actions between (like trying to manually mount the NFS Engine domain, restarting the HA-agent only etc.), my logs are cluttered, so I should start from scratch again and pack up all logs in one swipe. +1 ; Tell me what I should capture and at which points in the whole process and I will try to follow up as soon as possible. What: hosted-engine-setup, hosted-engine-ha, vdsm, libvirt, sanlock from the physical hosts and engine and server logs from the hosted engine VM. When: As soon as you see an error. If the setup design (wholly GlusterFS based) is somewhat flawed, please point me to some hint/docs/guide for the right way of setting it up on 2 standalone physical nodes, so as not to waste your time in chasing defects in something that is not supposed to be working anyway. I will follow your
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
On 03/11/2014 05:06 PM, Ewoud Kohl van Wijngaarden wrote: On Tue, Mar 11, 2014 at 10:37:22AM -0400, Eyal Edri wrote: Tomasz Kołek wrote: I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? I really like this idea. Gerrit currently requires new users to know who to add as reviewers, IMHO impeding new contributors. One relative simple solution would be to look at who recently touched the files that are being modified and add them as reviewers. This can be done by looking at the git log for a file. Some pseudo python code solution: reviewers = set() for modified_file in commit.files: reviewers += set(commit.author for commit in git.log(modified_file)) return reviewers This gives a system that those who touche a file, become the maintainer for that file. A more complex solution could improve on that and limit the reviewers added per patch. One can think of limiting to only contributions in the last X months, weigh contributions so common committers are prefered. It could also combine several methods. For example to limit to the 5 authors who touched the most files: reviewers = collections.Counter() # New in python 2.7 for modified_file in commit.files: reviewers += collections.Counter(commit.author for commit in git.log(modified_file)) return [author for author, count in reviewers.most_common(5)] Since Counter also accepts a dictionary, one could also weigh the touched lines per file. Downside there is big whitespace/formatting patches can skew the line count. In short, I think an entire thesis could be written on the optimal way to determine reviewers but a simple algorithm could do to show the method works. Does this help? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I think if we do this, we want to make sure we cover per file who is required to +2 it before we consider it acked. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
- Original Message - From: Itamar Heim ih...@redhat.com To: Eyal Edri ee...@redhat.com, Tomasz Kołek tomasz-ko...@o2.pl, users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 5:10:54 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions On 03/11/2014 05:06 PM, Ewoud Kohl van Wijngaarden wrote: On Tue, Mar 11, 2014 at 10:37:22AM -0400, Eyal Edri wrote: Tomasz Kołek wrote: I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? I really like this idea. Gerrit currently requires new users to know who to add as reviewers, IMHO impeding new contributors. One relative simple solution would be to look at who recently touched the files that are being modified and add them as reviewers. This can be done by looking at the git log for a file. Some pseudo python code solution: reviewers = set() for modified_file in commit.files: reviewers += set(commit.author for commit in git.log(modified_file)) return reviewers This gives a system that those who touche a file, become the maintainer for that file. A more complex solution could improve on that and limit the reviewers added per patch. One can think of limiting to only contributions in the last X months, weigh contributions so common committers are prefered. It could also combine several methods. For example to limit to the 5 authors who touched the most files: reviewers = collections.Counter() # New in python 2.7 for modified_file in commit.files: reviewers += collections.Counter(commit.author for commit in git.log(modified_file)) return [author for author, count in reviewers.most_common(5)] Since Counter also accepts a dictionary, one could also weigh the touched lines per file. Downside there is big whitespace/formatting patches can skew the line count. In short, I think an entire thesis could be written on the optimal way to determine reviewers but a simple algorithm could do to show the method works. Does this help? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I think if we do this, we want to make sure we cover per file who is required to +2 it before we consider it acked. won't it require maintaining static lists of people per file/path/project? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
On 03/11/2014 05:14 PM, Eyal Edri wrote: - Original Message - From: Itamar Heim ih...@redhat.com To: Eyal Edri ee...@redhat.com, Tomasz Kołek tomasz-ko...@o2.pl, users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 5:10:54 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions On 03/11/2014 05:06 PM, Ewoud Kohl van Wijngaarden wrote: On Tue, Mar 11, 2014 at 10:37:22AM -0400, Eyal Edri wrote: Tomasz Kołek wrote: I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? I really like this idea. Gerrit currently requires new users to know who to add as reviewers, IMHO impeding new contributors. One relative simple solution would be to look at who recently touched the files that are being modified and add them as reviewers. This can be done by looking at the git log for a file. Some pseudo python code solution: reviewers = set() for modified_file in commit.files: reviewers += set(commit.author for commit in git.log(modified_file)) return reviewers This gives a system that those who touche a file, become the maintainer for that file. A more complex solution could improve on that and limit the reviewers added per patch. One can think of limiting to only contributions in the last X months, weigh contributions so common committers are prefered. It could also combine several methods. For example to limit to the 5 authors who touched the most files: reviewers = collections.Counter() # New in python 2.7 for modified_file in commit.files: reviewers += collections.Counter(commit.author for commit in git.log(modified_file)) return [author for author, count in reviewers.most_common(5)] Since Counter also accepts a dictionary, one could also weigh the touched lines per file. Downside there is big whitespace/formatting patches can skew the line count. In short, I think an entire thesis could be written on the optimal way to determine reviewers but a simple algorithm could do to show the method works. Does this help? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I think if we do this, we want to make sure we cover per file who is required to +2 it before we consider it acked. won't it require maintaining static lists of people per file/path/project? yes, but considering our project layout, i don't see an alternative. (some of the layout could be improved to be path based, rather than file based) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
- Original Message - From: Itamar Heim ih...@redhat.com To: Eyal Edri ee...@redhat.com Cc: users@ovirt.org, Tomasz Kołek tomasz-ko...@o2.pl, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 5:20:29 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions On 03/11/2014 05:14 PM, Eyal Edri wrote: - Original Message - From: Itamar Heim ih...@redhat.com To: Eyal Edri ee...@redhat.com, Tomasz Kołek tomasz-ko...@o2.pl, users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 5:10:54 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions On 03/11/2014 05:06 PM, Ewoud Kohl van Wijngaarden wrote: On Tue, Mar 11, 2014 at 10:37:22AM -0400, Eyal Edri wrote: Tomasz Kołek wrote: I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? I really like this idea. Gerrit currently requires new users to know who to add as reviewers, IMHO impeding new contributors. One relative simple solution would be to look at who recently touched the files that are being modified and add them as reviewers. This can be done by looking at the git log for a file. Some pseudo python code solution: reviewers = set() for modified_file in commit.files: reviewers += set(commit.author for commit in git.log(modified_file)) return reviewers This gives a system that those who touche a file, become the maintainer for that file. A more complex solution could improve on that and limit the reviewers added per patch. One can think of limiting to only contributions in the last X months, weigh contributions so common committers are prefered. It could also combine several methods. For example to limit to the 5 authors who touched the most files: reviewers = collections.Counter() # New in python 2.7 for modified_file in commit.files: reviewers += collections.Counter(commit.author for commit in git.log(modified_file)) return [author for author, count in reviewers.most_common(5)] Since Counter also accepts a dictionary, one could also weigh the touched lines per file. Downside there is big whitespace/formatting patches can skew the line count. In short, I think an entire thesis could be written on the optimal way to determine reviewers but a simple algorithm could do to show the method works. Does this help? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I think if we do this, we want to make sure we cover per file who is required to +2 it before we consider it acked. won't it require maintaining static lists of people per file/path/project? yes, but considering our project layout, i don't see an alternative. (some of the layout could be improved to be path based, rather than file based) Extending Ewoud's idea, we can also check the list of people committing (rather than reviewing) changes to each file in the change. -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] VNIC Profiles / QoS in 3.3.3
Hi, just got a quick question, because I can't test it myself atm: Is the definition of vnic profiles with QoS values possible via REST in 3.3.3 ? And even more important, can these defined profiles get attached to logical networks via REST in 3.3.3 ? The wiki page is not really clear about the status of the implementation: http://www.ovirt.org/Features/Vnic_Profiles Thanks in advance! -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] affects of changing compatibility setting on running cluster
Sorry, I just read to quick over the BZ, you're right :) Would it be worth backporting this to 3.3.5 ? If I understand this correctly you are not able to use vdsm 4.14 with any ovirt-engine version 3.4.0 ? at least then ovirt-engine 3.3.x shouldn't try to deploy vdsm 4.14 on hosts. Am 11.03.2014 15:58, schrieb Itamar Heim: seems 3.4.0 to me -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reimporting storage domains after reinstalling ovirt
- Original Message - From: Boudewijn Ector boudew...@boudewijnector.nl To: Jason Brooks jbro...@redhat.com Cc: users@ovirt.org Sent: Tuesday, March 11, 2014 1:32:00 AM Subject: Re: [Users] Reimporting storage domains after reinstalling ovirt Some people have reported success creating an image of the desired size, then noting the name of this new image, and copying the old image into the place of the new one, with the new name. Something like that might work, but I don't have first-hand experience w/ it. Jason Hi Jason, Due to lack of viable alternative, I've decided to go and try this approach. I just had a look at my datafiles: - these are either 8gb (OS) or 250gb (LVM images) - can't mount those directly in my host OS (tried because of the next point) - I don't know to what VM this image/VM belongs . They're all quite the same (basic debian install), so determining it just by running strings etc on those will not be easy - I can't import the old VMs from the old storage. If I create new images and dd the old information into those new images the metadata will not be copied too. So the only option is not reusing the VM's but creating completely new ones and determining which disk images are required for these VMs. Then creating the new image structure and dd'ing the corresponding images from the old VMs into the new ones. In order to do so I need to know what data belongs to what VM. Is there a trick for doing this? I still do have the database from the old ovirt machine, this might save me. Will have a look into that one tomorrow. Cheers, Boudewijn Hi Boudewijn, So we can proceed and recover your data i'd like to know - 1. can you use the db backup? will you lose any important data if you chose to use it? 2, did you have snapshots for your vm? please answer so we can proceed with it, we can find methods for restoring without having to perform images copy (and to restore with copying) - but each way has it's implications. thanks, Liron. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
I don't know to what you are pointing here directly, but I think you mean the qemu commandline? in fact it is: /usr/libexec/qemu-kvm -name centosbootstrap -S -M rhel6.4.0 but when I check the webadmin GUI the correct OS is selected: Red Hat Enterprise Linux 6.x x64 as you might guess it's not paid RHEL but CentOS. But this shouldn't make any difference, should it? Is this a bug? Am 11.03.2014 16:03, schrieb Itamar Heim: and the guest is lanunched with -m rhel6.5.0 (which is the default for a 3.3 cluster)? -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] edit-node problems
Looks like I was downloading the wrong ISO. VDSM enabled versions already exist here: http://resources.ovirt.org/releases/3.3/iso/ From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Simon Barrett Sent: 11 March 2014 13:26 To: 'users@ovirt.org' Subject: [Users] edit-node problems I'm trying to use edit-node to add the ovirt-node-plugin-vdsm plugin to the ovirt-node-iso-3.0.2-1.0.0.el6.iso that I downloaded from here: http://resources.ovirt.org/releases/node-base/stable/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso Whenever I run any edit-node commands against this iso I get the error below: # ./ovirt-node/tools/edit-node -dv --print-rpm-manifest /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso Losetup add /dev/loop0 mapping to /app/iso/ovirt-node-iso-3.0.2-1.0.0.el6.iso Mounting /dev/loop0 at /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t Losetup add /dev/loop1 mapping to /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t/LiveOS/squashfs.img Mounting /dev/loop1 at /var/tmp/edit-liveos-nEP1ae/tmp-VOGtjF mount: block device /dev/loop1 is write-protected, mounting read-only Unmounting directory /var/tmp/edit-liveos-nEP1ae/tmp-VOGtjF Losetup remove /dev/loop1 Unmounting directory /var/tmp/edit-liveos-nEP1ae/tmp-IrE34t Losetup remove /dev/loop0 /usr/lib/python2.6/site-packages/imgcreate/errors.py:45: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return unicode(self.message) Error editing LiveOS : Failed to copy base live image to /var/tmp/edit-liveos-nEP1ae/ex/ext3fs.img for modification: [Errno 5] Input/output error If I try the same with ovirt-node-iso-3.0.1-1.0.2.el6.iso (downloaded from the same location) all works as expected. I've tried this on CentOS 6.2 and 6.4, same results on both. Can anyone tell me where I am going wrong? Alternatively is there a newer node ISO that already has the ovirt-node-plugin-vdsm plugin installed? Thanks, Simon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VNIC Profiles / QoS in 3.3.3
Hi Sven, On 11/03/14 17:29, Sven Kieske wrote: Hi, just got a quick question, because I can't test it myself atm: Is the definition of vnic profiles with QoS values possible via REST in 3.3.3 ? As far as I know it's impossible, as QoS entities haven't been added yet in the API, due to some design uncertainties (this is still true for 3.4). And even more important, can these defined profiles get attached to logical networks via REST in 3.3.3 ? Profiles can be attached to VMs via REST, but the QoS entities currently need to be created and associated with profiles via the GUI. The wiki page is not really clear about the status of the implementation: http://www.ovirt.org/Features/Vnic_Profiles Thanks in advance! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] [ANN] oVirt 3.4.0 Second Release Candidate is now available
The oVirt team is pleased to announce that the 3.4.0 Second Release Candidate is now available for testing. Release notes and information on the changes for this update are still being worked on and will be available soon on the wiki[1]. Please ensure to follow install instruction from release notes if you're going to test it. The existing repository ovirt-3.4.0-prerelease has been updated for delivering this release candidate and future refreshes until final release. An oVirt Node iso will also be available soon. We decided to postpone Final Release by one week in order to properly test the bugs fixed since last Release Candidate. Help us make this the best release ever, testing it yourself! [1] http://www.ovirt.org/OVirt_3.4.0_release_notes -- 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
Re: [Users] Win8 on oVirt
Am 11.03.2014 17:03, schrieb Itamar Heim: change it in config to rhel6.5.0. how and where? in the db or manually in the qemu-cmd? because I can't change this through webadmin. there is just Red Hat Enterprise Linux 6.x x64 and you can't select any specific subversion replacing x. its not technically a bug, since ovirt 3.3 GA'd before rhel 6.5 iirc. the SEP flag will only work on -m rhel6.5.0 to preserve backward compatibility (one host got upgraded to 6.5, another is still 6.4). -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] VNIC Profiles / QoS in 3.3.3
Am 11.03.2014 17:10, schrieb Lior Vernia: Profiles can be attached to VMs via REST, but the QoS entities currently need to be created and associated with profiles via the GUI. Thanks for the fast reply. Thats enough for me atm, as I don't need that much QoS entities. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Win8 on oVirt
On 03/11/2014 06:21 PM, Sven Kieske wrote: Am 11.03.2014 17:03, schrieb Itamar Heim: change it in config to rhel6.5.0. how and where? in the db or manually in the qemu-cmd? because I can't change this through webadmin. there is just Red Hat Enterprise Linux 6.x x64 and you can't select any specific subversion replacing x. its not technically a bug, since ovirt 3.3 GA'd before rhel 6.5 iirc. the SEP flag will only work on -m rhel6.5.0 to preserve backward compatibility (one host got upgraded to 6.5, another is still 6.4). engineconfig, change the EmaultedMachine for a 3.3 cluster version ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Adding a Second disk to a virtual windows 2008 R2 server
Hello, What is the way to go to add a second disk to my virtual windows server 2008R2 ? I'm using ovirt 3.3.3 on a centos 6.5 server. The windows server is in use so I 'm not at liberty to reïnstall a new one without loosing a lot of time. Kind regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
On Tue 11 Mar 2014 04:14:26 PM CET, Eyal Edri wrote: - Original Message - From: Itamar Heim ih...@redhat.com To: Eyal Edri ee...@redhat.com, Tomasz Kołek tomasz-ko...@o2.pl, users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 5:10:54 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions On 03/11/2014 05:06 PM, Ewoud Kohl van Wijngaarden wrote: On Tue, Mar 11, 2014 at 10:37:22AM -0400, Eyal Edri wrote: Tomasz Kołek wrote: I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? 2. Potential reviewers should agree that they want to review? 3. We can have more than one accepted reviewer? I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? I really like this idea. Gerrit currently requires new users to know who to add as reviewers, IMHO impeding new contributors. One relative simple solution would be to look at who recently touched the files that are being modified and add them as reviewers. This can be done by looking at the git log for a file. Some pseudo python code solution: reviewers = set() for modified_file in commit.files: reviewers += set(commit.author for commit in git.log(modified_file)) return reviewers This gives a system that those who touche a file, become the maintainer for that file. A more complex solution could improve on that and limit the reviewers added per patch. One can think of limiting to only contributions in the last X months, weigh contributions so common committers are prefered. It could also combine several methods. For example to limit to the 5 authors who touched the most files: reviewers = collections.Counter() # New in python 2.7 for modified_file in commit.files: reviewers += collections.Counter(commit.author for commit in git.log(modified_file)) return [author for author, count in reviewers.most_common(5)] Since Counter also accepts a dictionary, one could also weigh the touched lines per file. Downside there is big whitespace/formatting patches can skew the line count. In short, I think an entire thesis could be written on the optimal way to determine reviewers but a simple algorithm could do to show the method works. Does this help? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users I think if we do this, we want to make sure we cover per file who is required to +2 it before we consider it acked. won't it require maintaining static lists of people per file/path/project? ___ Infra mailing list in...@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra We already discussed that, in the project, and one of the solutions proposed was to add metadata on each file/directory about the maintainers for that file/directory. For what I've seen in other projects (mainly openstack), they do that per repository, and not per file, that simplifies the maintainers selection greatly (having it on gerrit config so you don't have to check the code to decide who has merge rights). But that might be another subject. About dynamically adding reviewers, it should be fairly easy to do using a small gerrit hook to run on patch-submitted. But gerrit will fail if the user is not already created in gerrit so not really allowing non-registered users to get in. But I'm not sure if it's 'polite' to add someone as a reviewer if he did not previously agreed to it, specially when emails will be sent to him. And as Ewoud says, selecting which commiters are considered possible reviewers gives enough talk for a thesis by itself. -- David Caro Red Hat S.L. Continuous Integration Engineer - EMEA ENG Virtualization RD Email: dc...@redhat.com Web: www.redhat.com RHT Global #: 82-62605 signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Best practice for securing oVirt's NFS mounts
Hi, All the documentation I've seen states that the oVirt NFS storage should use the all_squash,anonuid=36,anongid=36 options. Obviously this isn't secure, so I'm curious how others have locked down their NFS storage? Is the best option to just limit access to these NFS exports to the IP addresses of the hypervisor nodes (and maybe the engine)? Is there a better way to go about this? -- Cheers, Prakash ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
Hi Tomasz, I'm very please to hear that you are interested in the GSOC project, see my answers inline. It's great to see that you know the material pretty well, I'm interested to hear some more ideas and feedbacks. I will start a thread soon (Maybe also schedule a call) once getting more feedbacks from other contributors, so we can brain storm some more and get practical with it. If you have any more questions, please don't hesitate to ask me. thanks, Maor On 03/11/2014 04:53 PM, Meital Bourvine wrote: Eyal, I think that he's asking about [1]. As far as I understand, the idea is to automatically get the reviewers names, with commands like `git blame`, or from gerrit - get previous reviewers to the same file/module... Adding Maor, since he might have some additional info. [1] http://www.ovirt.org/Summer_of_Code#Idea:_Gerrit_add_potential_reviewers - Original Message - From: Eyal Edri ee...@redhat.com To: Tomasz Kołek tomasz-ko...@o2.pl Cc: users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 4:37:22 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions - Original Message - From: Tomasz Kołek tomasz-ko...@o2.pl To: users@ovirt.org Sent: Monday, March 10, 2014 9:56:28 PM Subject: [Users] [GSOC][Gerrit] add potential reviewers - questions Hi I'd like to contribute (within GSOC) in idea: Gerrit add potential reviewers. Maybe at first I’ll introduce myself. I'm Tomek, student from Poland. I study Computer Science at University of Wroclaw. The next year will be last year of my first degree study, I hope. As a python programmer I'm working since one year at Nokia Solutions and Networks (don't worry I intend to change my job to another or to participation at GSOC). Every day at work and school I'm using version control system (Git and SVN). At work we were using to Gerrit as a review system but currently we're using JIRA to report review statuses. I love spend my free time in mountains (mainly polish - Tatras mountains). That's all about me. I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? Adding a plugin to gerrit is an interesting idea although it will require the administrator to add it in the server, and I want that the operation will be more available to any submitter in any project. I think that we can address it in a later phase though. 2. Potential reviewers should agree that they want to review? no, since gerrit does not question the reviewer if he wants to be added or not I think we should keep this behaviour as well. although as I see it, the operation of adding the reviewers, will not be completely automatic for the submitter, we should let the submitter of the patch to choose which reviewers he wants to add, very similar to the screen being used when doing a rebase in git. (see attached file add_reviewers.png) 3. We can have more than one accepted reviewer? Yes, that is correct. Hi Tomasz, I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? cause if you mean by adding reviewers to a patch, that's easily done by just clicking the '+' sign on each patch. those reviewers should have logged in at least once to gerrit.ovirt.org in order to be in the list of potential viewers, and they don't require any special permissions to review with +1/-1 any patch sent. you can add as many reviewers as you want to a patch. does that answer your question? Eyal. I know above questions might seem chaotic but I think answers allow me to better understanding Yours needments Best regards Tomasz Kolek ___ 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 attachment: add_reviewers.png___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Instructions to add a remote controlled power strip not in the native list?
I modified, tested, and added via git (also submitted note in rhbz#519731) support for at least basic power on/off of the raritan devices I have (model DPXS12-20) Now that I have a working fence agent for myself, is it possible to tell me how I can make the config change on my engine to add the support for the fence agent I created? Thanks. On Mon, Feb 17, 2014 at 5:43 AM, Itamar Heim ih...@redhat.com wrote: On 02/17/2014 03:31 PM, Marek Grac wrote: On 02/17/2014 09:45 AM, Eli Mesika wrote: - Original Message - From: Yedidyah Bar David d...@redhat.com To: Itamar Heim ih...@redhat.com Cc: users@ovirt.org Sent: Sunday, February 16, 2014 2:58:35 PM Subject: Re: [Users] Instructions to add a remote controlled power strip not in the native list? - Original Message - From: Itamar Heim ih...@redhat.com To: David Smith dsm...@mypchelp.com, users@ovirt.org Sent: Saturday, February 15, 2014 2:57:00 AM Subject: Re: [Users] Instructions to add a remote controlled power strip not in the native list? On 02/14/2014 07:37 PM, David Smith wrote: We use Raritan / Dominion PX remote power blocks, is there a way to easily add support for these? CCing Marek on that in case that he had something to add from the fence-agents view since it may be already supported implicitly (like drac7 that is using actually ipmilan) No, Raritan are not supported yet (rhbz#519731) so david, if you can try to push the raritan support to fence-agents, the ovirt side is usually just a config change. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [ANN] oVirt 3.4.0 Second Release Candidate is now available
- Original Message - From: Sandro Bonazzola sbona...@redhat.com To: annou...@ovirt.org, Users@ovirt.org, engine-devel engine-de...@ovirt.org, arch a...@ovirt.org, VDSM Project Development vdsm-de...@lists.fedorahosted.org Sent: Tuesday, March 11, 2014 6:17:03 PM Subject: [Users] [ANN] oVirt 3.4.0 Second Release Candidate is now available The oVirt team is pleased to announce that the 3.4.0 Second Release Candidate is now available for testing. ... [1] http://www.ovirt.org/OVirt_3.4.0_release_notes I noticed that not all vdsm fixes are listed in the release notes 74b4a27 xmlrpc: [Fix] Use correct base class for parsing request https://bugzilla.redhat.com/1074063 d456d75 xmlrpc: Support HTTP 1.1 https://bugzilla.redhat.com/1070476 Nir ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] ovirt engine source
Is there source of ovirt engine that stable ? I was able to compile master of git source but after some changes it seems to be broken. I ge this error when it comes to compile webadmin [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.1:compile (gwtcompile) on project webadmin: Command [[ [ERROR] /bin/sh -c /usr/lib/jvm/java-7-openjdk/jre/bin/java -javaagent:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar -Xms1024M -Xmx4096M -XX:PermSize=512M -XX:MaxPermSize=1024M \ [ERROR] -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory \ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [GSOC][Gerrit] add potential reviewers - questions
On 03/11/2014 11:17 PM, Tomasz Kołek wrote: Hi, Thank You for the answers, these give me basic look at the problem. Is not a problem (from my point of view) to implement a few flags for the command, like: add reviewers --auto --max=5 --using_blame etc, depends only on our requirements. I'm almost sure that good way is automatic way as Eyal mentioned, I know it might make a little mess but will be easier for new contributor. Why almost? Because what with a situation where all of potential reviewers are not interested to review patch? Maybe we should try to find the most reviewing people, maybe it will be good way? That is another method of adding reviewers, see my suggestion in the thread which I addressed the way we should implement the algorithms for adding reviewers, so that it will be more generic. BR, Tomek -Original Message- From: Maor Lipchuk [mailto:mlipc...@redhat.com] Sent: Tuesday, March 11, 2014 8:40 PM To: Meital Bourvine; Eyal Edri Cc: Tomasz Kołek; users@ovirt.org; infra Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions Hi Tomasz, I'm very please to hear that you are interested in the GSOC project, see my answers inline. It's great to see that you know the material pretty well, I'm interested to hear some more ideas and feedbacks. I will start a thread soon (Maybe also schedule a call) once getting more feedbacks from other contributors, so we can brain storm some more and get practical with it. If you have any more questions, please don't hesitate to ask me. thanks, Maor On 03/11/2014 04:53 PM, Meital Bourvine wrote: Eyal, I think that he's asking about [1]. As far as I understand, the idea is to automatically get the reviewers names, with commands like `git blame`, or from gerrit - get previous reviewers to the same file/module... Adding Maor, since he might have some additional info. [1] http://www.ovirt.org/Summer_of_Code#Idea:_Gerrit_add_potential_reviewe rs - Original Message - From: Eyal Edri ee...@redhat.com To: Tomasz Kołek tomasz-ko...@o2.pl Cc: users@ovirt.org, infra in...@ovirt.org Sent: Tuesday, March 11, 2014 4:37:22 PM Subject: Re: [Users] [GSOC][Gerrit] add potential reviewers - questions - Original Message - From: Tomasz Kołek tomasz-ko...@o2.pl To: users@ovirt.org Sent: Monday, March 10, 2014 9:56:28 PM Subject: [Users] [GSOC][Gerrit] add potential reviewers - questions Hi I'd like to contribute (within GSOC) in idea: Gerrit add potential reviewers. Maybe at first I’ll introduce myself. I'm Tomek, student from Poland. I study Computer Science at University of Wroclaw. The next year will be last year of my first degree study, I hope. As a python programmer I'm working since one year at Nokia Solutions and Networks (don't worry I intend to change my job to another or to participation at GSOC). Every day at work and school I'm using version control system (Git and SVN). At work we were using to Gerrit as a review system but currently we're using JIRA to report review statuses. I love spend my free time in mountains (mainly polish - Tatras mountains). That's all about me. I've got a few questions about project description. Please tell me if my problem's understanding is good or not. We need to add a few flags/methods to git review module. This flags should allow to add potential reviewers in gerrit. So: Let's assume that we've got special flags for this operations. What's next? 1. In gerrit system we need to add special place for potential reviewers? Adding a plugin to gerrit is an interesting idea although it will require the administrator to add it in the server, and I want that the operation will be more available to any submitter in any project. I think that we can address it in a later phase though. 2. Potential reviewers should agree that they want to review? no, since gerrit does not question the reviewer if he wants to be added or not I think we should keep this behaviour as well. although as I see it, the operation of adding the reviewers, will not be completely automatic for the submitter, we should let the submitter of the patch to choose which reviewers he wants to add, very similar to the screen being used when doing a rebase in git. (see attached file add_reviewers.png) 3. We can have more than one accepted reviewer? Yes, that is correct. Hi Tomasz, I'm not sure i understood exactly what you mean by 'potential reviewers'. do want gerrit (hook?) to automatically add reviewers to a patch according to the code sent? so in fact you'll have a place somewhere for mapping code specific developers? cause if you mean by adding reviewers to a patch, that's easily done by just clicking the '+' sign on each patch. those reviewers should have logged in at least once to gerrit.ovirt.org in order to be in the list of potential viewers, and they don't require
Re: [Users] using cloud-init?
Did you set the OS type of the VM / template to some linux based OS type? The cloud-init data is passed only to linux VMs. A new patch changed that, and passed it to all non-windows VMs, so if you left the defaults, and the OS type is Other OS, then it doesn't work without the patch. See bug https://bugzilla.redhat.com/show_bug.cgi?id=1072764 Oved - Original Message - From: Jason Brooks jbro...@redhat.com To: users@ovirt.org Sent: Tuesday, March 11, 2014 6:21:37 PM Subject: [Users] using cloud-init? Hi all -- I've been trying, without success, to use cloud-init w/ oVirt 3.4 on Fedora 19 hosts. I've had similar failure in the past, but here are the steps I'm taking currently: 1. Import as template F19 image from ovirt-image-repository glance repo 2. Create new vm based on that template 3. Choose ovirtmgmt as the nic1 for the VM 4. Show advanced options, click initial run, expand authentication, enter a root password, paste my public key into the allowed ssh keys field 5. Hit OK, and then run the VM 6. In the VM's console, I see it complain about No instance datasource found 7. Unsurprisingly, I can't log in w/ pw or ssh. (By the way, are there any default creds for these images? I thought they might be based on the fedora cloud images, but their default uname fedora pw nothing doesn't work) I've tried some other derivations of this, launching from the Run Once menu, filling in various different fields, etc. Any clues? I don't see many people complaining about this, so I'm assuming it's working for other people. I don't know, maybe it's something with Fedora? Thanks, Jason ___ 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