Re: [Users] [oVirt 3.1] reinstallation
Hi, On 10/11/2012 03:52 AM, Andres Gonzalez wrote: I'm trying to reinstall but when I execute: engine-cleanup I get the following errors: snip Stopping ovirt-engine service...[ ERROR ] Error: Couldn't connect to the database server.Check that connection is working and rerun the cleanup utility Error: Cleanup failed. please check log at /var/log/ovirt-engine/engine-cleanup_2012_10_10_23_38_30.log I had the same issue and found out what the problem was by looking in the oVirt start-up logs - the issue was that the database was not starting, because of an operating system setting (which I documented in http://wiki.ovirt.org/wiki/Troubleshooting in the section I am having trouble connecting to the database. In the system log, I get the following message from Postgres). The issue is that SHMMAX is set low on Fedora 17 by default, and you need to increase it. Let me know if this is the problem, or whether this is a different issue for you. Thanks, Dave. -- Dave Neary Community Action and Impact Open Source and Standards, Red Hat Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Can't start a VM - sanlock permission denied
Hi, after getting to the oVirt Node console (F2) I figured out that selinux wasn't allowing the sanlock, so I entered the setsebool virt_use_sanlock 1 and the problem is fixed. However, I started getting permission denied error when trying to start the VM that was created on that NFS share. On the ovirt node console, I noticed that the user.group of that share was nobody.nobody instead of vdsm.kvm. I followed the instruction on the wiki about anonguid and anonuid but no luck at all. This was an Ubuntu nfs server. I Installed a FC17 VM on this Ubuntu and tried again and it worked at the first time :-) Ubuntu has a KVM group with guid = 106. Alex 2012/10/11 Alexandre Santos santosa...@gmail.com Hello Haim, sure I'll provide them. I'll enter the node console and will check that. Alex 2012/10/11 Haim Ateya hat...@redhat.com Hi Alex, can you please provide some logs (engine + vdsm) ? also, can you verify that sanlock service is running on node ? - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Thursday, October 11, 2012 12:06:19 PM Subject: Re: [Users] Can't start a VM - sanlock permission denied It's me again, now less sleepy :-) What I would like to know is if this sanlock permission issue is within the oVirt engine, a problem on the NFS Server or on the oVirt node (it's a 2.5.3 from nightly). On the later, I can't access the console to issue those commands - I don't even know if it's running SELinux at all :-) Alex 2012/10/11 Alexandre Santos santosa...@gmail.com Him I managed to install the new oVirt Node on a 8 GB USB Pen. I created the NFS Share anf when I try to Run the VM I get the: M ubuntu is down. Exit message: internal error Failed to open socket to sanlock daemon: Permission denied. I did the setsebool mentioned on the wiki on the engine but still get the error. Is it necessary to configure anywhere else? Alex ___ 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] Add a Host and iptables
Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
- Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
Sorry, post? On the oVirt Node TUI I didn't change the port, it's 8443. I noticed now that port 8443 isn't listed on the iptables list. I attach the output. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon iptables.output Description: Binary data ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
Oh... You should register into 443... - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:35:48 PM Subject: Re: [Users] Add a Host and iptables Sorry, post? On the oVirt Node TUI I didn't change the port, it's 8443. I noticed now that port 8443 isn't listed on the iptables list. I attach the output. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
Alon, I'm quite sure I didn't change that. The oVirt Node should have it at port 443 by default then. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com Oh... You should register into 443... - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:35:48 PM Subject: Re: [Users] Add a Host and iptables Sorry, post? On the oVirt Node TUI I didn't change the port, it's 8443. I noticed now that port 8443 isn't listed on the iptables list. I attach the output. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
I agree that this is confusing. There is a note in the code specifying that the 8443 is for backward compatibility. Until the version 3.0, oVirt Engine provided port 8443/8080 to oVirt Node download cert and others files. Since 3.1 the default port changed to 443/80. This function, will return the compatible port in case the VDSM cannot communicate with oVirt Engine. :param portNumber: port which doesn't communicate with oVirt Engine :returns: compatible port number (or None if there is no compatible port) and if it's SSL port or not (bool) Brarak? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:51:20 PM Subject: Re: [Users] Add a Host and iptables Alon, I'm quite sure I didn't change that. The oVirt Node should have it at port 443 by default then. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com Oh... You should register into 443... - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:35:48 PM Subject: Re: [Users] Add a Host and iptables Sorry, post? On the oVirt Node TUI I didn't change the port, it's 8443. I noticed now that port 8443 isn't listed on the iptables list. I attach the output. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Can't start a VM - sanlock permission denied
On Sat, Oct 13, 2012 at 11:25:37AM +0100, Alexandre Santos wrote: Hi, after getting to the oVirt Node console (F2) I figured out that selinux wasn't allowing the sanlock, so I entered the setsebool virt_use_sanlock 1 and the problem is fixed. Which version of vdsm is istalled on your node? and which selinux-policy? sanlock should work out-of-the-box. However, I started getting permission denied error when trying to start the VM that was created on that NFS share. On the ovirt node console, I noticed that the user.group of that share was nobody.nobody instead of vdsm.kvm. I followed the instruction on the wiki about anonguid and anonuid but no luck at all. This was an Ubuntu nfs server. I Installed a FC17 VM on this Ubuntu and tried again and it worked at the first time :-) I've seen these problem when using nfs v4 without defining it's id mapper properly. The issue went away when (down?)grading to v3. Ubuntu has a KVM group with guid = 106. Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Is this dd operation harmful?
On Thu, Oct 11, 2012 at 11:38:19PM +0800, Shu Ming wrote: After reading the code, every mailbox should be 4096 byte size. And the total mailbox size is host * 4096. Ony one host is here, so the total mailbox size here is 4096. why should the 'dd' operation read 1024000 byte which is 1000K byte much lager than 4096 here? The controlling parameter is MAX_HOST_ID=250, not the number of current cluster members. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Here we go again - Error adding host , incorrect vdsm version
On Fri, Oct 12, 2012 at 08:28:44PM +0200, Ricky Schneberger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, When I try to add a new host from Webadmin I got Unable to fetch VDSM with minimal version of vdsm-4.9. Please check. I have patched as told from this post, http://lists.ovirt.org/pipermail/users/2012-June/002466.html, but it does not solved my problem. Which version of vdsm-bootsrap do you have installed on your Engine? The refered patch has been submitted to ovirt-3.1 as v4.10.0-3-g67309fc. Dan. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
On 10/13/2012 08:55 PM, Alon Bar-Lev wrote: I agree that this is confusing. There is a note in the code specifying that the 8443 is for backward compatibility. Until the version 3.0, oVirt Engine provided port 8443/8080 to oVirt Node download cert and others files. Since 3.1 the default port changed to 443/80. This function, will return the compatible port in case the VDSM cannot communicate with oVirt Engine. :param portNumber: port which doesn't communicate with oVirt Engine :returns: compatible port number (or None if there is no compatible port) and if it's SSL port or not (bool) Brarak? Alexander what version are you using ? this was handled in patch http://gerrit.ovirt.org/#/c/5367/10 Thanks Barak Azulay - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:51:20 PM Subject: Re: [Users] Add a Host and iptables Alon, I'm quite sure I didn't change that. The oVirt Node should have it at port 443 by default then. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com Oh... You should register into 443... - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:35:48 PM Subject: Re: [Users] Add a Host and iptables Sorry, post? On the oVirt Node TUI I didn't change the port, it's 8443. I noticed now that port 8443 isn't listed on the iptables list. I attach the output. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Add a Host and iptables
2.5.3 from nightly No dia 13/10/2012 22:27, Barak Azulay bazu...@redhat.com escreveu: On 10/13/2012 08:55 PM, Alon Bar-Lev wrote: I agree that this is confusing. There is a note in the code specifying that the 8443 is for backward compatibility. Until the version 3.0, oVirt Engine provided port 8443/8080 to oVirt Node download cert and others files. Since 3.1 the default port changed to 443/80. This function, will return the compatible port in case the VDSM cannot communicate with oVirt Engine. :param portNumber: port which doesn't communicate with oVirt Engine :returns: compatible port number (or None if there is no compatible port) and if it's SSL port or not (bool) Brarak? Alexander what version are you using ? this was handled in patch http://gerrit.ovirt.org/#/c/**5367/10http://gerrit.ovirt.org/#/c/5367/10 Thanks Barak Azulay - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:51:20 PM Subject: Re: [Users] Add a Host and iptables Alon, I'm quite sure I didn't change that. The oVirt Node should have it at port 443 by default then. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com Oh... You should register into 443... - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:35:48 PM Subject: Re: [Users] Add a Host and iptables Sorry, post? On the oVirt Node TUI I didn't change the port, it's 8443. I noticed now that port 8443 isn't listed on the iptables list. I attach the output. Alex 2012/10/13 Alon Bar-Lev alo...@redhat.com What post did you try to register to? What is the output of 'iptables --list'? - Original Message - From: Alexandre Santos santosa...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users@ovirt.org Sent: Saturday, October 13, 2012 8:14:07 PM Subject: Re: [Users] Add a Host and iptables Well, it was brute force... disabled iptables on the engine server :-) 2012/10/13 Alon Bar-Lev alo...@redhat.com - Original Message - From: Alexandre Santos santosa...@gmail.com To: users@ovirt.org Sent: Saturday, October 13, 2012 5:13:03 PM Subject: [Users] Add a Host and iptables Hi, I noticed that when I install a new Host using the oVirt Node ISO, when I try to register my new host on the oVirt Engine, I can't download the engine key. I must disable the iptables on the engine before. Alex Hi, What change exactly was added by you? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users