[Users] [oVirt 3.1] reinstallation

Hi, I'm trying to reinstall but when I execute: engine-cleanup I get the following errors: <----> [root@test ~]# engine-cleanup WARNING: Executing oVirt Engine cleanup utility. This utility will wipe all existing data including configuration settings, certificates and database. In addition, all existing DB connections will be closed. Would you like to proceed? (yes|no): yes 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 <----> And If I execute engine-setup, those ones: <----> [root@test ~]# engine-setup Welcome to oVirt Engine setup utility In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes Stopping ovirt-engine service... Error: Can't stop the ovirt-engine service Please check log file /var/log/ovirt-engine/engine-setup_2012_10_10_23_49_28.log for more information <----> Log file: <----> 2012-10-10 23:49:29::DEBUG::common_utils::335::root:: stderr = 2012-10-10 23:49:29::DEBUG::common_utils::336::root:: retcode = 0 2012-10-10 23:49:29::DEBUG::engine-setup::1992::root:: Found a match, amount of memory: 2887 2012-10-10 23:49:29::WARNING::engine-setup::2003::root:: There is less then 4096 available memory 2012-10-10 23:49:29::DEBUG::engine-setup::1897::root:: Entered main(configFile='None') 2012-10-10 23:49:29::DEBUG::engine-setup::1684::root:: stopping ovirt-engine service 2012-10-10 23:49:29::DEBUG::common_utils::815::root:: asking user: Would you like to stop the ovirt-engine service? (yes|no): 2012-10-10 23:49:30::DEBUG::common_utils::819::root:: user answered: yes 2012-10-10 23:49:30::DEBUG::common_utils::1059::root:: stopping ovirt-engine 2012-10-10 23:49:30::DEBUG::common_utils::1096::root:: executing action ovirt-engine on service stop 2012-10-10 23:49:30::DEBUG::common_utils::294::root:: Executing command --> '/sbin/service ovirt-engine stop' 2012-10-10 23:49:30::DEBUG::common_utils::334::root:: output = Stopping engine-service: [FAILED] 2012-10-10 23:49:30::DEBUG::common_utils::335::root:: stderr = 2012-10-10 23:49:30::DEBUG::common_utils::336::root:: retcode = 1 2012-10-10 23:49:30::DEBUG::engine-setup::1771::root:: *** The following params were used as user input: 2012-10-10 23:49:30::ERROR::engine-setup::2170::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2164, in <module> main(confFile) File "/usr/bin/engine-setup", line 1911, in main if not _stopEngine(configFile): File "/usr/bin/engine-setup", line 1693, in _stopEngine jservice.stop(True) File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1064, in stop raise Exception(output_messages.ERR_FAILED_STOP_SERVICE % self.name) Exception: Error: Can't stop the ovirt-engine service <----> I removed all oVirt packages and installed again (yum), but the same error. What can I do ? Regards.- -- AGD

----- Original Message -----
From: "Andres Gonzalez" <tuchoz@gmail.com> To: "<users@ovirt.org>" <users@ovirt.org> Sent: Thursday, October 11, 2012 3:52:16 AM Subject: [Users] [oVirt 3.1] reinstallation
<snip>
I removed all oVirt packages and installed again (yum), but the same error. What can I do ?
Make sure you do not have java process running, if you have, just kill it. remove: /var/run/ovirt-engine* /var/lib/ovirt-engine /var/log/ovirt-engine /var/cache/virt-engine /etc/ovirt-engine remove all packages, and install them again, or simply reinstall 'ovirt-engine*' Alon.

