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? Best regards, Michael

----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@fuh-e.de> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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? Yaniv ----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Yaniv Dary" <ydary@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

The file has the following permissions: -rw------- 1 ovirt ovirt 3520 18. Jun 09:21 js-jboss7-ds.xml Am 23.06.2014 08:27, schrieb Alon Bar-Lev:
----- Original Message -----
From: "Yaniv Dary" <ydary@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> To: "users" <users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

The WEB-INF Folder has the following permission: drwxr-xr-x 15 ovirt ovirt 4096 18. Jun 11:29 /var/tmp/ovirt-engine/deployments/ovirt-engine-reports.war/WEB-INF How can I check if jboss is running with the ovirt user? Isn't it a part of the ovirt-engine process? Ovirt-engine is running as user ovirt. Am 23.06.2014 08:36, schrieb Alon Bar-Lev:
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> > To: "users" <users@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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >

I found an other logfile, perhaps it is helpful. Am 23.06.2014 08:36, schrieb Alon Bar-Lev:
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> > To: "users" <users@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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >

----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "users" <users@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@fuh-e.de> >> To: "users" <users@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@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >>

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? Am 23.06.2014 10:31, schrieb Alon Bar-Lev:
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" <wagenknecht@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@fuh-e.de> > To: "Yaniv Dary" <ydary@redhat.com> > Cc: "users" <users@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@fuh-e.de> >>> To: "users" <users@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@ovirt.org >>> http://lists.ovirt.org/mailman/listinfo/users >>> >

----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> > To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" > <didi@redhat.com> > Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" > <wagenknecht@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@fuh-e.de> >> To: "Yaniv Dary" <ydary@redhat.com> >> Cc: "users" <users@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@fuh-e.de> >>>> To: "users" <users@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@ovirt.org >>>> http://lists.ovirt.org/mailman/listinfo/users >>>> >> >

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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" <ydary@redhat.com> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> >> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" >> <didi@redhat.com> >> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" >> <wagenknecht@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@fuh-e.de> >>> To: "Yaniv Dary" <ydary@redhat.com> >>> Cc: "users" <users@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@fuh-e.de> >>>>> To: "users" <users@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@ovirt.org >>>>> http://lists.ovirt.org/mailman/listinfo/users >>>>> >>> >>

in upgrade admin user stays ovirt-admin, not admin. Yaniv ----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> > To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" > <ydary@redhat.com> > Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> >>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" >>> <didi@redhat.com> >>> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" >>> <wagenknecht@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@fuh-e.de> >>>> To: "Yaniv Dary" <ydary@redhat.com> >>>> Cc: "users" <users@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@fuh-e.de> >>>>>> To: "users" <users@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@ovirt.org >>>>>> http://lists.ovirt.org/mailman/listinfo/users >>>>>> >>>> >>> >

Sorry, this is not the solution. I found the table jiuser in the ovirt_engine_reports database with an user admin and a crypted password. Am 23.06.2014 12:40, schrieb Yaniv Dary:
in upgrade admin user stays ovirt-admin, not admin.
Yaniv
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> >> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" >> <ydary@redhat.com> >> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@redhat.com> >>>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" >>>> <didi@redhat.com> >>>> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" >>>> <wagenknecht@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@fuh-e.de> >>>>> To: "Yaniv Dary" <ydary@redhat.com> >>>>> Cc: "users" <users@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@fuh-e.de> >>>>>>> To: "users" <users@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@ovirt.org >>>>>>> http://lists.ovirt.org/mailman/listinfo/users >>>>>>> >>>>> >>>> >>

export the users and ----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@ovirt.org> Sent: Monday, June 23, 2014 1:50:19 PM Subject: Re: [ovirt-users] Problem with reporting
Sorry, this is not the solution.
I found the table jiuser in the ovirt_engine_reports database with an user admin and a crypted password.
Am 23.06.2014 12:40, schrieb Yaniv Dary:
in upgrade admin user stays ovirt-admin, not admin.
Yaniv
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> > To: "Alon Bar-Lev" <alonbl@redhat.com> > Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" > <didi@redhat.com>, "users" <users@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@fuh-e.de> >>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" >>> <ydary@redhat.com> >>> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" >>> <users@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@redhat.com> >>>>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" >>>>> <didi@redhat.com> >>>>> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" >>>>> <wagenknecht@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@fuh-e.de> >>>>>> To: "Yaniv Dary" <ydary@redhat.com> >>>>>> Cc: "users" <users@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@fuh-e.de> >>>>>>>> To: "users" <users@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@ovirt.org >>>>>>>> http://lists.ovirt.org/mailman/listinfo/users >>>>>>>> >>>>>> >>>>> >>> >

export the users: # export ADDITIONAL_CONFIG_DIR=/var/lib/ovirt-engine-reports/build-conf #./js-export.sh --output-dir /tmp --users change the crypted password to new password in plain text and then import: ./js-import.sh --input-dir /tmp --update Yaniv ----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@ovirt.org> Sent: Monday, June 23, 2014 1:50:19 PM Subject: Re: [ovirt-users] Problem with reporting
Sorry, this is not the solution.
I found the table jiuser in the ovirt_engine_reports database with an user admin and a crypted password.
Am 23.06.2014 12:40, schrieb Yaniv Dary:
in upgrade admin user stays ovirt-admin, not admin.
Yaniv
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> > To: "Alon Bar-Lev" <alonbl@redhat.com> > Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" > <didi@redhat.com>, "users" <users@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@fuh-e.de> >>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" >>> <ydary@redhat.com> >>> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" >>> <users@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@redhat.com> >>>>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" >>>>> <didi@redhat.com> >>>>> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" >>>>> <wagenknecht@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@fuh-e.de> >>>>>> To: "Yaniv Dary" <ydary@redhat.com> >>>>>> Cc: "users" <users@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@fuh-e.de> >>>>>>>> To: "users" <users@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@ovirt.org >>>>>>>> http://lists.ovirt.org/mailman/listinfo/users >>>>>>>> >>>>>> >>>>> >>> >

