Re: [Users] Using virsh on the node
On Mon, 27 Feb 2012, Dan Yasny wrote: So the engine is a VM in that same cluster, along with the VMs it manages? Yes, the only thing I have not been able to figure out is how to let the ovirt-engine know that ovirt-engine is running. :) I thought that it would see via libvirt, but it does not. I also tried setting it in the db, but it keeps getting cleared. Any idea on how to let ovirt-engine know that a host has been started manually? What do you use for storage? NFS: mount 10.13.0.4:/images/ /rhev/data-center/mnt/10.13.0.4:_images mount 10.13.0.4:/iso/ /rhev/data-center/mnt/10.13.0.4:_iso Dan Yasny Red Hat Israel +972 9769 2280 Nathan StrattonCTO, BlinkMind, Inc. nathan at robotics.net nathan at blinkmind.com http://www.robotics.nethttp://www.blinkmind.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] How to migrate the Ovirt management server/frontend to another machine ? (what files are needed, etc)
Hi. As we are using Fedora16 as the OS on the frontend I would like to know what files/DB's, etc are needed to migrate the management server/frontend to another machine? I ask as the support life of Fedora is not too long, so for example when FC17 is released I would like to migrate the machine to that - by migrate I mean backup and re-install. Is there any info anywhere showing what files I would need to migrate/backup to a new frontend server? - I assume its going to be a DB and several files - I would just like to know for sure. Ovirt looks really nice btw - thank you to all who made this possible. As a 2nd question - is there an ETA from when RHEL packages are going to be ready? Many regards ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Documentation
- Original Message - From: Xyko ( José Francisco Ribeiro Neto ) xyk...@gmail.com To: users@ovirt.org Sent: Saturday, February 25, 2012 11:11:50 AM Subject: [Users] Documentation Hi, I`m new in ovirt world. I found the instalation guide and now I would like to know where do I find users guide, administration guide and so on. Thank`s in advance for your help. These guides do not exist specifically for oVirt at this time. In the mean time I would suggest the best resource is the RHEV documentation at docs.redhat.com. Steve Regards, -- Xyko ( José Francisco Ribeiro Neto ) ___ 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] Help on oVirt basic question
Hi Team, I am very new to the Ovirt. I am trying to install the ovirt-engine into one of my vm with the below spec. 1. 2GB Mem 2. 2 CPU 3. 1 NIC 4. 20GB storage 5. Centos 5.5 32bit I am following the http://wiki.gentoo.org/wiki/OVirt#Installing_oVirt_Engine_Core installation documentation. I am tryingto meet all the software dependencies throught the source tarball. I installed the maven, postgresql and jboss-as through tar ball. But, when i am trying to compile the webadmin and user portal using the mvn -e -DskipTests=true clean install -Pgwt-admin,gwt-user command it fails at the time of web-admin level. As per my under standings the ovir-engine is a java based jboss applicaiton it would not be an issue with the os version. Please help me to understand. Regards, Arumon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Help on oVirt basic question
- Original Message - From: Andrew Cathrow acath...@redhat.com To: aru mon arumo...@gmail.com Cc: users@ovirt.org Sent: Monday, February 27, 2012 4:09:31 PM Subject: Re: [Users] Help on oVirt basic question - Original Message - From: aru mon arumo...@gmail.com To: users@ovirt.org Sent: Monday, February 27, 2012 10:08:37 AM Subject: [Users] Help on oVirt basic question Hi Team, I am very new to the Ovirt. I am trying to install the ovirt-engine into one of my vm with the below spec. 1. 2GB Mem 2. 2 CPU 3. 1 NIC 4. 20GB storage 5. Centos 5.5 32bit Should be 64bit - RHEL|CentOS 6 | Fedora 16+ The hosts need to be 64-bit but engine packages are noarch and I believe they should run on 32 bit OS as well if you run it on a 32-bit jvm. I am following the http://wiki.gentoo.org/wiki/OVirt#Installing_oVirt_Engine_Core installation documentation. I am tryingto meet all the software dependencies throught the source tarball. I installed the maven, postgresql and jboss-as through tar ball. But, when i am trying to compile the webadmin and user portal using the mvn -e -DskipTests=true clean install -Pgwt-admin,gwt-user command it fails at the time of web-admin level. As per my under standings the ovir-engine is a java based jboss applicaiton it would not be an issue with the os version. Please help me to understand. Regards, Arumon ___ 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] Reports and DWH
Hi, when ovirt-engine is installed the report and dwh features and portals are also installed? If not, how do we install it? Regards, -- Xyko ( José Francisco Ribeiro Neto ) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reports and DWH
On 02/27/2012 06:12 PM, Xyko ( José Francisco Ribeiro Neto ) wrote: Hi, when ovirt-engine is installed the report and dwh features and portals are also installed? If not, how do we install it? no. history and reports are not part of the first ovirt version, but you can install them from developer repos. cc'ing yaniv dary for more details. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Using virsh on the node
- Original Message - From: Nathan Stratton nat...@robotics.net To: Dan Yasny dya...@redhat.com Cc: users@ovirt.org, Andrew Cathrow acath...@redhat.com Sent: Monday, 27 February, 2012 4:13:54 PM Subject: Re: [Users] Using virsh on the node On Mon, 27 Feb 2012, Dan Yasny wrote: So the engine is a VM in that same cluster, along with the VMs it manages? Yes, the only thing I have not been able to figure out is how to let the ovirt-engine know that ovirt-engine is running. :) I thought that it would see via libvirt, but it does not. I also tried setting it in the db, but it keeps getting cleared. Any idea on how to let ovirt-engine know that a host has been started manually? Seriously, not a good idea. The Engine is supposed to be looking at the setup, and not be in the setup, where it may be affected by the problems that might occur to the setup. I'm pretty sure there's lots of though being devoted to removing this limitation, but when we say it's a bad idea, it really is, it's not like we simply want you to run an extra machine What do you use for storage? That's easier than block storage, but still, what happens if the host where the engine was running failed - who would update VM statuses and restart the HA VMs? NFS: mount 10.13.0.4:/images/ /rhev/data-center/mnt/10.13.0.4:_images mount 10.13.0.4:/iso/ /rhev/data-center/mnt/10.13.0.4:_iso Dan Yasny Red Hat Israel +972 9769 2280 Nathan StrattonCTO, BlinkMind, Inc. nathan at robotics.net nathan at blinkmind.com http://www.robotics.net http://www.blinkmind.com -- Regards, Dan Yasny Red Hat Israel +972 9769 2280 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Using virsh on the node
On Mon, 27 Feb 2012, Dan Yasny wrote: Seriously, not a good idea. The Engine is supposed to be looking at the setup, and not be in the setup, where it may be affected by the problems that might occur to the setup. I'm pretty sure there's lots of though being devoted to removing this limitation, but when we say it's a bad idea, it really is, it's not like we simply want you to run an extra machine Hmm, find it hard to believe that people are not going to want to run management on the cluster. That's easier than block storage, but still, what happens if the host where the engine was running failed - who would update VM statuses and restart the HA VMs? Don't I also run into similar problems if my dedicated host where the engine was running fails? Nathan StrattonCTO, BlinkMind, Inc. nathan at robotics.net nathan at blinkmind.com http://www.robotics.nethttp://www.blinkmind.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Using virsh on the node
On Mon, 27 Feb 2012, Itamar Heim wrote: Doron - this reminds me of the all-in-one discussion. what was the resolution on flagging the node as a node running an engine VM (even without engine knowing about its own VM) Exactly -Nathan ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] VM Full Screen
I have a dual monitor setup on my workstation, I've noticed that when a VM is run in full screen mode on one monitor, when I click on anything on the other screen or anywhere outside of the VM, it loses its full screen mode and goes back to windowed mode. Is this normal functionality? -Jason ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Help on oVirt basic question
On 02/27/2012 05:08 PM, aru mon wrote: Hi Team, I am very new to the Ovirt. I am trying to install the ovirt-engine into one of my vm with the below spec. 1. 2GB Mem 2. 2 CPU 3. 1 NIC 4. 20GB storage 5. Centos 5.5 32bit I am following the http://wiki.gentoo.org/wiki/OVirt#Installing_oVirt_Engine_Core installation documentation. I am tryingto meet all the software dependencies throught the source tarball. I installed the maven, postgresql and jboss-as through tar ball. But, when i am trying to compile the webadmin and user portal using the mvn -e -DskipTests=true clean install -Pgwt-admin,gwt-user command it fails at the time of web-admin level. As per my under standings the ovir-engine is a java based jboss applicaiton it would not be an issue with the os version. Please help me to understand. true, but it is maven based for example. maven version, java version and error part of build is needed to help ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] LDAP SimpleAuthentication issue.
On Fri, 2012-02-24 at 22:19 +0200, Yair Zaslavsky wrote: On 02/24/2012 09:19 PM, Sharad Mishra wrote: Hi, I am new to ovirt and LDAP. Looking at adding support for Tivoli Directory Server. Here is a small java/jndi program (not using Spring LDAP) that takes IBM intranet Id and searches the directory to return IBM serial number. Hi Sharard, welcome aboard. First of all, although this can be found in our mailing list, I would like to point you that currently Roy Golan (rgolan at redhat dot com), Oved ourfali (ovedo at redhat dot com) and myself are the people that work mostly on ldap/authentication issues at engine-core - so feel free to ask us questions. In addition, I would like to give you a WIKI to help that will give you some getting started info (This WIKI was written by Oved) - http://ovirt.org/wiki/DomainInfrastructure Yair, Thanks for your prompt reply. I did find a link to above wiki page in one of Oved's earlier post on this mailing list. I found the documentation very helpful. * Hashtable env = new Hashtable(); env.put(java.naming.factory.initial, com.sun.jndi.ldap.LdapCtxFactory); env.put(java.naming.factory.url.pkgs, com.ibm.jndi); env.put(java.naming.provider.url, ldap://ldap-server:389); String dn = null; try{ InitialDirContext dirContext = new InitialDirContext(env); SearchControls constraints = new SearchControls(); String[] attr = new String[] {uid}; constraints.setSearchScope(SearchControls.SUBTREE_SCOPE); constraints.setReturningAttributes(attr); NamingEnumeration ne = dirContext.search(ou=ldpap-server-name,o=ibm.com, (mail= + intranetID + ), constraints); ** But when I try to use org.ovirt.engine.core.utils.ipa.SimpleAuthenticationCheck.java, I get a javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials] I am issuing - ldapTemplate.search(, , contextMapper); Where contextMapper is RHDSUserContextMapper and screenshots of ldapTemplate are attached. As you willl probably see in Oved's WIKI, you don't need to provide RHDSUserContextMapper - the name may be misleading, but this class is for RedHat DS directory service - I think you need to have context mappers for IBM Tivoli DS. In addition you will have to add your own provider type, as can be seen for example in GetRootDSE java (we send a ROOT DSE query in order to understand what is our provider type, as currently engine-core supports more than one type of DS. Yes, I understand that there will be much more code changes to add support for a new LDAP server. But my this post was to find the reason for AuthenticationException. There may be issues with the way I have setup filter and baseDN; but that should not give AuthEx. At this time I am looking for ways to get rid of authentication exception. Also, when using simple authentication, why do I need to give password? I can run ldapsearch -LLL (mail=intranetID) -h ldap-server:389 -x without password to give me expected results. This is a good question - I admit I did not work thoroughly enough with SIMPLE authentication - maybe we can bypass this. I looked at the code of this class - it uses Spring-LDAP LdapContextSource class which extends AbstractContextSource which uses SimpleDirContextAuthenticationStrategy as the default authentication strategy - so I guess that playing with the code of this example, and ignoring the password may work for you. Thanks for the hint. While playing with AbstractContextSource class, I was able to find the property AnonymousReadOnly. Setting it to 'true' eliminated the AuthEx. Regards, Sharad Mishra IBM I would like to also point out that when I look at Spring-LDAP's SimpleDirContextAuthenticationStrategy I it does set env.put(Context.SECURITY_CREDENTIALS, password) (look at public void setupEnvironment method ) - so what I have in mind is that you might need to create your own AuthenticationStrategy - see for example org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy - an authentication strategy that Oved, Roy and myself worked on to support kerberos/GSS-API authentication with Spring-LDAP. You will have to call after you implement such strategy a call to context.setAuthenticationStategy with your implemented AuthenticationStategy (for example, I think it can be placed after the line of - LdapContextSource context = new LdapContextSource(); at SimpleAuthenticationCheck.java I think I gave you some pointers here, Feel free to ask more questions Yair Thanks Sharad Mishra IBM
Re: [Users] Newly created VM will not start. Bad permissions on its virtual disk.
On Mon, Feb 27, 2012 at 03:50:32PM -0500, Terry Phelps wrote: I have a newly installed ovirt engine, and node. I created a new VM, gave it a virtual disk, and a network, attached my one ISO that I have out there, and tried to start it. It failed. The admin portal error messages say: 2012-Feb-27, 15:40:10 Failed to run VM oel-test (User: admin@internal). 2012-Feb-27, 15:40:10 Failed to run VM oel-test on Host oravm2. 2012-Feb-27, 15:40:10 VM oel-test is down. Exit message unable to open disk path /rhev/data-center/f465251e- 5679-11e1-ba81-97917332892e/24b70dff-549e-46a6-a863-3a158aa6e9a3/images/c07482cb-818f-47b7-97d1-1409909408bb/e1e57887-e660-4191-87a0-5eac7a44f2d7: Permission denied. 2012-Feb-27, 15:40:08 VM oel-test was started by admin@internal (Host: oravm2). When I go to the node, and check, the permissions do indeed look bad. vdsm:kvm owns everything down through /rhev/data-center/f465251e-5679-11e1-ba81-97917332892e/24b70dff-549e-46a6-a863-3a158aa6e9a3, but below that, it looks bad. Here is a ls -l of that last directory: # ls -l total 8 drwxr-xr-x. 2 4294967294 4294967294 4096 Feb 23 16:22 dom_md drwxr-xr-x. 3 4294967294 4294967294 4096 Feb 27 16:22 images And then the owner and group of everything below 'images' is bad, too. Can some help me determine what happened? And how to fix it? I've never seen a filed owned by uid -2 before! I suppose you are using nfs. what are the mount options (look for the relevant line in the output of `mount`)? which is your server, and how was it configured? The script in http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=contrib/nfs-check.py may help diagnose few nfs-related problems. Once we understand what's wrong with you setup, we should probabaly update this script. Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Newly created VM will not start. Bad permissions on its virtual disk.
On Mon, Feb 27, 2012 at 5:08 PM, Dan Kenigsberg dan...@redhat.com wrote: On Mon, Feb 27, 2012 at 03:50:32PM -0500, Terry Phelps wrote: I have a newly installed ovirt engine, and node. I created a new VM, gave it a virtual disk, and a network, attached my one ISO that I have out there, and tried to start it. It failed. The admin portal error messages say: 2012-Feb-27, 15:40:10 Failed to run VM oel-test (User: admin@internal). 2012-Feb-27, 15:40:10 Failed to run VM oel-test on Host oravm2. 2012-Feb-27, 15:40:10 VM oel-test is down. Exit message unable to open disk path /rhev/data-center/f465251e- 5679-11e1-ba81-97917332892e/24b70dff-549e-46a6-a863-3a158aa6e9a3/images/c07482cb-818f-47b7-97d1-1409909408bb/e1e57887-e660-4191-87a0-5eac7a44f2d7: Permission denied. 2012-Feb-27, 15:40:08 VM oel-test was started by admin@internal (Host: oravm2). When I go to the node, and check, the permissions do indeed look bad. vdsm:kvm owns everything down through /rhev/data-center/f465251e-5679-11e1-ba81-97917332892e/24b70dff-549e-46a6-a863-3a158aa6e9a3, but below that, it looks bad. Here is a ls -l of that last directory: # ls -l total 8 drwxr-xr-x. 2 4294967294 4294967294 4096 Feb 23 16:22 dom_md drwxr-xr-x. 3 4294967294 4294967294 4096 Feb 27 16:22 images And then the owner and group of everything below 'images' is bad, too. Can some help me determine what happened? And how to fix it? I've never seen a filed owned by uid -2 before! I suppose you are using nfs. what are the mount options (look for the relevant line in the output of `mount`)? which is your server, and how was it configured? The script in http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=contrib/nfs-check.py may help diagnose few nfs-related problems. Once we understand what's wrong with you setup, we should probabaly update this script. Dan. First, of all, I didn't manually do any mounting or other manipulations on the node, or the ovirt-engine machine, I believe. I followed the documentation in the oVirt 3.0 Installation Guide. Second, I just noticed that the virtual disk was created in the export domain, and not the data domain. I don't think that's as it should be. I created it through the oVirt admin portal, though, and I didn't see any options during the VM creation about placement of the disk. Okay, how is it mounted? Here are the mount options of all three domains exported from the ovirt-engine machine: mount|grep domain oravm3.acbl.net:/datadomain/ on /rhev/data-center/mnt/oravm3.acbl.net:_datadomain type nfs4 (rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,soft,nosharecache,proto=tcp,port=0,timeo=600,retrans=6,sec=sys,clientaddr=172.16.2.52,minorversion=0,local_lock=none,addr=192.168.118.10) oravm3.acbl.net:/exportdomain/ on /rhev/data-center/mnt/oravm3.acbl.net:_exportdomain type nfs4 (rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,soft,nosharecache,proto=tcp,port=0,timeo=600,retrans=6,sec=sys,clientaddr=172.16.2.52,minorversion=0,local_lock=none,addr=192.168.118.10) oravm3.acbl.net:/isodomain/ on /rhev/data-center/mnt/oravm3.acbl.net:_isodomain type nfs4 (rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,soft,nosharecache,proto=tcp,port=0,timeo=600,retrans=6,sec=sys,clientaddr=172.16.2.52,minorversion=0,local_lock=none,addr=192.168.118.10) I do notice that they all say nfs4, and I've seen some postings about dont' use nfs4. Maybe that's relevant. I have run your nfs-check.py script before, last week, when we (the mailing list and I) were trying to deternine why an uploaded ISO file didn't appear in the admin portal, even though it clearly WAS there, and had good owner, group, and permissions. This script was failing to umount the NFS share after it did its tests. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Reports and DWH
- Original Message - From: Itamar Heim ih...@redhat.com To: Xyko ( José Francisco Ribeiro Neto ) xyk...@gmail.com Cc: users@ovirt.org, Yaniv Dary yd...@redhat.com Sent: Monday, February 27, 2012 6:30:13 PM Subject: Re: [Users] Reports and DWH On 02/27/2012 06:12 PM, Xyko ( José Francisco Ribeiro Neto ) wrote: Hi, when ovirt-engine is installed the report and dwh features and portals are also installed? If not, how do we install it? no. history and reports are not part of the first ovirt version, but you can install them from developer repos. cc'ing yaniv dary for more details. You can use the wiki pages to deploy the dwh and report until we have packaging for it: http://ovirt.org/wiki/How_to_setup_a_oVirt_DWH_development_environment http://ovirt.org/wiki/How_to_setup_a_oVirt_Reports_development_environment ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users