Re: [Users] problems starting ovirt-engine after upgrade 3.2.0 to 3.2.1

2013-04-22 Thread Gianluca Cecchi
On Mon, Apr 22, 2013 at 12:52 PM,  j wrote:

 iiuc, you can't get the engine running, yet you attached the logs of the
 the engine-dwh service, rather than the ovirt-engine service.
 please attache ovirt-engine logs.

 thanks,
Itamar

 Hmm, there is no ovirt-engine service in init.d anymore. I just thought
 somebody renamed it to ovirt-engine-dwhd for some reason but forgot I
 installed this for reports a couple of weeks ago.


 I can probably just grab de engine init script and fix it, but I really
 wonder how it disappeared.

MOst of services are managed by systemd in fedora 18.

init file is /usr/lib/systemd/system/ovirt-engine.service

inside it there is the call to actual file and actions, eg:

ExecStart=/usr/bin/engine-service start

/usr/bin/engine-service is what you would like to modify

but probably you had better send engine log files, under /var/log/ovirt-engine/
(engine.log in particular)

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] problems starting ovirt-engine after upgrade 3.2.0 to 3.2.1

2013-04-15 Thread Jorick Astrego

Hi,

After upgrading ovirt-engine several weeks ago, I tried to login the 
admin portal but the page was not loading.


So I tried restart the service but it doesn't come up again. I didn't 
restart the engine after upgrade but I did update and reboot the 
underlying OS.


systemctl status ovirt-engine-dwhd.service

   ovirt-engine-dwhd.service - LSB: oVirt Engine History ETL Service
   for Data Warehouse and Reporting
  Loaded: loaded (/etc/rc.d/init.d/ovirt-engine-dwhd)
  Active: failed (Result: exit-code) since Mon 2013-04-15
   16:34:39 CEST; 11min ago
 Process: 1030 ExecStop=/etc/rc.d/init.d/ovirt-engine-dwhd stop
   (code=exited, status=0/SUCCESS)
 Process: 30063 ExecStart=/etc/rc.d/init.d/ovirt-engine-dwhd
   start (code=exited, status=1/FAILURE)
Main PID: 954 (code=exited, status=232)
  CGroup: name=systemd:/system/ovirt-engine-dwhd.service
   Apr 15 16:34:29 ovirt01.netbulae.mgmt systemd[1]: Starting LSB:
   oVirt Engine History ETL Service for Data Warehouse and Reporting...
   Apr 15 16:34:29 ovirt01.netbulae.mgmt runuser[30068]:
   pam_unix(runuser:session): session opened for user root by (uid=0)
   Apr 15 16:34:29 ovirt01.netbulae.mgmt runuser[30068]:
   pam_unix(runuser:session): session closed for user root
   Apr 15 16:34:39 ovirt01.netbulae.mgmt ovirt-engine-dwhd[30063]:
   Starting ovirt-engine-dwhd: at Mon Apr 15 16:34:29 CEST 2013[FAILED]
   Apr 15 16:34:39 ovirt01.netbulae.mgmt systemd[1]:
   ovirt-engine-dwhd.service: control process exited, code=exited status=1
   Apr 15 16:34:39 ovirt01.netbulae.mgmt systemd[1]: Failed to start
   LSB: oVirt Engine History ETL Service for Data Warehouse and Reporting.
   Apr 15 16:34:39 ovirt01.netbulae.mgmt systemd[1]: Unit
   ovirt-engine-dwhd.service entered failed state