Hi Yaniv, after export, import and restart of the engine I can login. Thank you very much. Best regards, Michael Am 24.06.2014 11:38, schrieb Yaniv Dary:
export the users: # export ADDITIONAL_CONFIG_DIR=/var/lib/ovirt-engine-reports/build-conf #./js-export.sh --output-dir /tmp --users
change the crypted password to new password in plain text and then import: ./js-import.sh --input-dir /tmp --update
Yaniv
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@ovirt.org> Sent: Monday, June 23, 2014 1:50:19 PM Subject: Re: [ovirt-users] Problem with reporting
Sorry, this is not the solution.
I found the table jiuser in the ovirt_engine_reports database with an user admin and a crypted password.
Am 23.06.2014 12:40, schrieb Yaniv Dary:
in upgrade admin user stays ovirt-admin, not admin.
Yaniv
----- Original Message -----
From: "Michael Wagenknecht" <wagenknecht@fuh-e.de> To: "Yaniv Dary" <ydary@redhat.com> Cc: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" <didi@redhat.com>, "users" <users@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@fuh-e.de> >> To: "Alon Bar-Lev" <alonbl@redhat.com> >> Cc: "Yaniv Dary" <ydary@redhat.com>, "Yedidyah Bar David" >> <didi@redhat.com>, "users" <users@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@fuh-e.de> >>>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yaniv Dary" >>>> <ydary@redhat.com> >>>> Cc: "Yedidyah Bar David" <didi@redhat.com>, "users" >>>> <users@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@redhat.com> >>>>>> To: "Alon Bar-Lev" <alonbl@redhat.com>, "Yedidyah Bar David" >>>>>> <didi@redhat.com> >>>>>> Cc: "users" <users@ovirt.org>, "Michael Wagenknecht" >>>>>> <wagenknecht@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@fuh-e.de> >>>>>>> To: "Yaniv Dary" <ydary@redhat.com> >>>>>>> Cc: "users" <users@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@fuh-e.de> >>>>>>>>> To: "users" <users@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@ovirt.org >>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users >>>>>>>>> >>>>>>> >>>>>> >>>> >>

This is somewhat..insecure. In which ovirt version was this changed to /var/lib, shouldn't this qualify for an cve entry? I didn't see any security notification coming up for this. Am 23.06.2014 08:27, schrieb Alon Bar-Lev:
his 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
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: users@ovirt.org Sent: Monday, June 23, 2014 9:48:36 AM Subject: Re: [ovirt-users] Problem with reporting
This is somewhat..insecure.
In which ovirt version was this changed to /var/lib, shouldn't this qualify for an cve entry? I didn't see any security notification coming up for this.
why insecure? /var/lib/ovirt-engine is secure at the same level of /var/tmp/ovirt-engine it was moved to avoid automatic tools that assumes that assume that a file can deleted if had not been modified for x days.
Am 23.06.2014 08:27, schrieb Alon Bar-Lev:
his 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
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Am 23.06.2014 08:58, schrieb Alon Bar-Lev:
----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: users@ovirt.org Sent: Monday, June 23, 2014 9:48:36 AM Subject: Re: [ovirt-users] Problem with reporting
This is somewhat..insecure.
In which ovirt version was this changed to /var/lib, shouldn't this qualify for an cve entry? I didn't see any security notification coming up for this.
why insecure?
/var/lib/ovirt-engine is secure at the same level of /var/tmp/ovirt-engine
Please correct me if I'm wrong but on my CentOS 6.5 /var/tmp/ is world writeable whereas /var/lib/ is not. So any malicious content on this machine could modify the ovirt jboss instance, or not?
it was moved to avoid automatic tools that assumes that assume that a file can deleted if had not been modified for x days.
Am 23.06.2014 08:27, schrieb Alon Bar-Lev:
his 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
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: users@ovirt.org Sent: Monday, June 23, 2014 10:04:35 AM Subject: Re: [ovirt-users] Problem with reporting
Am 23.06.2014 08:58, schrieb Alon Bar-Lev:
----- Original Message -----
From: "Sven Kieske" <S.Kieske@mittwald.de> To: users@ovirt.org Sent: Monday, June 23, 2014 9:48:36 AM Subject: Re: [ovirt-users] Problem with reporting
This is somewhat..insecure.
In which ovirt version was this changed to /var/lib, shouldn't this qualify for an cve entry? I didn't see any security notification coming up for this.
why insecure?
/var/lib/ovirt-engine is secure at the same level of /var/tmp/ovirt-engine
Please correct me if I'm wrong but on my CentOS 6.5 /var/tmp/ is world writeable whereas /var/lib/ is not.
So any malicious content on this machine could modify the ovirt jboss instance, or not?
/var/tmp as t attribute, just like /tmp. and we create /var/tmp/ovirt-engine with specific permissions, see /var/tmp/ovirt-engine/config/ for example. the same structure will be moved to /var/lib/ovirt-engine/deployments or similar. Alon

Thanks for the reply, just found that user out myself, too. Am 23.06.2014 09:17, schrieb Alon Bar-Lev:
/var/tmp as t attribute, just like /tmp. and we create /var/tmp/ovirt-engine with specific permissions, see /var/tmp/ovirt-engine/config/ for example. the same structure will be moved to /var/lib/ovirt-engine/deployments or similar.
-- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (4)
-
Alon Bar-Lev
-
Michael Wagenknecht
-
Sven Kieske
-
Yaniv Dary