Re: [Users] browser shows blank page for admin portal

2012-03-18 Thread Itamar Heim

On 03/19/2012 08:30 AM, aru mon wrote:

I am using the port #8080 and 8443
I think I have to update the browser. Please let me know if you have any
more suggession.


do you see the welcome page (/), or the api (/api)?


Regards,
Arumon
On Mon, Mar 19, 2012 at 11:57 AM, Itamar Heim mailto:ih...@redhat.com>> wrote:

On 03/19/2012 08:13 AM, aru mon wrote:

Hi Team,
I was able to install ovirt-engine and spice-apxi on fc16.
When i am trying to connect to the admin portal using the
firefox 3.5
which is available on the fc by default, It is able to connect
to portal
but shows only blank page.
Any idea on this issue? Please help.
Regards,


which port are you browsing?
yum update on fedora should bring you to at least firefox 10?

Arumon


_
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: [Users] browser shows blank page for admin portal

2012-03-18 Thread aru mon
I am using the port #8080 and 8443
I think I have to update the browser. Please let me know if you have any
more suggession.

Regards,
Arumon
On Mon, Mar 19, 2012 at 11:57 AM, Itamar Heim  wrote:

>  On 03/19/2012 08:13 AM, aru mon wrote:
>
>> Hi Team,
>> I was able to install ovirt-engine and spice-apxi on fc16.
>> When i am trying to connect to the admin portal using the firefox 3.5
>> which is available on the fc by default, It is able to connect to portal
>> but shows only blank page.
>> Any idea on this issue? Please help.
>> Regards,
>>
>
> which port are you browsing?
> yum update on fedora should bring you to at least firefox 10?
>
> Arumon
>>
>>
>> __**_
>> 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: [Users] browser shows blank page for admin portal

2012-03-18 Thread Itamar Heim

On 03/19/2012 08:13 AM, aru mon wrote:

Hi Team,
I was able to install ovirt-engine and spice-apxi on fc16.
When i am trying to connect to the admin portal using the firefox 3.5
which is available on the fc by default, It is able to connect to portal
but shows only blank page.
Any idea on this issue? Please help.
Regards,


which port are you browsing?
yum update on fedora should bring you to at least firefox 10?


Arumon


___
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] browser shows blank page for admin portal

2012-03-18 Thread aru mon
Hi Team,

I was able to install ovirt-engine and spice-apxi on fc16.
When i am trying to connect to the admin portal using the firefox 3.5 which
is available on the fc by default, It is able to connect to portal but
shows only blank page.
Any idea on this issue? Please help.

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


Re: [Users] NFS mounts ovirt storage

2012-03-18 Thread Douglas Landgraf

On 03/18/2012 11:54 PM, Douglas Landgraf wrote:

Hi,

On 03/18/2012 06:30 AM, зоррыч wrote:


By default, NFS mounts ovirt storage with the following parameters:

/bin/mount -o soft, timeo = 600, retrans = 6, nosharecache, vers = 3 
-t nfs 127.0.0.1:/share /tmp/tmpgcOezk


You can set them manually?


I would suggest 'nfs_mount_options', example:

# NFS mount options, comma-separated list (NB: no white space allowed!)
#nfs_mount_options = soft,nosharecache,vers=3



err, pressed sent button before complete the message
This is a config option inside /etc/vdsm/vdsm.conf and you must restart 
the daemon.


--
Cheers
Douglas

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


Re: [Users] NFS mounts ovirt storage

2012-03-18 Thread Douglas Landgraf

Hi,

On 03/18/2012 06:30 AM, зоррыч wrote:


By default, NFS mounts ovirt storage with the following parameters:

/bin/mount -o soft, timeo = 600, retrans = 6, nosharecache, vers = 3 
-t nfs 127.0.0.1:/share /tmp/tmpgcOezk


You can set them manually?


I would suggest 'nfs_mount_options', example:

# NFS mount options, comma-separated list (NB: no white space allowed!)
#nfs_mount_options = soft,nosharecache,vers=3

--
Cheers
Douglas

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


Re: [Users] FQDN issue with ovirt engine-setup

2012-03-18 Thread aru mon
Hi Oved,

Thanks for the reply.
For this issue i have setup a dns server. There is no more resolution
issue. But now my browser gives only the balnk page while connecting to the
admin portal.

1. Connecting from the same fc16 server.
2. Installed the spice-xpi package.
3. Firefox version is 7.0

Regards,
Arumon

On Sun, Mar 18, 2012 at 7:18 PM, Oved Ourfalli  wrote:

> Can you please provide the error log you get from jboss?
> There was an issue sent to this mailing list a few weeks ago with a
> problem in resolving localhost, so that might be your problem as well (the
> log will help understanding if that's the case). Do you have a localhost
> entry in /etc/hosts?
>
> Oved
>
> - Original Message -
> > From: "aru mon" 
> > To: users@ovirt.org
> > Sent: Saturday, March 17, 2012 12:56:12 AM
> > Subject: [Users] FQDN issue with ovirt engine-setup
> >
> >
> >
> > Hi Team,
> >
> > I am facing some issue with the fqdn resolution while running the
> > engin-setup.
> > I donot have a DNS setup, so i am using the hosts file for fqds
> > resolution.
> > Even though the fqdn is added to the /etc/hosts file the engine-setup
> > is not resolving it. ( this is because of the normal behaviour of
> > the nslookup commnd)
> > So, i used the option to continue the setup without resolving the
> > fqdn. But after completing the setup i can see the war and ear files
> > failing to deploy on jboss with java error of name resolution.
> > Please help me to resolve the issue.
> >
> > Regards,
> > Arumon
> > ___
> > 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: [Users] FQDN issue with ovirt engine-setup

2012-03-18 Thread Oved Ourfalli
Can you please provide the error log you get from jboss?
There was an issue sent to this mailing list a few weeks ago with a problem in 
resolving localhost, so that might be your problem as well (the log will help 
understanding if that's the case). Do you have a localhost entry in /etc/hosts?

Oved

- Original Message -
> From: "aru mon" 
> To: users@ovirt.org
> Sent: Saturday, March 17, 2012 12:56:12 AM
> Subject: [Users] FQDN issue with ovirt engine-setup
> 
> 
> 
> Hi Team,
> 
> I am facing some issue with the fqdn resolution while running the
> engin-setup.
> I donot have a DNS setup, so i am using the hosts file for fqds
> resolution.
> Even though the fqdn is added to the /etc/hosts file the engine-setup
> is not resolving it. ( this is because of the normal behaviour of
> the nslookup commnd)
> So, i used the option to continue the setup without resolving the
> fqdn. But after completing the setup i can see the war and ear files
> failing to deploy on jboss with java error of name resolution.
> Please help me to resolve the issue.
> 
> Regards,
> Arumon
> ___
> 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: [Users] cli: how to get value of a parameter

2012-03-18 Thread Michael Pasternak
On 03/18/2012 02:43 PM, Gianluca Cecchi wrote:
> 2012/3/18 Michael Pasternak wrote:
>>
>> Hi,
>>
>> On 03/18/2012 10:44 AM, Gianluca Cecchi wrote:
>>> Hello,
>>> going through http://www.ovirt.org/wiki/CLI to see some syntax hints.
>>> I don't see a way to get parameter of an object.
>>> For example if I want to see the size of a vmpool, how can I do it
>>
>> you have two options for this:
>>
>> 1. show vmpool vmpool_name
>> 2. list vmpools --show-all
> 
> yes, but they returns all the properties of an object. I would prefer
> to have an option that gives only the value of the property/properties
> I'm interested in
> something like
> show vmpool vmpool_name --props=prop1[,prop2,...,propN]
> 
> eg
> show vmpool vmpool_name --props=size

that's doable, can you file RFE on this?!

> 
>>> And is it possible to store values as variables and use then them for
>>> further commands?
>>
>> this one of the features i have in my list.
> 
>>
>> i also have pipe support in my list, when it will be available,
>> you will be able to redirect shell output directly to grep.
> 
> Ok, fine to have them.
> So in ovirt-shell command, when you type "help" and you get
> 
> "
> In addition to the basic command form, the following functionality is
>   available:
> ...
> * The output of any command can be piped to a shell command with
>   the '|' character.
> "
> Actually it is not implemented yet, corect?

true.

> Because I tried some options but it seems none of them worked...
> 
> BTW: getting results seems quite slow in my opinion. Does it depend on
> ovirt-shell itself or something I can tune in PotgreSQL RDBMS
> parameters perhaps?

the query cycle is:

0. shell -> sdk
1. sdk: http request to server
2. api: unmarshal from xml2java
3. api
4. engine
5. db
6. engine
7. api
8. api: marshall to xml
9. sdk - unmarshall xml2python
10. cli foramt
11. shell

i did profiling and results where good, unless server was really busy,

in your case i believe latency caused by client side filtering, i.e --kwargs,
you should use it only on collections where oVirt search not available
(no --query option), or it doesn't answer your needs.

--kwargs is very useful feature, but not efficient as in order
to perform filtering on collection, its should get all collection
members first.

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


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] NFS mounts ovirt storage

2012-03-18 Thread Yair Zaslavsky
On 03/18/2012 12:30 PM, зоррыч wrote:
> By default, NFS mounts ovirt storage with the following parameters:
> 
> /bin/mount -o soft, timeo = 600, retrans = 6, nosharecache, vers = 3 -t
> nfs 127.0.0.1:/share /tmp/tmpgcOezk
> 
> You can set them manually?

Hi,
We're working on providing this ability in engine-core component.
Not sure if this is configurable in VDSM (if not - maybe you can
re-compile VDSM with your required configuration?)


> 
> 
> 
> ___
> 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: [Users] cli: how to get value of a parameter

2012-03-18 Thread Gianluca Cecchi
2012/3/18 Michael Pasternak wrote:
>
> Hi,
>
> On 03/18/2012 10:44 AM, Gianluca Cecchi wrote:
>> Hello,
>> going through http://www.ovirt.org/wiki/CLI to see some syntax hints.
>> I don't see a way to get parameter of an object.
>> For example if I want to see the size of a vmpool, how can I do it
>
> you have two options for this:
>
> 1. show vmpool vmpool_name
> 2. list vmpools --show-all

yes, but they returns all the properties of an object. I would prefer
to have an option that gives only the value of the property/properties
I'm interested in
something like
show vmpool vmpool_name --props=prop1[,prop2,...,propN]

eg
show vmpool vmpool_name --props=size

>> And is it possible to store values as variables and use then them for
>> further commands?
>
> this one of the features i have in my list.

>
> i also have pipe support in my list, when it will be available,
> you will be able to redirect shell output directly to grep.

Ok, fine to have them.
So in ovirt-shell command, when you type "help" and you get

"
In addition to the basic command form, the following functionality is
  available:
...
* The output of any command can be piped to a shell command with
  the '|' character.
"
Actually it is not implemented yet, correct?
Because I tried some options but it seems none of them worked...

BTW: getting results seems quite slow in my opinion. Does it depend on
ovirt-shell itself or something I can tune in PotgreSQL RDBMS
parameters perhaps?

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


[Users] NFS mounts ovirt storage

2012-03-18 Thread зоррыч
By default, NFS mounts ovirt storage with the following parameters:

/bin/mount -o soft, timeo = 600, retrans = 6, nosharecache, vers = 3 -t nfs
127.0.0.1:/share /tmp/tmpgcOezk

You can set them manually?

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


Re: [Users] cli: how to get value of a parameter

2012-03-18 Thread Michael Pasternak

Hi,

On 03/18/2012 10:44 AM, Gianluca Cecchi wrote:
> Hello,
> going through http://www.ovirt.org/wiki/CLI to see some syntax hints.
> I don't see a way to get parameter of an object.
> For example if I want to see the size of a vmpool, how can I do it

you have two options for this:

1. show vmpool vmpool_name
2. list vmpools --show-all

the vmpool object have size property, if you want to access single property
in returned object, it will be possible after our cli will support pipe 
redirection.

> And is it possible to store values as variables and use then them for
> further commands?

this one of the features i have in my list.

> 
> I can run something like this but it seems quite unoptimezed...
> output redirection to see how many vms are up in a pool:
> [oVirt shell (connected)]# list vms --kwargs
> "vmpool-id=eba78b0e-6512-11e1-80c4-5254008e81ee;status-state=up" >
> /tmp/testfile
> 
> [oVirt shell (connected)]# shell grep id /tmp/testfile | wc -l
> 2
> 
> shell command to see the size of the pool itself, so can I add more
> vms to it if the previous :
> [oVirt shell (connected)]# show vmpool --name mypool
> 
> id : eba78b0e-6512-11e1-80c4-5254008e81ee
> name   : mypool
> cluster-id : 99408929-82cf-4dc7-a532-9d998063fa95
> size   : 2
> 
> I would like only the size value and use it then...

i also have pipe support in my list, when it will be available,
you will be able to redirect shell output directly to grep.

> 
> Thanks in advance,
> Gianluca
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] cli: how to get value of a parameter

2012-03-18 Thread Gianluca Cecchi
Hello,
going through http://www.ovirt.org/wiki/CLI to see some syntax hints.
I don't see a way to get parameter of an object.
For example if I want to see the size of a vmpool, how can I do it?
And is it possible to store values as variables and use then them for
further commands?

I can run something like this but it seems quite unoptimezed...
output redirection to see how many vms are up in a pool:
[oVirt shell (connected)]# list vms --kwargs
"vmpool-id=eba78b0e-6512-11e1-80c4-5254008e81ee;status-state=up" >
/tmp/testfile

[oVirt shell (connected)]# shell grep id /tmp/testfile | wc -l
2

shell command to see the size of the pool itself, so can I add more
vms to it if the previous :
[oVirt shell (connected)]# show vmpool --name mypool

id : eba78b0e-6512-11e1-80c4-5254008e81ee
name   : mypool
cluster-id : 99408929-82cf-4dc7-a532-9d998063fa95
size   : 2

I would like only the size value and use it then...

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