[ovirt-users] Problem with reporting

Yaniv Dary ydary at redhat.com
Mon Jun 23 10:40:14 UTC 2014


in upgrade admin user stays ovirt-admin, not admin.



Yaniv

----- Original Message -----
> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
> To: "Yaniv Dary" <ydary at redhat.com>
> Cc: "Alon Bar-Lev" <alonbl at redhat.com>, "Yedidyah Bar David" <didi at redhat.com>, "users" <users at ovirt.org>
> Sent: Monday, June 23, 2014 1:35:45 PM
> Subject: Re: [ovirt-users] Problem with reporting
> 
> I'm using ovirt-engine-reports-3.4.2-1.el6.noarch.
> 
> I tried to use the reporting engine since Ovirt 3.2x.
> But it didn't work on Centos systems. So it is an upgrade from an
> earlier version.
> 
> 
> Am 23.06.2014 12:26, schrieb Yaniv Dary:
> > 
> > 
> > ----- Original Message -----
> >> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
> >> To: "Alon Bar-Lev" <alonbl at redhat.com>
> >> Cc: "Yaniv Dary" <ydary at redhat.com>, "Yedidyah Bar David"
> >> <didi at redhat.com>, "users" <users at ovirt.org>
> >> Sent: Monday, June 23, 2014 12:18:31 PM
> >> Subject: Re: [ovirt-users] Problem with reporting
> >>
> >> After removing the folders it is working.
> >> But I can not login to the reporting portal.
> >> When I try to logon with admin and the passwort, defined in
> >> engine-setup, I get: Invalid credentials supplied. Could not login to
> >> JasperReports Server.
> >> Can I reset the password or is it an other problem?
> > 
> > What version are you using? and is this a upgrade from 3.3?
> > 
> >>
> >>
> >> Am 23.06.2014 10:31, schrieb Alon Bar-Lev:
> >>>
> >>>
> >>> ----- Original Message -----
> >>>> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
> >>>> To: "Alon Bar-Lev" <alonbl at redhat.com>
> >>>> Cc: "Yaniv Dary" <ydary at redhat.com>, "Yedidyah Bar David"
> >>>> <didi at redhat.com>, "users" <users at ovirt.org>
> >>>> Sent: Monday, June 23, 2014 11:26:00 AM
> >>>> Subject: Re: [ovirt-users] Problem with reporting
> >>>>
> >>>> I found an other logfile, perhaps it is helpful.
> >>>
> >>> Please attempt:
> >>> 1. stop service
> >>> 2. rm -fr /tmp/jasperserver /tmp/dataSnapshots
> >>> 3. start service
> >>>
> >>>>
> >>>>
> >>>> Am 23.06.2014 08:36, schrieb Alon Bar-Lev:
> >>>>>
> >>>>>
> >>>>> ----- Original Message -----
> >>>>>> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
> >>>>>> To: "Alon Bar-Lev" <alonbl at redhat.com>, "Yaniv Dary"
> >>>>>> <ydary at redhat.com>
> >>>>>> Cc: "Yedidyah Bar David" <didi at redhat.com>, "users" <users at ovirt.org>
> >>>>>> Sent: Monday, June 23, 2014 9:32:55 AM
> >>>>>> Subject: Re: [ovirt-users] Problem with reporting
> >>>>>>
> >>>>>> The file has the following permissions:
> >>>>>>
> >>>>>> -rw------- 1 ovirt ovirt  3520 18. Jun 09:21 js-jboss7-ds.xml
> >>>>>
> >>>>> so permission is correct, can you please see what permission is on
> >>>>> directory:
> >>>>>
> >>>>> /var/tmp/ovirt-engine/deployments/ovirt-engine-reports.war/WEB-INF
> >>>>>
> >>>>> please also confirm that jboss is running under ovirt user... just to
> >>>>> make
> >>>>> sure...
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Am 23.06.2014 08:27, schrieb Alon Bar-Lev:
> >>>>>>>
> >>>>>>>
> >>>>>>> ----- Original Message -----
> >>>>>>>> From: "Yaniv Dary" <ydary at redhat.com>
> >>>>>>>> To: "Alon Bar-Lev" <alonbl at redhat.com>, "Yedidyah Bar David"
> >>>>>>>> <didi at redhat.com>
> >>>>>>>> Cc: "users" <users at ovirt.org>, "Michael Wagenknecht"
> >>>>>>>> <wagenknecht at fuh-e.de>
> >>>>>>>> Sent: Monday, June 23, 2014 9:24:44 AM
> >>>>>>>> Subject: Re: [ovirt-users] Problem with reporting
> >>>>>>>>
> >>>>>>>> For some reason this is the error:
> >>>>>>>> /var/tmp/ovirt-engine/deployments/ovirt-engine-reports.war/WEB-INF/js-jboss7-ds.xml
> >>>>>>>> (Permission denied)
> >>>>>>>> it's looking for war in '/var/tmp'.
> >>>>>>>>
> >>>>>>>> Alon\Didi, any idea why this can happen?
> >>>>>>>
> >>>>>>> this is the deployment location.... jboss is managing its
> >>>>>>> "deployments"
> >>>>>>> in
> >>>>>>> a place in which it can write files, so we set it to /var/tmp or in
> >>>>>>> newer
> >>>>>>> versions /var/lib, so it can be happy and not fail as it do not have
> >>>>>>> permissions to write anything.
> >>>>>>>
> >>>>>>> please see what permission this file has.
> >>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Yaniv
> >>>>>>>>
> >>>>>>>> ----- Original Message -----
> >>>>>>>>> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
> >>>>>>>>> To: "Yaniv Dary" <ydary at redhat.com>
> >>>>>>>>> Cc: "users" <users at ovirt.org>
> >>>>>>>>> Sent: Monday, June 23, 2014 9:02:52 AM
> >>>>>>>>> Subject: Re: [ovirt-users] Problem with reporting
> >>>>>>>>>
> >>>>>>>>> Hi Yaniv,
> >>>>>>>>> I installed the engine and the reports as user root. The service is
> >>>>>>>>> running as user ovirt.
> >>>>>>>>> I changed the permission of the
> >>>>>>>>> /var/lib/ovirt-engine-reports/ovirt-engine-reports.war folder to
> >>>>>>>>> user
> >>>>>>>>> ovirt but I get the same messages and it doesn`t work. Is there an
> >>>>>>>>> other
> >>>>>>>>> folder where I have to check the permissions?
> >>>>>>>>>
> >>>>>>>>> Regards,
> >>>>>>>>> Michael
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Am 22.06.2014 12:31, schrieb Yaniv Dary:
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ----- Original Message -----
> >>>>>>>>>>> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
> >>>>>>>>>>> To: "users" <users at ovirt.org>
> >>>>>>>>>>> Sent: Wednesday, June 18, 2014 1:34:56 PM
> >>>>>>>>>>> Subject: [ovirt-users] Problem with reporting
> >>>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>> we use oVirt 3.4.2 on Centos 6.5.
> >>>>>>>>>>> after installing of the reporting package and running
> >>>>>>>>>>> engine-setup,
> >>>>>>>>>>> I
> >>>>>>>>>>> get a 404 when I open the webadmin or reporting page.
> >>>>>>>>>>>
> >>>>>>>>>>> There are the following files / links in the folder
> >>>>>>>>>>> /var/tmp/ovirt-engine/deployments:
> >>>>>>>>>>> lrwxrwxrwx 1 ovirt ovirt  34 18. Jun 12:19 engine.ear ->
> >>>>>>>>>>> /usr/share/ovirt-engine/engine.ear
> >>>>>>>>>>> -rw-r--r-- 1 ovirt ovirt  47 18. Jun 12:19 engine.ear.failed
> >>>>>>>>>>> lrwxrwxrwx 1 ovirt ovirt  54 18. Jun 12:19
> >>>>>>>>>>> ovirt-engine-reports.war
> >>>>>>>>>>> ->
> >>>>>>>>>>> /var/lib/ovirt-engine-reports/ovirt-engine-reports.war
> >>>>>>>>>>> -rw-r--r-- 1 ovirt ovirt 389 18. Jun 12:19
> >>>>>>>>>>> ovirt-engine-reports.war.failed
> >>>>>>>>>>>
> >>>>>>>>>>> There is java Version jre-1.7.0-openjdk.x86_64 installed.
> >>>>>>>>>>>
> >>>>>>>>>>> I attached the server.log.
> >>>>>>>>>>>
> >>>>>>>>>>> What can I do?
> >>>>>>>>>>
> >>>>>>>>>> I see you have a 'Permission denied' on a file in the log.
> >>>>>>>>>> What user did you install with? try to chmod the war directory to
> >>>>>>>>>> the
> >>>>>>>>>> user
> >>>>>>>>>> running the service.
> >>>>>>>>>> Probably 'ovirt'.
> >>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Best regards,
> >>>>>>>>>>> Michael
> >>>>>>>>>>>
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> Users mailing list
> >>>>>>>>>>> Users at ovirt.org
> >>>>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
> >>>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >>
> 



More information about the Users mailing list