[ovirt-users] About vGPU in oVirt

2018-01-03 Thread lofyer
It seems to be that no M10/M60 vGPU host driver for RHEL7 available on 
NVIDIA site.


Where should I get the driver or just wait for NVIDIA to release?

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


[ovirt-users] Is there a software-way to configure power management in oVirt?

2015-07-30 Thread lofyer

Is there a software-way to configure power management in oVirt?
Not all my clients have got IPMI.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-webadmin is too slow

2015-05-08 Thread lofyer
Thank you, it get improved a lot.

在 星期四, 05/07/2015 03:34 上午, Markus Stockhausen stockhau...@collogia.de 写道:
 




Die you try to increase refresh interval to 60. Seemed to help for me, 
especially in WAN connect.

Markus

Am 06.05.2015 3:48 nachm. schrieb lofyer lof...@lofyer.org:
 
 
I've installed ovirt-engine-3.5.1 and created about 120 VMs.
Everytime I did a multi-selection it will take a not-so-short time with 
not-so-friendly user experience(seems to be stuck by something).
I'm using Firefox37 in XP with 2GB memory.

 

Will there be some optimization option?





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


[ovirt-users] ovirt-webadmin is too slow

2015-05-06 Thread lofyer
I've installed ovirt-engine-3.5.1 and created about 120 VMs.Everytime I did a 
multi-selection it will take a not-so-short time with not-so-friendly user 
experience(seems to be stuck by something).I'm using Firefox37 in XP with 2GB 
memory.
Will there be some optimization option?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to mapping LDAP users in AAA

2014-10-14 Thread lofyer

Sun Java Access System Manager


在 14-10-14 下午1:52, Yair Zaslavsky 写道:


- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Tuesday, October 14, 2014 5:10:56 AM
Subject: [ovirt-users] How to mapping LDAP users in AAA

I've got a LDAP server without kerberos and I am trying to intergrate
its users to oVirt-3.5 with AAA.
==

Which ldap server is that, what vendor?


/etc/ovirt-engine/aaa/example.properties:

include = openldap.properties

vars.user = cn=directory manager
vars.password = mypassword
vars.server = example.com

#pool.default.ssl.startTLS = false
#pool.default.ssl.truststore.file = /etc/ldap_tls/ca_cert.pem
#pool.default.ssl.truststore.password = admin

pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
==

This is my basic ldap infomation:

ou=Groups
|
+ cn=UserGroup1
|
+ cn=UserGroup2

ou=UserGroup1
|
+ cn=user1
|
+ cn=user2


ou=UserGroup2
|
+ cn=user3
|
+ cn=user4

==

Now I can see example.com in web portal but I cannot list users in UG1
or UG2.

I find that I could map DN, ID NAME, DISPLAY in the config file. What
should I add in the config file then?
___
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] How to mapping LDAP users in AAA

2014-10-14 Thread lofyer

Yes, I do add authz and authn in /etc/ovirt-engine/extension.d/ like this

==
/etc/ovirt-engine/extensions.d/authn-sdju.edu.cn.properties:

ovirt.engine.extension.name = authn-sdju.edu.cn
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module = 
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class = 
org.ovirt.engineextensions.aaa.ldap.AuthnExtension

ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn
ovirt.engine.aaa.authn.profile.name = sdju.edu.cn
ovirt.engine.aaa.authn.authz.plugin = authz-sdju.edu.cn
config.profile.file.1 = /etc/ovirt-engine/aaa/sdju.edu.cn.properties
==
/etc/ovirt-engine/extensions.d/authz-sdju.edu.cn.properties:

ovirt.engine.extension.name = authz-sdju.edu.cn
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module = 
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class = 
org.ovirt.engineextensions.aaa.ldap.AuthzExtension

ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authz
config.profile.file.1 = /etc/ovirt-engine/aaa/sdju.edu.cn.properties
==

And here's my log:

ldapsearch -H ldap://ids.sdju.edu.cn -b '' -D 'cn=directory manager' -w 
mypassword -s BASE

# extended LDIF
#
# LDAPv3
# base  with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

#
dn:
objectClass: top
namingContexts: dc=sdju,dc=edu,dc=cn
namingContexts: o=NetscapeRoot
supportedExtension: 2.16.840.1.113730.3.5.7
supportedExtension: 2.16.840.1.113730.3.5.8
supportedExtension: 2.16.840.1.113730.3.5.3
supportedExtension: 2.16.840.1.113730.3.5.5
supportedExtension: 2.16.840.1.113730.3.5.6
supportedExtension: 2.16.840.1.113730.3.5.4
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.1
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.2
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.3
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.4
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.5
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.6
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.7
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.8
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.9
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.11
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.12
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.13
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.14
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.15
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.16
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.17
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.18
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.19
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.21
supportedExtension: 1.3.6.1.4.1.42.2.27.9.6.22
supportedExtension: 1.3.6.1.4.1.4203.1.11.3
supportedControl: 2.16.840.1.113730.3.4.2
supportedControl: 2.16.840.1.113730.3.4.3
supportedControl: 2.16.840.1.113730.3.4.4
supportedControl: 2.16.840.1.113730.3.4.5
supportedControl: 1.2.840.113556.1.4.473
supportedControl: 2.16.840.1.113730.3.4.9
supportedControl: 2.16.840.1.113730.3.4.16
supportedControl: 2.16.840.1.113730.3.4.15
supportedControl: 2.16.840.1.113730.3.4.17
supportedControl: 2.16.840.1.113730.3.4.19
supportedControl: 1.3.6.1.4.1.42.2.27.9.5.2
supportedControl: 1.3.6.1.4.1.42.2.27.9.5.6
supportedControl: 1.3.6.1.4.1.42.2.27.9.5.8
supportedControl: 2.16.840.1.113730.3.4.14
supportedControl: 1.3.6.1.4.1.1466.29539.12
supportedControl: 2.16.840.1.113730.3.4.12
supportedControl: 2.16.840.1.113730.3.4.18
supportedControl: 2.16.840.1.113730.3.4.13
supportedSASLMechanisms: EXTERNAL
supportedSASLMechanisms: DIGEST-MD5
supportedLDAPVersion: 2
supportedLDAPVersion: 3
vendorName: Sun Microsystems, Inc.
vendorVersion: Sun Java(TM) System Directory Server/5.2_Patch_4
dataversion: 020121212071504020121212071504
netscapemdsuffix: cn=ldap://dc=ids1,dc=sdju,dc=edu,dc=cn:389

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
==
 ldapsearch  -E pr=100/noprompt -H ldap://ids.sdju.edu.cn -x -D 
'cn=directory manager' -w mypassword -b ou=JZG,dc=sdju,dc=edu,dc=cn

# extended LDIF
#
# LDAPv3
# base ou=JZG,dc=sdju,dc=edu,dc=cn with scope subtree
# filter: (objectclass=*)
# requesting: ALL
# with pagedResults control: size=100
#

# JZG, sdju.edu.cn
dn: ou=JZG,dc=sdju,dc=edu,dc=cn
ou: JZG
objectClass: organizationalUnit
objectClass: iplanet-am-managed-people-container
objectClass: top

# 30419, JZG, sdju.edu.cn
dn: uid=30419,ou=JZG,dc=sdju,dc=edu,dc=cn
eduPersonCardID: X219631030057X
uid: 30419
...
...
...
userPassword:: 
e1NTSEF9OUNWcXMxbnA0YjFsU0NzZDNqODRIOTVBQ1VQTlR1cEI0UmNnSEE9PQ=

 =

# search result
search: 2
result: 0 Success

# numResponses: 1251
# numEntries: 1250


在 14-10-14 下午3:18, Alon Bar-Lev 写道:


- Original Message -

From: lofyer lof...@gmail.com
To: Yair Zaslavsky yzasl...@redhat.com
Cc: users users@ovirt.org
Sent: Tuesday, October 14, 2014 9:29:57 AM

[ovirt-users] How to mapping LDAP users in AAA

2014-10-13 Thread lofyer
I've got a LDAP server without kerberos and I am trying to intergrate 
its users to oVirt-3.5 with AAA.

==
/etc/ovirt-engine/aaa/example.properties:

include = openldap.properties

vars.user = cn=directory manager
vars.password = mypassword
vars.server = example.com

#pool.default.ssl.startTLS = false
#pool.default.ssl.truststore.file = /etc/ldap_tls/ca_cert.pem
#pool.default.ssl.truststore.password = admin

pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
==

This is my basic ldap infomation:

ou=Groups
|
+ cn=UserGroup1
|
+ cn=UserGroup2

ou=UserGroup1
|
+ cn=user1
|
+ cn=user2


ou=UserGroup2
|
+ cn=user3
|
+ cn=user4

==

Now I can see example.com in web portal but I cannot list users in UG1 
or UG2.


I find that I could map DN, ID NAME, DISPLAY in the config file. What 
should I add in the config file then?

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


Re: [ovirt-users] I wrote a howto manual of ovirt/glusterfs in Chinese

2014-08-24 Thread lofyer


在 2014/8/24 22:14, Doron Fediuck 写道:


- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Saturday, August 23, 2014 5:10:23 PM
Subject: [ovirt-users] I wrote a howto manual of ovirt/glusterfs in Chinese

It's about skills of deploying and using oVirt/Glusterfs.

https://inthecloud.readthedocs.org

And I'm writing some aritcles about machine learning.

It will be great if you put it to the documentation list of oVirt.

Thanks lofyer!

I think you will get more readers if you to add it into-
http://ovirt-china.org/mediawiki/index.php/%E9%A6%96%E9%A1%B5

Can you handle it?

OK,thanks.
I'm making a connection with ovirt-china's user group because I'm afraid 
that it will be refused if I edit the wiki page directly.

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


[ovirt-users] I wrote a howto manual of ovirt/glusterfs in Chinese

2014-08-23 Thread lofyer

It's about skills of deploying and using oVirt/Glusterfs.

https://inthecloud.readthedocs.org

And I'm writing some aritcles about machine learning.

It will be great if you put it to the documentation list of oVirt.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

2014-08-10 Thread lofyer

Worked after rebooting.

在 14-8-7 下午8:38, lofyer 写道:

Yes, I did that.

在 14-8-7 下午7:37, Einav Cohen 写道:

- Original Message -
From: lofyer lof...@gmail.com
Sent: Wednesday, August 6, 2014 8:07:48 PM

I've changed that, but nothing happend.

there's a good chance that you need to restart the engine in order
for the change to take effect. did you do that?


在 14-8-7 上午12:51, Kanagaraj Mayilsamy 写道:
the url should be plugin/ShellInABoxPlugin/start.html in 
shellinabox.json


Thanks,
Kanagaraj

- Original Message -

From: Einav Cohen eco...@redhat.com
To: lofyer lof...@gmail.com, Daniel Erez de...@redhat.com
Cc: users users@ovirt.org
Sent: Wednesday, August 6, 2014 9:32:57 PM
Subject: Re: [ovirt-users] UI Plugin: shellinabox did not work in
ovirt-3.4.3

the URL structure has changed from 3.3 to 3.4;
maybe the problem is in the URL within the UI Plugin json file?

url: /webadmin/webadmin/plugin/ShellBoxPlugin/start.html
(I copied it from [1], not sure what exists in the repo)

maybe @Daniel would know better.

[1]
http://derezvir.blogspot.co.il/2013/01/ovirt-webadmin-shellinabox-ui-plugin.html 



- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Wednesday, August 6, 2014 10:45:35 AM
Subject: [ovirt-users] UI Plugin: shellinabox did not work in 
ovirt-3.4.3


My OS is CentOS-6.5.
I'd cloned samples from gerrit, but it did not work as it used to 
be.

___
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







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


Re: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

2014-08-07 Thread lofyer

Yes, I did that.

在 14-8-7 下午7:37, Einav Cohen 写道:

- Original Message -
From: lofyer lof...@gmail.com
Sent: Wednesday, August 6, 2014 8:07:48 PM

I've changed that, but nothing happend.

there's a good chance that you need to restart the engine in order
for the change to take effect. did you do that?


在 14-8-7 上午12:51, Kanagaraj Mayilsamy 写道:

the url should be plugin/ShellInABoxPlugin/start.html in shellinabox.json

Thanks,
Kanagaraj

- Original Message -

From: Einav Cohen eco...@redhat.com
To: lofyer lof...@gmail.com, Daniel Erez de...@redhat.com
Cc: users users@ovirt.org
Sent: Wednesday, August 6, 2014 9:32:57 PM
Subject: Re: [ovirt-users] UI Plugin: shellinabox did not work in
ovirt-3.4.3

the URL structure has changed from 3.3 to 3.4;
maybe the problem is in the URL within the UI Plugin json file?

url: /webadmin/webadmin/plugin/ShellBoxPlugin/start.html
(I copied it from [1], not sure what exists in the repo)

maybe @Daniel would know better.

[1]
http://derezvir.blogspot.co.il/2013/01/ovirt-webadmin-shellinabox-ui-plugin.html

- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Wednesday, August 6, 2014 10:45:35 AM
Subject: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

My OS is CentOS-6.5.
I'd cloned samples from gerrit, but it did not work as it used to be.
___
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





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


[ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

2014-08-06 Thread lofyer

My OS is CentOS-6.5.
I'd cloned samples from gerrit, but it did not work as it used to be.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

2014-08-06 Thread lofyer

I've changed that, but nothing happend.

在 14-8-7 上午12:51, Kanagaraj Mayilsamy 写道:

the url should be plugin/ShellInABoxPlugin/start.html in shellinabox.json

Thanks,
Kanagaraj

- Original Message -

From: Einav Cohen eco...@redhat.com
To: lofyer lof...@gmail.com, Daniel Erez de...@redhat.com
Cc: users users@ovirt.org
Sent: Wednesday, August 6, 2014 9:32:57 PM
Subject: Re: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

the URL structure has changed from 3.3 to 3.4;
maybe the problem is in the URL within the UI Plugin json file?

url: /webadmin/webadmin/plugin/ShellBoxPlugin/start.html
(I copied it from [1], not sure what exists in the repo)

maybe @Daniel would know better.

[1]
http://derezvir.blogspot.co.il/2013/01/ovirt-webadmin-shellinabox-ui-plugin.html

- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Wednesday, August 6, 2014 10:45:35 AM
Subject: [ovirt-users] UI Plugin: shellinabox did not work in ovirt-3.4.3

My OS is CentOS-6.5.
I'd cloned samples from gerrit, but it did not work as it used to be.
___
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] ovirt-3.4.2 add host failed

2014-07-15 Thread lofyer

I downloaded python-pthreading-0.1.3-0 and it worked.
Thanks.

于 14-7-15 下午10:02, Trey Dockendorf 写道:

Try yum downgrading 'python-pthreading'.  I had similar issue
yesterday and seeing others reporting the same.

- Trey

On Tue, Jul 15, 2014 at 2:51 AM, lofyer lof...@gmail.com wrote:

I installed ovirt-3.4.2 on CentOS-6.5 from yum.
While I was trying to add host, I got an error like this:

Host IAM196 installation failed. Network error during communication with the
host.

Here's my log.

___
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] mirrors' not sync with main site