On Wed, Oct 10, 2012 at 11:56 PM, Alon Bar-Lev <alonbl@redhat.com> wrote:
----- Original Message -----
From: "Andres Gonzalez" <tuchoz@gmail.com> To: "<users@ovirt.org>" <users@ovirt.org> Sent: Thursday, October 11, 2012 3:52:16 AM Subject: [Users] [oVirt 3.1] reinstallation
<snip>
I removed all oVirt packages and installed again (yum), but the same error. What can I do ?
Make sure you do not have java process running, if you have, just kill it.
remove: /var/run/ovirt-engine* /var/lib/ovirt-engine /var/log/ovirt-engine /var/cache/virt-engine /etc/ovirt-engine
remove all packages, and install them again, or simply reinstall 'ovirt-engine*'
Alon.
I killed a java proces that was running, removed everything (except /var/cache/virt-engine that didn't exist), then removed all ovirt-engine* and reinstall it (yum install) but still happening the same thing. It's like is trying to stop the overt-engine process that isn't running. -- AGD

----- Original Message -----
Hi,
I'm trying to reinstall but when I execute: engine-cleanup I get the following errors:
<----> [root@test ~]# engine-cleanup
WARNING: Executing oVirt Engine cleanup utility. This utility will wipe all existing data including configuration settings, certificates and database. In addition, all existing DB connections will be closed. Would you like to proceed? (yes|no): yes
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
can you please supply this log? it might reveal the actual issue. also, /var/log/messages might be helpful few questions: 1. Did you ever touched the postgres configuration? 2. Any special iptables modifications? Thanks, Ofer
<---->
And If I execute engine-setup, those ones:
<----> [root@test ~]# engine-setup
Welcome to oVirt Engine setup utility
In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes Stopping ovirt-engine service... Error: Can't stop the ovirt-engine service Please check log file /var/log/ovirt-engine/engine-setup_2012_10_10_23_49_28.log for more information
<---->
Log file:
<----> 2012-10-10 23:49:29::DEBUG::common_utils::335::root:: stderr = 2012-10-10 23:49:29::DEBUG::common_utils::336::root:: retcode = 0 2012-10-10 23:49:29::DEBUG::engine-setup::1992::root:: Found a match, amount of memory: 2887 2012-10-10 23:49:29::WARNING::engine-setup::2003::root:: There is less then 4096 available memory 2012-10-10 23:49:29::DEBUG::engine-setup::1897::root:: Entered main(configFile='None') 2012-10-10 23:49:29::DEBUG::engine-setup::1684::root:: stopping ovirt-engine service 2012-10-10 23:49:29::DEBUG::common_utils::815::root:: asking user: Would you like to stop the ovirt-engine service? (yes|no): 2012-10-10 23:49:30::DEBUG::common_utils::819::root:: user answered: yes 2012-10-10 23:49:30::DEBUG::common_utils::1059::root:: stopping ovirt-engine 2012-10-10 23:49:30::DEBUG::common_utils::1096::root:: executing action ovirt-engine on service stop 2012-10-10 23:49:30::DEBUG::common_utils::294::root:: Executing command --> '/sbin/service ovirt-engine stop' 2012-10-10 23:49:30::DEBUG::common_utils::334::root:: output = Stopping engine-service: [FAILED]
2012-10-10 23:49:30::DEBUG::common_utils::335::root:: stderr = 2012-10-10 23:49:30::DEBUG::common_utils::336::root:: retcode = 1 2012-10-10 23:49:30::DEBUG::engine-setup::1771::root:: *** The following params were used as user input: 2012-10-10 23:49:30::ERROR::engine-setup::2170::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2164, in <module> main(confFile) File "/usr/bin/engine-setup", line 1911, in main if not _stopEngine(configFile): File "/usr/bin/engine-setup", line 1693, in _stopEngine jservice.stop(True) File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1064, in stop raise Exception(output_messages.ERR_FAILED_STOP_SERVICE % self.name ) Exception: Error: Can't stop the ovirt-engine service
<---->
I removed all oVirt packages and installed again (yum), but the same error. What can I do ?
Regards.-
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, Oct 11, 2012 at 8:44 AM, Ofer Schreiber <oschreib@redhat.com> wrote:
----- Original Message -----
Hi,
I'm trying to reinstall but when I execute: engine-cleanup I get the following errors:
<----> [root@test ~]# engine-cleanup
WARNING: Executing oVirt Engine cleanup utility. This utility will wipe all existing data including configuration settings, certificates and database. In addition, all existing DB connections will be closed. Would you like to proceed? (yes|no): yes
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
can you please supply this log? it might reveal the actual issue. also, /var/log/messages might be helpful
few questions: 1. Did you ever touched the postgres configuration? 2. Any special iptables modifications?
Thanks, Ofer
Hi, attached are booth files. Regarding your questions, I didn't touched postgres configuration and the iptables y stopped. Regards. -- AGD

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

On Sat, Oct 13, 2012 at 6:39 AM, Dave Neary <dneary@redhat.com> wrote:
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<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.
Hi Dave, I changed the values according to the wiki but stills happens the same error. Regards. Andres -- AGD

------=_Part_4284968_312906203.1350546010972 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=20 Maybe this will help. I create a note, how remove and install a new install= ation on RHEVM 3.1:=20 Remove / Uninstall RHEVM & VDSM (clear old installation)=20 #### Manager: ####=20 rhevm-cleanup=20 yum -y remove rhevm* vdsm-bootstrap=20 rm -rf /var/log/ovirt-engine/engine*=20 rm -rf /var/log/ovirt-engine/server*=20 rm -rf /tmp/*=20 yum clean all=20 *** Clean PostgresSQL ***=20 psql -U postgres -l=20 dropdb -U postgres engine_2012_06_26_10_20_21=20 psql -U postgres -l=20 #### Host ####=20 service vdsmd stop=20 # service libvirtd stop=20 initctl stop libvirtd=20 service libvirtd status=20 # initctl status libvirtd=20 ### yum remove libvirt* vdsm* qemu* sanlock*=20 yum -y remove *vdsm* *libvirt* *qemu* *sanlock* jpackage* vdsm-python*=20 rm -rf /etc/libvirt/DC-04=20 rm -rf /var/lib/libvirt/=20 rm -rf /var/log/vdsm/=20 ## rm -rf /var/log/vdsm/vdsm.log*=20 ## rm -rf /var/log/vdsm/libvirt.log*=20 rm -rf /tmp/*=20 yum clean all=20 # yum makecache=20 ### Disconnect all iSCSI sessions:=20 iscsiadm -m session=20 iscsiadm -m session -u=20 iscsiadm -m node=20 iscsiadm -m node -o delete=20 iscsiadm -m session=20 iscsiadm -m node=20 ### umount PosixFS=20 ls -l /rhev/data-center/mnt/10.35.97.44\:_vol1_=20 umount /rhev/data-center/mnt/10.35.97.44\:_vol1_=20 ----- Original Message -----
From: "Andres Gonzalez" <tuchoz@gmail.com> To: "Dave Neary" <dneary@redhat.com> Cc: users@ovirt.org Sent: Wednesday, October 17, 2012 10:23:12 PM Subject: Re: [Users] [oVirt 3.1] reinstallation
On Sat, Oct 13, 2012 at 6:39 AM, Dave Neary < dneary@redhat.com > wrote:
Hi, =20
On 10/11/2012 03:52 AM, Andres Gonzalez wrote: =20
I'm trying to reinstall but when I execute: engine-cleanup I get the =20 =20 following errors: =20 =20
<snip> =20
Stopping ovirt-engine service... [ ERROR ] =20 =20
Error: Couldn't connect to the database server.Check that connection is =20 =20 working and rerun the cleanup utility =20 =20 Error: Cleanup failed. =20 =20 please check log at =20 =20 /var/log/ovirt-engine/engine- cleanup_2012_10_10_23_38_30. log =20 =20
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"). =20
The issue is that SHMMAX is set low on Fedora 17 by default, and you need to increase it. =20
Let me know if this is the problem, or whether this is a different issue for you. =20
Thanks, =20 Dave. =20
Hi Dave,
I changed the values according to the wiki but stills happens the same error.
Regards. Andres
-- AGD
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
<br>rhevm-cleanup<br>yum -y remove rhevm* vdsm-bootstrap<br><br>rm -rf /va= r/log/ovirt-engine/engine*<br>rm -rf /var/log/ovirt-engine/server*<br>rm -r= f /tmp/*<br><br>yum clean all<br><br>*** Clean PostgresSQL ***<br>psql -U p= ostgres -l<br>dropdb -U postgres engine_2012_06_26_10_20_21<br>psql -U post= gres -l<br><br><br><br>#### Host #### <br><br>service vdsmd stop<br># servi= ce libvirtd stop<br>initctl stop libvirtd<br>service libvirtd status<br># i= nitctl status libvirtd<br><br>### yum remove libvirt* vdsm* qemu* sanlock*<= br>yum -y remove *vdsm* *libvirt* *qemu* *sanlock* jpackage* vdsm-python*<b= r>rm -rf /etc/libvirt/DC-04<br>rm -rf /var/lib/libvirt/<br>rm -rf /var/log/= vdsm/<br>## rm -rf /var/log/vdsm/vdsm.log*<br>## rm -rf /var/log/vdsm/libvi= rt.log*<br>rm -rf /tmp/*<br><br>yum clean all<br># yum makecache<br><br>###= Disconnect all iSCSI sessions:<br>iscsiadm -m session<br>iscsiadm -m sessi= on -u<br>iscsiadm -m node<br>iscsiadm -m node -o delete<br>iscsiadm -m sess= ion<br>iscsiadm -m node<br><br>### umount PosixFS<br>ls -l /rhev/data-cente= r/mnt/10.35.97.44\:_vol1_<br>umount /rhev/data-center/mnt/10.35.97.44\:_vol= 1_<br><br><hr id=3D"zwchr"><blockquote style=3D"border-left:2px solid rgb(1= 6, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;= font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-ser= if;font-size:12pt;"><b>From: </b>"Andres Gonzalez" <tuchoz@gmail.com>= <br><b>To: </b>"Dave Neary" <dneary@redhat.com><br><b>Cc: </b>users@o= virt.org<br><b>Sent: </b>Wednesday, October 17, 2012 10:23:12 PM<br><b>Subj= ect: </b>Re: [Users] [oVirt 3.1] reinstallation<br><br><div class=3D"gmail_= quote">On Sat, Oct 13, 2012 at 6:39 AM, Dave Neary <span dir=3D"ltr"><<a=
--=20 Have a nice day =E2=98=BA=E2=98=BB=E2=98=BA=E2=98=BB=E2=98=BA!=20 Thank you and best regards=20 Vladimir Vyazmin=20 Mobile: +972 (0) 50 277 2707=20 Phone: +972 (0) 9 769 2346=20 Email: vvyazmin@redhat.com=20 ------=_Part_4284968_312906203.1350546010972 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><= div style=3D'font-family: times new roman,new york,times,serif; font-size: = 12pt; color: #000000'>Hi,<br><br>Maybe this will help. I create a note, how= remove and install a new installation on RHEVM 3.1:<br><br>Remove / Uninst= all RHEVM & VDSM (clear old installation)<br><br>#### Manager: #### <br= href=3D"mailto:dneary@redhat.com" target=3D"_blank">dneary@redhat.com</a>&= gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<div class=3D"im"><br> <br> On 10/11/2012 03:52 AM, Andres Gonzalez wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> I'm trying to reinstall but when I execute: engine-cleanup I get the<br> following errors:<br> </blockquote> <br></div> <snip><div class=3D"im"><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> Stopping ovirt-engine service... = [ ERROR ]<br> <br> Error: Couldn't connect to the database server.Check that connection is<br> working and rerun the cleanup utility<br> Error: Cleanup failed.<br> please check log at<br> /var/log/ovirt-engine/engine-<u></u>cleanup_2012_10_10_23_38_30.<u></u>log<= br> </blockquote> <br></div> I had the same issue and found out what the problem was by looking in the o= Virt start-up logs - the issue was that the database was not starting, beca= use of an operating system setting (which I documented in <a href=3D"http:/= /wiki.ovirt.org/wiki/Troubleshooting" target=3D"_blank">http://wiki.ovirt.o= rg/wiki/<u></u>Troubleshooting</a> in the section "I am having trouble conn= ecting to the database. In the system log, I get the following message from= Postgres").<br> <br> The issue is that SHMMAX is set low on Fedora 17 by default, and you need t= o increase it.<br> <br> Let me know if this is the problem, or whether this is a different issue fo= r you.<br> <br> Thanks,<br> Dave.<span class=3D"HOEnZb"><font color=3D"#888888"><br><br></font></span><= /blockquote><div><br></div><div>Hi Dave, </div><div><br></div><div>I c= hanged the values according to the wiki but stills happens the same error.<= /div> <div><br></div><div>Regards.</div><div>Andres</div><div> </div></div><= br><br clear=3D"all"><div><br></div>-- <br>AGD<br> <br>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote><br><br><br>-- <br><div><span name=3D"x"></span><br>Have a nice day= =E2=98=BA=E2=98=BB=E2=98=BA=E2=98=BB=E2=98=BA!<br>Thank you and best regar= ds<br><br>Vladimir Vyazmin<br>Mobile: +972 (0) 50 277 2707<br>Phone: = +972 (0) 9 769 2346<br>Email: vvyazmin@redhat.com<span name= =3D"x"></span><br></div></div></body></html> ------=_Part_4284968_312906203.1350546010972--
participants (5)
-
Alon Bar-Lev
-
Andres Gonzalez
-
Dave Neary
-
Ofer Schreiber
-
Vladimir Vyazmin