rpm -qa|grep ovirt

   ovirt-engine-backend-3.2.1-1.fc18.noarch
   ovirt-host-deploy-java-1.0.1-1.fc18.noarch
   ovirt-engine-setup-3.2.1-1.fc18.noarch
   ovirt-engine-userportal-3.2.1-1.fc18.noarch
   ovirt-engine-restapi-3.2.1-1.fc18.noarch
   ovirt-iso-uploader-3.2.1-1.fc18.noarch
   ovirt-engine-cli-3.2.0.11-1.fc18.noarch
   ovirt-engine-tools-3.2.1-1.fc18.noarch
   ovirt-engine-genericapi-3.2.1-1.fc18.noarch
   ovirt-engine-sdk-3.2.0.10-1.fc18.noarch
   ovirt-engine-webadmin-portal-3.2.1-1.fc18.noarch
   ovirt-engine-3.2.1-1.fc18.noarch
   ovirt-engine-dwh-3.2.0-1.fc18.noarch
   ovirt-image-uploader-3.2.1-1.fc18.noarch
   ovirt-log-collector-3.2.1-1.fc18.noarch
   ovirt-release-fedora-5-3.noarch
   ovirt-host-deploy-1.0.1-1.fc18.noarch
   ovirt-engine-dbscripts-3.2.1-1.fc18.noarch


tail ovirt-engine-dwhd.log

   2013-04-15 16:34:29|ETL Service Started
   2013-04-15 16:34:30|ETL Service Stopped
   2013-04-15
   
16:34:30|OHuFYx|OHuFYx|OHuFYx|OVIRT_ENGINE_DWH|HistoryETL|Default|5|tDie|tDie_1|oVirt
   Engine Portal is not available. Please check your ETL
   configuration.|9704
   oVirt Engine Portal is not available. Please check your ETL
   configuration.


cat ovirt-engine-dwh-setup-2013_03_19_13_41_15.log

   2013-03-19 13:41:15::DEBUG::ovirt-engine-dwh-setup::225::root::
   starting main()
   2013-03-19 13:41:15::DEBUG::common_utils::415::root:: found existing
   pgpass file, fetching DB host value
   2013-03-19 13:41:15::DEBUG::common_utils::415::root:: found existing
   pgpass file, fetching DB port value
   2013-03-19 13:41:15::DEBUG::common_utils::415::root:: found existing
   pgpass file, fetching DB admin value
   2013-03-19 13:41:15::DEBUG::common_utils::415::root:: found existing
   pgpass file, fetching DB admin value
   2013-03-19 13:41:15::DEBUG::common_utils::448::root:: getting DB
   password for postgres
   2013-03-19 13:41:15::DEBUG::common_utils::457::root:: found password
   for username postgres
   2013-03-19 13:41:15::DEBUG::common_utils::58::root:: getting vdc
   option MinimalETLVersion
   2013-03-19 13:41:15::DEBUG::common_utils::512::root:: Executing
   command -- '['/usr/bin/engine-config', '-g', 'MinimalETLVersion',
   '--cver=general', '-p',
   '/usr/share/ovirt-engine/conf/engine-config-install.properties']'
   2013-03-19 13:41:17::DEBUG::common_utils::551::root:: output = 3.2.0

   2013-03-19 13:41:17::DEBUG::common_utils::552::root:: stderr =
   2013-03-19 13:41:17::DEBUG::common_utils::553::root:: retcode = 0
   2013-03-19 13:41:17::DEBUG::common_utils::61::root:: Value of
   MinimalETLVersion is 3.2.0

   2013-03-19 13:41:17::DEBUG::common_utils::512::root:: Executing
   command -- '['rpm', '-q', '--queryformat', '%{VERSION}-%{RELEASE}',
   'ovirt-engine-dwh']'
   2013-03-19 13:41:17::DEBUG::common_utils::551::root:: output =
   3.2.0-1.fc18
   2013-03-19 13:41:17::DEBUG::common_utils::552::root:: stderr =
   2013-03-19 13:41:17::DEBUG::common_utils::553::root:: retcode = 0
   2013-03-19 13:41:17::DEBUG::common_utils::347::root:: setting regex
   (\d+\.\d+)\.(\d+)\-(\d+) againts 3.2.0-1.fc18
   2013-03-19 13:41:17::DEBUG::common_utils::352::root:: found version, 3.2
   2013-03-19