Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Alon Bar-Lev


- Original Message -
> From: "Sven Kieske" 
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Sven Kieske
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Michael Wagenknecht
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" 
>> To: "Alon Bar-Lev" , "Yaniv Dary" 
>> Cc: "Yedidyah Bar David" , "users" 
>> 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" 
 To: "Alon Bar-Lev" , "Yedidyah Bar David"
 
 Cc: "users" , "Michael Wagenknecht"
 
 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" 
> To: "Yaniv Dary" 
> Cc: "users" 
> 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" 
>>> To: "users" 
>>> 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
>>>
>

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


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Alon Bar-Lev


- Original Message -
> From: "Michael Wagenknecht" 
> To: "Alon Bar-Lev" , "Yaniv Dary" 
> Cc: "Yedidyah Bar David" , "users" 
> 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" 
> >> To: "Alon Bar-Lev" , "Yedidyah Bar David"
> >> 
> >> Cc: "users" , "Michael Wagenknecht"
> >> 
> >> 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" 
> >>> To: "Yaniv Dary" 
> >>> Cc: "users" 
> >>> 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" 
> > To: "users" 
> > 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
> >
> >>>
> >>
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Michael Wagenknecht
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" 
>> To: "Alon Bar-Lev" , "Yedidyah Bar David" 
>> 
>> Cc: "users" , "Michael Wagenknecht" 
>> 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" 
>>> To: "Yaniv Dary" 
>>> Cc: "users" 
>>> 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" 
> To: "users" 
> 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
>
>>>
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Alon Bar-Lev


- Original Message -
> From: "Yaniv Dary" 
> To: "Alon Bar-Lev" , "Yedidyah Bar David" 
> Cc: "users" , "Michael Wagenknecht" 
> 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" 
> > To: "Yaniv Dary" 
> > Cc: "users" 
> > 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" 
> > >> To: "users" 
> > >> 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
> > >>
> > 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [RFC] oVirt All-In-One instructions for presentation?

2014-06-22 Thread Sven Kieske


Am 22.06.2014 19:51, schrieb Itamar Heim:
> 
> Actually, I think asking this mailing list for what they think is great
> to show in oVirt in such a session.
> changing title accordingly.

Well all the network stuff, which works pretty fine
(if possible in the lab), so: qos, vlans, bridges, bonding
etc. (bonding I guess will be out-of-scope for a lab)
stuff like live migration or a successfull gluster setup
would be cool.



-- 
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


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Yaniv Dary
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" 
> To: "Yaniv Dary" 
> Cc: "users" 
> 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" 
> >> To: "users" 
> >> 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
> >>
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] What prevents from using a very very low-end hardware for manager?

2014-06-22 Thread Sven Kieske


Am 22.06.2014 10:06, schrieb Doron Fediuck:
> 
> 
> 
> Nicolas (and other on this thread),
> I'd like to clarify one thing, as indeed this sometimes comes up as a 
> question-
> Where did oVirt prerequisites come from?
> 
> Since the engine may be installed with DWH & reporting, we need to consider
> all components' needs including the DB;
> 
> The application server is configured to use 1 GiB of heap by default,
> plus around 500 threads, which should result around 2 GiB of RSS in
> the worst case. To that you have to add the RSS taken by the database,
> the operating system, etc.

well, yeah, "worst case" but the 4 GB you mention, aren't specified as
worst case, but as a minimum. how can a worst case scenario be the
minimum?

On CentOS you're not able imho until some release to even install
DWH without third party repos.

Anyway thanks for the interesting insight where all those numbers come
from!

> Adding Jasper requirements as well:
> 
> Resource Footprint Minimum Recommended
> Disk ~1.3 GiB  10GB free   40GB +
> RAM4GB 8GB +
> Processor  2 core minimum  2.5GHz + multi-core Pentium
> 
> So the end results[1] is around the above numbers to make sure we allow
> this installation to work. It is possible to get along with less, if
> you will not install some of the components, but this is what we should
> expect from a standard installation.
> 
> Doron
> 
> [1] http://www.ovirt.org/Quick_Start_Guide#Prerequisites
> 
> 
> 

-- 
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


Re: [ovirt-users] [ovirt-devel] HA not working 3.4.2

