[Users] SPM never stops contending after a compatibility upgrade of cluster from 3.1 3.2 (Solved)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just post this if there is someone else stucked with the same problem... https://bugzilla.redhat.com/show_bug.cgi?id=1067849 After a successful upgrade of oVirt 3.1 3.2.2, every vm up and running and every function verified, I decide to even upgrade my cluster compability level to 3.2 from earlier 3.1. When trying to upgrade the Data Center to 3.2 I was adviced to even upgrade the Cluster level to 3.2. When trying to do that I was adviced to put my nodes in maint. mode so I did. Everything went OK according to event log in webadmin and now I put the nodes back UP again. None of the nodes got the SPM role and just keep switching over and over again trying to contend. As a result the Data Center was in a no go state and down. It the log file I found "ImageIsNotLegalChain: Image is not a legal chain: ('5d9cc5dc-7664-4624-8e72-479a7cec35f5',)" telling us that the image should be a node in a chain of volumes. When looking in the meta file we could not find a reference to a parent UUID. PUUID=----, this is a special value for no-such-volume VOLTYPE=INTERNAL So, My vm was up and running earlier in oVirt 3.2.2 and it just stopped working after I upgraded the compatibility level of the cluster. If I moved the image out from the file structure of the data domain everything should be happy but then I would miss my vm. So what I did was to change the VOLTYPE from "INTERNAL" to "LEAF". I puted one of the nodes in maint. mode. The last node I stopped vdsmd on. Then I stopped ovirt-engine on the management server. Changed the VOLTYPE from INTERNAL to LEAF. Started the ovirt-engine. Started the vdsmd on the first node After a short while it got the SPM role and the status of everything was up. I started the vm with the affected image and checked it booted OK. I actived node 2 Everything wen up and the log files are all happy. The affected image is an old image that was first created with ovirt 3.0 and then it has men exported and imported a couple of times. Reproducible: Always Expected Results: If there is bad images (wrong meta data) it should take care of that and mark these. What we want is the Data center up and running. Regards //Ricky -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlMHCIAACgkQOap81biMC2PlkACfTsylAS/dxgEy7G7aK3RHvV2m 7HAAnRwS8g30ob0sSkTJnk9jdlHIA6te =ulMJ -END PGP SIGNATURE- 0xB88C0B63.asc Description: application/pgp-keys ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Creating Logical Network issue - API
h - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Thursday, February 20, 2014 11:48:56 AM Subject: [Users] Creating Logical Network issue - API Hi , I'm trying to create Logical Network and assign it to cluster want to bond this to one of the Network Interface on Host. so that i can isolate my VM from other networks. The issue is even if i set Cluster while creating Logical Network, it is not setting the cluster. In Web Admin it is in unset state. Also, let me know how do i bind this Logical network on Host Interface. Java code: Network nw1=new Network(); VLAN vlan = new VLAN(); vlan.setId(2000); nw1.setVlan(vlan); IP ip = new IP(); ip.setAddress(192.168.1.151); ip.setGateway(192.168.1.1); ip.setNetmask(255.255.255.0); Note that the stated IP above will not be used to set the address on the host itself. In order to do so you should use either the 'setup networks' api on host's nics level. (Alternately, you can send POST request to /hosts/{host:id}/nics which utilize the former api (it is a bit simpler than using the setup networks api). Should look like: Host host = api.getHosts().get(host_name); Action action = new Action(); action.setCheckConnectivity(true); //required for rollback in case of configuration failure action.setHostNics(...); // should contain the target configuration host.getHostNics().setupnetworks(action); where the action should contain the entire desired network configuration. You can find various python-sdk example for setup networks on my blog [1] I'll post few examples using the java sdk earlier next week. [1] https://motiasayag.wordpress.com/ nw1.setIp(ip); nw1.setName(apiNetwork); nw1.setDataCenter(api.getDataCenters().get(testDC)); nw1.setCluster(api.getClusters().get(testCluster)); org.ovirt.engine.sdk.decorators.Network nw2 = api.getNetworks().add(nw1); -- Thanks Regards Tejesh ___ 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] Creating Logical Network issue - API
Thanks, can you post sample on Assigning Multiple Logical Network to Physical Network in Java? I have create the Logical Network and attached to Cluster. Now i want to Assign or Map this to Physical Network? Also, How to Bond Two Physical NICs and Map or Assign Multiple Logical Networks. On Fri, Feb 21, 2014 at 1:37 PM, Moti Asayag masa...@redhat.com wrote: h - Original Message - From: Tejesh M tejes...@gmail.com To: users@oVirt.org users@ovirt.org Sent: Thursday, February 20, 2014 11:48:56 AM Subject: [Users] Creating Logical Network issue - API Hi , I'm trying to create Logical Network and assign it to cluster want to bond this to one of the Network Interface on Host. so that i can isolate my VM from other networks. The issue is even if i set Cluster while creating Logical Network, it is not setting the cluster. In Web Admin it is in unset state. Also, let me know how do i bind this Logical network on Host Interface. Java code: Network nw1=new Network(); VLAN vlan = new VLAN(); vlan.setId(2000); nw1.setVlan(vlan); IP ip = new IP(); ip.setAddress(192.168.1.151); ip.setGateway(192.168.1.1); ip.setNetmask(255.255.255.0); Note that the stated IP above will not be used to set the address on the host itself. In order to do so you should use either the 'setup networks' api on host's nics level. (Alternately, you can send POST request to /hosts/{host:id}/nics which utilize the former api (it is a bit simpler than using the setup networks api). Should look like: Host host = api.getHosts().get(host_name); Action action = new Action(); action.setCheckConnectivity(true); //required for rollback in case of configuration failure action.setHostNics(...); // should contain the target configuration host.getHostNics().setupnetworks(action); where the action should contain the entire desired network configuration. You can find various python-sdk example for setup networks on my blog [1] I'll post few examples using the java sdk earlier next week. [1] https://motiasayag.wordpress.com/ nw1.setIp(ip); nw1.setName(apiNetwork); nw1.setDataCenter(api.getDataCenters().get(testDC)); nw1.setCluster(api.getClusters().get(testCluster)); org.ovirt.engine.sdk.decorators.Network nw2 = api.getNetworks().add(nw1); -- Thanks Regards Tejesh ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Thanks Regards Tejesh ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] vmware image conversion
On 02/21/2014 12:59 AM, Blaster wrote: One of the issues I have with virt-v2v is that it requires an import storage domain on your ovirt server to import the image to, then you need to copy that image again into your vm datastore. Lots of data moving around slow gigabit networks. this could probably be improved with the import data domain planned now (as it will allow to detect orphan disks/vm's and register them). http://lists.ovirt.org/pipermail/arch/2014-February/002004.html http://lists.ovirt.org/pipermail/arch/2014-February/001943.html oVirt still needs a way to easily add a vm disk image w/o having to go through the silly import method. On 2/19/2014 7:54 PM, Bob Doolittle wrote: Yes. So: VMware non-ESX - ESX, using VMware's tool, then ESX - RHEV using virt-v2v no? If this is viable, it's easy to understand why nobody wants to put effort into supporting a bevy of VMware VM formats, when there's a tool already available to convert to one and they can focus on it. -Bob On 02/19/2014 05:52 PM, Maurice James wrote: I want to change it from VMware to RHEV/oVirt -Original Message- From: Bob Doolittle [mailto:b...@doolittle.us.com] Sent: Wednesday, February 19, 2014 8:51 PM To: Maurice James; 'Ted Miller'; users@ovirt.org Subject: Re: [Users] vmware image conversion My recollection is that VMware provides a converter to change your VMware non-ESX VMs into ESX format. Do you have to buy ESX to gain access to it? -Bob On 02/19/2014 05:46 PM, Maurice James wrote: I even open a feature request that they closed pretty quickly with WONTFIX https://bugzilla.redhat.com/show_bug.cgi?id=1062910 . Why is this such a touchy issue? -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Ted Miller Sent: Wednesday, February 19, 2014 7:28 PM To: users@ovirt.org Subject: Re: [Users] vmware image conversion On 2/9/2014 4:27 PM, Itamar Heim wrote: On 02/09/2014 10:28 PM, Maurice James wrote: The instructions assume that I have an ESX instance to connect to. How do I do this with an already exported vmware image with no esx available to connect to? I have a turnkey drupal vm in ovf format -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Sunday, February 09, 2014 2:24 PM To: Maurice James; 'users' Subject: Re: [Users] vmware image conversion On 02/09/2014 07:02 PM, Maurice James wrote: According to this https://rhn.redhat.com/errata/RHBA-2013-1749.html It does not do it please review: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterpris e _Virtua lization/3.3/html-single/V2V_Guide/index.html -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Sunday, February 09, 2014 4:52 AM To: Maurice James; 'users' Subject: Re: [Users] vmware image conversion On 02/08/2014 04:18 PM, Maurice James wrote: I submitted an RFE to have vmware image conversion added to 3.5. I think that is a key feature that is lacking. Im just trying to get some eyes on it here. https://bugzilla.redhat.com/show_bug.cgi?id=1062910 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users can you comment on the gaps from virt-v2v which does this today (in the bug as well). thanks, Itamar iirc, you need an ESX currently. Some of us are stuck without a way to try out ovirt because of this. ESX is not the only platform that people run VMWare on. I am trying to bring over VMs from an old VMWare Server setup on Centos 5. Works fine, but there is no migration path. Other people may have VMs on VMWare Workstation or other, older products. We just get told to go fly a kite? If the only choice is to bring up a full-blown, working ESX instance, I may bring up ESXi and stay there. Ted Miller Elkhart, IN ___ 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] persisting selinux nightmare
Sorry replied to old post, my mailclient wasn't synced properly :-(g On Fri, 2014-02-21 at 10:13 +0100, Jorick Astrego wrote: Hi David, Currently I'm testing with http://fedorapeople.org/~fabiand/node/3.0.4/ovirt-node-iso-3.0.4-1.0.201401291204.vdsm34.el6.iso from http://wiki.ovirt.org/OVirt_3.4_TestDay. I don't know why fabian has it on his own page. If you put enforcing=0 in the kernel options when installing it sets selinux to permissive... at least in my environment Kind regards, Jorick Astrego On Fri, 2014-02-14 at 12:22 -0800, David Smith wrote: heh, all the directories here, alpha, beta, nightly, stable, all have the same image file versions? http://resources.ovirt.org/releases/node-base/ On Fri, Feb 14, 2014 at 12:19 PM, David Smith dsm...@mypchelp.com wrote: I'm using the ovirt iso image and can't seem to get selinux to persist off no matter what i do. With selinux enforcing, SSHD isnt working, can't install or use the hosts. With it disabled, all seems to work, but after reboot, boom its enforcing again. I even edited /etc/selinux/config and changed it to permissive, then used persist config to persist the file. I reboot, I see the file is still changed, but selinux is back into enforcing mode (getenforce) what gives? I'm using this iso image, is this the latest one? It seems really hard to navigate the various old links in docs and such to find the most up to date isos. ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso ___ 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] problems installing ovirt-engine beta3
Hi, I noticed the known issue with shmmax has been removed from the test day page. But I'm having the same error as before only know the workaround doesn't work anymore: ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] problems installing ovirt-engine beta3
Il 21/02/2014 10:50, Jorick Astrego ha scritto: Hi, I noticed the known issue with shmmax has been removed from the test day page. But I'm having the same error as before only know the workaround doesn't work anymore: Can you attach # sysctl --system and # rpm -qv ovirt-engine-setup ? and the full error you get? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Re: Memory usage
Hi I think I found the issue. I suspect it will happen when you get over 35% of used memory. Can you please create a bug for this issue? Or is there one already? -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - I'm waiting for the next alarm. In the meanwhile this is the output now: vdsClient -s saturnus2 getVmStats 3b9aa245-75ff-42e8-b921-1c9ce61826bf 3b9aa245-75ff-42e8-b921-1c9ce61826bf Status = Running guestFQDN = galatea.***. memUsage = 32 acpiEnable = true netIfaces = [{'inet6': [], 'hw': '52:54:00:49:11:9d', 'inet': ['192.168.99.19'], 'name': 'eth1'}, {'inet6': [], 'hw': '00:1a:4a:67:c4:b3', 'inet': ['10.110.X.X'], 'name': 'eth2'}, {'inet6': [], 'hw': '52:54:00:f1:22:48', 'inet': ['192.168.122.1'], 'name': 'virbr0'}] pid = 38144 session = Unknown vmType = kvm timeOffset = 0 balloonInfo = {'balloon_max': '12582912', 'balloon_min': '8388608', 'balloon_target': '12582912', 'balloon_cur': '12582912'} pauseCode = NOERR disksUsage = [{'path': '/', 'total': '37655093248', 'fs': 'ext4', 'used': '21765771264'}, {'path': '/boot', 'total': '507744256', 'fs': 'ext4', 'used': '49356800'}] network = {'vnet0': {'macAddr': '00:1a:4a:67:c4:b3', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet0'}, 'vnet1': {'macAddr': '52:54:00:49:11:9d', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet1'}, 'vnet2': {'macAddr': '52:54:00:66:d3:aa', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet2'}} memoryStats = {'swap_out': '0', 'majflt': '0', 'mem_free': '8520656', 'swap_in': '0', 'pageflt': '396', 'mem_total': '12197520', 'mem_unused': '1580896'} guestName = galatea.brusselsairport.aero elapsedTime = 2251149 displayType = qxl cpuSys = 12.76 appsList = ['ovirt-guest-agent-1.0.8-1.el6', 'kernel-2.6.32-71.el6'] guestOs = 2.6.32-71.el6.x86_64 username = vandenpt hash = -3779086589437073991 displayIp = 0 displayPort = 5900 guestIPs = 192.168.99.19 10.110.50.84 192.168.122.1 kvmEnable = true disks = {'vda': {'readLatency': '0', 'apparentsize': '45097156608', 'writeLatency': '1313701', 'imageID': '528a377f-4f98-4023-92de-ce52c394d4a9', 'flushLatency': '187524', 'readRate': '0.00', 'truesize': '45097156608', 'writeRate': '8502.90'}, 'hdc': {'readLatency': '0', 'apparentsize': '0', 'writeLatency': '0', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '0', 'writeRate': '0.00'}} monitorResponse = 0 statsAge = 0.47 cpuUser = 68.45 lastLogin = 1392707812.29 clientIp = displaySecurePort = 5901 2014-02-17 14:00 GMT+01:00 Martin Sivak msi...@redhat.com: Hi Koen, can you try the mentioned vdsClient command (vdsClient getVmStats affected vm) as soon as you get the warning about negative memory? The one David sent to us does not contain the negative number and we weren't able to find the issue based on it. Thanks -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - Any updates about the issue? Because just now, the alarm went off again :-) Kind regards, Koen 2014-02-13 16:55 GMT+01:00 Martin Sivak msi...@redhat.com: Thank you. I wonder why mem_total is smaller than balloon_cur (and max). I will have to dig a bit more to see what happened. -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - -- Forwarded message -- From: david van zeebroeck da...@analytics.brusselsairport.be Date: Feb 13, 2014 4:31 PM Subject: Re: [Users] Memory usage To: Martin Sivak msi...@redhat.com Cc: Doron Fediuck dfedi...@redhat.com , Koen Vanoppen vanoppen.k...@gmail.com , users@ovirt.org in attachement is the output of vdsclient On Thu, Feb 13, 2014 at 2:26 PM, Martin Sivak msi...@redhat.com wrote: Hi everybody, would it be possible to add the output of vdsClient getVmStats affected vm id from the affected host here and to the bug? Also can we please get the bug number that tracks this issue? I could not find it in BZ. -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - - Original Message - From: Koen Vanoppen vanoppen.k...@gmail.com To: users@ovirt.org Sent: Thursday, February 13, 2014 12:18:24 PM Subject: Re:
Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0
Il 21/02/2014 06:49, Jimmy Dorff ha scritto: Hi Folks, I've found a bug in ovirt-release-11.0.0. In ovirt-release.spec #Handling EL exception only (for now) if grep -qFi 'CentOS' /etc/system-release; then DIST=EL elif grep -qFi 'Red Hat' /etc/system-release; then DIST=EL fi This causes all kinds unhappiness on Scientific Linux :) Perhaps another elif line can be added. Sure, can you send /etc/system-release content? Cheers, Jimmy Dorff ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0
Il 21/02/2014 07:34, Meital Bourvine ha scritto: Hi Jimmy, As far as I know, scientific linux isn't supported by ovirt. IIUC it's based on CentOS / RHEL so it may work. Let us know if you've issues :-) But you can always try submitting a patch ;) - Original Message - From: Jimmy Dorff jdo...@phy.duke.edu To: users@ovirt.org Sent: Friday, February 21, 2014 7:49:59 AM Subject: [Users] Problems with Scientific Linux and ovirt-release-11.0.0 Hi Folks, I've found a bug in ovirt-release-11.0.0. In ovirt-release.spec #Handling EL exception only (for now) if grep -qFi 'CentOS' /etc/system-release; then DIST=EL elif grep -qFi 'Red Hat' /etc/system-release; then DIST=EL fi This causes all kinds unhappiness on Scientific Linux :) Perhaps another elif line can be added. Cheers, Jimmy Dorff ___ 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. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] engine-image-uploader
Il 10/02/2014 00:12, Itamar Heim ha scritto: On 02/10/2014 01:08 AM, Maurice James wrote: I got the ovf from the turnkey linux site. It's a Drupal appliance I assume its not an ovirt ovf... just export a VM from ovirt to have the right ovf format, then edit it probably. another option, push the disk image to glance, then import just the disk via glance (no need for the ovf) Looking at http://www.turnkeylinux.org/docs/builds For using it on oVirt you should use Generic ISO (Any virtual machine (e.g., KVM) that can install from CD or CD image.) uploading it with engine-iso-uploader. OVF provided are for other virtualization systems and need to be converted first. You can try also to contact turnkeylinux asking to provide also ovirt compatible OVF images. -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Sunday, February 09, 2014 4:56 PM To: Maurice James; 'users' Subject: Re: [Users] engine-image-uploader On 02/09/2014 11:05 PM, Maurice James wrote: What does the following error mean? There should only be one Name element in the OVF XML's Content section. I ran the following command engine-image-uploader -e SaturnExport -N Drupal2 upload turnkey-drupal7-13.0-wheezy-amd64.tar.gz ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users where did the OVF come from? please note OVF isn't really compatible between different vendors. i.e., you need an ovirt ovf file/format. exporting a similar vm/disk configuration will give you a hint at the expected ovf format (well, format is the same, more like fields) for ovirt ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Sample code for setting NIC - CloudInit
On 02/20/2014 08:42 PM, Greg Padgett wrote: On 02/20/2014 02:26 PM, Juan Hernandez wrote: On 02/20/2014 04:28 PM, Juan Hernandez wrote: On 02/20/2014 10:40 AM, Tejesh M wrote: I wrote this code to assign IP address to VM interface eth0, but not luck. Also, have attached debug log. I'm attaching a complete examaple of how to do this. However, I think that setting the DNS information doesn't currently work. Apparently cloud-init is expecting a network configuration containing the DNS settings inside the network interface, something like this: iface eth0 inet static dns-nameservers 1.1.2.2 1.2.3.4 dns-search google.com address 192.168.1.102 netmask 255.255.0.0 gateway 192.168.2.1 auto eth0 But we actually pass them outside of the network interface, like this: dns-nameservers 1.1.2.2 1.2.3.4 dns-search google.com iface eth0 inet static address 192.168.1.102 netmask 255.255.0.0 gateway 192.168.2.1 auto eth0 I need to check it. I have modified the code that generates the cloud-init files to put the DNS configuration inside the iface configuration, and then it works: http://gerrit.ovirt.org/24850 So this is probably a bug, either in our side or in cloud-init itself. Greg, Shahar, you know cloud-init better, what do you think? I opened the following bug to track it: https://bugzilla.redhat.com/1067906 It looks like our bug. Cloud-init wants to see a standard debian/ubuntu style /etc/network/interfaces, and the documentation for that format supports your change. Thanks for posting the patch! _*Java Code:*_ org.ovirt.engine.sdk.entities.User userData = new User(); userData.setUserName(root); userData.setPassword(password); Users usersData = new Users(); usersData.getUsers().add(userData); CloudInit cloudData = new CloudInit(); cloudData.setUsers(usersData); Host hostData = new Host(); hostData.setAddress(vmName); cloudData.setHost(hostData); org.ovirt.engine.sdk.entities.CloudInit.Network networkConfiguration=new org.ovirt.engine.sdk.entities.CloudInit.Network(); DNS dns = new DNS(); dns.setServers(createServersList(1.1.2.2, 1.2.3.4)); dns.setSearchDomains(createServersList(google.com http://google.com)); networkConfiguration.setDns(dns); networkConfiguration.setNics(new Nics()); Nics nics = networkConfiguration.getNics(); nics.getNics().add(createNic(eth0, STATIC, createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true)); networkConfiguration.setNics(nics); cloudData.setNetwork(networkConfiguration); Initialization initData = new Initialization(); initData.setCloudInit(cloudData); VM vmDataForStart = new VM(); vmDataForStart.setInitialization(initData); Action actionData = new Action(); actionData.setVm(vmDataForStart); // Send the request to start the VM to the server: api.getVMs().get(vmName).start(actionData); On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com mailto:masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com To: Moti Asayag masa...@redhat.com mailto:masa...@redhat.com Cc: users@oVirt.org users@ovirt.org mailto:users@ovirt.org Sent: Thursday, February 20, 2014 8:52:52 AM Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit I'm not getting below class: import org.ovirt.engine.sdk.entities.*NetworkConfiguration*; Which version of ovirt-engine-sdk-java are you using ? I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml: dependency groupIdorg.ovirt.engine.sdk/groupId artifactIdovirt-engine-sdk-java/artifactId version3.4.0.1-1/version typejar/type scopecompile/scope /dependency On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com mailto:masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org Sent: Wednesday, February 19, 2014 3:24:40 PM Subject: [Users] Fwd: Sample code for setting NIC - CloudInit Hi, Can someone share me sample java code for assigning IP address for VM on eth0 through Java SDK via CloudInit ? Hi Tejesh, I've attached a sample code that sends the required request (as the output is demonstrated in
Re: [Users] Yum Installation Problems (ovirt 3.3, CentOS 6.5)
Il 18/02/2014 22:32, Jon Forrest ha scritto: I have a brand new CentOS 6.5 x86_64 installation with all the updates as of today installed. I want to create a test All-In-One node, so I follow the documentation and run yum install epel-release-6-8.noarch.rpm yum localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm These work fine. I then run yum install ovirt-engine-setup-plugin-allinone -y Can you please post the output of yum repolist enabled ? and I get Error: Package: libvirt-lock-sanlock-0.10.2-29.el6_5.3.x86_64 (updates) Requires: libsanlock_client.so.1()(64bit) Error: Package: libvirt-lock-sanlock-0.10.2-29.el6_5.3.x86_64 (updates) Requires: sanlock = 2.4 Error: Package: vdsm-4.13.3-3.el6.x86_64 (ovirt-3.3.3) Requires: sanlock = 2.3-4 Error: Package: vdsm-4.13.3-3.el6.x86_64 (ovirt-3.3.3) Requires: sanlock-python Is this expected? What's weird is that IIRC I did the same thing last week without problems. Should I just grab newer versions of libvirt? Thanks, Jon Forrest ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Sample code for setting NIC - CloudInit
On 02/21/2014 08:13 AM, Tejesh M wrote: When i try to execute with the ovirt sdk 3.3.3 and do operations on RHEV-M 3.3, it fails with below error This happens because the oVirt SDK is compiled with Java 7, and you are probably using Java 6. I suggest to switch to Java 7, unless there is a very good reason to stick to Java 6. Java 6 end of life was declared by Oracle on Feb 1023. However, the OpenJDK community still support Java 6, so if you really need it please tell us, and we can try to make a version of the oVirt SDK compatible with Java 6. Exception in thread main java.lang.UnsupportedClassVersionError: org/ovirt/engine/sdk/Api at rhvm.callAPI(rhvm.java:238) at rhvm.main(rhvm.java:278) On Fri, Feb 21, 2014 at 12:19 AM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 02/20/2014 05:56 PM, Tejesh M wrote: Ok. Will it take long time for that sdk to release? No, it should be released soon. Meanwhile you may want to use the latest ovirt 3.3 Java SDK, it is almost identical to the RHEV-M Jaa SDK. If you are using maven these are the coordinates of the artifact: dependency groupIdorg.ovirt.engine.sdk/groupId artifactIdovirt-engine-sdk-java/artifactId version3.3.3.0/version /dependency If you aren't using maven you can still download the .jar file from here: http://search.maven.org/#artifactdetails|org.ovirt.engine.sdk|ovirt-engine-sdk-java|3.3.3.0|jar On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com mailto:masa...@redhat.com mailto:masa...@redhat.com mailto:masa...@redhat.com wrote: - Original Message - From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com mailto:tejes...@gmail.com mailto:tejes...@gmail.com To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org Sent: Wednesday, February 19, 2014 3:24:40 PM Subject: [Users] Fwd: Sample code for setting NIC - CloudInit Hi, Can someone share me sample java code for assigning IP address for VM on eth0 through Java SDK via CloudInit ? Hi Tejesh, I've attached a sample code that sends the required request (as the output is demonstrated in debug mode). Note that the code is jdk-7 compliant. I haven't configured cloud-init and haven't tested it end-to-end. Please try to test it on your environment and provide a feedback for it. Thanks, Moti Something Like this but in Java: network_configuration nics nic nameeth0/name boot_protocolSTATIC/boot_protocol network ip address=192.168.2.11 netmask=255.255.0.0 gateway=192.168.2.1 / /network on_boottrue/on_boot /nic nic nameeth1/name boot_protocolDHCP/boot_protocol /nic nic nameeth2/name boot_protocolNONE/boot_protocol on_boottrue/on_boot /nic /nics dns servers host address1.1.2.2/address /host host address1.2.3.4/address /host /servers search_domains host addressqa.lab/address /host host address google.com http://google.com http://google.com /address /host /search_domains /dns /network_configuration -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] moving an unplugged/offline disk on a running vm creates snapshots
Imho, when the disk is offline, it should be movable directly without the need for snapshots. this is on ovirt 3.3 btw: any chance of thin-preallocated procedure? -- Ernest Beinrohr, AXON PRO Ing http://www.beinrohr.sk/ing.php, RHCE http://www.beinrohr.sk/rhce.php, RHCVA http://www.beinrohr.sk/rhce.php, LPIC http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, +421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603 icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org “For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.” Richard Feynman ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] moving an unplugged/offline disk on a running vm creates snapshots
sounds like this issue only libvirt is not blocking the command. https://bugzilla.redhat.com/show_bug.cgi?id=957494 when you say unplugged disk, is it still attached to a vm? we are not creating snapshots to an unattached disk are we? Thanks, Dafna On 02/21/2014 10:56 AM, Ernest Beinrohr wrote: Imho, when the disk is offline, it should be movable directly without the need for snapshots. this is on ovirt 3.3 btw: any chance of thin-preallocated procedure? -- Ernest Beinrohr, AXON PRO Ing http://www.beinrohr.sk/ing.php, RHCE http://www.beinrohr.sk/rhce.php, RHCVA http://www.beinrohr.sk/rhce.php, LPIC http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, +421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 callto://+421-903--482-603 icq:28153343, gtalk: oer...@axonpro.sk, jabber:oer...@jabber.org “For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.” Richard Feynman ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dafna Ron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Re: Memory usage
I think someone created one. Don't know for sure... What do you think it is then? On Feb 21, 2014 11:24 AM, Martin Sivak msi...@redhat.com wrote: Hi I think I found the issue. I suspect it will happen when you get over 35% of used memory. Can you please create a bug for this issue? Or is there one already? -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - I'm waiting for the next alarm. In the meanwhile this is the output now: vdsClient -s saturnus2 getVmStats 3b9aa245-75ff-42e8-b921-1c9ce61826bf 3b9aa245-75ff-42e8-b921-1c9ce61826bf Status = Running guestFQDN = galatea.***. memUsage = 32 acpiEnable = true netIfaces = [{'inet6': [], 'hw': '52:54:00:49:11:9d', 'inet': ['192.168.99.19'], 'name': 'eth1'}, {'inet6': [], 'hw': '00:1a:4a:67:c4:b3', 'inet': ['10.110.X.X'], 'name': 'eth2'}, {'inet6': [], 'hw': '52:54:00:f1:22:48', 'inet': ['192.168.122.1'], 'name': 'virbr0'}] pid = 38144 session = Unknown vmType = kvm timeOffset = 0 balloonInfo = {'balloon_max': '12582912', 'balloon_min': '8388608', 'balloon_target': '12582912', 'balloon_cur': '12582912'} pauseCode = NOERR disksUsage = [{'path': '/', 'total': '37655093248', 'fs': 'ext4', 'used': '21765771264'}, {'path': '/boot', 'total': '507744256', 'fs': 'ext4', 'used': '49356800'}] network = {'vnet0': {'macAddr': '00:1a:4a:67:c4:b3', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet0'}, 'vnet1': {'macAddr': '52:54:00:49:11:9d', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet1'}, 'vnet2': {'macAddr': '52:54:00:66:d3:aa', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet2'}} memoryStats = {'swap_out': '0', 'majflt': '0', 'mem_free': '8520656', 'swap_in': '0', 'pageflt': '396', 'mem_total': '12197520', 'mem_unused': '1580896'} guestName = galatea.brusselsairport.aero elapsedTime = 2251149 displayType = qxl cpuSys = 12.76 appsList = ['ovirt-guest-agent-1.0.8-1.el6', 'kernel-2.6.32-71.el6'] guestOs = 2.6.32-71.el6.x86_64 username = vandenpt hash = -3779086589437073991 displayIp = 0 displayPort = 5900 guestIPs = 192.168.99.19 10.110.50.84 192.168.122.1 kvmEnable = true disks = {'vda': {'readLatency': '0', 'apparentsize': '45097156608', 'writeLatency': '1313701', 'imageID': '528a377f-4f98-4023-92de-ce52c394d4a9', 'flushLatency': '187524', 'readRate': '0.00', 'truesize': '45097156608', 'writeRate': '8502.90'}, 'hdc': {'readLatency': '0', 'apparentsize': '0', 'writeLatency': '0', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '0', 'writeRate': '0.00'}} monitorResponse = 0 statsAge = 0.47 cpuUser = 68.45 lastLogin = 1392707812.29 clientIp = displaySecurePort = 5901 2014-02-17 14:00 GMT+01:00 Martin Sivak msi...@redhat.com: Hi Koen, can you try the mentioned vdsClient command (vdsClient getVmStats affected vm) as soon as you get the warning about negative memory? The one David sent to us does not contain the negative number and we weren't able to find the issue based on it. Thanks -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - Any updates about the issue? Because just now, the alarm went off again :-) Kind regards, Koen 2014-02-13 16:55 GMT+01:00 Martin Sivak msi...@redhat.com: Thank you. I wonder why mem_total is smaller than balloon_cur (and max). I will have to dig a bit more to see what happened. -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - -- Forwarded message -- From: david van zeebroeck da...@analytics.brusselsairport.be Date: Feb 13, 2014 4:31 PM Subject: Re: [Users] Memory usage To: Martin Sivak msi...@redhat.com Cc: Doron Fediuck dfedi...@redhat.com , Koen Vanoppen vanoppen.k...@gmail.com , users@ovirt.org in attachement is the output of vdsclient On Thu, Feb 13, 2014 at 2:26 PM, Martin Sivak msi...@redhat.com wrote: Hi everybody, would it be possible to add the output of vdsClient getVmStats affected vm id from the affected host here and to the bug? Also can we please get the bug number that tracks this issue? I could not find it in BZ. -- Martin Sivák
Re: [Users] Asking for advice on hosted engine
Il 17/02/2014 10:20, Giorgio Bersano ha scritto: Hello everybody, I discovered oVirt a couple of months ago when I was looking for the best way to manage our small infrastructure. I have read any document I considered useful but I would like to receive advice from the many experts that are on this list. I think it worths an introduction (I hope doesn't get you bored). I work in a small local government entity and I try to manage effectively our limited resources. We have many years of experience with Linux and especially with CentOS which we have deployed on PC (i.e. for using as firewall in remote locations) and moreover on servers. We have been using Xen virtualization from the early days of CentOS 5 and we have built our positive experience on KVM too. I have to say that libvirt in a small environment like ours is really a nice tool. So nothing to regret. Trying to go a little further, as already said, I stumbled upon oVirt and I've found the project intriguing. At the moment we are thinking of deploying it on a small environment of four very similar servers each having: - a couple of Xeon E5504 - 6 x 1Gb ethernet interfaces - 40 GB of RAM two of them have 72 GB of disk (mirrored) two of them have almost 500GB of useful RAID array Moreover we have an HP iSCSI storage that should easily satisfy our current storage requirement. So, given our small server pool, the necessity of another host just to run the supervisor seems a requirement too high. Enter hosted engine and the picture takes brighter colors. Well, I'm usually not the adventurous guy but after experimenting a little with oVirt 3.4 I developed better confidence. We would want to install the engine over the two hosts with smaller disks. For what I know, installing hosted engine mandates NFS storage. But we want this to be highly available too, and possibly to have it on the very same hosts. Here is my solution: make a gluster replicated volume across the two hosts and take advantage of that NFS server. Then I put 127.0.0.1 as the address of the NFS server in the hosted-engine-setup so the host is always able to reach the storage server (itself). GlusterFS configuration is done outside of oVirt that, regarding engine's storage, doesn't even know that it's a gluster thing. Relax, we've finally reached the point where I'm asking advice :-) Storage and virtualization experts, do you see in this configuration any pitfall that I've overlooked given my inexperience in oVirt, Gluster, NFS or clustered filesystems? Do you think that not only it's feasable (I know it is, I made it and it's working now) but it's also reliable and dependable and I'm not risking my neck on this setup? I'm not sure about how reliable may be the sanlock protection of the hosted engine image over a gluster volume. Maybe Federico can tell you more about this. I've obviously made some test but I'm not at the confidence level of saying that all is right in the way it is designed. OK, I think I've already written too much, better I stop and humbly wait for your opinion but I'm obviously here if any clarification by my part is needed. Thank you very much for reading until this point. Best Regards, Giorgio. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Network question
On Fri, Feb 14, 2014 at 02:54:28PM +0100, René Koch wrote: Hi, On 02/14/2014 09:10 AM, Hans-Joachim wrote: Hello, so far I'm using the nodes host IP@/Interface as well as for the ovirtmgmt network and host communication. For performance/security reasons I'd like to move it into private network, dedicated to oVIRT as requested... I'l give you more information about my 'problem' ;-) actual situation: === Host ---\ eth0 10.1.2.3 no VLAN ovirtmgmt / VMs eth1 bridge no IP@ no VLAN requested situation == Host --- eth0 10.1.2.3 no VLAN VMs eth1 bridge no IP@ no VLAN ovirtmgmt eth2 192.168.1.2 no VLAN So, my question is, do I have to declare th IP@ of the ovirtmgmt in the definion of Cluster/Hosts or can I stay with the host IP@? This change isn't that easy, as you will loose connectivity from oVirt to your hosts and have to change patch cables. I would do the following: - configure 192.168.1.x ip on oVirt engine and keep 10.1.2.x address - put first host into maintenance mode - configure network on host on CLI to match your requested situation and patch host accordingly - edit host and change IP address to 192.168.1.x (or if you're using DNS-Name/hosts-entry for host communication change this) Please note that if you are using ssl=True to communicate with the hosts, and added the host with their IP address, their certificates would become useless, and you'd have to re-add the hosts to oVirt. The alternetive of changing the address on the DNS saves you this stage. If that's your situation, you could even reconfigure ovirtmgmt from ovirt-engine GUI - just remember to turn off the connectivity check box. After fixing your DNS entry, the reconfigured host should become reachable again. - check/refresh network configuration in network tab of this host - activate host - repeat steps for all other hosts As your private ovirtmgmt network is properly not routed, I suggest to add a display network which is the 10.1.2.0/xx network or use Spice proxy in order to be able to connect to vm consoles. Maybe there is an easier way to change your network setup - I would do it as described above... Regards, René ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Fwd: Re: Memory usage
Hi, I do not see any reference to a bug in this thread, I will try to find it in the BZ. What do you think it is then? Integer overflow.. 35% of 12G is about 4G. For some reason we have had a weird cast to int in the code. It has been there for years. See http://gerrit.ovirt.org/#/c/24859/ if you want to see the source change. I guess nobody had tried getting the stats with so much RAM. I just tested it on host simulator with a VM having about 13G of RAM and randomized load and the issue did not reproduce. Best Regards Martin Sivak -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - I think someone created one. Don't know for sure... What do you think it is then? On Feb 21, 2014 11:24 AM, Martin Sivak msi...@redhat.com wrote: Hi I think I found the issue. I suspect it will happen when you get over 35% of used memory. Can you please create a bug for this issue? Or is there one already? -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - I'm waiting for the next alarm. In the meanwhile this is the output now: vdsClient -s saturnus2 getVmStats 3b9aa245-75ff-42e8-b921-1c9ce61826bf 3b9aa245-75ff-42e8-b921-1c9ce61826bf Status = Running guestFQDN = galatea.***. memUsage = 32 acpiEnable = true netIfaces = [{'inet6': [], 'hw': '52:54:00:49:11:9d', 'inet': ['192.168.99.19'], 'name': 'eth1'}, {'inet6': [], 'hw': '00:1a:4a:67:c4:b3', 'inet': ['10.110.X.X'], 'name': 'eth2'}, {'inet6': [], 'hw': '52:54:00:f1:22:48', 'inet': ['192.168.122.1'], 'name': 'virbr0'}] pid = 38144 session = Unknown vmType = kvm timeOffset = 0 balloonInfo = {'balloon_max': '12582912', 'balloon_min': '8388608', 'balloon_target': '12582912', 'balloon_cur': '12582912'} pauseCode = NOERR disksUsage = [{'path': '/', 'total': '37655093248', 'fs': 'ext4', 'used': '21765771264'}, {'path': '/boot', 'total': '507744256', 'fs': 'ext4', 'used': '49356800'}] network = {'vnet0': {'macAddr': '00:1a:4a:67:c4:b3', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet0'}, 'vnet1': {'macAddr': '52:54:00:49:11:9d', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet1'}, 'vnet2': {'macAddr': '52:54:00:66:d3:aa', 'rxDropped': '0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'speed': '1000', 'name': 'vnet2'}} memoryStats = {'swap_out': '0', 'majflt': '0', 'mem_free': '8520656', 'swap_in': '0', 'pageflt': '396', 'mem_total': '12197520', 'mem_unused': '1580896'} guestName = galatea.brusselsairport.aero elapsedTime = 2251149 displayType = qxl cpuSys = 12.76 appsList = ['ovirt-guest-agent-1.0.8-1.el6', 'kernel-2.6.32-71.el6'] guestOs = 2.6.32-71.el6.x86_64 username = vandenpt hash = -3779086589437073991 displayIp = 0 displayPort = 5900 guestIPs = 192.168.99.19 10.110.50.84 192.168.122.1 kvmEnable = true disks = {'vda': {'readLatency': '0', 'apparentsize': '45097156608', 'writeLatency': '1313701', 'imageID': '528a377f-4f98-4023-92de-ce52c394d4a9', 'flushLatency': '187524', 'readRate': '0.00', 'truesize': '45097156608', 'writeRate': '8502.90'}, 'hdc': {'readLatency': '0', 'apparentsize': '0', 'writeLatency': '0', 'flushLatency': '0', 'readRate': '0.00', 'truesize': '0', 'writeRate': '0.00'}} monitorResponse = 0 statsAge = 0.47 cpuUser = 68.45 lastLogin = 1392707812.29 clientIp = displaySecurePort = 5901 2014-02-17 14:00 GMT+01:00 Martin Sivak msi...@redhat.com: Hi Koen, can you try the mentioned vdsClient command (vdsClient getVmStats affected vm) as soon as you get the warning about negative memory? The one David sent to us does not contain the negative number and we weren't able to find the issue based on it. Thanks -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - Any updates about the issue? Because just now, the alarm went off again :-) Kind regards, Koen 2014-02-13 16:55 GMT+01:00 Martin Sivak msi...@redhat.com: Thank you. I wonder why mem_total is smaller than balloon_cur (and max). I will have to dig a bit more to see what happened. -- Martin Sivák msi...@redhat.com Red Hat Czech RHEV-M SLA / Brno, CZ - Original Message - -- Forwarded message -- From: david van
[Users] Problem setting up a ovirt node / engine on a Minimal CentOS 6.5
Hello, Maybe I'm not asking my question at the right guy's but here I go. I installed a clean CentOS 6.5 on a new DELL server and wanted to use it to install oVirt 3.3.x.x I changed the ifcfg-eth0 file to get it connected to the internet and did a yum -y update. Then I added some repositories to get the oVirt packages : - yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm - yum -y install http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm Installed the ovirt engine first with yum -y install ovirt-engine and than run the setup by engine-setup. So far so good. I can log into the oVirt website and see that there is nothing there. Then I want to install yum -y install vdsm vdsm-cli and wanted to add the ifcfg-ovirtmgmt bridge and that's where thing go wrong. Obviously I did something wrong but I don't know what. Any help would be greatly appriciated. Kind regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt.repo for el contains fedora references .....
HI I am using Scientific Linux. oVirt is working now for one year without troubles. My /etc/redhat-release contains : Scientific Linux release 6.5 (Carbon) Thanks 2014-02-21 11:46 GMT+01:00 Sandro Bonazzola sbona...@redhat.com: Il 18/02/2014 23:03, James James ha scritto: Hi, I want to install this rpm http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm on my redhat-like server but the /etc/yum.repos.d/ovirt.repo contains : you're running an unsupported distribution, can you please attach the content of your /etc/system-release file? Can you also tell us if oVirt was working on your system before we unified ovirt-release rpm? [ovirt-stable] name=oVirt Latest Releases baseurl=http://ovirt.org/releases/stable/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.3.3] name=oVirt 3.3.3 Release baseurl= http://resources.ovirt.org/releases/3.3.3/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-updates-testing] name=oVirt 3.3.z Latest Pre Releases (Release Candidate) baseurl= http://ovirt.org/releases/updates-testing/rpm/Fedora/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 [ovirt-beta] name=oVirt 3.3.z Beta Test Releases baseurl=http://ovirt.org/releases/beta/rpm/Fedora/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 Is it normal ? Regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Problem setting up a ovirt node / engine on a Minimal CentOS 6.5
So you wanted to install engine and compute node (vdsm) on the same host? If the anser to the above is yes you may want to checkout the all-in-one installation option for ovirt-engine. HTH Am 21.02.2014 15:18, schrieb Andy Michielsen: Hello, Maybe I'm not asking my question at the right guy's but here I go. I installed a clean CentOS 6.5 on a new DELL server and wanted to use it to install oVirt 3.3.x.x I changed the ifcfg-eth0 file to get it connected to the internet and did a yum -y update. Then I added some repositories to get the oVirt packages : - yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm - yum -y install http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm Installed the ovirt engine first with yum -y install ovirt-engine and than run the setup by engine-setup. So far so good. I can log into the oVirt website and see that there is nothing there. Then I want to install yum -y install vdsm vdsm-cli and wanted to add the ifcfg-ovirtmgmt bridge and that's where thing go wrong. Obviously I did something wrong but I don't know what. Any help would be greatly appriciated. Kind regards. -- 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] Problems with Scientific Linux and ovirt-release-11.0.0
On 2/21/14, 2:31 AM, Sandro Bonazzola wrote: Il 21/02/2014 07:34, Meital Bourvine ha scritto: Hi Jimmy, As far as I know, scientific linux isn't supported by ovirt. IIUC it's based on CentOS / RHEL so it may work. Let us know if you've issues :-) But you can always try submitting a patch ;) SL works fine with ovirt. If you want to support it, here is a patch. *** a/ovirt-release.spec2014-02-21 10:10:00.0 -0500 --- b/ovirt-release.spec2014-02-21 10:10:55.0 -0500 *** *** 73,76 --- 73,78 elif grep -qFi 'Red Hat' /etc/system-release; then DIST=EL + elif grep -qFi 'Scientific Linux' /etc/system-release; then + DIST=EL fi If you don't support Scientific Linux, then I would recommend not defaulting the DIST to Fedora and instead searching for the specific supported releases and error out otherwise. Future-wise, Scientific Linux *may* become a CentOS variant in Red Hat's CentOS. Cheers, Jimmy smime.p7s Description: S/MIME Cryptographic Signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Problem setting up a ovirt node / engine on a Minimal CentOS 6.5
Hello Sven, Thanks for the quick response. That seems to be working. I now have access to the ovirt website and see that the ovirtmgmt bridge is properly defined. I will continue setting up now. Kind regards. 2014-02-21 15:39 GMT+01:00 Sven Kieske s.kie...@mittwald.de: So you wanted to install engine and compute node (vdsm) on the same host? If the anser to the above is yes you may want to checkout the all-in-one installation option for ovirt-engine. HTH Am 21.02.2014 15:18, schrieb Andy Michielsen: Hello, Maybe I'm not asking my question at the right guy's but here I go. I installed a clean CentOS 6.5 on a new DELL server and wanted to use it to install oVirt 3.3.x.x I changed the ifcfg-eth0 file to get it connected to the internet and did a yum -y update. Then I added some repositories to get the oVirt packages : - yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm - yum -y install http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm Installed the ovirt engine first with yum -y install ovirt-engine and than run the setup by engine-setup. So far so good. I can log into the oVirt website and see that there is nothing there. Then I want to install yum -y install vdsm vdsm-cli and wanted to add the ifcfg-ovirtmgmt bridge and that's where thing go wrong. Obviously I did something wrong but I don't know what. Any help would be greatly appriciated. Kind regards. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Use Host
Can someone explain what is the purpose of Use Host is when creating a new storage domain? If the NFS host is remote and not part of the cluster, why do I have to choose a single cluster host to attach it to. Does this mean that if that particular host gos offline (turned off) that other cluster member will no longer be able to access that nfs storage? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0
Il 21/02/2014 16:25, Jimmy Dorff ha scritto: On 2/21/14, 2:31 AM, Sandro Bonazzola wrote: Il 21/02/2014 07:34, Meital Bourvine ha scritto: Hi Jimmy, As far as I know, scientific linux isn't supported by ovirt. IIUC it's based on CentOS / RHEL so it may work. Let us know if you've issues :-) But you can always try submitting a patch ;) SL works fine with ovirt. If you want to support it, here is a patch. http://gerrit.ovirt.org/24869 If you've an account on gerrit you can review / verify it. *** a/ovirt-release.spec2014-02-21 10:10:00.0 -0500 --- b/ovirt-release.spec2014-02-21 10:10:55.0 -0500 *** *** 73,76 --- 73,78 elif grep -qFi 'Red Hat' /etc/system-release; then DIST=EL + elif grep -qFi 'Scientific Linux' /etc/system-release; then + DIST=EL fi If you don't support Scientific Linux, then I would recommend not defaulting the DIST to Fedora and instead searching for the specific supported releases and error out otherwise. Future-wise, Scientific Linux *may* become a CentOS variant in Red Hat's CentOS. Cheers, Jimmy -- 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
[Users] [BUG] wrong template shown for vm
Hi, can anyone reproduce this bug? https://bugzilla.redhat.com/show_bug.cgi?id=1068679 when you create a vm from an imported template (from export doomain) the template info for the vm shows that it is based on the blank template. I can reproduce this on ovirt 3.3.3-2.el6 it would be cool if someone could try to reproduce this on 3.4 and on fedora. Thanks -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] [BUG] wrong template shown for vm
in 3.3 this was the correct behavior if the vm is not linked to the template (so if it was a clone and not thin copy it would have Blank for template) in 3.4 there is a new feature which should show the vm name under the General tab even if it was created as a clone. so this should have actually been solved in 3.4 On 02/21/2014 04:28 PM, Sven Kieske wrote: Hi, can anyone reproduce this bug? https://bugzilla.redhat.com/show_bug.cgi?id=1068679 when you create a vm from an imported template (from export doomain) the template info for the vm shows that it is based on the blank template. I can reproduce this on ovirt 3.3.3-2.el6 it would be cool if someone could try to reproduce this on 3.4 and on fedora. Thanks -- Dafna Ron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Cancel Disk Migration
how do I cancel a live disk migration. I have a 13GB disk that I was trying to move between storage domains and looks like its hung up ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0
Hi Sandro, Dave Neary's comment is good. Here is a new patch: *** a/ovirt-release.spec2014-02-21 10:10:00.0 -0500 --- b/ovirt-release.spec2014-02-21 13:01:35.856636466 -0500 *** *** 69,75 #Fedora is good for both Fedora and Generic (and probably other based on Fedora) #Handling EL exception only (for now) ! if grep -qFi 'CentOS' /etc/system-release; then ! DIST=EL ! elif grep -qFi 'Red Hat' /etc/system-release; then DIST=EL fi --- 69,73 #Fedora is good for both Fedora and Generic (and probably other based on Fedora) #Handling EL exception only (for now) ! if rpm --eval %dist | grep -qFi 'el'; then DIST=EL fi Might be faster for you to submit cause I'm not familiar with gerrit, but I can login with my Fedora FAS account. Cheers, Jimmy On 2/21/14, 8:17 AM, Sandro Bonazzola wrote: Il 21/02/2014 16:25, Jimmy Dorff ha scritto: On 2/21/14, 2:31 AM, Sandro Bonazzola wrote: Il 21/02/2014 07:34, Meital Bourvine ha scritto: Hi Jimmy, As far as I know, scientific linux isn't supported by ovirt. IIUC it's based on CentOS / RHEL so it may work. Let us know if you've issues :-) But you can always try submitting a patch ;) SL works fine with ovirt. If you want to support it, here is a patch. http://gerrit.ovirt.org/24869 If you've an account on gerrit you can review / verify it. *** a/ovirt-release.spec2014-02-21 10:10:00.0 -0500 --- b/ovirt-release.spec2014-02-21 10:10:55.0 -0500 *** *** 73,76 --- 73,78 elif grep -qFi 'Red Hat' /etc/system-release; then DIST=EL + elif grep -qFi 'Scientific Linux' /etc/system-release; then + DIST=EL fi If you don't support Scientific Linux, then I would recommend not defaulting the DIST to Fedora and instead searching for the specific supported releases and error out otherwise. Future-wise, Scientific Linux *may* become a CentOS variant in Red Hat's CentOS. Cheers, Jimmy smime.p7s Description: S/MIME Cryptographic Signature ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Permissions
I have an LDAP user with Power User and Super User permissions at the Data Center level. Why dont I have permission to migrate disks between storage domains? oVirt Engine Version: 3.3.3-2.el6 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Use Host
The host you choose is used to make the initial mount, test the volume, and create some initial directory structure and files for the backend. Doesn’t much matter in my experience, but can be useful if you want to avoid doing the work on a busy host. Once it’s been added to the cluster, it gets mounted on all your host nodes and doesn’t matter anymore. -Darrell On Feb 21, 2014, at 10:16 AM, Maurice James midnightst...@msn.com wrote: Can someone explain what is the purpose of Use Host is when creating a new storage domain? If the NFS host is remote and not part of the cluster, why do I have to choose a single cluster host to attach it to. Does this mean that if that particular host gos offline (turned off) that other cluster member will no longer be able to access that nfs storage? ___ 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] Nodes lose storage at random
Meital, It's been 4 days since the last crash - but 5 minutes ago one of the nodes had the same issues. I've been running the script on the SPM as you mentioned. It turns out that at the time the node went down, the SPM didn't have more remoteFileHandler processes than before or after the crash - 29. I'm not sure what to make of this piece of information. On Tue, Feb 18, 2014 at 2:56 PM, Meital Bourvine mbour...@redhat.comwrote: Hi Johan, Can you please run something like this on the spm node? while true; do echo `date; ps ax | grep -i remotefilehandler | wc -l` /tmp/handler_num.txt; sleep 1; done When it'll happen again, please stop the script, and write here the maximum number and the time that it happened. Also, please check if process_pool_max_slots_per_domain is defined in /etc/vdsm/vdsm.conf, and if so, what's the value? (if it's not defined there, the default is 10) Thanks! -- *From: *Johan Kooijman m...@johankooijman.com *To: *Meital Bourvine mbour...@redhat.com *Cc: *users users@ovirt.org *Sent: *Tuesday, February 18, 2014 2:55:11 PM *Subject: *Re: [Users] Nodes lose storage at random To follow up on this: The setup has only ~80 VM's active right now. The 2 bugreports are not in scope for this setup, the issues occur at random, even when there's no activity (create/delete VM's) and there are only 4 directories in /rhev/data-center/mnt/. On Tue, Feb 18, 2014 at 1:51 PM, Johan Kooijman m...@johankooijman.comwrote: Meital, I'm running the latest stable oVirt, 3.3.3 on Centos 6.5. For my nodes I use the node iso CentOS 6 oVirt Node - 3.0.1 - 1.0.2.el6. I have no ways of reproducing just yet. I can confirm that it's happening on all nodes in the cluster. And every time a node goes offline, this error pops up. Could the fact that lockd statd were not running on the NFS host cause this error? Is there a workaround available that we know of? On Tue, Feb 18, 2014 at 12:57 PM, Meital Bourvine mbour...@redhat.comwrote: Hi Johan, Please take a look at this error (from vdsm.log): Thread-636938::DEBUG::2014-02-18 10:48:06,374::task::579::TaskManager.Task::(_updateState) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::moving from state init - state preparing Thread-636938::INFO::2014-02-18 10:48:06,375::logUtils::44::dispatcher::(wrapper) Run and protect: getVolumeSize(sdUUID='e9f70496-f181-4c9b-9ecb-d7f780772b04', spUUID='59980e09-b329-4254-b66e-790abd69e194', imgUUID='d50ecfbb-dc98-40cf-9b19-4bd402952aeb', volUUID='68fefe24-0346-4d0d-b377-ddd7be7be29c', options=None) Thread-636938::ERROR::2014-02-18 10:48:06,376::task::850::TaskManager.Task::(_setError) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::Unexpected error Thread-636938::DEBUG::2014-02-18 10:48:06,415::task::869::TaskManager.Task::(_run) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::Task._run: f4ce9a6e-0292-4071-9a24-a8d8fba7222b ('e9f70496-f181-4c9b-9ecb-d7f780772b04', '59980e09-b329-4254-b66e-790abd69e194', 'd50ecfbb-dc98-40cf-9b19-4bd402952aeb', '68fefe24-0346-4d0d-b377-ddd7be7be29c') {} failed - stopping task Thread-636938::DEBUG::2014-02-18 10:48:06,416::task::1194::TaskManager.Task::(stop) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::stopping in state preparing (force False) Thread-636938::DEBUG::2014-02-18 10:48:06,416::task::974::TaskManager.Task::(_decref) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::ref 1 aborting True Thread-636938::INFO::2014-02-18 10:48:06,416::task::1151::TaskManager.Task::(prepare) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::aborting: Task is aborted: u'No free file handlers in pool' - code 100 Thread-636938::DEBUG::2014-02-18 10:48:06,417::task::1156::TaskManager.Task::(prepare) Task=`f4ce9a6e-0292-4071-9a24-a8d8fba7222b`::Prepare: aborted: No free file handlers in pool And then you can see after a few seconds: MainThread::INFO::2014-02-18 10:48:45,258::vdsm::101::vds::(run) (PID: 1450) I am the actual vdsm 4.12.1-2.el6 hv5.ovirt.gs.cloud.lan (2.6.32-358.18.1.el6.x86_64) Meaning that vdsm was restarted. Which oVirt version are you using? I see that there are a few old bugs that describes the same behaviour, but with different reproduction steps, for example [1], [2]. Can you think of any reproduction steps that might be causing this issue? [1] https://bugzilla.redhat.com/show_bug.cgi?id=948210 [2] https://bugzilla.redhat.com/show_bug.cgi?id=853011 -- *From: *Johan Kooijman m...@johankooijman.com *To: *users users@ovirt.org *Sent: *Tuesday, February 18, 2014 1:32:56 PM *Subject: *[Users] Nodes lose storage at random Hi All, We're seeing some weird issues in our ovirt setup. We have 4 nodes connected and an NFS (v3) filestore (FreeBSD/ZFS). Once in a while, it seems at random, a node loses their connection to storage, recovers it a minute later. The other nodes usually don't lose their storage at