Re: [Users] Sanlock issue when trying to start vm
On 06/19/2012 09:36 PM, Dennis Jacobfeuerborn wrote: Hi, after getting the 3.1 beta engine and a host set up I now get an error when trying to start a vm. Engine reports this: VM myvm is down. Exit message: internal error Failed to open socket to sanlock daemon: No such file or directory. Please take a look at the following bugs: https://bugzilla.redhat.com/show_bug.cgi?id=832935 https://bugzilla.redhat.com/show_bug.cgi?id=832056 On the node no sanlock daemon is running. When I try to start the service I get this: Jun 19 20:22:31 node systemd-sanlock[13607]: Starting sanlock: [ OK ] Jun 19 20:22:31 node sanlock[13621]: 2012-06-19 20:22:31+0200 910 [13621]: sanlock daemon started 2.3 aio 1 10 renew 20 80 host 93bea910-1d9d-4203-8333-beb3d7b92c10.node.local time 1340130151 Jun 19 20:22:31 node sanlock[13621]: 2012-06-19 20:22:31+0200 910 [13621]: set scheduler RR|RESET_ON_FORK priority 99 failed: Operation not permitted Jun 19 20:22:31 node sanlock[13621]: 2012-06-19 20:22:31+0200 910 [13621]: wdmd connect failed for watchdog handling Jun 19 20:22:31 node systemd[1]: sanlock.service: main process exited, code=exited, status=255 Jun 19 20:22:31 node systemd[1]: Unit sanlock.service entered failed state. I followed the SELinux and sanlock threads but I disabled SELinux on the node so that cannot be a reason for this to fail. Regards, Dennis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Thanks, Rami Vaknin, QE @ Red Hat, TLV, IL. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] I am using the CentOS build from the 12th. I the engine is dieing with the following error.
On 06/20/2012 01:36 AM, Itamar Heim wrote: On 06/20/2012 04:09 AM, Robert Middleswarth wrote: On 06/18/2012 04:47 AM, Juan Hernandez wrote: On 06/18/2012 04:25 AM, Robert Middleswarth wrote: 2012-06-17 05:21:24,682 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (ajp--0.0.0.0-8009-9) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 05:21:26,121 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (QuartzScheduler_Worker-88) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 05:21:26,130 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-88) XML RPC error in command GetCapabilitiesVDS ( Vds: ann100ovirt01 ), the error was: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException, SocketException: Too many open files 2012-06-17 15:49:08,577 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (QuartzScheduler_Worker-28) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 20:21:13,943 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (QuartzScheduler_Worker-64) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 20:21:15,949 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (QuartzScheduler_Worker-65) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 21:00:15,133 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (QuartzScheduler_Worker-98) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 21:07:00,037 WARN [org.ovirt.engine.core.ServletUtils] (ajp--0.0.0.0-8009-5) File /usr/share/vdsm-bootstrap/deployUtil.py is 47867 bytes long. Please reconsider using this servlet for files larger than 8192 bytes. 2012-06-17 21:07:00,115 WARN [org.ovirt.engine.core.ServletUtils] (ajp--0.0.0.0-8009-6) File /usr/share/vdsm-bootstrap/vds_bootstrap.py is 33884 bytes long. Please reconsider using this servlet for files larger than 8192 bytes. 2012-06-17 21:32:10,686 WARN [org.ovirt.engine.core.ServletUtils] (ajp--0.0.0.0-8009-6) File /usr/share/vdsm-bootstrap/deployUtil.py is 47867 bytes long. Please reconsider using this servlet for files larger than 8192 bytes. 2012-06-17 21:32:10,752 WARN [org.ovirt.engine.core.ServletUtils] (ajp--0.0.0.0-8009-1) File /usr/share/vdsm-bootstrap/vds_bootstrap.py is 33884 bytes long. Please reconsider using this servlet for files larger than 8192 bytes. 2012-06-17 21:44:34,028 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-23) XML RPC error in command ListVDS ( Vds: ann100ovirt01 ), the error was: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException, SocketException: Too many open files 2012-06-17 21:44:36,034 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (QuartzScheduler_Worker-26) Failed to decryptjava.io.FileNotFoundException: /etc/pki/ovirt-engine/.keystore (Too many open files) 2012-06-17 21:44:36,045 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] (QuartzScheduler_Worker-26) XML RPC error in command GetCapabilitiesVDS ( Vds: ann100ovirt01 ), the error was: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException, SocketException: Too many open files I restarted ovirt-engine and ran lsof -p 3557 I see hundreds of the same open file. java 3557 ovirt 839r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 840r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 841r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 842r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 843r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 844r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 845r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 846r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 847r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 848r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 849r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 850r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 851r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 852r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 853r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore java 3557 ovirt 854r REG 253,0 3230 7865608 /etc/pki/ovirt-engine/.keystore Is anyone else seeing this? There are two issues that might be affecting you here: 1.
Re: [Users] Setting up logical storage networks
Hi, Please see reply in-line. In ovirt-engine-3.1 I'm attempting to setup the base logical networks and have run into 2 major issues. Are you using cluster version 3.0 or 3.1? The first is I'm only seeing a Gateway field for the management interface. When I went to create a network for VMs (on seperate subnet) I did not see a place to specify gateway (see img ovirt_network_missing_gateway.png). Right now my management port is on a 100mbps network and the bridged devices live on a 1Gbps network (net140 in cluster). Is there a reason the gateway would be missing? I've attached ovirt_networks.png that shows all the interfaces on my host. Unfortunately, oVirt supports setting only the default gateway of the Host (This is the field you saw in the management network). We could theoretically use initscripts' static routing files, but that is left for future development. The second issue I'm having is creating a storage network. I created 2 logical networks , private0 and private1. I left the VM Network unchecked on both as my assumption was that dicates if they can be added to VMs. Since these are only for hosts to connect to the iSCSI I didn't think that was necessary. When I set the IP information (private_network0.png) and select Ok the save goes through but when I edit the interface again the information is gone and the file ifcfg-eth4 does not have IP information. This is what I looks like DEVICE=eth4 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:1d:33:f0 NM_CONTROLLED=no MTU=9000 I didn't quite understand what you did here.. What I think you meant is: 1. You edited the network on a NIC, and provided static boot protocol with the parameters (ip, netmask). 2. After that when you clicked OK then the configuration was sent to the Host, and in the Network Interfaces tab for the Host you could see the IP in the Address column. On the host the ifcfg script for this network had these fields set. --- Assuming that no restart of Host or VDSM on Host was done --- 3. You edited the network again, didn't change anything, and clicked OK. 4. This time, the boot protocol info was gone from display ifcfg file on the Host. Is this correct? Also do you by any chance have the log files of ovirt (engine.log)/vdsm (vdsm.log) with the flow that you did? I also attached image cluster_logical_networks.png that shows the all the logical networks on this cluster. So far my plan is to have a single public interface for VM traffic, then two for storage traffic, each going to a different switch. This setup is just an initial test but I'd hope to have it in production once I get some of these kinks worked out. Please let me know what information would be useful to debug this further. Thanks - Trey Regards, Mike ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Ovirt 3.1 and gluster (creation in ovirt)
I'm sorry for your persistence, but I'm trying to mount gluster storage not NFS storage. Such a document is to gluster storage? How can I see what line ovirt considered invalid in the file metadata? -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Tuesday, June 19, 2012 7:55 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/19/2012 11:34 AM, зоррыч wrote: I do not understand you The catalog, which is mounted Gloucester storage available for recording and vdsm successfully creates the necessary files to it. can you please try the NFS troubleshooting approach on this first to try and diagnose the issue? http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, June 18, 2012 7:07 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/18/2012 06:03 PM, зоррыч wrote: Posix FS storage and you can mount this from vdsm via sudo with same mount options and use it? -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, June 18, 2012 6:29 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/18/2012 04:50 PM, зоррыч wrote: Any ideas for solutions? Is this a bug? *From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On Behalf Of *зоррыч *Sent:* Sunday, June 17, 2012 12:04 AM *To:* 'Vijay Bellur'; 'Robert Middleswarth' *Cc:* users@ovirt.org; 'Daniel Paikov' *Subject:* Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) I have updated GlusterFS and volume successfully created Thank you! But I was not able to mount a storage domain. an NFS or Posix FS storage domain? Vdsm.log: Thread-21025::DEBUG::2012-06-16 15:43:21,495::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2] Thread-21025::DEBUG::2012-06-16 15:43:21,495::task::588::TaskManager.Task::(_updateState) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::moving from state init - state preparing Thread-21025::INFO::2012-06-16 15:43:21,503::logUtils::37::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=6, spUUID='----', conList=[{'port': '', 'connection': '10.1.20.7:/sd2', 'iqn': '', 'portal': '', 'user': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': '----'}], options=None) Thread-21025::INFO::2012-06-16 15:43:21,503::logUtils::39::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {'statuslist': [{'status': 0, 'id': '----'}]} Thread-21025::DEBUG::2012-06-16 15:43:21,503::task::1172::TaskManager.Task::(prepare) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::finished: {'statuslist': [{'status': 0, 'id': '----'}]} Thread-21025::DEBUG::2012-06-16 15:43:21,503::task::588::TaskManager.Task::(_updateState) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::moving from state preparing - state finished Thread-21025::DEBUG::2012-06-16 15:43:21,503::resourceManager::809::ResourceManager.Owner::(releaseA l l ) Owner.releaseAll requests {} resources {} Thread-21025::DEBUG::2012-06-16 15:43:21,504::resourceManager::844::ResourceManager.Owner::(cancelAl l ) Owner.cancelAll requests {} Thread-21025::DEBUG::2012-06-16 15:43:21,504::task::978::TaskManager.Task::(_decref) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::ref 0 aborting False Thread-21026::DEBUG::2012-06-16 15:43:21,526::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2] Thread-21026::DEBUG::2012-06-16 15:43:21,526::task::588::TaskManager.Task::(_updateState) Task=`2a6538e5-b961-478a-bce6-f5ded1a62bca`::moving from state init - state preparing Thread-21026::INFO::2012-06-16 15:43:21,527::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=6, spUUID='----', conList=[{'port': '', 'connection': '10.1.20.7:/sd2', 'iqn': '', 'portal': '', 'user': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': 'e7766e1d-f2c6-45ee-900e-00c6689649cd'}], options=None) Thread-21026::DEBUG::2012-06-16 15:43:21,530::lvm::460::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' got the operation mutex Thread-21026::DEBUG::2012-06-16 15:43:21,531::lvm::462::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' released the operation mutex Thread-21026::DEBUG::2012-06-16 15:43:21,531::lvm::472::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' got the operation mutex Thread-21026::DEBUG::2012-06-16
Re: [Users] Sanlock issue when trying to start vm
On 06/20/2012 08:17 AM, Rami Vaknin wrote: On 06/19/2012 09:36 PM, Dennis Jacobfeuerborn wrote: Hi, after getting the 3.1 beta engine and a host set up I now get an error when trying to start a vm. Engine reports this: VM myvm is down. Exit message: internal error Failed to open socket to sanlock daemon: No such file or directory. Please take a look at the following bugs: https://bugzilla.redhat.com/show_bug.cgi?id=832935 https://bugzilla.redhat.com/show_bug.cgi?id=832056 Thanks, after modprobe softdog and restarting wdmd and sanlock I was able to start the VM. Unfortunately my experiment with using nested VMs to fake nodes didn't pan out (the guest-in-guest booted for a bit and then froze). Is there a way to use pure qemu guests for testing (like in devstack)? While I do have two systems that support hardware virtualization i cannot reinstall either of them to use them as a host. Regards, Dennis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Guest life-cycle
Hi, after being able to start my first guest I noticed two things: 1) When I started the guest with the run once option the console button didn't become available. Navigating to another section of the GUI and back didn't help. I was only able to make is available by closing the browser tab and then going to the admin portal again from scratch. 2) When my guest froze (due to nested virtualization experimentation that apparently doesn't work yet) I had no (obvious) way to kill the vm. Hitting the stop button apparently only sends a shutdown command but I couldn't find any way to issue a destroy command. After killing the qemu process on the host manually the guest in the portal gui apparently went into an unknown ? state which isn't surprising but now there seems to be no way to get rid of the vm. What is proper way to get rid of such a misbehaving guest? Regards, Dennis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Guest life-cycle
- Original Message - From: Dennis Jacobfeuerborn denni...@conversis.de To: users users@ovirt.org Sent: Wednesday, June 20, 2012 8:40:29 AM Subject: [Users] Guest life-cycle Hi, after being able to start my first guest I noticed two things: 1) When I started the guest with the run once option the console button didn't become available. Navigating to another section of the GUI and back didn't help. I was only able to make is available by closing the browser tab and then going to the admin portal again from scratch. there was an issue with the spice-xpi that was fixed in F17, I'd have to check to see if that made it to F16. What OS are you on and what version of spice-xpi ? 2) When my guest froze (due to nested virtualization experimentation that apparently doesn't work yet) I had no (obvious) way to kill the vm. Hitting the stop button apparently only sends a shutdown command but I couldn't find any way to issue a destroy command. Shutdown requires guest agent. If you right click on the VM you can do a stop - which forces it down. After killing the qemu process on the host manually the guest in the portal gui apparently went into an unknown ? state which isn't surprising but now there seems to be no way to get rid of the vm. What is proper way to get rid of such a misbehaving guest? Regards, Dennis ___ 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] Guest life-cycle
- Original Message - - Original Message - From: Dennis Jacobfeuerborn denni...@conversis.de To: users users@ovirt.org Sent: Wednesday, June 20, 2012 8:40:29 AM Subject: [Users] Guest life-cycle Hi, after being able to start my first guest I noticed two things: 1) When I started the guest with the run once option the console button didn't become available. Navigating to another section of the GUI and back didn't help. I was only able to make is available by closing the browser tab and then going to the admin portal again from scratch. there was an issue with the spice-xpi that was fixed in F17, I'd have to check to see if that made it to F16. Still in -testing ? http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/16/x86_64/spice-xpi-2.7-3.fc16.x86_64.rpm What OS are you on and what version of spice-xpi ? 2) When my guest froze (due to nested virtualization experimentation that apparently doesn't work yet) I had no (obvious) way to kill the vm. Hitting the stop button apparently only sends a shutdown command but I couldn't find any way to issue a destroy command. Shutdown requires guest agent. If you right click on the VM you can do a stop - which forces it down. After killing the qemu process on the host manually the guest in the portal gui apparently went into an unknown ? state which isn't surprising but now there seems to be no way to get rid of the vm. What is proper way to get rid of such a misbehaving guest? Regards, Dennis ___ 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] Guest life-cycle
- Original Message - From: Yaniv Kaul yk...@redhat.com To: Andrew Cathrow acath...@redhat.com Cc: users users@ovirt.org, Dennis Jacobfeuerborn denni...@conversis.de Sent: Wednesday, June 20, 2012 8:50:18 AM Subject: Re: [Users] Guest life-cycle - Original Message - - Original Message - From: Dennis Jacobfeuerborn denni...@conversis.de To: users users@ovirt.org Sent: Wednesday, June 20, 2012 8:40:29 AM Subject: [Users] Guest life-cycle Hi, after being able to start my first guest I noticed two things: 1) When I started the guest with the run once option the console button didn't become available. Navigating to another section of the GUI and back didn't help. I was only able to make is available by closing the browser tab and then going to the admin portal again from scratch. there was an issue with the spice-xpi that was fixed in F17, I'd have to check to see if that made it to F16. Still in -testing ? http://dl.fedoraproject.org/pub/fedora/linux/updates/testing/16/x86_64/spice-xpi-2.7-3.fc16.x86_64.rpm I guess we need more people to give it good karma What OS are you on and what version of spice-xpi ? 2) When my guest froze (due to nested virtualization experimentation that apparently doesn't work yet) I had no (obvious) way to kill the vm. Hitting the stop button apparently only sends a shutdown command but I couldn't find any way to issue a destroy command. Shutdown requires guest agent. If you right click on the VM you can do a stop - which forces it down. After killing the qemu process on the host manually the guest in the portal gui apparently went into an unknown ? state which isn't surprising but now there seems to be no way to get rid of the vm. What is proper way to get rid of such a misbehaving guest? Regards, Dennis ___ 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] Guest life-cycle
On 06/20/2012 02:45 PM, Andrew Cathrow wrote: - Original Message - From: Dennis Jacobfeuerborn denni...@conversis.de To: users users@ovirt.org Sent: Wednesday, June 20, 2012 8:40:29 AM Subject: [Users] Guest life-cycle Hi, after being able to start my first guest I noticed two things: 1) When I started the guest with the run once option the console button didn't become available. Navigating to another section of the GUI and back didn't help. I was only able to make is available by closing the browser tab and then going to the admin portal again from scratch. there was an issue with the spice-xpi that was fixed in F17, I'd have to check to see if that made it to F16. What OS are you on and what version of spice-xpi ? The client is on F15 with spice-xpi-2.7-1. Should this affect the icon in the gui though? I thought spice would only come into play once I actually click that button and start the console. 2) When my guest froze (due to nested virtualization experimentation that apparently doesn't work yet) I had no (obvious) way to kill the vm. Hitting the stop button apparently only sends a shutdown command but I couldn't find any way to issue a destroy command. Shutdown requires guest agent. If you right click on the VM you can do a stop - which forces it down. This only seems to be available as long as the VM is still running. Now that it is in an unknown state that menu option is grayed out as is the remove option. How can I clean this up? Regards, Dennis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Guest life-cycle
- Original Message - From: Dennis Jacobfeuerborn denni...@conversis.de To: Andrew Cathrow acath...@redhat.com Cc: users users@ovirt.org Sent: Wednesday, June 20, 2012 8:57:07 AM Subject: Re: [Users] Guest life-cycle On 06/20/2012 02:45 PM, Andrew Cathrow wrote: - Original Message - From: Dennis Jacobfeuerborn denni...@conversis.de To: users users@ovirt.org Sent: Wednesday, June 20, 2012 8:40:29 AM Subject: [Users] Guest life-cycle Hi, after being able to start my first guest I noticed two things: 1) When I started the guest with the run once option the console button didn't become available. Navigating to another section of the GUI and back didn't help. I was only able to make is available by closing the browser tab and then going to the admin portal again from scratch. there was an issue with the spice-xpi that was fixed in F17, I'd have to check to see if that made it to F16. What OS are you on and what version of spice-xpi ? The client is on F15 with spice-xpi-2.7-1. Should this affect the icon in the gui though? I thought spice would only come into play once I actually click that button and start the console. It is an xpi issue. There's communication between the portal and the XPI regarding if a console is active. There was a bug in the older release of the XPI that meant that the status wasn't refreshed. 2) When my guest froze (due to nested virtualization experimentation that apparently doesn't work yet) I had no (obvious) way to kill the vm. Hitting the stop button apparently only sends a shutdown command but I couldn't find any way to issue a destroy command. Shutdown requires guest agent. If you right click on the VM you can do a stop - which forces it down. This only seems to be available as long as the VM is still running. Now that it is in an unknown state that menu option is grayed out as is the remove option. How can I clean this up? Regards, Dennis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Dell Poweredge 1955 (blade chassis) power management?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I dont know if this list may have an answer for me or not, but i'm working on adding some older Dell 1955's to a RHEV cluster. Yes, i realize this is the oVirt list, but RedHat's support seems to be at a loss. I cant get power management to work. The blades use an older DRAC interface for power management. I configured this under RedHat Cluster Suite using the old fence_drac script. This script is no more on a rhev-h install, and the drac5 script (which works on newer dell blades) does not seem to work on these older systems. Has anyone else had any success with oVirt on these older blades? Might that translate to RHEV? Thanks. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/h10YACgkQsZqG4IN3sumtZwCgoQ/ua2Bt0HmTSAt8O33/gwrR /g0An3EprAg9E6lh1+pP6DUInXA9eu4a =/k26 -END PGP SIGNATURE- ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] oVirt Weekly Meeting Minutes -- 2012-06-20
Minutes:http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.html Minutes (text): http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.txt Log: http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.log.html = #ovirt: oVirt Weekly Sync = Meeting started by mburns at 14:00:42 UTC. The full logs are available at http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.log.html . Meeting summary --- * agenda and roll call (mburns, 14:01:16) * Status of next release (mburns, 14:04:16) * 9 bugs in 3.1 release tracker (oschreib, 14:06:12) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=822145 (oschreib, 14:06:16) * current targeted GA is 27-June (mburns, 14:06:22) * LINK: http://www.ovirt.org/releases/beta/fedora/17/ (oschreib, 14:10:03) * LINK: http://www.ovirt.org/releases/beta/fedora/17/ (mburns, 14:10:34) * new beta build (3.1.0-0.1.20120620git6ef9f8.fc17) available (oschreib, 14:10:58) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=828633 (oschreib, 14:11:36) * libvirt - Sanlock locking failed for readonly devices (MODIFIED) (oschreib, 14:11:57) * waiting on danpb (oschreib, 14:25:17) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=828633 (mburns, 14:25:34) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=831998 (oschreib, 14:26:37) * VDSM - It's impossible to create bond with setupNetworks (ASSIGNED) (oschreib, 14:26:58) * WIP (oschreib, 14:29:45) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832199 (oschreib, 14:31:02) * VDSM - vdsmd init script times out due to lengthy semanage operation (ASSIGNED) (oschreib, 14:31:21) * WIP (oschreib, 14:35:39) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832517 (oschreib, 14:36:43) * node - sshd daemon is not starting correctly after complete the installation of oVirt Node (NEW) (oschreib, 14:36:58) * WIP, fix to be push in the next couple of days (oschreib, 14:37:42) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832539 (oschreib, 14:37:55) * node - iptables blocking communication between node and engine (POST) (oschreib, 14:38:06) * in review, should be in next build (oschreib, 14:38:46) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832577 (oschreib, 14:38:56) * vdsm - ovirt-node can't be approved due to missing /rhev/data-center (POST) (oschreib, 14:39:15) * pushed upstream, need to rebase to ovirt-3.1 branch (oschreib, 14:40:29) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=833201 (oschreib, 14:40:39) * vdsm - Failed to add host - does not accept vdsm 4.10 (POST) (oschreib, 14:41:09) * pushed (oschreib, 14:42:42) * ACTION: douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 (danken, 14:46:12) * ACTION: douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 (oschreib, 14:47:52) * AGREED: GA will be postponed to the 9th of July (oschreib, 14:53:58) * upcoming workshops (mburns, 14:56:11) * feedback from LC Japan (mburns, 14:57:50) * LINK: http://www.ovirt.org/wiki/LC_Japan_Workshop_Post-Mortem (mburns, 14:57:56) * time to begin planning for LC North America (San Diego, Aug 29-31) (mburns, 14:58:34) * linux.conf.au has reached out requesting oVirt related presentations (mburns, 15:01:16) * LINK: https://events.linuxfoundation.org/events/linuxcon/co-located-events (dneary, 15:03:01) * lh to send agenda to LinuxCon North America (mburns, 15:04:23) * other topics (mburns, 15:04:52) * ACTION: sgordon to send email about release notes (mburns, 15:05:50) * ACTION: dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team (dneary, 15:12:46) * ACTION: dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team (mburns, 15:13:09) Meeting ended at 15:15:08 UTC. Action Items * douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 * douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 * sgordon to send email about release notes * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team Action Items, by person --- * dneary * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team * sgordon * sgordon to send email about release notes * **UNASSIGNED** * douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 * douglas please
Re: [Users] Setting up logical storage networks
Thanks for the response, see responses inline. On Wed, Jun 20, 2012 at 2:54 AM, Mike Kolesnik mkole...@redhat.com wrote: Hi, Please see reply in-line. In ovirt-engine-3.1 I'm attempting to setup the base logical networks and have run into 2 major issues. Are you using cluster version 3.0 or 3.1? I have been using 3.1 as it's the default. Is the different just the API updates? All I could really find related to 3.0 vs 3.1 pertaining to networking was this document http://www.ovirt.org/wiki/Features/Design/Network/SetupNetworks The first is I'm only seeing a Gateway field for the management interface. When I went to create a network for VMs (on seperate subnet) I did not see a place to specify gateway (see img ovirt_network_missing_gateway.png). Right now my management port is on a 100mbps network and the bridged devices live on a 1Gbps network (net140 in cluster). Is there a reason the gateway would be missing? I've attached ovirt_networks.png that shows all the interfaces on my host. Unfortunately, oVirt supports setting only the default gateway of the Host (This is the field you saw in the management network). We could theoretically use initscripts' static routing files, but that is left for future development. So for now, is it then easier to just run all public interfaces through the same subnet/gateway? The main reason to run management via 100Mbps and everything else 1Gbps was that our campus is out of IPs so we're attempting to conserve on the usage of gigabit IPs. The second issue I'm having is creating a storage network. I created 2 logical networks , private0 and private1. I left the VM Network unchecked on both as my assumption was that dicates if they can be added to VMs. Since these are only for hosts to connect to the iSCSI I didn't think that was necessary. When I set the IP information (private_network0.png) and select Ok the save goes through but when I edit the interface again the information is gone and the file ifcfg-eth4 does not have IP information. This is what I looks like DEVICE=eth4 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:1d:33:f0 NM_CONTROLLED=no MTU=9000 I didn't quite understand what you did here.. What I think you meant is: 1. You edited the network on a NIC, and provided static boot protocol with the parameters (ip, netmask). 2. After that when you clicked OK then the configuration was sent to the Host, and in the Network Interfaces tab for the Host you could see the IP in the Address column. On the host the ifcfg script for this network had these fields set. --- Assuming that no restart of Host or VDSM on Host was done --- 3. You edited the network again, didn't change anything, and clicked OK. 4. This time, the boot protocol info was gone from display ifcfg file on the Host. Is this correct? Also do you by any chance have the log files of ovirt (engine.log)/vdsm (vdsm.log) with the flow that you did? I'll try to clarify the steps I took a little better, sorry if it was unclear before. 1. Create logical network in Cluster that was NOT a VM Network (my assumption of how to setup a storage network) 2. Edit NIC on host, set boot protocol to static and provide IP/Netmask, and select the logical network created in #1, check Save network configuration 3. After clicking OK the corresponding ifcfg file on the node was modified, but the values for IP/Netmask were missing. Also the values did not appear in the network interface list, and were not shown when going to that same interface and selecting Add/Edit again That process did not involve a reboot of the host. So in the host interface eth5 I set the following via web interface Network: private1 Boot Protocol: Static IP: 10.20.1.241 Subnet Mask: 255.0.0.0 Check: Save network configuration After the save the node's ifcfg-eth5 is touched (based on modified date in ls -la) but this is all it contains DEVICE=eth5 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:1d:33:f1 NM_CONTROLLED=no MTU=9000 As far as I can tell the only setting from ovirt-engine that made it to that file was the MTU setting defined when creating the logical network for the cluster. Is my process somehow wrong or am I missing a step? I've done this with the node being in both Up status and Maintenance, same results. As a test I manually updated the IP/Netmask of ifcfg-eth4 and it shows up in the web interface with the correct information however any changes via the web interface will remove the IPADDR and NETMASK lines. I also attached image cluster_logical_networks.png that shows the all the logical networks on this cluster. So far my plan is to have a single public interface for VM traffic, then two for storage traffic, each going to a different switch. This setup is just an initial test but I'd hope to have it in production once I get some of these kinks worked out. Please let me know what information would be useful to debug this further. Thanks -
[Users] On oVirt 3.1, Fedora 16 and 17 hang at boot
Hi everyone, I'm testing oVirt 3.1 with a few different VM types, and I'm experiencing boot issues with Fedora 16 and 17, 64bit. F17 hangs while booting from the F17 install DVD. F16 installs normally (minimal install), but hangs during the initial boot after installation. The F16 VM will boot to rescue mode, however. The VM appears to get through the full boot process, but then the CPU usage goes to 99 or 100% and the VM won't respond. I've tried with spice and vnc consoles, with and without USB enabled. I've let it sit for quite a while, and the VM CPU usage stays pegged, and the VMs remain unresponsive. CentOS 6.2 and Ubuntu 12.04 VMs, both 64bit, work normally on my oVirt 3.1 setup. Any idea what might be causing the issue, or how I might go about debugging it? Thanks, Jason ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.1 - Vm custom parameters not passed to hooks environment.
Andrey Gordeev aka dreyou 20.06.2012 19:34 user Itamar Heim ih...@redhat.com wrote: On 06/20/2012 05:46 PM, Andrey Gordeev wrote: Vm custom parameters not passed to vdsm hooks environment. Vm started normally, no errors in log files. oVirt Engine version: 3.1.0-3 , builded by me for CentOS 6.2 from git (540a75e0f7bc4b9ed879471d3d830d575c6d6060). vdsm version 4.10.0-0.58 , bulded by me for CentOS 6.2 from git (2987ee3c3281e16f55be46974eee1be44a1bebc7). Custom parameters added by engine-config -s UserDefinedVMProperties=... to all versions (3.1,3.0,2.2) i assume you defined the custom properties at the VM level as well? Yes. do you see them when re-editing the VM? Yes. In what may be the problem? P.S. Correspond logs are attached. ___ 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 3.1 - Vm custom parameters not passed to hooks environment.
On 06/20/2012 07:38 PM, Andrey Gordeev wrote: Andrey Gordeev aka dreyou 20.06.2012 19:34 user Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 06/20/2012 05:46 PM, Andrey Gordeev wrote: Vm custom parameters not passed to vdsm hooks environment. Vm started normally, no errors in log files. oVirt Engine version: 3.1.0-3 , builded by me for CentOS 6.2 from git (540a75e0f7bc4b9ed879471d3d830d575c6d6060). vdsm version 4.10.0-0.58 , bulded by me for CentOS 6.2 from git (2987ee3c3281e16f55be46974eee1be44a1bebc7). Custom parameters added by engine-config -s UserDefinedVMProperties=... to all versions (3.1,3.0,2.2) i assume you defined the custom properties at the VM level as well? Yes. do you see them when re-editing the VM? Yes. Shahar/Omer - care to take a look if something happened to custom properties? thanks, Itamar In what may be the problem? P.S. Correspond logs are attached. ___ Users mailing list Users@ovirt.org mailto: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 Weekly Meeting Minutes -- 2012-06-20
Was test day post-mortem discussed? I had to leave before the meeting ended, but I don't see it here. Y. On 06/20/2012 06:17 PM, Mike Burns wrote: Minutes:http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.html Minutes (text): http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.txt Log: http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.log.html = #ovirt: oVirt Weekly Sync = Meeting started by mburns at 14:00:42 UTC. The full logs are available at http://ovirt.org/meetings/ovirt/2012/ovirt.2012-06-20-14.00.log.html . Meeting summary --- * agenda and roll call (mburns, 14:01:16) * Status of next release (mburns, 14:04:16) * 9 bugs in 3.1 release tracker (oschreib, 14:06:12) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=822145 (oschreib, 14:06:16) * current targeted GA is 27-June (mburns, 14:06:22) * LINK: http://www.ovirt.org/releases/beta/fedora/17/ (oschreib, 14:10:03) * LINK: http://www.ovirt.org/releases/beta/fedora/17/ (mburns, 14:10:34) * new beta build (3.1.0-0.1.20120620git6ef9f8.fc17) available (oschreib, 14:10:58) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=828633 (oschreib, 14:11:36) * libvirt - Sanlock locking failed for readonly devices (MODIFIED) (oschreib, 14:11:57) * waiting on danpb (oschreib, 14:25:17) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=828633 (mburns, 14:25:34) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=831998 (oschreib, 14:26:37) * VDSM - It's impossible to create bond with setupNetworks (ASSIGNED) (oschreib, 14:26:58) * WIP (oschreib, 14:29:45) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832199 (oschreib, 14:31:02) * VDSM - vdsmd init script times out due to lengthy semanage operation (ASSIGNED) (oschreib, 14:31:21) * WIP (oschreib, 14:35:39) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832517 (oschreib, 14:36:43) * node - sshd daemon is not starting correctly after complete the installation of oVirt Node (NEW) (oschreib, 14:36:58) * WIP, fix to be push in the next couple of days (oschreib, 14:37:42) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832539 (oschreib, 14:37:55) * node - iptables blocking communication between node and engine (POST) (oschreib, 14:38:06) * in review, should be in next build (oschreib, 14:38:46) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=832577 (oschreib, 14:38:56) * vdsm - ovirt-node can't be approved due to missing /rhev/data-center (POST) (oschreib, 14:39:15) * pushed upstream, need to rebase to ovirt-3.1 branch (oschreib, 14:40:29) * LINK: https://bugzilla.redhat.com/show_bug.cgi?id=833201 (oschreib, 14:40:39) * vdsm - Failed to add host - does not accept vdsm 4.10 (POST) (oschreib, 14:41:09) * pushed (oschreib, 14:42:42) * ACTION: douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 (danken, 14:46:12) * ACTION: douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 (oschreib, 14:47:52) * AGREED: GA will be postponed to the 9th of July (oschreib, 14:53:58) * upcoming workshops (mburns, 14:56:11) * feedback from LC Japan (mburns, 14:57:50) * LINK: http://www.ovirt.org/wiki/LC_Japan_Workshop_Post-Mortem (mburns, 14:57:56) * time to begin planning for LC North America (San Diego, Aug 29-31) (mburns, 14:58:34) * linux.conf.au has reached out requesting oVirt related presentations (mburns, 15:01:16) * LINK: https://events.linuxfoundation.org/events/linuxcon/co-located-events (dneary, 15:03:01) * lh to send agenda to LinuxCon North America (mburns, 15:04:23) * other topics (mburns, 15:04:52) * ACTION: sgordon to send email about release notes (mburns, 15:05:50) * ACTION: dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team (dneary, 15:12:46) * ACTION: dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team (mburns, 15:13:09) Meeting ended at 15:15:08 UTC. Action Items * douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 * douglas please push http://gerrit.ovirt.org/#/c/5379/ upstream and to ovirt-3.1 * sgordon to send email about release notes * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team Action Items, by person --- * dneary * dneary to ensure that discussion starts on infra@ on the creation of a community infrastructure team * dneary to ensure that discussion starts on infra@ on the
Re: [Users] Setting up logical storage networks
On 06/20/2012 06:38 PM, Trey Dockendorf wrote: I have been using 3.1 as it's the default. Is the different just the API updates? All I could really find related to 3.0 vs 3.1 pertaining to networking was this document http://www.ovirt.org/wiki/Features/Design/Network/SetupNetworks just to clarify on this, 3.1 has additional network features: - port mirroring - mtu setting (for jumbo frames) - optional networks - bridgeless networks - new setup networks ui/api - ability to hot plug a nic ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Setting up logical storage networks
Thanks for the response, see responses inline. You're welcome, responses inline. On Wed, Jun 20, 2012 at 2:54 AM, Mike Kolesnik mkole...@redhat.com wrote: Hi, Please see reply in-line. In ovirt-engine-3.1 I'm attempting to setup the base logical networks and have run into 2 major issues. Are you using cluster version 3.0 or 3.1? I have been using 3.1 as it's the default. Is the different just the API updates? All I could really find related to 3.0 vs 3.1 pertaining to networking was this document http://www.ovirt.org/wiki/Features/Design/Network/SetupNetworks As Itamar replied, there are a few more network features in 3.1 other than this one. For a Host which is in a 3.1 cluster there should be a Setup Networks button which indeed enables the functionality described in that wiki. This is a new feature for 3.1 up which allows to do several network changes in an atomic manner, with an improved UI experience. However, from the logs it looks like you're using the old commands to edit the networks on the Host, so if you have this button (you should) then you can try using it. SNIP Unfortunately, oVirt supports setting only the default gateway of the Host (This is the field you saw in the management network). We could theoretically use initscripts' static routing files, but that is left for future development. So for now, is it then easier to just run all public interfaces through the same subnet/gateway? The main reason to run management via 100Mbps and everything else 1Gbps was that our campus is out of IPs so we're attempting to conserve on the usage of gigabit IPs. Yes, currently the only gateway you can specify is the default one which is set on the management network. SNIP I'll try to clarify the steps I took a little better, sorry if it was unclear before. 1. Create logical network in Cluster that was NOT a VM Network (my assumption of how to setup a storage network) 2. Edit NIC on host, set boot protocol to static and provide IP/Netmask, and select the logical network created in #1, check Save network configuration 3. After clicking OK the corresponding ifcfg file on the node was modified, but the values for IP/Netmask were missing. Also the values did not appear in the network interface list, and were not shown when going to that same interface and selecting Add/Edit again That process did not involve a reboot of the host. So in the host interface eth5 I set the following via web interface Network: private1 Boot Protocol: Static IP: 10.20.1.241 Subnet Mask: 255.0.0.0 Check: Save network configuration After the save the node's ifcfg-eth5 is touched (based on modified date in ls -la) but this is all it contains DEVICE=eth5 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:1d:33:f1 NM_CONTROLLED=no MTU=9000 As far as I can tell the only setting from ovirt-engine that made it to that file was the MTU setting defined when creating the logical network for the cluster. Is my process somehow wrong or am I missing a step? I've done this with the node being in both Up status and Maintenance, same results. No, it looks like a bug that should be taken care of. You can see from this log line that these options are not passed: MainProcess|Thread-41320::INFO::2012-06-20 10:26:32,457::configNetwork::596::root::(addNetwork) Adding network private1 with vlan=None, bonding=None, nics=['eth5'], bondingOptions=None, mtu=9000, bridged=False, options={'STP': 'no'} I tried this today but didn't reproduce for me, but as I can't look at it in more detail ATM, but I'll try see whats going on tomorrow. In the meanwhile, you might want to try a newer VDSM RPM from: http://koji.fedoraproject.org/koji/packageinfo?packageID=12944 As a test I manually updated the IP/Netmask of ifcfg-eth4 and it shows up in the web interface with the correct information however any changes via the web interface will remove the IPADDR and NETMASK lines. Yes, if you do changes manually then they will be discovered and visible through the admin/REST clients. If you edit the network then these changes get lost, but if not they will stay there. However, for these basic options it's not necessary to do it like this and they should work through the admin interface. SNIP Attached logs from the host and engine. Host - node_vdsm.txt and Engine - engine.txt. The only issues I see are two deprecation notices from vdsm. Thanks - Trey Regards, Mike ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt 3.1 - Vm custom parameters not passed to hooks environment.
On 20.06.12 20:38, Itamar Heim wrote: On 06/20/2012 07:38 PM, Andrey Gordeev wrote: Andrey Gordeev aka dreyou 20.06.2012 19:34 user Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 06/20/2012 05:46 PM, Andrey Gordeev wrote: Vm custom parameters not passed to vdsm hooks environment. Vm started normally, no errors in log files. oVirt Engine version: 3.1.0-3 , builded by me for CentOS 6.2 from git (540a75e0f7bc4b9ed879471d3d830d575c6d6060). vdsm version 4.10.0-0.58 , bulded by me for CentOS 6.2 from git (2987ee3c3281e16f55be46974eee1be44a1bebc7). Custom parameters added by engine-config -s UserDefinedVMProperties=... to all versions (3.1,3.0,2.2) i assume you defined the custom properties at the VM level as well? Yes. do you see them when re-editing the VM? Yes. Shahar/Omer - care to take a look if something happened to custom properties? thanks, Itamar sure, first please check that the parameters pass to vdsm in /usr/log/vdsm/vdsm.log, look for the last string of call vmCreate, in this line you will see all the parameters that pass to vdsm from the engine. if you don't see the parameters this is an engine bug. if you do see it, please check the hooks directories for your hook (such as before_vm_start which is under /usr/libexec/vdsm/hooks/ (look for all other directories as well), you hook script should be with executable (+x) and with permission to vdsm user (36:36). and also please submit the name of the hook, (ie 50_pincpu) and the value that you have in the UserDefinedVMProperties under 3.1 version. Shahar. In what may be the problem? P.S. Correspond logs are attached. ___ Users mailing list Users@ovirt.org mailto: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 3.1 and gluster (creation in ovirt)
Exactly the same problem: http://www.mail-archive.com/vdsm-devel@lists.fedorahosted.org/msg00555.html -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of зоррыч Sent: Wednesday, June 20, 2012 3:11 PM To: 'Itamar Heim' Cc: 'Daniel Paikov'; users@ovirt.org Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) I'm sorry for your persistence, but I'm trying to mount gluster storage not NFS storage. Such a document is to gluster storage? How can I see what line ovirt considered invalid in the file metadata? -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Tuesday, June 19, 2012 7:55 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/19/2012 11:34 AM, зоррыч wrote: I do not understand you The catalog, which is mounted Gloucester storage available for recording and vdsm successfully creates the necessary files to it. can you please try the NFS troubleshooting approach on this first to try and diagnose the issue? http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, June 18, 2012 7:07 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/18/2012 06:03 PM, зоррыч wrote: Posix FS storage and you can mount this from vdsm via sudo with same mount options and use it? -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, June 18, 2012 6:29 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/18/2012 04:50 PM, зоррыч wrote: Any ideas for solutions? Is this a bug? *From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On Behalf Of *зоррыч *Sent:* Sunday, June 17, 2012 12:04 AM *To:* 'Vijay Bellur'; 'Robert Middleswarth' *Cc:* users@ovirt.org; 'Daniel Paikov' *Subject:* Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) I have updated GlusterFS and volume successfully created Thank you! But I was not able to mount a storage domain. an NFS or Posix FS storage domain? Vdsm.log: Thread-21025::DEBUG::2012-06-16 15:43:21,495::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2] Thread-21025::DEBUG::2012-06-16 15:43:21,495::task::588::TaskManager.Task::(_updateState) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::moving from state init - state preparing Thread-21025::INFO::2012-06-16 15:43:21,503::logUtils::37::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=6, spUUID='----', conList=[{'port': '', 'connection': '10.1.20.7:/sd2', 'iqn': '', 'portal': '', 'user': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': '----'}], options=None) Thread-21025::INFO::2012-06-16 15:43:21,503::logUtils::39::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {'statuslist': [{'status': 0, 'id': '----'}]} Thread-21025::DEBUG::2012-06-16 15:43:21,503::task::1172::TaskManager.Task::(prepare) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::finished: {'statuslist': [{'status': 0, 'id': '----'}]} Thread-21025::DEBUG::2012-06-16 15:43:21,503::task::588::TaskManager.Task::(_updateState) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::moving from state preparing - state finished Thread-21025::DEBUG::2012-06-16 15:43:21,503::resourceManager::809::ResourceManager.Owner::(releaseA l l ) Owner.releaseAll requests {} resources {} Thread-21025::DEBUG::2012-06-16 15:43:21,504::resourceManager::844::ResourceManager.Owner::(cancelAl l ) Owner.cancelAll requests {} Thread-21025::DEBUG::2012-06-16 15:43:21,504::task::978::TaskManager.Task::(_decref) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::ref 0 aborting False Thread-21026::DEBUG::2012-06-16 15:43:21,526::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2] Thread-21026::DEBUG::2012-06-16 15:43:21,526::task::588::TaskManager.Task::(_updateState) Task=`2a6538e5-b961-478a-bce6-f5ded1a62bca`::moving from state init - state preparing Thread-21026::INFO::2012-06-16 15:43:21,527::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=6, spUUID='----', conList=[{'port': '', 'connection': '10.1.20.7:/sd2', 'iqn': '', 'portal': '', 'user': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': 'e7766e1d-f2c6-45ee-900e-00c6689649cd'}], options=None) Thread-21026::DEBUG::2012-06-16 15:43:21,530::lvm::460::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' got the operation mutex
Re: [Users] Ovirt 3.1 and gluster (creation in ovirt)
On 06/20/2012 11:41 PM, зоррыч wrote: Exactly the same problem: http://www.mail-archive.com/vdsm-devel@lists.fedorahosted.org/msg00555.html ok, so this is still not available in fedora based on the last comment: From #gluster i figure that fuse still does not support O_DIRECT From linux-fsdevel, it looks like patches to enable O_DIRECT in fuse are just getting in. vijay - any estimation on when this may be available? thanks, Itamar -Original Message- From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of зоррыч Sent: Wednesday, June 20, 2012 3:11 PM To: 'Itamar Heim' Cc: 'Daniel Paikov'; users@ovirt.org Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) I'm sorry for your persistence, but I'm trying to mount gluster storage not NFS storage. Such a document is to gluster storage? How can I see what line ovirt considered invalid in the file metadata? -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Tuesday, June 19, 2012 7:55 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/19/2012 11:34 AM, зоррыч wrote: I do not understand you The catalog, which is mounted Gloucester storage available for recording and vdsm successfully creates the necessary files to it. can you please try the NFS troubleshooting approach on this first to try and diagnose the issue? http://www.ovirt.org/wiki/Troubleshooting_NFS_Storage_Issues -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, June 18, 2012 7:07 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/18/2012 06:03 PM, зоррыч wrote: Posix FS storage and you can mount this from vdsm via sudo with same mount options and use it? -Original Message- From: Itamar Heim [mailto:ih...@redhat.com] Sent: Monday, June 18, 2012 6:29 PM To: зоррыч Cc: 'Vijay Bellur'; 'Robert Middleswarth'; users@ovirt.org; 'Daniel Paikov' Subject: Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) On 06/18/2012 04:50 PM, зоррыч wrote: Any ideas for solutions? Is this a bug? *From:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On Behalf Of *зоррыч *Sent:* Sunday, June 17, 2012 12:04 AM *To:* 'Vijay Bellur'; 'Robert Middleswarth' *Cc:* users@ovirt.org; 'Daniel Paikov' *Subject:* Re: [Users] Ovirt 3.1 and gluster (creation in ovirt) I have updated GlusterFS and volume successfully created Thank you! But I was not able to mount a storage domain. an NFS or Posix FS storage domain? Vdsm.log: Thread-21025::DEBUG::2012-06-16 15:43:21,495::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2] Thread-21025::DEBUG::2012-06-16 15:43:21,495::task::588::TaskManager.Task::(_updateState) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::moving from state init - state preparing Thread-21025::INFO::2012-06-16 15:43:21,503::logUtils::37::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=6, spUUID='----', conList=[{'port': '', 'connection': '10.1.20.7:/sd2', 'iqn': '', 'portal': '', 'user': '', 'vfs_type': 'glusterfs', 'password': '**', 'id': '----'}], options=None) Thread-21025::INFO::2012-06-16 15:43:21,503::logUtils::39::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {'statuslist': [{'status': 0, 'id': '----'}]} Thread-21025::DEBUG::2012-06-16 15:43:21,503::task::1172::TaskManager.Task::(prepare) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::finished: {'statuslist': [{'status': 0, 'id': '----'}]} Thread-21025::DEBUG::2012-06-16 15:43:21,503::task::588::TaskManager.Task::(_updateState) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::moving from state preparing -state finished Thread-21025::DEBUG::2012-06-16 15:43:21,503::resourceManager::809::ResourceManager.Owner::(releaseA l l ) Owner.releaseAll requests {} resources {} Thread-21025::DEBUG::2012-06-16 15:43:21,504::resourceManager::844::ResourceManager.Owner::(cancelAl l ) Owner.cancelAll requests {} Thread-21025::DEBUG::2012-06-16 15:43:21,504::task::978::TaskManager.Task::(_decref) Task=`8d841c96-43e3-4d4b-b115-a36c4adf695a`::ref 0 aborting False Thread-21026::DEBUG::2012-06-16 15:43:21,526::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2] Thread-21026::DEBUG::2012-06-16 15:43:21,526::task::588::TaskManager.Task::(_updateState) Task=`2a6538e5-b961-478a-bce6-f5ded1a62bca`::moving from state init - state preparing Thread-21026::INFO::2012-06-16 15:43:21,527::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=6, spUUID='----', conList=[{'port': '', 'connection': '10.1.20.7:/sd2', 'iqn': '', 'portal': '', 'user': '',
Re: [Users] Sanlock issue when trying to start vm
On 06/20/2012 08:33 AM, Dennis Jacobfeuerborn wrote: On 06/20/2012 08:17 AM, Rami Vaknin wrote: On 06/19/2012 09:36 PM, Dennis Jacobfeuerborn wrote: Hi, after getting the 3.1 beta engine and a host set up I now get an error when trying to start a vm. Engine reports this: VM myvm is down. Exit message: internal error Failed to open socket to sanlock daemon: No such file or directory. Please take a look at the following bugs: https://bugzilla.redhat.com/show_bug.cgi?id=832935 https://bugzilla.redhat.com/show_bug.cgi?id=832056 Thanks, after modprobe softdog and restarting wdmd and sanlock I was able to start the VM. Unfortunately my experiment with using nested VMs to fake nodes didn't pan out (the guest-in-guest booted for a bit and then froze). Is there a way to use pure qemu guests for testing (like in devstack)? While I do have two systems that support hardware virtualization i cannot reinstall either of them to use them as a host. Regards, Dennis ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users The CentOS builds include a plugin called vdsm-hook-simpleqemu I think I saw the hook sitting in Git as well so that plug-in might do what you are looking for? Thanks Robert ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Setting up logical storage networks
On 06/20/2012 11:38 AM, Trey Dockendorf wrote: Thanks for the response, see responses inline. On Wed, Jun 20, 2012 at 2:54 AM, Mike Kolesnikmkole...@redhat.com wrote: Hi, Please see reply in-line. In ovirt-engine-3.1 I'm attempting to setup the base logical networks and have run into 2 major issues. Are you using cluster version 3.0 or 3.1? I have been using 3.1 as it's the default. Is the different just the API updates? All I could really find related to 3.0 vs 3.1 pertaining to networking was this document http://www.ovirt.org/wiki/Features/Design/Network/SetupNetworks The first is I'm only seeing a Gateway field for the management interface. When I went to create a network for VMs (on seperate subnet) I did not see a place to specify gateway (see img ovirt_network_missing_gateway.png). Right now my management port is on a 100mbps network and the bridged devices live on a 1Gbps network (net140 in cluster). Is there a reason the gateway would be missing? I've attached ovirt_networks.png that shows all the interfaces on my host. Unfortunately, oVirt supports setting only the default gateway of the Host (This is the field you saw in the management network). We could theoretically use initscripts' static routing files, but that is left for future development. So for now, is it then easier to just run all public interfaces through the same subnet/gateway? The main reason to run management via 100Mbps and everything else 1Gbps was that our campus is out of IPs so we're attempting to conserve on the usage of gigabit IPs. The second issue I'm having is creating a storage network. I created 2 logical networks , private0 and private1. I left the VM Network unchecked on both as my assumption was that dicates if they can be added to VMs. Since these are only for hosts to connect to the iSCSI I didn't think that was necessary. When I set the IP information (private_network0.png) and select Ok the save goes through but when I edit the interface again the information is gone and the file ifcfg-eth4 does not have IP information. This is what I looks like DEVICE=eth4 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:1d:33:f0 NM_CONTROLLED=no MTU=9000 Don't edit the ifcfg-eth4 / ifcfg-eth5 file instead edit ifcfg-logicnetworkname. Set that to static with a gateway. And that won't get over written. However be warned Linux doesn't like having two default gateway's. You might want to review http://www.centos.org/docs/2/rhl-rg-en-7.2/ch-networkscripts.html and use static routers. Thanks Robert I didn't quite understand what you did here.. What I think you meant is: 1. You edited the network on a NIC, and provided static boot protocol with the parameters (ip, netmask). 2. After that when you clicked OK then the configuration was sent to the Host, and in the Network Interfaces tab for the Host you could see the IP in the Address column. On the host the ifcfg script for this network had these fields set. --- Assuming that no restart of Host or VDSM on Host was done --- 3. You edited the network again, didn't change anything, and clicked OK. 4. This time, the boot protocol info was gone from display ifcfg file on the Host. Is this correct? Also do you by any chance have the log files of ovirt (engine.log)/vdsm (vdsm.log) with the flow that you did? I'll try to clarify the steps I took a little better, sorry if it was unclear before. 1. Create logical network in Cluster that was NOT a VM Network (my assumption of how to setup a storage network) 2. Edit NIC on host, set boot protocol to static and provide IP/Netmask, and select the logical network created in #1, check Save network configuration 3. After clicking OK the corresponding ifcfg file on the node was modified, but the values for IP/Netmask were missing. Also the values did not appear in the network interface list, and were not shown when going to that same interface and selecting Add/Edit again That process did not involve a reboot of the host. So in the host interface eth5 I set the following via web interface Network: private1 Boot Protocol: Static IP: 10.20.1.241 Subnet Mask: 255.0.0.0 Check: Save network configuration After the save the node's ifcfg-eth5 is touched (based on modified date in ls -la) but this is all it contains DEVICE=eth5 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:1d:33:f1 NM_CONTROLLED=no MTU=9000 As far as I can tell the only setting from ovirt-engine that made it to that file was the MTU setting defined when creating the logical network for the cluster. Is my process somehow wrong or am I missing a step? I've done this with the node being in both Up status and Maintenance, same results. As a test I manually updated the IP/Netmask of ifcfg-eth4 and it shows up in the web interface with the correct information however any changes via the web interface will remove the IPADDR and NETMASK lines. I also attached image cluster_logical_networks.png that shows the all the logical networks
Re: [Users] On oVirt 3.1, Fedora 16 and 17 hang at boot
+1 Срд 20 Июн 2012 20:38:09 +0400, Jason Brooks написал: Hi everyone, I'm testing oVirt 3.1 with a few different VM types, and I'm experiencing boot issues with Fedora 16 and 17, 64bit. F17 hangs while booting from the F17 install DVD. F16 installs normally (minimal install), but hangs during the initial boot after installation. The F16 VM will boot to rescue mode, however. The VM appears to get through the full boot process, but then the CPU usage goes to 99 or 100% and the VM won't respond. I've tried with spice and vnc consoles, with and without USB enabled. I've let it sit for quite a while, and the VM CPU usage stays pegged, and the VMs remain unresponsive. CentOS 6.2 and Ubuntu 12.04 VMs, both 64bit, work normally on my oVirt 3.1 setup. Any idea what might be causing the issue, or how I might go about debugging it? 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
Re: [Users] On oVirt 3.1, Fedora 16 and 17 hang at boot
Hi,everyone I have also met this problem recently,but I was just using vdsm to create a vm and boot it to install FC16/17 instead of using ovirt-engine. Maybe it is a bug or problem of vdsm. I also met one problem: After created a vm,after a while,trying to get info or shutdown the vm,the vm will be not responding. I have no idea whether the two problems are relative. On 06/21/2012 12:38 AM, Jason Brooks wrote: Hi everyone, I'm testing oVirt 3.1 with a few different VM types, and I'm experiencing boot issues with Fedora 16 and 17, 64bit. F17 hangs while booting from the F17 install DVD. F16 installs normally (minimal install), but hangs during the initial boot after installation. The F16 VM will boot to rescue mode, however. The VM appears to get through the full boot process, but then the CPU usage goes to 99 or 100% and the VM won't respond. I've tried with spice and vnc consoles, with and without USB enabled. I've let it sit for quite a while, and the VM CPU usage stays pegged, and the VMs remain unresponsive. CentOS 6.2 and Ubuntu 12.04 VMs, both 64bit, work normally on my oVirt 3.1 setup. Any idea what might be causing the issue, or how I might go about debugging it? Thanks, Jason ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Best Regards, Bing Bu Cao ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Setting up logical storage networks
Don't edit the ifcfg-eth4 / ifcfg-eth5 file instead edit ifcfg-logicnetworkname. Set that to static with a gateway. And that won't get over written. However be warned Linux doesn't like having two default gateway's. You might want to review http://www.centos.org/docs/2/rhl-rg-en-7.2/ch-networkscripts.html and use static routers. If he were using a VM network then that is possible since (currently) VM network is implemented using a bridge device, which would be named ifcfg-logicnetworkname, however if the network is not a VM network then there is no bridge and the device file to edit is the ifcfg-nic* file. Either way, if he would later edit that network definition through oVirt then these values will be overwritten. Thanks Robert Regards, Mike ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users