2014-06-22 Thread Arik Hadas
Hi,

- Original Message -
> Hi i was testing HA of ovirt,(i am from Xenserver background and trying to
> use KVM solution in our environment)
> 
> Have 2 hosts with NFS storage and i tested migration between these two hosts.
> 
> On Host2 while VM was running on it, i unplugged Power cable and it took long
> minutes to update that VM is down,okkk now long wait..
> ..
> .
> ...
> 
> VM state changed to unkown and not booted on second Node ie Host1
> 
> its been half an hour and still the VM is not restarted
> 
> What can be the issue?What should i do it make the VM in real HA so that it
> will be restarted on the active node.

We don't restart the VM in that case on purpose, since we really don't know
what's the status of the VM - the host might have been just disconnected from
the network while the VM is still running (and connected to the storage),
so if we'll also run the VM on a different host, we'll get "split-brain".

In order to restart HA VMs which were running on host that went down, you either
needs to have power-management defined for that host (for automatic restart) or
to trigger it manually by selecting "confirm host has been rebooted" when the
host is changed to non-responsive state (and you need to have additional host
which is up of course).

> 
> How HA is enabled
> what i did was while creating vm> Advanced option>High Availability>Highly
> Available
> 
> I am sure this can be a configuration error,Can some one please help me with
> enabling HA.
> 
> Please Help
> 
> Thanks
> 
> ___
> Devel mailing list
> de...@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Michael Wagenknecht
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" 
>> To: "users" 
>> 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
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Spam VDI setup

2014-06-22 Thread Maurice James
Does anyone have a setup similar to this, or at least know how this was 
accomplished? 
https://www.youtube.com/watch?v=3_8oYb_7VcA 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node as vm

2014-06-22 Thread John Xue
Yes, exactly!

On Fri, Jun 20, 2014 at 4:04 PM, Stefan Sahlender  wrote:
> Hello John,
>
> thanks for your hint.
>
> Just for understanding, step by step installation means basically a
> minimal redhat / centos install and then adding the ovirt repo and run
>>>yum install vdsm vdsm-cli<< like described here:
>
> http://www.ovirt.org/Installing_VDSM_from_rpm
>
> or?
>
> Regards
>
> Am 20.06.2014 07:39, schrieb John Xue:
>> I have the same problem. Finally, I am not using oVirth Node ISO, I
>> setup one step by step. And the key point is enable promiscuous mode
>> on your ESXi vswitch, or you cann't ping double nested guest.
>>
>> On Fri, Jun 20, 2014 at 2:57 AM, Stefan Sahlender  wrote:
>>> Hello,
>>>
>>> I want to run oVirt Node as vm to learn a little bit about ovirt. But
>>> I'm facing some problems.
>>>
>>> I understand that oVirt Node maybe needs to see the vmx feature from the
>>> cpu so that kvm will work.
>>>
>>> But I can't get the oVirt Node ISO booting at all.
>>>
>>> I tried it in VirtualBox ... since it doesn't support nested
>>> virtualization I understand why it doesn't boot ... perhaps.
>>>
>>> But I tried it also on ESX and in the configuration i said that the
>>> virtualization features of the CPU should be passed through. If I boot a
>>> Live CD with that configuration see with cat /proc/cpuinfo that vmx is
>>> available.
>>>
>>> When I boot the oVirt Node ISO it just hangs after the 30 seconds count
>>> down ...I just see the background from the boot menu and it hangs the
>>> forever.
>>>
>>> Anybody else facing the same problem. Or is it just not possible to run
>>> oVirt Node as VM?
>>>
>>> Thanks for your replies.
>>>
>>> Regards
>>>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Regards,
John Xue
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] HA not working 3.4.2

2014-06-22 Thread mad Engineer
Hi i was  testing HA of ovirt,(i am from Xenserver background and trying to
use KVM solution in our environment)

Have 2 hosts with NFS storage and i tested migration between these two
hosts.

On Host2 while VM was running on it, i unplugged Power cable and it took
long minutes to update that VM is down,okkk now  long wait..
..
.
...

   VM state changed to *unkown *and not booted on second Node ie Host1

its been half an hour and still the VM is not restarted

What can be the issue?What should i do it make the VM in real HA so that it
will be restarted on the active node.