2014-07-14 Thread lofyer
I tried mirrorlist yesterday but found that I was installing ovirt-3.4.2
rather than 3.4.0 listed in resource.ovirt.org.

My OS is CentOS-6.5.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] mirrors' not sync with main site

2014-07-14 Thread lofyer
于 14-7-14 下午2:45, lofyer 写道:
 I tried mirrorlist yesterday but found that I was installing ovirt-3.4.2
 rather than 3.4.0 listed in resource.ovirt.org.

 My OS is CentOS-6.5.
By the way, I failed to add node in ovirt-3.4.2 from these sites. Will
my log be help if you need?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] build ovirt-hosted-engine-ha rpm failed

2014-07-07 Thread lofyer
I'm trying to build rpm of ovirt-hosted-engine-ha on CentOS-6.5, and
here's my 'make rpm' result:

RPM build errors:
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/etc/ovirt-hosted-engine-ha/agent-log.conf
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/etc/ovirt-hosted-engine-ha/agent.conf
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/etc/ovirt-hosted-engine-ha/broker-log.conf
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/etc/ovirt-hosted-engine-ha/broker.conf
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/etc/ovirt-hosted-engine-ha/notifications
File not found by glob:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/etc/ovirt-hosted-engine-ha/notifications/*
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/share/ovirt-hosted-engine-ha
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/share/ovirt-hosted-engine-ha/ovirt-ha-agent
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/share/ovirt-hosted-engine-ha/ovirt-ha-broker
File not found:
/home/demo/gerrit/ovirt-hosted-engine-ha/tmp.repos/BUILDROOT/ovirt-hosted-engine-ha-1.2.1-0.1.master.20140708025658.el6.x86_64/usr/local/var/lib/ovirt-hosted-engine-ha/ha.conf

What should I do to the spec file or ... do I miss some dependencies?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How could I get ca.crt of the engine in oVirt 3.4?

2014-06-24 Thread lofyer
https://ovirt_engine_ip/ca.crt is not available with 404 error.

Is it transfered to another place or what?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] install ovirt-engine-3.3.1, dependency broken

2013-12-09 Thread lofyer
I was installing ovirt-engine-3.3.1 in CentOS-6.5 and got dependency
error below:
Error: Package: glusterfs-cli-3.4.0-8.el6.x86_64 (glusterfs-epel)
Requires: glusterfs-lib = 3.4.0-8.el6.x86_64
Available: glusterfs-3.4.0-8.el6.x86_64 (glusterfs-epel)
glusterfs-libs = 3.4.0-8.el6
Available: glusterfs-libs-3.4.0-8.el6.x86_64 (glusterfs-epel)
glusterfs-libs = 3.4.0-8.el6
Installing: glusterfs-libs-3.4.0.36rhs-1.el6.x86_64 (base)
glusterfs-libs = 3.4.0.36rhs-1.el6
Installing: glusterfs-3.4.0.36rhs-1.el6.x86_64 (base)
Not found

I've got epel, rpm-fusion, ovirt, gluster-epel and gluster besides
CentOS standard repos in my box.
What should I do then?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] usb passthough permission

2013-10-31 Thread lofyer

Ok now, it needs cgroup permission

On 2013年10月31日 14:16, lof yer wrote:

I add a qemu-cmd hook to localhost.
-device usb-host:vendorid=0718,productid=0083

And in the qemu/usb-test.log I find

Domain id=6 is tainted: custom-argv
husb: open device 2.7
/dev/bus/usb/002/007: Operation not permitted
husb: open device 2.7
/dev/bus/usb/002/007: Operation not permitted
husb: open device 2.7
/dev/bus/usb/002/007: Operation not permitted
qemu: terminating on signal 15 from pid 3534
2013-10-31 05:48:36.483+: shutting down

I'd set setuid of /usr/libexec/qemu-kvm, is there some other 
configuration?


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


Re: [Users] install engine with everything setup like node-iso and xen-server

2013-10-20 Thread lofyer
On 10/20/13 02:16, Nir Soffer wrote:
 - Original Message -
 From: lofyer lof...@gmail.com
 To: users users@ovirt.org
 Sent: Saturday, October 19, 2013 12:38:16 PM
 Subject: [Users] install engine with everything setup like node-iso and  
 xen-server

 I'm trying to make a livecd of ovirt-engine
 Did you know about ovirt-live?
 http://wiki.ovirt.org/OVirt_Live

 Nir
Thank you. I got that.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] install engine with everything setup like node-iso and xen-server

2013-10-20 Thread lofyer

于 2013/10/20 2:16, Nir Soffer 写道:

- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Saturday, October 19, 2013 12:38:16 PM
Subject: [Users] install engine with everything setup like node-iso and 
xen-server

I'm trying to make a livecd of ovirt-engine

Did you know about ovirt-live?
http://wiki.ovirt.org/OVirt_Live

Nir

I can not install it to hard drive after setting up the engine.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] install engine with everything setup like node-iso and xen-server

2013-10-19 Thread lofyer

I'm trying to make a livecd of ovirt-engine. And I have got a question.
Is it possible that setting the engine done before rebooting ?
I mean, like node-iso and xen-server.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How can I make a VM immortal?

2013-09-24 Thread lofyer
On 09/24/13 19:57, René Koch (ovido) wrote:
 On Tue, 2013-09-24 at 08:44 +0800, lofyer wrote:
 On 2013/9/24 6:03, Itamar Heim wrote:
 On 09/23/2013 06:18 PM, lofyer wrote:
 Besides assigning a watchdog device to it, are there any other ways to
 make the VM autostart even if an user shutdown it manually?
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 if a user shut down a vm from inside or via engine?
 i suggest an external script on engine monitoring its status and 
 starting it for such a use case
 You mean a anacrontab script?

 You can for example use Nagios/Icinga with the event handler
 functionality. When your vm is down, Nagios/Icinga can start it again
 via an event handler script (which will use Pyhton SDK or REST-API to
 start the vm).


 Regards,
 René


 PS: Had some mail/dns issues today, so maybe some mails with suggestions
 are missing on my side...


 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
That's interesting, I'll have a try later since I never use
nagios/icinga before.
For now I'm using a anacrontab scripts that start the down vms every
10 minutes.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] How can I make a VM immortal?

2013-09-23 Thread lofyer
Besides assigning a watchdog device to it, are there any other ways to 
make the VM autostart even if an user shutdown it manually?

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


Re: [Users] How can I make a VM immortal?

2013-09-23 Thread lofyer

On 2013/9/24 6:03, Itamar Heim wrote:

On 09/23/2013 06:18 PM, lofyer wrote:

Besides assigning a watchdog device to it, are there any other ways to
make the VM autostart even if an user shutdown it manually?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


if a user shut down a vm from inside or via engine?
i suggest an external script on engine monitoring its status and 
starting it for such a use case

You mean a anacrontab script?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Is the feature Local Authentication abandoned?

2013-08-24 Thread lofyer
Is the feature Local Authentication abandoned in 3.3?
If not, what should I do to use it?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is the feature Local Authentication abandoned?

2013-08-24 Thread lofyer

On 2013/8/24 15:46, Alon Bar-Lev wrote:


- Original Message -

From: lofyer lof...@gmail.com
To: users@ovirt.org
Sent: Saturday, August 24, 2013 10:36:12 AM
Subject: [Users] Is the feature Local Authentication abandoned?

Is the feature Local Authentication abandoned in 3.3?
If not, what should I do to use it?

Question is unclear.

What do you call Local Authentication, after setup can't you login using 
admin user?

Sorry for that.
I mean, use users in /etc/passwd to login.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is the feature Local Authentication abandoned?

2013-08-24 Thread lofyer

On 2013/8/24 15:56, Alon Bar-Lev wrote:


- Original Message -

From: lofyer lof...@gmail.com
To: Alon Bar-Lev alo...@redhat.com
Cc: users@ovirt.org
Sent: Saturday, August 24, 2013 10:47:21 AM
Subject: Re: [Users] Is the feature Local Authentication abandoned?

On 2013/8/24 15:46, Alon Bar-Lev wrote:

- Original Message -

From: lofyer lof...@gmail.com
To: users@ovirt.org
Sent: Saturday, August 24, 2013 10:36:12 AM
Subject: [Users] Is the feature Local Authentication abandoned?

Is the feature Local Authentication abandoned in 3.3?
If not, what should I do to use it?

Question is unclear.

What do you call Local Authentication, after setup can't you login using
admin user?

Sorry for that.
I mean, use users in /etc/passwd to login.


I never knew this is was an option.

Or you mean something new that was planned somewhere?

I am against of using native authentication for applications, as it enables 
more privileges that users should have.

The proper way to do that is to use directory services, such as LDAP and 
integrate the nss of system and application to use that directory.

Regards,
Alon

I saw this from**http://www.ovirt.org/Features/Local_Authentication%E2%80%8E
So I thought it would be available now..

It seems that I have to use ldap now.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How to define max number of running VMs on a host?

2013-08-22 Thread lofyer

On 2013/8/22 17:17, Itamar Heim wrote:

On 08/21/2013 01:19 AM, lof yer wrote:

I didn't see anything like this in engine-config.
Is it possible to do that without using host-hooks?


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



can you explain the use case a bit?
I have 4 graphic workstations with 3 graphic cards on each. I wanna 
passthrough graphic cards to the VMs one by one, since one workstation 
has only 3 cards,  I must limit the number of running VM on a host to 3.

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


Re: [Users] How to define max number of running VMs on a host?

2013-08-22 Thread lofyer

On 2013/8/22 18:07, Itamar Heim wrote:

On 08/22/2013 05:24 AM, lofyer wrote:

On 2013/8/22 17:17, Itamar Heim wrote:

On 08/21/2013 01:19 AM, lof yer wrote:

I didn't see anything like this in engine-config.
Is it possible to do that without using host-hooks?


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



can you explain the use case a bit?

I have 4 graphic workstations with 3 graphic cards on each. I wanna
passthrough graphic cards to the VMs one by one, since one workstation
has only 3 cards,  I must limit the number of running VM on a host to 3.


1. I assume you use a hook for the graphic passthrough?
you can just fail it if no more devices, and engine will try to 
schedule on next host.


2. (ab)use the reserved RAM. if you allocate to each VM reserved RAM 
so 3 VMs can fit a host but 4 can't, engine won't try to schedule more 
than 3 on the same host as it would violate the reserved rAM


3. not a hook, but a filter. in 3.3 you can write a new filter to the 
pluggable scheduler of MaxNumberOfVms and pass a property of 3 to it.

Thank you very much, I think the filter is very suitable for this senerio.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] WAN access of oVirt

2013-08-12 Thread lofyer

On 2013/8/12 14:23, Alon Bar-Lev wrote:


- Original Message -

From: lofyer lof...@gmail.com
To: users@ovirt.org
Sent: Monday, August 12, 2013 7:59:15 AM
Subject: [Users] WAN access of oVirt

I've installed engine on 192.168.1.80 with hostname engine.example.com,
node on 192.168.1.90 with hostname node.example.com.
And I've started websocket-proxy service on engine.example.com, I can
access VM via noVNC normally.
Now suppose my WAN IP is 123.45.67.89 with DOMAINNAME
engine.example.com, and I've mapped 443,6100 to 192.168.1.80 on the router.
After I add this record 123.45.67.89 engine.example.com to client
hosts file and visit engine.example.com to access VM via noVNC, I get an
error whose code is 1006.
How to access VM from WAN in this senerio?

I think you should update WebSocketProxy to 123.45.67.89:6100, execute:

engine-config -s WebSocketProxy=123.45.67.89:6100

and restart engine.



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


thanks, it works after changing it to engine.example.com.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt-setup error

2013-08-11 Thread lofyer
After a successful engine-setup, I tried engine-cleanup or engine-setup, 
I got an error like this:

[ INFO  ] Stage: Initializing
[ ERROR ] Failed to execute stage 'Initializing': File contains no 
section headers. file: /etc/ovirt-engine-setup.conf.d/20-setup-aio.conf, 
line: 1 ('[environment:default]', 'OVESETUP_AIO/enable=bool:False')\n

[ INFO  ] Stage: Clean up
  Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-remove-20130811044942.log

[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

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


Re: [Users] ovirt-setup error

2013-08-11 Thread lofyer

On 2013/8/11 17:12, Alon Bar-Lev wrote:


- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Sunday, August 11, 2013 11:58:52 AM
Subject: [Users] ovirt-setup error

After a successful engine-setup, I tried engine-cleanup or engine-setup,
I got an error like this:
[ INFO  ] Stage: Initializing
[ ERROR ] Failed to execute stage 'Initializing': File contains no
section headers. file: /etc/ovirt-engine-setup.conf.d/20-setup-aio.conf,
line: 1 ('[environment:default]', 'OVESETUP_AIO/enable=bool:False')\n

Hi,

Can you please attach /etc/ovirt-engine-setup.conf.d/20-setup-aio.conf

Thanks!


[ INFO  ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-remove-20130811044942.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

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



/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf:

('[environment:default]', 'OVESETUP_AIO/enable=bool:False')
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-setup error

2013-08-11 Thread lofyer

On 2013/8/11 17:29, Alon Bar-Lev wrote:


- Original Message -

From: lofyer lof...@gmail.com
To: Alon Bar-Lev alo...@redhat.com
Cc: users users@ovirt.org
Sent: Sunday, August 11, 2013 12:14:27 PM
Subject: Re: [Users] ovirt-setup error

On 2013/8/11 17:12, Alon Bar-Lev wrote:

- Original Message -

From: lofyer lof...@gmail.com
To: users users@ovirt.org
Sent: Sunday, August 11, 2013 11:58:52 AM
Subject: [Users] ovirt-setup error

After a successful engine-setup, I tried engine-cleanup or engine-setup,
I got an error like this:
[ INFO  ] Stage: Initializing
[ ERROR ] Failed to execute stage 'Initializing': File contains no
section headers. file: /etc/ovirt-engine-setup.conf.d/20-setup-aio.conf,
line: 1 ('[environment:default]', 'OVESETUP_AIO/enable=bool:False')\n

Hi,

Can you please attach /etc/ovirt-engine-setup.conf.d/20-setup-aio.conf

Thanks!


[ INFO  ] Stage: Clean up
 Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-remove-20130811044942.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

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


/etc/ovirt-engine-setup.conf.d/20-setup-aio.conf:

('[environment:default]', 'OVESETUP_AIO/enable=bool:False')


Correct!

Fix is available[1]

Thank you!

[1] http://gerrit.ovirt.org/17920

So fast..
Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] WAN access of oVirt

2013-08-11 Thread lofyer
I've installed engine on 192.168.1.80 with hostname engine.example.com,
node on 192.168.1.90 with hostname node.example.com.
And I've started websocket-proxy service on engine.example.com, I can
access VM via noVNC normally.
Now suppose my WAN IP is 123.45.67.89 with DOMAINNAME
engine.example.com, and I've mapped 443,6100 to 192.168.1.80 on the router.
After I add this record 123.45.67.89 engine.example.com to client
hosts file and visit engine.example.com to access VM via noVNC, I get an
error whose code is 1006.
How to access VM from WAN in this senerio?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] about using vlan or quantum in ovirt

2013-08-08 Thread lofyer

On 2013/8/7 20:18, lofyer wrote:

How can we implement the following scenarios in current oVirt release?

1. Suppot four VMs (VMA, VMB, VMC and VMD) run on the same Virtualization node. 
VMA and VMB is in one subnet, while VMC and VMD is in another subnet. VMA/VMB 
can communicate with VMC/VMD, or VMA/VMB can not communicate with VMC/VMD.

  case1: can comunicate with
 subnet1  case2: can not comunicate with  subnet2
 ++++
 |  +-+  +-+  [|  +-+  +-+  |
 |  | VMA |  | VMB |  ||  | VMC |  | VMD |  |
 |  +-+  +-+  ||  |-+  +-+  |
 ++++
  +--+
  |  Virtualization  |
  |  Node|
  +--+
|
 (LAN)


2. Suppose VMA and VMC run on one Virtualization Node, while VMB and VMD run on 
the other Virtualization Node. VMA and VMB is in one subnet, while VMC and VMD 
is in another subnet. VMA/VMB can communicate with VMC/VMD, or VMA/VMB can not 
communicate with VMC/VMD.

   case1: can comunicate with
 subnet1   case2: can not comunicate withsubnet2
 +--+
 |   +-+|
 |  +-+  |  +---+   [  +-+  |  +---+
 |  | VMA |  |  |  +-+   |  |  | VMB |  |  |  +-+  |
 |  +-+  |  |  | VMC |   |  |  +-+  |  |  | VMD |  |
 +--+   |  +-+   |  +---+  |  +-+  |
|++|
+--+
 +--+   +--+
 |  Virtualization  |   |  Virtualization  |
 |  Node|   |  Node|
 +--+   +--+
   |  |
  (LAN)

Can we do this with oVirt network (vlan tag)? If yes, how? If no, is Quantum 
(Neutron) network OK? and where should we find more information in oVirt 
documents?

netease mail

*1* attachments

vnet.txt(3K)
download

http://preview.mail.163.com/xdownload?filename=vnet.txtmid=xtbB0Q5yGVEAFk52vAAAs3part=3sign=57990c02113caa02db3abaef66818421time=1375877638uid=jiangdi007%40163.com
preview

http://preview.mail.163.com/preview?mid=xtbB0Q5yGVEAFk52vAAAs3part=3sign=57990c02113caa02db3abaef66818421time=1375877638uid=jiangdi007%40163.com





thank you, it works fine now.
I didn't configure vlan rightly at first.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] about using vlan or quantum in ovirt

2013-08-07 Thread lofyer

How can we implement the following scenarios in current oVirt release?

1. Suppot four VMs (VMA, VMB, VMC and VMD) run on the same Virtualization node. 
VMA and VMB is in one subnet, while VMC and VMD is in another subnet. VMA/VMB 
can communicate with VMC/VMD, or VMA/VMB can not communicate with VMC/VMD.

 case1: can comunicate with
subnet1  case2: can not comunicate with  subnet2
++++
|  +-+  +-+  [|  +-+  +-+  |
|  | VMA |  | VMB |  ||  | VMC |  | VMD |  |
|  +-+  +-+  ||  |-+  +-+  |
++++
 +--+
 |  Virtualization  |
 |  Node|
 +--+
   |
    (LAN)


2. Suppose VMA and VMC run on one Virtualization Node, while VMB and VMD run on 
the other Virtualization Node. VMA and VMB is in one subnet, while VMC and VMD 
is in another subnet. VMA/VMB can communicate with VMC/VMD, or VMA/VMB can not 
communicate with VMC/VMD.

  case1: can comunicate with
subnet1   case2: can not comunicate withsubnet2
+--+
|   +-+|
|  +-+  |  +---+   [  +-+  |  +---+
|  | VMA |  |  |  +-+   |  |  | VMB |  |  |  +-+  |
|  +-+  |  |  | VMC |   |  |  +-+  |  |  | VMD |  |
+--+   |  +-+   |  +---+  |  +-+  |
   |++|
   +--+
+--+   +--+
|  Virtualization  |   |  Virtualization  |
|  Node|   |  Node|
+--+   +--+
  |  |
 (LAN)

Can we do this with oVirt network (vlan tag)? If yes, how? If no, is Quantum 
(Neutron) network OK? and where should we find more information in oVirt 
documents?

netease mail

*1* attachments

vnet.txt(3K)
   download
   
http://preview.mail.163.com/xdownload?filename=vnet.txtmid=xtbB0Q5yGVEAFk52vAAAs3part=3sign=57990c02113caa02db3abaef66818421time=1375877638uid=jiangdi007%40163.com
   preview
   
http://preview.mail.163.com/preview?mid=xtbB0Q5yGVEAFk52vAAAs3part=3sign=57990c02113caa02db3abaef66818421time=1375877638uid=jiangdi007%40163.com




How can we implement the following scenarios in current oVirt release?

1. Suppot four VMs (VMA, VMB, VMC and VMD) run on the same Virtualization node. 
VMA and VMB is in one subnet, while VMC and VMD is in another subnet. VMA/VMB 
can communicate with VMC/VMD, or VMA/VMB can not communicate with VMC/VMD.

 case1: can comunicate with
subnet1  case2: can not comunicate with  subnet2
   
++++
|  +-+  +-+  [|  +-+  +-+  |
|  | VMA |  | VMB |  ||  | VMC |  | VMD |  |
|  +-+  +-+  ||  |-+  +-+  |
++++
 +--+ 
 |  Virtualization  |
 |  Node|
 +--+
   |
    (LAN)


2. Suppose VMA and VMC run on one Virtualization Node, while VMB and VMD run on 
the other Virtualization Node. VMA and VMB is in one subnet, while VMC and VMD 
is in another subnet. VMA/VMB can communicate with VMC/VMD, or VMA/VMB can not 
communicate with VMC/VMD.

  case1: can comunicate with
subnet1   case2: can not comunicate withsubnet2 
  
+--+
|   +-+|
|  +-+  |  +---+   [  +-+  |  +---+
|  | VMA |  |  |  +-+   |  |  | VMB |  |  |  +-+  |
|  +-+  |  |  | VMC |   |  |  +-+  |  |  | VMD |  |
+--+   |  +-+   |  +---+  |  +-+  |
   |++|
   +--+
+--+   +--+
|  Virtualization  |   |  Virtualization  |
|  Node|   |  Node|
+--+   +--+
  |  |
 (LAN)

Can we do this with oVirt network (vlan tag)? If yes, how? If no, is Quantum 
(Neutron) network OK? and where should we find more information in oVirt 
documents?

Re: [Users] Install node without access Internet

2013-07-25 Thread lofyer

On 2013/7/25 20:45, Itamar Heim wrote:

On 07/25/2013 01:13 PM, Doron Fediuck wrote:

- Original Message -
| From: lofyer lof...@gmail.com
| To: users@ovirt.org
| Sent: Thursday, July 25, 2013 7:27:11 AM
| Subject: [Users] Install node without access Internet
|
| Is it possible now for oVirt to install node without access the 
Internet?

| Is there an option like this?

Hi lofyer,
see: http://www.ovirt.org/OVirt_3.1_release_notes#oVirt_Node

You can burn the ISO to a CD ROM or a disk on key, and install
the node from the media you created.


and for non-node hosts, you should always be able to create local 
repo's with needed rpm's and refernce them.


Does local repo consist of anything else besides rpms compiled from 
ovirt-engine.git?

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


[Users] Install node without access Internet

2013-07-24 Thread lofyer
Is it possible now for oVirt to install node without access the Internet?
Is there an option like this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot connect via spice-html5. How to use noVnc?

2013-07-15 Thread lofyer

On 2013/7/15 15:29, Frantisek Kobzik wrote:

Hmm, that's strange - in current implementation IE support is turned off (because 
IE version  11 doesn't implement some supporting functions correctly). Wasn't 
the spice-html5 option greyed out in the Console Options?

SpiceX.cab is not related to spice-html5 - it is used for invoking console via 
browser plugin.


- Original Message -
From: lofyer lof...@gmail.com
To: Frantisek Kobzik fkob...@redhat.com
Cc: users users@ovirt.org
Sent: Sunday, July 14, 2013 4:56:34 AM
Subject: Re: [Users] Cannot connect via spice-html5.  How to use noVnc?

On 2013/7/12 18:08, Frantisek Kobzik wrote:

Hello,

for running spice-html5 and novnc you also must update certificates in your 
browser - it means you must add the certificate that websocket proxy uses 
(SSL_CERTIFICATE in the config file) to the browser (or trust the CA of the 
engine). Could you try adding it?

Thanks,
Frank.

- Original Message -
From: lof yer lof...@gmail.com
To: users users@ovirt.org
Sent: Friday, July 12, 2013 11:07:57 AM
Subject: [Users] Cannot connect via spice-html5.  How to use noVnc?

Here's my ovirt-websocket-proxy's status when I open the spice-html5 client

ovirt-websocket-proxy.service - oVirt Engine websockets proxy
Loaded: loaded (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
Active: active (running) since Fri 2013-07-12 17:03:46 CST; 31s ago
Main PID: 19226 (ovirt-websocket)
CGroup: name=systemd:/system/ovirt-websocket-proxy.service
└─19226 /usr/bin/python 
/usr/share/ovirt-engine/services/ovirt-websocket-proxy.py start

Jul 12 17:03:46 engine systemd[1]: Started oVirt Engine websockets proxy.
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: WebSocket server 
settings:
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - Listen on *:6100
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - Flash security policy 
server
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - SSL/TLS support
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - Deny non-SSL/TLS 
connections
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - proxying from *:6100 
to targets in /dummy
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: 1: handler exception: 
WSRequestHandler instance has no attribute 'last_code'

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

Sorry, it did not work.
And there is no monitor in IE(10) if the monitor type is SPICE now
even if I installed the SpiceX.cab.


Yes, when choosing Spice, monitor option is greyed out in the Console Options 
in my IE10.

Many people are using IE whose version is less than 11 for now, which I think 
will last for a long time. Will it be possible to use spice in IE(8,9,10) in 
the near future?

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


Re: [Users] Cannot connect via spice-html5. How to use noVnc?

2013-07-14 Thread lofyer

On 2013/7/12 18:08, Frantisek Kobzik wrote:

Hello,

for running spice-html5 and novnc you also must update certificates in your 
browser - it means you must add the certificate that websocket proxy uses 
(SSL_CERTIFICATE in the config file) to the browser (or trust the CA of the 
engine). Could you try adding it?

Thanks,
Frank.

- Original Message -
From: lof yer lof...@gmail.com
To: users users@ovirt.org
Sent: Friday, July 12, 2013 11:07:57 AM
Subject: [Users] Cannot connect via spice-html5.  How to use noVnc?

Here's my ovirt-websocket-proxy's status when I open the spice-html5 client

ovirt-websocket-proxy.service - oVirt Engine websockets proxy
Loaded: loaded (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
Active: active (running) since Fri 2013-07-12 17:03:46 CST; 31s ago
Main PID: 19226 (ovirt-websocket)
CGroup: name=systemd:/system/ovirt-websocket-proxy.service
└─19226 /usr/bin/python 
/usr/share/ovirt-engine/services/ovirt-websocket-proxy.py start

Jul 12 17:03:46 engine systemd[1]: Started oVirt Engine websockets proxy.
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: WebSocket server 
settings:
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - Listen on *:6100
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - Flash security policy 
server
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - SSL/TLS support
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - Deny non-SSL/TLS 
connections
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: - proxying from *:6100 
to targets in /dummy
Jul 12 17:04:01 engine ovirt-websocket-proxy.py[19226]: 1: handler exception: 
WSRequestHandler instance has no attribute 'last_code'

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

Sorry, it did not work.
And there is no monitor in IE(10) if the monitor type is SPICE now 
even if I installed the SpiceX.cab.

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


Re: [Users] Will migration succeed between two different CPU?

2013-07-03 Thread lofyer

On 2013/7/2 20:46, Roy Golan wrote:

On Tue 02 Jul 2013 03:29:47 PM IDT, lofyer wrote:

On 2013/7/2 20:15, Roy Golan wrote:

On Tue 02 Jul 2013 03:09:08 PM IDT, lofyer wrote:

On 2013/7/2 19:58, Gianluca Cecchi wrote:

On Tue, Jul 2, 2013 at 1:17 PM, lofyer wrote:

On 2013/7/2 19:06, Roy Golan wrote:

On Tue 02 Jul 2013 12:48:44 PM IDT, lofyer wrote:

On 2013/7/2 17:07, Roy Golan wrote:

On Tue 02 Jul 2013 12:00:12 PM IDT, lofyer wrote:

Will migration succeed between two different CPU?
Suppose node A is Core-i5, node B is Xeon e5405.

Unfortunately no, I'll paste log file later.



I think you have to choose the lowest level of cpu type of your
hosts for your cluster cpu type...
What is now thsi cpu type?
Gianluca

Lowest cpu level? Is there a list of cpu priority?
For now the cluster cpu type is Nehalem, there is an Core-i5 node and
Xeon node in it.


This is already enforced by the cluster so if there was a problem
cpu-wise you would see it.
Nehalem is lower then the SandyBridge (this is sorted out in the
drop-down)

bottom line we need the log.


OK, I see. I would paste the log file in a few hours(the Core-i5 nodes
has been shutdown by my friend..)
So, the priority is AMD G5  G4  ...  Intel Haswell  .. Conroe
family ?
Unless G5 node migrate VM initiatively, it would be impossible to
migrate VM from G5 node to others?


The cluster name (the family) sets all VM's CPUs to be virtualized as 
Nehalem. The Corei5 extra instruction-set are not being used and 
that's how we

ensure a migration between hosts.


Thank you all. The migration following the rule works fine.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Will migration succeed between two different CPU?

2013-07-02 Thread lofyer

Will migration succeed between two different CPU?
Suppose node A is Core-i5, node B is Xeon e5405.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Will migration succeed between two different CPU?

2013-07-02 Thread lofyer

On 2013/7/2 17:07, Roy Golan wrote:

On Tue 02 Jul 2013 12:00:12 PM IDT, lofyer wrote:

Will migration succeed between two different CPU?
Suppose node A is Core-i5, node B is Xeon e5405.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


your e5405 is Nehalem family I think so choose it as the cpu name 
under your cluster. If there is incompatibility on of the host should 
be Non-Operational


Yes, the cluster cpu type is Nehalem, but the Core-i5(Sandy Bridge 
family) node is still online and operational.

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


Re: [Users] Will migration succeed between two different CPU?

2013-07-02 Thread lofyer

On 2013/7/2 19:06, Roy Golan wrote:

On Tue 02 Jul 2013 12:48:44 PM IDT, lofyer wrote:

On 2013/7/2 17:07, Roy Golan wrote:

On Tue 02 Jul 2013 12:00:12 PM IDT, lofyer wrote:

Will migration succeed between two different CPU?
Suppose node A is Core-i5, node B is Xeon e5405.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


your e5405 is Nehalem family I think so choose it as the cpu name
under your cluster. If there is incompatibility on of the host should
be Non-Operational


Yes, the cluster cpu type is Nehalem, but the Core-i5(Sandy Bridge
family) node is still online and operational.


great. this means it should work

Unfortunately no, I'll paste log file later.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Will migration succeed between two different CPU?

2013-07-02 Thread lofyer

On 2013/7/2 19:58, Gianluca Cecchi wrote:

On Tue, Jul 2, 2013 at 1:17 PM, lofyer  wrote:

On 2013/7/2 19:06, Roy Golan wrote:

On Tue 02 Jul 2013 12:48:44 PM IDT, lofyer wrote:

On 2013/7/2 17:07, Roy Golan wrote:

On Tue 02 Jul 2013 12:00:12 PM IDT, lofyer wrote:

Will migration succeed between two different CPU?
Suppose node A is Core-i5, node B is Xeon e5405.

Unfortunately no, I'll paste log file later.



I think you have to choose the lowest level of cpu type of your
hosts for your cluster cpu type...
What is now thsi cpu type?
Gianluca

Lowest cpu level? Is there a list of cpu priority?
For now the cluster cpu type is Nehalem, there is an Core-i5 node and 
Xeon node in it.

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


Re: [Users] Will migration succeed between two different CPU?

2013-07-02 Thread lofyer

On 2013/7/2 20:15, Roy Golan wrote:

On Tue 02 Jul 2013 03:09:08 PM IDT, lofyer wrote:

On 2013/7/2 19:58, Gianluca Cecchi wrote:

On Tue, Jul 2, 2013 at 1:17 PM, lofyer wrote:

On 2013/7/2 19:06, Roy Golan wrote:

On Tue 02 Jul 2013 12:48:44 PM IDT, lofyer wrote:

On 2013/7/2 17:07, Roy Golan wrote:

On Tue 02 Jul 2013 12:00:12 PM IDT, lofyer wrote:

Will migration succeed between two different CPU?
Suppose node A is Core-i5, node B is Xeon e5405.

Unfortunately no, I'll paste log file later.



I think you have to choose the lowest level of cpu type of your
hosts for your cluster cpu type...
What is now thsi cpu type?
Gianluca

Lowest cpu level? Is there a list of cpu priority?
For now the cluster cpu type is Nehalem, there is an Core-i5 node and
Xeon node in it.


This is already enforced by the cluster so if there was a problem 
cpu-wise you would see it.
Nehalem is lower then the SandyBridge (this is sorted out in the 
drop-down)


bottom line we need the log.

OK, I see. I would paste the log file in a few hours(the Core-i5 nodes 
has been shutdown by my friend..)

So, the priority is AMD G5  G4  ...  Intel Haswell  .. Conroe family ?
Unless G5 node migrate VM initiatively, it would be impossible to 
migrate VM from G5 node to others?

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


Re: [Users] Cannot connect to VM via browser if engine was not in /etc/hosts

2013-06-23 Thread lofyer

于 2013/6/24 1:47, Itamar Heim 写道:

On 06/06/2013 11:51 AM, lof yer wrote:

I connect https://192.168.1.111 and connect to the VM, then the
remote-viewer shows up, but failed to show the VM desktop.
Is it the https problem?
Can I connect to the VM without modify /etc/hosts?


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




was this resolved? sounds like a certificate/dns issue?

Yes, it's certificate/dns problem.
But how can I connect via IP instead of FQDN without https?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot make rpm

2013-06-21 Thread lofyer

于 2013/6/21 19:43, Alon Bar-Lev 写道:


- Original Message -

From: Itamar Heim ih...@redhat.com
To: Sandro Bonazzola sbona...@redhat.com
Cc: lof yer lof...@gmail.com, users users@ovirt.org
Sent: Friday, June 21, 2013 2:14:43 PM
Subject: Re: [Users] Cannot make rpm

On 06/21/2013 09:18 AM, Sandro Bonazzola wrote:

Hi,
patch already pushed for review: http://gerrit.ovirt.org/15963

was this breakage detected by jenkins automatically?

we do not use this target any more.
I wish to remove it from Makefile.
there is no sense in adding these into each makefile... there is a standard 
sequence to do so...

make dist

then:

rpmbuild -ts tarball
rpmbuild --rebuild srpm

or:

rpmbuild -tb tarball

if tarball is in correct format, there is no need for project specific targets.



Il 21/06/2013 04:10, lof yer ha scritto:

I wanted to make rpm from the lastest src, but failed.
Here's my log:

git ls-files | tar --files-from /proc/self/fd/0 -czf
ovirt-engine-3.3.0_master.tar.gz ovirt-engine.spec

You can use rpmbuild -tb ovirt-engine-3.3.0_master.tar.gz to produce rpms

rm -rf /home/demo/gittest/ovirt-engine/tmp.rpmbuild
mkdir -p
/home/demo/gittest/ovirt-engine/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
mkdir -p output
rpmbuild -ts --define=_topdir
/home/demo/gittest/ovirt-engine/tmp.rpmbuild
ovirt-engine-3.3.0_master.tar.gz
Wrote:
/home/demo/gittest/ovirt-engine/tmp.rpmbuild/SRPMS/ovirt-engine-3.3.0-0.2.master.20130621014614.fc18.src.rpm
mv /home/demo/gittest/ovirt-engine/tmp.rpmbuild/SRPMS/*.rpm output
rm -rf /home/demo/gittest/ovirt-engine/tmp.rpmbuild

srpm is ready at output

rm -rf /home/demo/gittest/ovirt-engine/tmp.rpmbuild
mkdir -p
/home/demo/gittest/ovirt-engine/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,BUILDROOT}
mkdir -p output
rpmbuild --define=_topdir /home/demo/gittest/ovirt-engine/tmp.rpmbuild
--rebuild output/ovirt-engine-3.3.0*.src.rpm
error: cannot open output/ovirt-engine-3.3.0*.src.rpm: No such file or
directory
make: *** [rpm] Error 1



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


--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



___
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

Will you? But I think it is quite convinient for us to test new features 
from source.

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


Re: [Users] Console.vv not found

2013-06-09 Thread lofyer

于 2013/6/9 18:25, Alon Bar-Lev 写道:


- Original Message -

From: lof yer lof...@gmail.com
To: users users@ovirt.org
Sent: Sunday, June 9, 2013 12:05:12 PM
Subject: [Users] Console.vv not found

I compiled from latest master and installed it.
I used chrome as the client and got an error after clicking that monitor.

You are totally correct.

Probably due to the following[1] comment, which did not update the apache proxy.

This another demonstration why we need to reorder the product URIs to 
structural, detaching packaging from development.

Regards,
Alon

[1] http://gerrit.ovirt.org/#/c/14895/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=961677

Thank you for noticing that.
BTW, how to use noVNC in ovirt? Is there an introduction?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Console.vv not found

2013-06-09 Thread lofyer

于 2013/6/9 21:47, Alon Bar-Lev 写道:


- Original Message -

From: lofyer lof...@gmail.com
To: Alon Bar-Lev alo...@redhat.com
Cc: users users@ovirt.org, Moran Goldboim mgold...@redhat.com, Einav Cohen 
eco...@redhat.com, Itamar
Heim ih...@redhat.com, Juan Hernandez juan.hernan...@redhat.com, Frantisek 
Kobzik fkob...@redhat.com
Sent: Sunday, June 9, 2013 4:38:25 PM
Subject: Re: [Users] Console.vv not found

于 2013/6/9 18:25, Alon Bar-Lev 写道:

- Original Message -

From: lof yer lof...@gmail.com
To: users users@ovirt.org
Sent: Sunday, June 9, 2013 12:05:12 PM
Subject: [Users] Console.vv not found

I compiled from latest master and installed it.
I used chrome as the client and got an error after clicking that monitor.

You are totally correct.

Probably due to the following[1] comment, which did not update the apache
proxy.

This another demonstration why we need to reorder the product URIs to
structural, detaching packaging from development.

Regards,
Alon

[1] http://gerrit.ovirt.org/#/c/14895/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=961677

Thank you for noticing that.
BTW, how to use noVNC in ovirt? Is there an introduction?


 From what I see, should be:
1. Open port 6100 in firewall.
2. Start ovirt-websocket-proxy service.
3. engine-config -s WebSocketProxy Engine:6100
4. restart engine.


Thank you, I'll try that.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Can host hooks be used to implement the following policy to avoid boot storm?

2013-05-26 Thread lofyer

于 2013/5/26 18:36, lofyer 写道:

于 2013/5/26 15:41, Itamar Heim 写道:

On 05/26/2013 09:59 AM, Roy Golan wrote:

On 05/24/2013 03:22 PM, Itamar Heim wrote:

On 05/23/2013 04:23 PM, lofyer wrote:
Can host hooks be used to implement the following policy to avoid 
boot

storm?

1.count and sort VMs awaiting for boot.
2.If the count is less than or equal to, for example 5, then boot all
VMs and exit the script.
3.Otherwise, boot and dequeue vm0 to vm4, and minus the count by 5.
4.Sleep some time, and go to step 2.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


hooks run one on vm-start one by one. would be a bit tricky to do the
above.
roy - didn't you add some mechanism to throttle boot storms in the
engine?

yes at RunVmCommandBase.delay(Guid vdsId) - but it doesn't fit here.
It'll delay the VM run only when there is no free memory to run the VM
and will wait till engine signals after gathering statistics of
powering up VMs.


lofyer - any other issue other than memory bottleneck you were trying 
to resolve?


Thanks,
Itamar
I think only cpu_load here. If I start 8 VMs(1G memory each) in a 16G 
host, it will be very slow for VMs to enter the desktop mode from the 
time I click start.
At first I thought it would be a resolution if I put these boot 
processes into a linear squence or delay a random period by using hooks.
Is there an option that I can choose to arrange the boot squence in 
the engine?
However, since each VM takes quite a long time to startup, there is no 
need to do that. Just plug in more CPUs..
Knowing that some other factors will affect it, can I use an SSD as a 
boot cache?

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


Re: [Users] How to use VM stateless mode?

2013-05-21 Thread lofyer

于 2013/5/21 17:49, Tal Nisan 写道:

Hi,
Can you please send the engine log so we'll be able to understand 
better what failed?
Also are there any event logs in the event tab that indicate a 
failure? (Marked with a red X icon)


Tal.

On 05/21/2013 12:45 PM, lof yer wrote:
I created a VM, and started it in stateless mode. Then I shut it 
down, and I can not started it again...



I got an error like this on starting it:
Failed to start VM st1, because exist snapshot for stateless state. 
Snapshot will be deleted.


And here's my log:
2013-05-21 19:22:10,275 INFO [org.ovirt.engine.core.bll.RunVmCommand] 
(ajp--127.0.0.1-8702-5) [4e43f020] Lock Acquired to object EngineLock 
[exclusiveLocks= key: b4700f69-6e1d-404d-97d7-a75590adf52c value: VM

, sharedLocks= ]
2013-05-21 19:22:10,307 INFO 
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] 
(ajp--127.0.0.1-8702-5) [4e43f020] START, 
IsVmDuringInitiatingVDSCommand( vmId = 
b4700f69-6e1d-404d-97d7-a75590adf52c), log id: 584624d7
2013-05-21 19:22:10,308 INFO 
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] 
(ajp--127.0.0.1-8702-5) [4e43f020] FINISH, 
IsVmDuringInitiatingVDSCommand, return: false, log id: 584624d7
2013-05-21 19:22:10,374 INFO [org.ovirt.engine.core.bll.RunVmCommand] 
(pool-5-thread-48) [4e43f020] Running command: RunVmCommand internal: 
false. Entities affected : ID: b4700f69-6e1d-404d-97d7-a75590adf52c Type: VM
2013-05-21 19:22:10,385 INFO [org.ovirt.engine.core.bll.VmPoolHandler] 
(pool-5-thread-48) [4e43f020] VdcBll.VmPoolHandler.ProcessVmPoolOnStopVm 
- Deleting snapshot for stateless vm b4700f69-6e1d-404d-97d7-a75590adf52c
2013-05-21 19:22:10,441 INFO 
[org.ovirt.engine.core.bll.RestoreStatelessVmCommand] (pool-5-thread-48) 
[4e43f020] Running command: RestoreStatelessVmCommand internal: true. 
Entities affected : ID: b4700f69-6e1d-404d-97d7-a75590adf52c Type: VM
2013-05-21 19:22:10,469 INFO 
[org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand] 
(pool-5-thread-48) [4e43f020] Running command: 
RestoreAllSnapshotsCommand internal: true. Entities affected : ID: 
b4700f69-6e1d-404d-97d7-a75590adf52c Type: VM
2013-05-21 19:22:10,469 INFO 
[org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand] 
(pool-5-thread-48) [4e43f020] Locking VM(id = 
b4700f69-6e1d-404d-97d7-a75590adf52c) without compensation.
2013-05-21 19:22:10,471 INFO 
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(pool-5-thread-48) [4e43f020] START, SetVmStatusVDSCommand( vmId = 
b4700f69-6e1d-404d-97d7-a75590adf52c, status = ImageLocked), log id: 
2efbbe9c
2013-05-21 19:22:10,473 INFO 
[org.ovirt.engine.core.vdsbroker.SetVmStatusVDSCommand] 
(pool-5-thread-48) [4e43f020] FINISH, SetVmStatusVDSCommand, log id: 
2efbbe9c
2013-05-21 19:22:10,651 ERROR 
[org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand] 
(pool-5-thread-48) [4e43f020] Command 
org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand throw exception: 
java.lang.NullPointerException
at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.removeDisksNotInSnapshot(SnapshotsManager.java:412) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.synchronizeDisksFromSnapshot(SnapshotsManager.java:399) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.attempToRestoreVmConfigurationFromSnapshot(SnapshotsManager.java:248) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand.restoreConfiguration(RestoreAllSnapshotsCommand.java:225) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand.restoreSnapshotAndRemoveObsoleteSnapshots(RestoreAllSnapshotsCommand.java:193) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.RestoreAllSnapshotsCommand.executeVmCommand(RestoreAllSnapshotsCommand.java:97) 
[bll.jar:]
at org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:80) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1063) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1148) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1618) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:151) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:118) 
[utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1166) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:318) [bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:332) 
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:534) 
[bll.jar:]

at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source) [:1.7.0_19]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[rt.jar:1.7.0_19]

at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_19]
at 

Re: [Users] How to use VM stateless mode?

2013-05-21 Thread lofyer

于 2013/5/21 17:49, Tal Nisan 写道:

Hi,
Can you please send the engine log so we'll be able to understand 
better what failed?
Also are there any event logs in the event tab that indicate a 
failure? (Marked with a red X icon)


Tal.

On 05/21/2013 12:45 PM, lof yer wrote:
I created a VM, and started it in stateless mode. Then I shut it 
down, and I can not started it again...


By the way, in the snapshot tab, the stateless snapshot was read-only. 
Is this correct?

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


Re: [Users] How to use VM stateless mode?

2013-05-21 Thread lofyer
Thanks, I'm using fedora18 with latest updates and ovirt from latest 
source code.

And I've tried five or six VMs created from the same template.
Should I try making another template or what?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users