*How HA is enabled*
what i did was while creating vm> Advanced option>High Availability>Highly
Available

I am sure this can be a configuration error,Can some one please help me
with enabling HA.

Please Help

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


[ovirt-users] [RFC] oVirt All-In-One instructions for presentation?

2014-06-22 Thread Itamar Heim

On 06/21/2014 06:25 PM, Greg Sheremeta wrote:

I'm not a feature expert, so I'm not sure what else people love and would
want to see in a self-demo. Maybe Itamar has some ideas.

Brian, when do you think we can have this drawn up by? I'd like to give the
conference leaders our content soon so we're committed to having it in the
lab.



Actually, I think asking this mailing list for what they think is great 
to show in oVirt in such a session.

changing title accordingly.




Greg

- Original Message -

From: "Brian Proffitt" 
To: "Greg Sheremeta" 
Cc: "users" 
Sent: Monday, June 16, 2014 8:56:20 AM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for presentation?

Not at this time, but I will want to draw some up.

A brief outline that I have in mind is:

1) Introduction to oVirt GUI
2) Setting up a VM
3) Managing Multiple VMs
4) Enable user procurement of VMs

Since it's the all in one LiveUSB version, we can't show the live migration
feature, which is too bad. Are there other features we should add?

BKP

- Original Message -

From: "Greg Sheremeta" 
To: "Brian Proffitt" 
Cc: "users" 
Sent: Sunday, June 15, 2014 8:40:34 AM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for presentation?

Brian, do you have any self-demo instructions for how to play around
on the LiveUSB all-in-one?

Greg

- Original Message -

From: "Greg Sheremeta" 
To: "Brian Proffitt" 
Cc: "users" 
Sent: Monday, June 2, 2014 8:26:59 PM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for
presentation?

"you should assume that the only physical hardware available will be the
attendee's laptops"

Well that settles that :) Live USB sticks it is.

Greg


- Original Message -

From: "Greg Sheremeta" 
To: "Brian Proffitt" 
Cc: "users" 
Sent: Monday, June 2, 2014 8:00:12 AM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for
presentation?

Brian,

You're right -- you're not harping :)

I asked for details on the lab, and I'll get back to you.

Greg

- Original Message -

From: "Brian Proffitt" 
To: "Greg Sheremeta" 
Cc: "users" 
Sent: Monday, June 2, 2014 7:47:47 AM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for
presentation?

Okay... do we know that the set up will be? Can we just have them
install
some VMs on the lab machines or use the aforementioned LiveUSB
sticks?

Not to harp, but setting up a demo will be easier if we know what we
are
working with.

BKP

- Original Message -

From: "Greg Sheremeta" 
To: "Brian Proffitt" 
Cc: "users" 
Sent: Monday, June 2, 2014 2:39:43 PM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for
presentation?

Hi Brian,

"It would be fantastic if you could rework this topic into a lab.
You
do
not
need to be present.  Just put together a one or two page
'worksheet'
that
walks Lab attendees through oVirt.  If you like, you could also
sign
up
for
an 'office hours' timeslot, where you could discuss oVirt with Lab
attendees
and assist them with the worksheet."

So it sounds like it can be any length. This is something attendees
will
come
into the lab and try on their own time.

Greg

- Original Message -

From: "Brian Proffitt" 
To: "Greg Sheremeta" 
Cc: "users" 
Sent: Monday, June 2, 2014 7:37:32 AM
Subject: Re: [ovirt-users] oVirt All-In-One instructions for
presentation?


- Original Message -

From: "Greg Sheremeta" 
To: "users" 
Sent: Friday, May 30, 2014 6:21:43 AM
Subject: [ovirt-users] oVirt All-In-One instructions for
presentation?

Hi,

I submitted a tutorial proposal to LISA '14 called "Hands-on
with
oVirt,"
but
it was rejected. However, we can still get oVirt in front of
people
if
we
rework it as a "lab."

Basically a lab is just a one or two sheet set of instructions
that
would
describe to someone how to test out oVirt All-In-One in the
LISA
lab.

I know there have been demos of oVirt all-in-one at other
conferences.
Does
anyone have a list of presentation-friendly instructions that
he/she
could
share?

Thanks!
Greg

PS -- Actually -- the 'demo' doesn't have to be all-in-one, but
I
was
thinking that would be easiest given the unknown lab hardware
at
LISA.
If
the lab is very powerful, I suppose attendees could try to
setup
separate
nodes. I'll try to find out lab details.

Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gsher...@redhat.com


Greg: We still may be able to help. How long of a lab would this
need
to
be?

I agree the all-in-one might be the best option; we could also
use
the
LiveUSB version to let oVirt run without a hard install.

BKP






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


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







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


Re: [ovirt-users] can't attach storage domain to data center

2014-06-22 Thread Tiemen Ruiten
On 06/21/14 16:57, Tiemen Ruiten wrote:
> On 06/21/14 16:37, Tiemen Ruiten wrote:
>> Hello,
>>
>> I've been struggling to set up an Ovirt cluster and am now bumping into
>> this problem:
>>
>> When I try to create a new (Gluster) storage domain, it fails to attach
>> to the data center. The error on the node from vdsm.log:
>>
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,157::BindingXMLRPC::251::vds::(wrapper) client [192.168.10.119]
>> flowID [6e44c0a3]
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,159::task::595::TaskManager.Task::(_updateState)
>> Task=`97b78287-45d2-4d5a-8336-460987df3840`::moving from state init ->
>> state preparing
>> Thread-13::INFO::2014-06-21
>> 16:17:14,160::logUtils::44::dispatcher::(wrapper) Run and protect:
>> connectStorageServer(domType=7,
>> spUUID='----', conList=[{'port': '',
>> 'connection': '192.168.10.120:/vmimage', 'iqn': '', 'user': '', 'tpgt':
>> '1', 'vfs_type': 'glusterfs', 'password': '**', 'id':
>> '901b15ec-6b05-43c1-8a50-06b34c8ffdbd'}], options=None)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,172::hsm::2340::Storage.HSM::(__prefetchDomains)
>> glusterDomPath: glusterSD/*
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,185::hsm::2352::Storage.HSM::(__prefetchDomains) Found SD
>> uuids: ('dc661957-c0c1-44ba-a5b9-e6558904207b',)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,185::hsm::2408::Storage.HSM::(connectStorageServer) knownSDs:
>> {dc661957-c0c1-44ba-a5b9-e6558904207b: storage.glusterSD.findDomain}
>> Thread-13::INFO::2014-06-21
>> 16:17:14,186::logUtils::47::dispatcher::(wrapper) Run and protect:
>> connectStorageServer, Return response: {'statuslist': [{'status': 0,
>> 'id': '901b15ec-6b05-43c1-8a50-06b34c8ffdbd'}]}
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,186::task::1185::TaskManager.Task::(prepare)
>> Task=`97b78287-45d2-4d5a-8336-460987df3840`::finished: {'statuslist':
>> [{'status': 0, 'id': '901b15ec-6b05-43c1-8a50-06b34c8ffdbd'}]}
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,187::task::595::TaskManager.Task::(_updateState)
>> Task=`97b78287-45d2-4d5a-8336-460987df3840`::moving from state preparing
>> -> state finished
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,187::resourceManager::940::ResourceManager.Owner::(releaseAll)
>> Owner.releaseAll requests {} resources {}
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,187::resourceManager::977::ResourceManager.Owner::(cancelAll)
>> Owner.cancelAll requests {}
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,188::task::990::TaskManager.Task::(_decref)
>> Task=`97b78287-45d2-4d5a-8336-460987df3840`::ref 0 aborting False
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,195::BindingXMLRPC::251::vds::(wrapper) client [192.168.10.119]
>> flowID [6e44c0a3]
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,195::task::595::TaskManager.Task::(_updateState)
>> Task=`d815e5e5-0202-4137-94be-21dc5e2b61c9`::moving from state init ->
>> state preparing
>> Thread-13::INFO::2014-06-21
>> 16:17:14,196::logUtils::44::dispatcher::(wrapper) Run and protect:
>> createStoragePool(poolType=None,
>> spUUID='806d2356-12cf-437c-8917-dd13ee823e36', poolName='testing',
>> masterDom='dc661957-c0c1-44ba-a5b9-e6558904207b',
>> domList=['dc661957-c0c1-44ba-a5b9-e6558904207b'], masterVersion=2,
>> lockPolicy=None, lockRenewalIntervalSec=5, leaseTimeSec=60,
>> ioOpTimeoutSec=10, leaseRetries=3, options=None)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,196::misc::756::SamplingMethod::(__call__) Trying to enter
>> sampling method (storage.sdc.refreshStorage)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,197::misc::758::SamplingMethod::(__call__) Got in to sampling
>> method
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,197::misc::756::SamplingMethod::(__call__) Trying to enter
>> sampling method (storage.iscsi.rescan)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,198::misc::758::SamplingMethod::(__call__) Got in to sampling
>> method
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,198::iscsi::407::Storage.ISCSI::(rescan) Performing SCSI scan,
>> this will take up to 30 seconds
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,199::iscsiadm::92::Storage.Misc.excCmd::(_runCmd)
>> '/usr/bin/sudo -n /sbin/iscsiadm -m session -R' (cwd None)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,228::misc::766::SamplingMethod::(__call__) Returning last result
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,229::multipath::110::Storage.Misc.excCmd::(rescan)
>> '/usr/bin/sudo -n /sbin/multipath -r' (cwd None)
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,294::multipath::110::Storage.Misc.excCmd::(rescan) SUCCESS:
>>  = '';  = 0
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,295::lvm::497::OperationMutex::(_invalidateAllPvs) Operation
>> 'lvm invalidate operation' got the operation mutex
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,295::lvm::499::OperationMutex::(_invalidateAllPvs) Operation
>> 'lvm invalidate operation' released the operation mutex
>> Thread-13::DEBUG::2014-06-21
>> 16:17:14,296::lvm::508::OperationMutex::(_invalidateAllVgs) Operation
>> 'lvm invalidate o

Re: [ovirt-users] Problem with reporting

2014-06-22 Thread Yaniv Dary


- Original Message -
> From: "Michael Wagenknecht" 
> To: "users" 
> 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] What prevents from using a very very low-end hardware for manager?

2014-06-22 Thread Doron Fediuck


- Original Message -
> From: "Nicolas Ecarnot" 
> To: users@ovirt.org
> Sent: Friday, June 20, 2014 5:08:45 PM
> Subject: Re: [ovirt-users] What prevents from using a very very low-end 
> hardware for manager?
> 
> Le 20/06/2014 15:27, Daniel Helgenberger a écrit :
> > @Nicolas, keep in mind system performance of the engine not only affects
> > the UI; but also various processes in the background.
> > Also, if you plan on using the VDI and self-deployment features ("User
> > Access") a slow UI might be very counterproductive and OOM conditions
> > the system unstable.
> 
> We don't plan to use VDI nor user access.
> 
> I was asking such a question because I see the manager as a small
> database maintainer, a leader which gives indications, authenticates,
> reports, and intructions, but does nothing heavy, does not calculate
> anything complex, and does not store heavy data.
> As I said, I have a feeling that in OUR case, the heaviest load dealt
> with the manager is the web UI, and as I said, I don't mind being VERY
> patient when setting things up.
> I feel that, once set up, the load will be very small, and the heaviest
> task I may need is to aski a host to manage the migration of a VM (wow !)
> 
> --
> Nicolas Ecarnot

Nicolas (and other on this thread),
I'd like to clarify one thing, as indeed this sometimes comes up as a question-
Where did oVirt prerequisites come from?

Since the engine may be installed with DWH & reporting, we need to consider
all components' needs including the DB;

The application server is configured to use 1 GiB of heap by default,
plus around 500 threads, which should result around 2 GiB of RSS in
the worst case. To that you have to add the RSS taken by the database,
the operating system, etc.

Adding Jasper requirements as well:

Resource Footprint Minimum Recommended
Disk ~1.3 GiB  10GB free   40GB +
RAM4GB 8GB +
Processor  2 core minimum  2.5GHz + multi-core Pentium

So the end results[1] is around the above numbers to make sure we allow
this installation to work. It is possible to get along with less, if
you will not install some of the components, but this is what we should
expect from a standard installation.

Doron

[1] http://www.ovirt.org/Quick_Start_Guide#Prerequisites
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users