[Users] if ipv6 ready and hot to use it?

2014-03-22 Thread bigclouds
hi,all
if now we can use ipv6 like ipv4,  most basic  use case is ok, like adding 
node,setup node's ipv6 address, multi gateway...
i tryied but failed. i did not know why.
 
where is the related code about ipv6 , bith engine and vdsm sides, please guide 
me.
 
 
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] what is distributed image repository

2013-02-27 Thread bigclouds
there is a sentense 'Implements a distributed image repository over the 
supported storage types (local directory, FCP, FCoE, iSCSI, NFS, SAS)
'  on http://www.ovirt.org/Architecture.


what is distributed image repository?  


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


Re: [Users] how to create a debug envinonment ?

2013-02-27 Thread bigclouds

thanks,i know a little more. but i do not understand fully.  distrubute 
filesystem  is more understandable.
specially,,for SAN(iscsi,fc)  it is hard to share luns between nodes(not 
reliable), even use LVM,CLVM.


would you explain it ( SAN case)?and it is hard to connect 'local directory' 
with distrbuted repo.


thanks.








At 2013-02-27 17:57:11,Juan Hernandez jhern...@redhat.com wrote:
On 02/27/2013 10:52 AM, bigclouds wrote:
 both engine and vdms.


For the engine you can do a regular installation and then add the 
following to /etc/sysconfig/ovirt-engine:

ENGINE_DEBUG_ADDRESS=you_ip:your_port

Then restart the engine. That will start the Java virtual machine with 
support for remote debugging. Make sure that the firewall lets you 
connect to that address and port. Then you will be able to connect with 
your favorite Java debugger (Eclipse, for example) and set breakpoints, 
run step by step etc.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] what is distributed image repository

2013-02-27 Thread bigclouds

thanks,i know a little more. but i do not understand fully.  distrubute 
filesystem  is more understandable.
specially,,for SAN(iscsi,fc)  it is hard to share luns between nodes(not 
reliable), even use LVM,CLVM.


would you explain it ( SAN case)?and it is hard to connect 'local directory' 
with distrbuted repo.


thanks.










At 2013-02-27 17:55:45,Gianluca Cecchi gianluca.cec...@gmail.com wrote:
On Wed, Feb 27, 2013 at 10:44 AM, bigclouds  wrote:
 there is a sentense 'Implements a distributed image repository over the
 supported storage types (local directory, FCP, FCoE, iSCSI, NFS, SAS)
 '  on http://www.ovirt.org/Architecture.

 what is distributed image repository?

 thanks.

Example
I have a test environment where a Host is connected to several FCP LUNs.
Each LUN becomes a storage domain for this host and the other hosts in
the same cluster.
So I have many VMs whose images resides on different storage domains
(and so different LUNs).
I can move a disk of a VM from a storage domain to another one.
I think you can also have a mixed situation where a two disks' VM has
one disk on a storage domain and the other one in another.

So I think it is to be explained this way the  distributed image repository.

And also distributed in the sense of different storage domain types,
even if I think at this time one DC cannot have a mix of different
storage domain types...

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


[Users] create database error

2013-02-27 Thread bigclouds
./create_db_devel.sh -u postgres
Running  upgrade sql script 
upgrade/03_01_1450_add_timestamp_to_async_tasks_and_compensation.sql ...
Running  upgrade sql script 
upgrade/03_01_1460_add_storage_pool_id_and_task_type_to_async_tasks.sql ...
Running  upgrade sql script upgrade/03_01_1470_add_smartcard.sql ...
Running  upgrade sql script upgrade/03_01_1480_change_nfs_version_to_string.sql 
...
Running  upgrade sql script upgrade/03_01_1490_gluster_refresh_event_map.sql ...
Running  upgrade sql script upgrade/03_01_1500_drop_hypervisor_type.sql ...
Running  upgrade sql script upgrade/03_01_1510_drop_operation_mode.sql ...
Running  upgrade sql script 
upgrade/03_01_1520_add_fk_vm_interface_vm_static_template.sql ...
Running  upgrade sql script 
upgrade/03_01_1530_configure_disk_storage_action_group_changes.sql ...
Skipping upgrade script upgrade/03_01_1540_add_smartcard.sql, already installed 
by  03011470
 for upgrade/03_02_0010_delete_action_version_map.sql l
: No such file or directory
Failed to create database engine___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] build web without GWT

2013-02-27 Thread bigclouds
hi, i  do not know GWT, hard to debug.
so how to disable GWT when build,  get a normal web application?


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


Re: [Users] build web without GWT

2013-02-27 Thread bigclouds
GWT  convert java to js.  
normal web application  i mean  like SSH.front is web-language, backend is 
java..
no use to convert java to js.


thanks







At 2013-02-28 13:11:53,Yair Zaslavsky yzasl...@redhat.com wrote:

Hi,
I'm not sure what you mean by this? If you disable GWT during build, you will 
not have the web application (or to be precise - if you don't clear the 
engine.ear, you will have web applications, but not  of the newest version






From: bigclouds bigclo...@163.com
To: users@ovirt.org
Sent: Thursday, February 28, 2013 7:08:25 AM
Subject: [Users] build web without GWT


hi, i  do not know GWT, hard to debug.
so how to disable GWT when build,  get a normal web application?


thanks



___
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] build vdsm error at TestSuperVdsm

2013-02-27 Thread bigclouds
testThreadLeak  OK
TestSuperVdsm
testIsSuperUp   
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
Traceback (most recent call last):
  File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 202, in launch
utils.retry(self._connect, Exception, timeout=60, tries=3)
  File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py, line 1001, in retry
return func()
  File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 188, in 
_connect
self._manager.connect()
  File /usr/lib64/python2.6/multiprocessing/managers.py, line 474, in connect
conn = Client(self._address, authkey=self._authkey)
  File /usr/lib64/python2.6/multiprocessing/connection.py, line 143, in Client
c = SocketClient(address)
  File /usr/lib64/python2.6/multiprocessing/connection.py, line 263, in 
SocketClient
s.connect(address)
  File string, line 1, in connect
error: [Errno 111] Connection refused
Killed
[root@ovirtdev vdsm]# ./autogen.sh --system  ./configure  --enable-hooks  
make  rpm___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] how you all read vdsm code?

2013-02-28 Thread bigclouds
hi:
   vdsm is not a project, i import code into eclipse,but its dependency is 
error(not parsed automaticly).
developers hot you all write the codes?
which IDE is suitable?
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] build vdsm error at TestSuperVdsm

2013-02-28 Thread bigclouds
hi, i think  the error occurs when do unit test during  compiling engine code.
my env is centos6.3,engine  code is latest from git-repo.








At 2013-02-28 22:00:08,Yaniv Bronheim ybron...@redhat.com wrote:
Hey,
Maybe you've got vdsm that already runs on your machine ? but it doesn't 
supposed to throw this exception anyway

What version of vdsm do you compile?? maybe the tests couldn't create the 
socket for the communication between supervdsm and vdsm.. 
its wrong that all the compilation fails that way.. ill check it. but did you 
try more than once to run it?


- Original Message -
From: bigclouds bigclo...@163.com
To: users@ovirt.org
Sent: Thursday, February 28, 2013 7:47:37 AM
Subject: [Users] build vdsm error  at TestSuperVdsm




testThreadLeak OK 
TestSuperVdsm 
testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] 
Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
Traceback (most recent call last): 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 202, in launch 
utils.ret ry(self._connect, Exception, timeout=60, tries=3) 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py, line 1001, in retry 
return func() 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 188, in 
_connect 
self._manager.connect() 
File /usr/lib64/python2.6/multiprocessing/managers.py, line 474, in connect 
conn = Client(self._address, authkey=self._authkey) 
File /usr/lib64/python2.6/multiprocessing/connection.py, line 143, in Client 
c = SocketClient(address) 
File /usr/lib64/python2.6/multiprocessing/connection.py, line 263, in 
SocketClient 
s.connect(address) 
File string, line 1, in connect 
error: [Errno 111] Connection refused 
Killed 
[root@ovirtdev vdsm]# ./autogen.sh --system  ./configure --enable-hooks  
make rpm 


___
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] how to debug vdsm and node codes

2013-02-28 Thread bigclouds
a debug environment in which to debug vdsm and node code line by line


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


Re: [Users] build vdsm error at TestSuperVdsm

2013-02-28 Thread bigclouds


 i get it  'git clone http://gerrit.ovirt.org/p/vdsm.git' this 
morning. and   make it again. error remains.

i fellow http://www.ovirt.org/Vdsm_Developers step by step  until(make rpm).but 
if add 'NOSE_EXCLUDE=.* '  ,make can success
thanks.

error message:
testConnectWithoutCertificateFails  OK
testSessionIsCached OK
SPM_MailMonitorTests
testThreadLeak  OK
TestSuperVdsm
testIsSuperUp   
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
Traceback (most recent call last):
  File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 202, in launch
utils.retry(self._connect, Exception, timeout=60, tries=3)
  File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py, line 1001, in retry
return func()
  File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 188, in 
_connect
self._manager.connect()
  File /usr/lib64/python2.6/multiprocessing/managers.py, line 474, in connect
conn = Client(self._address, authkey=self._authkey)
  File /usr/lib64/python2.6/multiprocessing/connection.py, line 143, in Client
c = SocketClient(address)
  File /usr/lib64/python2.6/multiprocessing/connection.py, line 263, in 
SocketClient
s.connect(address)
  File string, line 1, in connect
error: [Errno 111] Connection refused
Killed
[root@ovirtdev vdsm]# ./autogen.sh --system  ./configure  --enable-hooks  
make rpm



At 2013-02-28 23:33:10,Yaniv Bronheim ybron...@redhat.com wrote:
i dont think they're related at all

run it without the tests:
./autogen.sh --system  ./configure --enable-hooks  make rpm NOSE_EXCLUDE=.*

tell me what you've got..
what vdsm branch do you compile? master or ovirt-3.2?

- Original Message -
From: bigclouds bigclo...@163.com
To: Yaniv Bronheim ybron...@redhat.com
Sent: Thursday, February 28, 2013 5:18:20 PM
Subject: Re:Re: [Users] build vdsm error  at TestSuperVdsm



hi, i think the error occurs when do unit test during compiling engine code. 
my env is centos6.3,engine code is latest from git-repo. 








At 2013-02-28 22:00:08,Yaniv Bronheim ybron...@redhat.com wrote:
Hey,
Maybe you've got vdsm that already runs on your machine ? but it doesn't 
supposed to throw this exception anyway
/msg NickServ identify 
What version of vdsm do you compile?? maybe the tests couldn't create the 
socket for the communication between supervdsm and vdsm.. 
its wrong that all the compilation fails that way.. ill check it. but did you 
try more than once to run it?


- Original Message -
From: bigclouds bigclo...@163.com
To: users@ovirt.org
Sent: Thursday, February 28, 2013 7:47:37 AM
Subject: [Users] build vdsm error  at TestSuperVdsm




testThreadLeak OK 
TestSuperVdsm 
testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] 
Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
Traceback (most recent call last): 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 202, in 
launch 
utils.ret ry(self._connect, Exception, timeout=60, tries=3) 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py, line 1001, in retry 
return func() 
File /root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py, line 188, in 
_connect 
self._manager.connect() 
File /usr/lib64/python2.6/multiprocessing/managers.py, line 474, in connect 
conn = Client(self._address, authkey=self._authkey) 
File /usr/lib64/python2.6/multiprocessing/connection.py, line 143, in 
Client 
c = SocketClient(address) 
File /usr/lib64/python2.6/multiprocessing/connection.py, line 263, in 
SocketClient 
s.connect(address) 
File string, line 1, in connect 
error: [Errno 111] Connection refused 
Killed 
[root@ovirtdev vdsm]# ./autogen.sh --system  ./configure --enable-hooks  
make rpm 


___
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] 'mvn install' error

2013-02-28 Thread bigclouds
hi:
os centos6.3, engine is pulled this moning from 'git clone 
git://gerrit.ovirt.org/ovirt-engine
'
i fellow 'http://www.ovirt.org/Building_oVirt_engine',  it error when reach 
'mvn clean install'.




error message:


[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /mnt/ovirt-engine/backend/manager/dependencies/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/mnt/ovirt-engine/backend/manager/dependencies/src/main/java
[INFO] skip non existing resourceDirectory 
/mnt/ovirt-engine/backend/manager/dependencies/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/mnt/ovirt-engine/backend/manager/dependencies/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 
/mnt/ovirt-engine/backend/manager/dependencies/target/dependencies-3.3.0-SNAPSHOT.jar
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to configure plugin parameters for: 
org.ovirt.engine:jboss-modules-maven-plugin:1.0-SNAPSHOT






Cause: Class 'java.util.List' cannot be instantiated
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 24 seconds
[INFO] Finished at: Thu Feb 28 20:26:34 CST 2013
[INFO] Final Memory: 56M/135M
[INFO] 
[root@ovirtdev ovirt-engine]# mvn clean install___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] fail to shutdown vM

2013-03-03 Thread bigclouds
hi, all:


on the webUI i can not shutdown VM.
i see logs, because finally it calls _acpiShutdown--shutdownFlags.
shutdownFlags does not assure VM can be shutdown,  what is wrong, if because of 
ACPI?
how to handle this?


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


Re: [Users] Antw.: fail to shutdown vM

2013-03-03 Thread bigclouds
hi, sven:
where to install acpid, kvm-host or guest-vm?
i try on kvm-host, but it does not work?
my guest vm is starting from ISO,not installed yet.


thanks.






At 2013-03-04 03:03:43,Sven Knohsalla s.knohsa...@netbiscuits.com wrote:
Had the same issue with f18 minimal vms. Just install acpid, and enable 
autostart of the daemon. This is no ovirt related issue.

Cheers, Sven.


- Reply message -
Von: Matt . yamakasi@gmail.com
An: Itamar Heim ih...@redhat.com
Cc: users@ovirt.org users@ovirt.org
Betreff: [Users] fail to shutdown vM
Datum: So., Mär. 3, 2013 19:23





Hi,


I had the same issue, are you on 3.2 ?


Storage was in some strange way an issue, maybe an update that did that.


Matt




2013/3/3 Itamar Heim ih...@redhat.com

On 03/03/2013 17:49, bigclouds wrote:
hi, all:

on the webUI i can not shutdown VM.
i see logs, because finally it calls _acpiShutdown--shutdownFlags.
shutdownFlags does not assure VM can be shutdown,  what is wrong, if
because of ACPI?
how to handle this?

thanks


there is shutdown, and there is power off.
shutdown means try to shutdown, which should send a request to shutdown to 
guest agent, then acpi.
poweroff would just kill the vm

___
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] UI lack of ui-plugins

2013-03-04 Thread bigclouds
at last i build engine code success, then i start jboss-as.
go to http://host:8700, when i click user,admin portal, error occur.


1. it reports ui-plugins is miss.
2. $OVIRT_HOME/backend/manager/conf/engine.conf.defaults
ENGINE_USR=username
ENGINE_ETC=/etc/ovirt-engine

i do not know what ENGINE_USR really is?


thanks.


error -msg:


2013-03-04 17:39:10,182 INFO  [org.ovirt.engine.core.bll.DbUserCacheManager] 
(DefaultQuartzScheduler_Worker-1) Start refreshing all users data
2013-03-04 17:39:10,338 INFO  [org.ovirt.engine.core.vdsbroker.ResourceManager] 
(MSC service thread 1-1) Finished initializing ResourceManager
2013-03-04 17:39:10,365 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager] (MSC 
service thread 1-1) Initialization of AsyncTaskManager completed successfully.
2013-03-04 17:39:10,384 INFO  [org.ovirt.engine.core.bll.OvfDataUpdater] (MSC 
service thread 1-1) Initialization of OvfDataUpdater completed successfully.
2013-03-04 17:39:10,388 INFO  [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC 
service thread 1-1) Start scheduling to enable vds load balancer
2013-03-04 17:39:10,394 INFO  [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC 
service thread 1-1) Finished scheduling to enable vds load balancer
2013-03-04 17:39:10,410 INFO  
[org.ovirt.engine.core.bll.network.MacPoolManager] (pool-10-thread-1) Start 
initializing MacPoolManager
2013-03-04 17:39:10,450 INFO  
[org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC service 
thread 1-1) Init VM custom properties utilities
2013-03-04 17:39:10,461 INFO  
[org.ovirt.engine.core.bll.network.MacPoolManager] (pool-10-thread-1) Finished 
initializing MacPoolManager
2013-03-04 17:39:10,470 INFO  [org.jboss.as] (MSC service thread 1-2) 
JBAS015951: Admin console listening on http://127.0.0.1:9990
2013-03-04 17:39:10,471 INFO  [org.jboss.as] (MSC service thread 1-2) 
JBAS015874: JBoss AS 7.1.1.Final Brontes started in 11961ms - Started 507 of 
594 services (86 services are passive or on-demand)
2013-03-04 17:39:10,560 INFO  [org.jboss.as.server] (DeploymentScanner-threads 
- 2) JBAS018559: Deployed engine.ear
2013-03-04 17:42:22,716 ERROR [org.jboss.remoting.remote.connection] (Remoting 
ovirtdev read-1) JBREM000200: Remote connection failed: java.io.IOException: 
Received an invalid message length of 1195725856
2013-03-04 17:42:56,702 ERROR [org.jboss.remoting.remote.connection] (Remoting 
ovirtdev read-1) JBREM000200: Remote connection failed: java.io.IOException: 
Received an invalid message length of 1195725856
2013-03-04 17:45:14,258 INFO  [org.hibernate.validator.util.Version] 
(http--0.0.0.0-8700-1) Hibernate Validator 4.2.0.Final
2013-03-04 17:45:14,385 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Loaded file 
/mnt/ovirt-engine/backend/manager/conf/engine.conf.defaults.
2013-03-04 17:45:14,386 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Loaded file /etc/sysconfig/ovirt-engine.
2013-03-04 17:45:14,392 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Value of property ENGINE_DEBUG_ADDRESS is 
0.0.0.0:8787.
2013-03-04 17:45:14,393 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Value of property ENGINE_ETC is /etc/ovirt-engine.
2013-03-04 17:45:14,394 INFO  [org.ovirt.engine.core.utils.LocalConfig] 
(http--0.0.0.0-8700-1) Value of property ENGINE_USR is root.
2013-03-04 17:45:14,397 WARN  
[org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager] 
(http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in 
[/mnt/ovirt-engine/root/ui-plugins]
2013-03-04 17:48:13,672 WARN  
[org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager] 
(http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in 
[/mnt/ovirt-engine/root/ui-plugins]___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] UI lack of ui-plugins

2013-03-04 Thread bigclouds

hi  ovedo
the explorer  is waiting all the time.  when go to  portal 
http://192.168.5.109:8700/UserPortal/org.ovirt.engine.ui.userportal.UserPortal/UserPortal.html




webadmin  url  see nothing at all
http://192.168.5.109:8700/webadmin/webadmin/WebAdmin.html


if http://www.ovirt.org/Building_oVirt_engine is not up to date?
thanks.







At 2013-03-04 18:20:20,Oved Ourfalli ov...@redhat.com wrote:


- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Monday, March 4, 2013 12:07:53 PM
 Subject: [Users] UI lack of ui-plugins
 
 
 
 at last i build engine code success, then i start jboss-as.
 go to http://host:8700, when i click user,admin portal, error occur.
 
 
 1. it reports ui-plugins is miss.
 2. $OVIRT_HOME/backend/manager/conf/engine.conf.defaults
 ENGINE_USR=username
 ENGINE_ETC=/etc/ovirt-engine i do not know what ENGINE_USR really is?
 thanks.
 

ENGINE_USR should be something like /usr/share/ovirt-engine
The warning about the ui-plugins directory is probably because it doesn't 
exist (see bug https://bugzilla.redhat.com/show_bug.cgi?id=895933), but that 
shouldn't effect anything besides loading UI plugins you wrote/downloaded, so 
the admin portal should work properly.

As far as I know, the ENGINE_USR is currently used only in order to detect the 
ui-plugins directory.

What happens when you just browse to
http://host:8700/webadmin
?

Does it work?

 
 error -msg:
 
 
 
 2013-03-04 17:39:10,182 INFO
 [org.ovirt.engine.core.bll.DbUserCacheManager]
 (DefaultQuartzScheduler_Worker-1) Start refreshing all users data
 2013-03-04 17:39:10,338 INFO
 [org.ovirt.engine.core.vdsbroker.ResourceManager] (MSC service
 thread 1-1) Finished initializing ResourceManager
 2013-03-04 17:39:10,365 INFO
 [org.ovirt.engine.core.bll.AsyncTaskManager] (MSC service thread
 1-1) Initialization of AsyncTaskManager completed successfully.
 2013-03-04 17:39:10,384 INFO
 [org.ovirt.engine.core.bll.OvfDataUpdater] (MSC service thread 1-1)
 Initialization of OvfDataUpdater completed successfully.
 2013-03-04 17:39:10,388 INFO [org.ovirt.engine.co
 re.bll.VdsLoadBalancer] (MSC service thread 1-1) Start scheduling to
 enable vds load balancer
 2013-03-04 17:39:10,394 INFO
 [org.ovirt.engine.core.bll.VdsLoadBalancer] (MSC service thread 1-1)
 Finished scheduling to enable vds load balancer
 2013-03-04 17:39:10,410 INFO
 [org.ovirt.engine.core.bll.network.MacPoolManager]
 (pool-10-thread-1) Start initializing MacPoolManager
 2013-03-04 17:39:10,450 INFO
 [org.ovirt.engine.core.bll.InitBackendServicesOnStartupBean] (MSC
 service thread 1-1) Init VM custom properties utilities
 2013-03-04 17:39:10,461 INFO
 [org.ovirt.engine.core.bll.network.MacPoolManager]
 (pool-10-thread-1) Finished initializing MacPoolManager
 2013-03-04 17:39:10,470 INFO [org.jboss.as] (MSC service thread 1-2)
 JBAS015951: Admin console listening on http://127.0.0.1:9990
 2013-03-04 17:39:10,471 INFO [org.jboss.as] (MSC service thread 1-2)
 JBAS015874: JBoss AS 7.1.1.Final  Brontes started in 11961ms -
 Started 507 of 594 services (86 services are passive or on-demand)
 2013-03-04 17:39:10,560 INFO [org.jboss.as.server]
 (DeploymentScanner-threads - 2) JBAS018559: Deployed engine.ear
 2013-03-04 17:42:22,716 ERROR [org.jboss.remoting.remote.connection]
 (Remoting ovirtdev read-1) JBREM000200: Remote connection failed:
 java.io.IOException: Received an invalid message length of
 1195725856
 2013-03-04 17:42:56,702 ERROR [org.jboss.remoting.remote.connection]
 (Remoting ovirtdev read-1) JBREM000200: Remote connection failed:
 java.io.IOException: Received an invalid message length of
 1195725856
 2013-03-04 17:45:14,258 INFO [org.hibernate.validator.util.Version]
 (http--0.0.0.0-8700-1) Hibernate Validator 4.2.0.Final
 2013-03-04 17:45:14,385 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Loaded file
 /mnt/ovirt-engine/backend/manager/conf/engine.conf.defaults.
 2013-03-04 17:45:14,386 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Loaded file /etc/sysconfig/ovirt-engine.
 2013-03-04 17:45:14,392 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_DEBUG_ADDRESS is 0.0.0.0:8787.
 2013-03-04 17:45:14,393 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_ETC is /etc/ovirt-engine.
 2013-03-04 17:45:14,394 INFO
 [org.ovirt.engine.core.utils.LocalConfig] (http--0.0.0.0-8700-1)
 Value of property ENGINE_USR is root.
 2013-03-04 17:45:14,397 WARN
 [org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager]
 (http--0.0.0.0-8700-1) Cannot list UI plugin descriptor files in
 [/mnt/ovirt-engine/root/ui-plugins]
 2013-03-04 17:48:13,672 WARN
 [org.ovirt.engine.ui.frontend.server.gwt.plugin.PluginDataManager]
 (http--0.0.0.0-8700-1) Ca nnot list UI plugin descriptor files in
 [/mnt/ovirt-engine/root/ui-plugins]
 
 
 ___
 Users mailing list

[Users] databases naming way is so confusing

2013-03-06 Thread bigclouds
hi, today i look into the databases,i find the way of naming  of tables is so 
confusing.
like vds_group==cluster,storage_pool==datacenter,
i think it is better straightforward.


now i have not found which table is HOST.


i appreciate your hard work,but i hope my suggest is meaningful.


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


[Users] why ovirt does not support NAT network

2013-03-07 Thread bigclouds
why ovirt  does not support NAT network?




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


[Users] add vnet for VM,what is bridgeless of device type

2013-03-07 Thread bigclouds
add vnet for VM,what is bridgeless of device type?




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


Re: [Users] why ovirt does not support NAT network

2013-03-07 Thread bigclouds
hi, Dan Kenigsberg
yes, i am working on this feature, the goal is that HOST can supply bridge and 
NAT network meanwhile ,users can choise.
because birdge network occupy too many IPs, at least, one user will have 2 
IPs(VM and thin client).








At 2013-03-07 19:28:29,Dan Kenigsberg dan...@redhat.com wrote:
On Thu, Mar 07, 2013 at 06:49:20PM +0800, bigclouds wrote:
 why ovirt  does not support NAT network?

Would you elaborate on that?

Do you refer to putthing VMs behind a NAT, instead of a bridge?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] debug environment how to?

2013-03-08 Thread bigclouds
1.how to make a debug environment?include engine and vdsm.
2.if GWT can be disabled,it is a obstacle to debug.
 
thanks
 
 ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] how macro-variables is replaced

2013-03-09 Thread bigclouds
in vdsm code, there are many macro-variables like @x@.
i want to know how it is replaced by real value.
like config.py.in.
 ('trust_store_path', '@TRUSTSTORE@',
'Where the certificates and keys are situated.'),


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


[Users] how to use vdsClient

2013-03-14 Thread bigclouds
hi,all
it is waiting all the time.






[root@localhost ~]# mcvdaClient 0  list table
^CTraceback (most recent call last):
  File /usr/share/mcvda/mcvdaClient.py, line 2380, in module
code, message = commands[command][0](commandArgs)
  File /usr/share/mcvda/mcvdaClient.py, line 274, in do_list
response = self.s.getAllVmStats()
  File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
return self.__send(self.__name, args)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
verbose=self.__verbose
  File /usr/lib64/python2.6/xmlrpclib.py, line 1237, in request
errcode, errmsg, headers = h.getreply()
  File /usr/lib64/python2.6/httplib.py, line 1064, in getreply
response = self._conn.getresponse()
  File /usr/lib64/python2.6/httplib.py, line 990, in getresponse
response.begin()
  File /usr/lib64/python2.6/httplib.py, line 391, in begin
version, status, reason = self._read_status()
  File /usr/lib64/python2.6/httplib.py, line 349, in _read_status
line = self.fp.readline()
  File /usr/lib64/python2.6/socket.py, line 433, in readline
data = recv(1)
KeyboardInterrupt___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] spicec failed to connect spice-server,error code 111

2013-03-14 Thread bigclouds
spicec -h  HOST -p 5900 -s 5901 --ca-file file.pem
warning:fialed to connect : connection refused(111)




1363262333 INFO [12182:12182] Application::main: starting 0.8.3
1363262333 INFO [12182:12182] init_key_map: using evdev mapping
1363262333 INFO [12182:12182] MultyMonScreen::MultyMonScreen: platform_win: 
50331649
1363262333 INFO [12182:12182] ForeignMenu::ForeignMenu: Creating a foreign menu 
connection /tmp/SpiceForeignMenu-12182.uds
1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect failed: 
Connection refused (111)
1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect failed: 
Connection refused (111)
1363262333 WARN [12182:12183] RedChannel::run: failed to connect: Connection 
refused (111)
1363262333 INFO [12182:12182] main: Spice client terminated (exitcode = 3)___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread bigclouds
no difference.
vdsm.conf : ssl=true








At 2013-03-14 18:49:25,Antoni Segura Puimedon asegu...@redhat.com wrote:
It might be ssl. If you have ssl enabled:

vdsClient -s 0 command

Otherwise:

vdsClient 0 command

- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Thursday, March 14, 2013 11:26:24 AM
 Subject: [Users] how to use vdsClient
 
 
 
 
 hi,all
 it is waiting all the time.
 
 
 
 
 
 
 [root@localhost ~]# mcvdaClient 0 list table
 ^CTraceback (most recent call last):
 File /usr/share/mcvda/mcvdaClient.py, line 2380, in module
 code, message = commands[command][0](commandArgs)
 File /usr/share/mcvda/mcvdaClient.py, line 274, in do_list
 response = self.s.getAllVmStats()
 File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
 return self.__send(self.__name, args)
 File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
 verbose=self.__verbose
 File /usr/lib64/python2.6/xmlrpclib.py, line 1237, in request
 errcode, errmsg, headers = h.getrepl y()
 File /usr/lib64/python2.6/httplib.py, line 1064, in getreply
 response = self._conn.getresponse()
 File /usr/lib64/python2.6/httplib.py, line 990, in getresponse
 response.begin()
 File /usr/lib64/python2.6/httplib.py, line 391, in begin
 version, status, reason = self._read_status()
 File /usr/lib64/python2.6/httplib.py, line 349, in _read_status
 line = self.fp.readline()
 File /usr/lib64/python2.6/socket.py, line 433, in readline
 data = recv(1)
 KeyboardInterrupt
 
 
 ___
 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] start vm error, because HOST swap is illegal?

2013-03-14 Thread bigclouds
hi,all




2013-03-14 01:57:33,886 INFO  [com.massclouds.center.core.bll.VdsSelector] 
(ajp--127.0.0.1-8702-22)  VDS Host101 eb11c524-8b2c-11e2-9806-000c29d39230 swap 
value is illegal
2013-03-14 01:57:33,886 WARN  [com.massclouds.center.core.bll.RunVmCommand] 
(ajp--127.0.0.1-8702-22) CanDoAction of action RunVm failed. 
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_SWAP
2013-03-14 01:57:33,900 INFO  [com.massclouds.center.core.bll.RunVmCommand] 
(ajp--127.0.0.1-8702-22) Lock freed to object CenterLock [exclusiveLocks= key: 
c33106d8-00ec-4379-8b93-ab5e7c1f279b value: VM___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] start vm error, because HOST swap is illegal?

2013-03-14 Thread bigclouds
what does this error mean?
HOST or guest  swap too much disk space?
thanks








At 2013-03-14 20:42:41,Gilad Chaplik gchap...@redhat.com wrote:
Hi, 

you can avoid this check in the engine by running this db script:
update vdc_options set option_value = false where option_name = 
'EnableSwapCheck';
don't forget to restart your jboss.

Thanks, 
Gilad.

- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Thursday, March 14, 2013 2:24:56 PM
 Subject: [Users] start vm error, because HOST swap is illegal?
 
 
 
 
 hi,all
 
 
 
 
 2013-03-14 01:57:33,886 INFO
 [com.massclouds.center.core.bll.VdsSelector]
 (ajp--127.0.0.1-8702-22) VDS Host101
 eb11c524-8b2c-11e2-9806-000c29d39230 swap value is illegal
 2013-03-14 01:57:33,886 WARN
 [com.massclouds.center.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-22) CanDoAction of action RunVm failed.
 Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_SWAP
 2013-03-14 01:57:33,900 INFO
 [com.massclouds.center.core.bll.RunVmCommand]
 (ajp--127.0.0.1-8702-22) Lock freed to object CenterLock
 [exclusiveLocks= key: c33106d8-00ec-4379-8b93-ab5e7c1f279b value: VM
 
 
 ___
 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] spicec failed to connect spice-server,error code 111

2013-03-14 Thread bigclouds
#i export SPICEC_LOG_LEVEL=0
spicec.log 


1363316293 INFO [10096:10096] Application::main: starting 0.8.3
1363316293 DEBUG [10096:10096] Application::Application:
1363316293 DEBUG [10096:10096] HotKeysParser::HotKeysParser: hotkeys = 
toggle-fullscreen=shift+f11,release-cursor=shift+f12,smartcard-insert=shift+f8,smartcard-remove=shift+f9
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f11
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f12
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f8
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f9
1363316293 DEBUG [10096:10096] Platform::init:
1363316293 INFO [10096:10096] init_key_map: using evdev mapping
1363316293 INFO [10096:10096] MultyMonScreen::MultyMonScreen: platform_win: 
71303169
1363316293 INFO [10096:10096] ForeignMenu::ForeignMenu: Creating a foreign menu 
connection /tmp/SpiceForeignMenu-10096.uds
1363316293 DEBUG [10096:10096] LinuxListener::LinuxListener: listening socket - 
/tmp/SpiceForeignMenu-10096.uds, added to events_loop
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Trying 192.168.88.101 
5900
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Connected to 
192.168.88.101 5900
1363316293 INFO [10096:10097] RedPeer::connect_unsecure: Connected to 
192.168.88.101 5900
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Trying 192.168.88.101 
5901
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Connected to 
192.168.88.101 5901
1363316293 INFO [10096:10097] RedPeer::connect_secure: Connected to 
192.168.88.101 5901
1363316293 DEBUG [10096:10097] RedPeer::verify_host_name: common name 
match=192.168.88.101
1363316293 WARN [10096:10097] RedChannel::run: connect failed 7
1363316293 INFO [10096:10096] main: Spice client terminated (exitcode = 3)
1363316293 DEBUG [10096:10096] cleanup:








At 2013-03-14 20:33:32,David Jaša dj...@redhat.com wrote:
could you post debug log, i.e. with SPICEC_LOG_LEVEL environment
variable set to 0 (zero)?

David


bigclouds píše v Čt 14. 03. 2013 v 20:10 +0800:
 spicec -h  HOST -p 5900 -s 5901 --ca-file file.pem
 warning:fialed to connect : connection refused(111)
 
 
 
 
 1363262333 INFO [12182:12182] Application::main: starting 0.8.3
 1363262333 INFO [12182:12182] init_key_map: using evdev mapping
 1363262333 INFO [12182:12182] MultyMonScreen::MultyMonScreen:
 platform_win: 50331649
 1363262333 INFO [12182:12182] ForeignMenu::ForeignMenu: Creating a
 foreign menu connection /tmp/SpiceForeignMenu-12182.uds
 1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect
 failed: Connection refused (111)
 1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect
 failed: Connection refused (111)
 1363262333 WARN [12182:12183] RedChannel::run: failed to connect:
 Connection refused (111)
 1363262333 INFO [12182:12182] main: Spice client terminated (exitc ode
 = 3)
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24



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


[Users] how the default bridge network is created.

2013-03-15 Thread bigclouds
hi,all
vdsmgmt network is created defaultly, i want to know how and where ?
i now need to add my own network, better to  refer to ovirt'default network.


1.if i need to insert network info into DB
2.how to start up the default network , 1)just put a network xml in right 
place, let libvirt tak care of it. 2)when start agent or engine, call add 
network API to product a network dynamicly?
3.in network  table, what is column type, how many of this type.
thanks. ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how the default bridge network is created.

2013-03-17 Thread bigclouds
hi
in network  table, there is  a type column , how many kinds of value of column 
type?


thanks






At 2013-03-17 14:27:49,Mike Kolesnik mkole...@redhat.com wrote:

hi,all
Hi,

vdsmgmt network is created defaultly, i want to know how and where ?
You probably mean 'ovirtmgmt' network.
Currently, It is created during the host's installation/bootstrap - it is one 
of the steps.

The is a plan to have it created from engine side instead of host side:
http://www.ovirt.org/Features/Normalized_ovirtmgmt_Initialization

i now need to add my own network, better to  refer to ovirt'default network.


1.if i need to insert network info into DB
2.how to start up the default network , 1)just put a network xml in right 
place, let libvirt tak care of it. 2)when start agent or engine, call add 
network API to product a network dynamicly?
3.in network  table, what is column type, how many of this type.
thanks. 
I would advise that you add the network through one of the clients: WEB/REST API
since there are more steps involved, and the clients already take care of it.

The 3 steps are:
1. Add network under the data center of your choice.
2. Attach the network to the cluster of your choice (under the aforementioned 
data center).
3. Use Setup Networks command on the hosts in the cluster to put the network on 
a NIC.

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


[Users] vdsClient not work ,it waiting all the time

2013-03-18 Thread bigclouds
hi, vdsclient waiting all the time
client can send command, i see server side return result.
but client  can not return.




[root@localhost mcvda]# python mcvdacli.py 
connecting to 192.168.88.101:54321 ssl True ts /etc/pki/mcvda
ServerProxy for 192.168.88.101:54321/RPC2
^CTraceback (most recent call last):
  File mcvdacli.py, line 124, in module
print server.ping()
  File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
return self.__send(self.__name, args)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
verbose=self.__verbose
  File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request
return self._parse_response(h.getfile(), sock)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1382, in _parse_response
response = file.read(1024)
  File /usr/lib64/python2.6/socket.py, line 383, in read
data = self._sock.recv(left)
  File /usr/lib64/python2.6/ssl.py, line 215, in recv
return self.read(buflen)
  File /usr/lib64/python2.6/ssl.py, line 136, in read
return self._sslobj.read(len)
KeyboardInterrupt___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] vdsClient not work ,it waiting all the time

2013-03-18 Thread bigclouds
i use   SecureXMLRPCServer.py to test xml-rpc, just change cert,key,ca to mine.
Encounter the same problem also。
if SSL-reading cause this problem, len is fixed to 1024. socket is syncing to 
recv all 1024 bytes.


thanks







At 2013-03-18 16:10:10,bigclouds bigclo...@163.com wrote:

hi, vdsclient waiting all the time
client can send command, i see server side return result.
but client  can not return.




[root@localhost mcvda]# python mcvdacli.py 
connecting to 192.168.88.101:54321 ssl True ts /etc/pki/mcvda
ServerProxy for 192.168.88.101:54321/RPC2
^CTraceback (most recent call last):
  File mcvdacli.py, line 124, in module
print server.ping()
  File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
return self.__send(self.__name, args)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
verbose=self.__verbose
  File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request
return self._ parse_response(h.getfile(), sock)
  File /usr/lib64/python2.6/xmlrpclib.py, line 1382, in _parse_response
response = file.read(1024)
  File /usr/lib64/python2.6/socket.py, line 383, in read
data = self._sock.recv(left)
  File /usr/lib64/python2.6/ssl.py, line 215, in recv
return self.read(buflen)
  File /usr/lib64/python2.6/ssl.py, line 136, in read
return self._sslobj.read(len)
KeyboardInterrupt


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


Re: [Users] vdsClient not work ,it waiting all the time

2013-03-18 Thread bigclouds
vdsClient do not work all the time.i need it to debug.
all parts of ovirt work fine except vdsClient.
my cert,key,ca are right, i use then all the time.


i launch vdsClient on agent HOST to connect itself.
the  following point is important,(but it has no matter with host ip address,i 
do not know why)
1.start  server
# python SecureXMLRPCServer.py  oioioiooio
2.start client
#python SecureXMLRPCServer.py
after start client, i can see server is aware of the call from client, and 
return after process rpc-call
 3.ctrl+c to kill server.
client return ,the result is 5.



according to my test.i start vdsm daemon , then vdsclient -s 0 
getVdsCapabilities, then shutdown vdsm daemon, client return and get result.
i think it is question  of ssl-socket,  or certification problems, but i do not 
know its root cause.
thanks.







At 2013-03-18 17:56:46,Dan Kenigsberg dan...@redhat.com wrote:
On Mon, Mar 18, 2013 at 04:23:19PM +0800, bigclouds wrote:
 i use   SecureXMLRPCServer.py to test xml-rpc, just change cert,key,ca to 
 mine.
 Encounter the same problem also。
 if SSL-reading cause this problem, len is fixed to 1024. socket is syncing 
 to recv all 1024 bytes.
 

What you are doing is not clear to me. Are you connecting to the same
host?

SecureXMLRPCServer has a test script of its own - does it work for you?
See
  class __Test(object):
  Self-signed key, generated with
 make -C /etc/pki/tls/certs /tmp/selfsign.pem
 with CN=127.0.0.1
  

 
 thanks
 
 
 
 
 
 
 
 At 2013-03-18 16:10:10,bigclouds bigclo...@163.com wrote:
 
 hi, vdsclient waiting all the time
 client can send command, i see server side return result.
 but client  can not return.
 
 
 
 
 [root@localhost mcvda]# python mcvdacli.py 
 connecting to 192.168.88.101:54321 ssl True ts /etc/pki/mcvda
 ServerProxy for 192.168.88.101:54321/RPC2
 ^CTraceback (most recent call last):
   File mcvdacli.py, line 124, in module
 print server.ping()
   File /usr/lib64/python2.6/xmlrpclib.py, line 1199, in __call__
 return self.__send(self.__name, args)
   File /usr/lib64/python2.6/xmlrpclib.py, line 1489, in __request
 verbose=self.__verbose
   File /usr/lib64/python2.6/xmlrpclib.py, line 1253, in request
 return self._ parse_response(h.getfile(), sock)
   File /usr/lib64/python2.6/xmlrpclib.py, line 1382, in _parse_response
 response = file.read(1024)
   File /usr/lib64/python2.6/socket.py, line 383, in read
 data = self._sock.recv(left)
   File /usr/lib64/python2.6/ssl.py, line 215, in recv
 return self.read(buflen)
   File /usr/lib64/python2.6/ssl.py, line 136, in read
 return self._sslobj.read(len)
 KeyboardInterrupt
 
 

 ___
 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] vdsClient not work ,it waiting all the time

2013-03-19 Thread bigclouds

my problem is solved.
i forget to implement close function of a class inherit from socket.


thanks







At 2013-03-19 16:27:50,Dan Kenigsberg dan...@redhat.com wrote:
Sorry. I do not quite follow. Earlier you've mentioned something called
mcvdacli.py.

Could you give another description of your setup? Which operating system
version? Which vdsm version? What is the output of

 vdsClient -s 0 getVdsCaps ?

what's in vdsm.log?

what do

  openssl verify -CAfile /etc/pki/vdsm/certs/cacert.pem 
 /etc/pki/vdsm/certs/vdsmcert.pem

  openssl smime -sign -signer certs/vdsmcert.pem -in /tmp/hello -inkey 
 keys/vdsmkey.pem
  openssl smime -verify -CAfile certs/cacert.pem -certfile certs/vdsmcert.pem 
 -in /tmp/hello.smime

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


[Users] what can cause NETWORK_UNREACHABLE

2013-03-21 Thread bigclouds
hi,all
on UI always there is a alert 'NonOperationalReason___NETWORK_UNREACHABLE',
could you tell me , what  cause this problem. how to fix it?


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


Re: [Users] what can cause NETWORK_UNREACHABLE

2013-03-21 Thread bigclouds
hi,lvernia
what confuse me is that  Host is operational and all its networks work all 
right.
i  track call flow,set breakpoint at function  associated with 
NETWORK_UNREACHABLE,
but i never catch one breakpoint, if this alert is in DB(maybe not, i think it 
is real-time )


thanks









At 2013-03-21 17:17:34,Lior Vernia lver...@redhat.com wrote:
Hello,

It is most commonly caused by having a network defined as required in
a cluster, and not having it set up on a host in that cluster. It is
usually accompanied by a human-readable explanation in the events panel
at the bottom of the webadmin GUI.

If that is indeed the problem, it can be fixed in one of two ways,
depending on whether the network is actually essential for your cluster:

1. If it is essential, choose the non-operational host, navigate to the
Network Interfaces subtab, click Setup Host Networks and make sure
that the required network is attached to a network interface on the host.

2. If it is not essential, choose the corresponding cluster, head to its
Logical Networks subtab, click on Assign/Unassign Networks and mark
the network as non-required.

Yours, Lior Vernia.

On 21/03/13 10:45, bigclouds wrote:
 hi,all
 on UI always there is a alert 'NonOperationalReason___NETWORK_UNREACHABLE',
 could you tell me , what  cause this problem. how to fix it?
 
 thanks
 
 
 
 
 ___
 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] what is volume in ovirt

2013-03-22 Thread bigclouds
Hi,all
please  explain what is volumes in ovirt,
1. especially 
STRIPE,DISTRIBUTED_STRIPE,REPLICATE,DISTRIBUTED_REPLICATE,DISTRIBUTE
2. bricks


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


[Users] cannot create ovirt-host-deploy.tar

2013-03-26 Thread bigclouds
hi,all
i fail to add host, it tip me to re-install, but every time ,it failed because 
'Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar''
 
thanks
---log-
2013-03-26 18:31:40,062 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(pool-10-thread-9) Send SSH_MSG_USERAUTH_REQUEST for password
2013-03-26 18:31:40,078 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(NioProcessor-3) Received SSH_MSG_USERAUTH_SUCCESS
2013-03-26 18:31:40,080 INFO  [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-10-thread-9) [73c29998] Installation of 192.168.2.170. Executing command 
via SSH umask 0077; MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX 
\${MYTMP}\  /dev/null 21; rm -fr \${MYTMP}\  /dev/null 21 0; rm -fr 
${MYTMP}  mkdir ${MYTMP}  tar -C ${MYTMP} -x   ${MYTMP}/setup 
DIALOG/dialect=str:machine DIALOG/customization=bool:True  
/var/cache/ovirt-engine/ovirt-host-deploy.tar
2013-03-26 18:31:40,085 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar' is missing, creating
2013-03-26 18:31:40,090 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) Cannot 
create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar': 
java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found
at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.ensure(CachedTar.java:105) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151) 
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:922) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:167)
 [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:1596) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166)
 [utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108)
 [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.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:183)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:164)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101)
 [bll.jar:]
at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71)
 [utils.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
[rt.jar:1.7.0_09-icedtea]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_09-icedtea]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_09-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] cannot create ovirt-host-deploy.tar

2013-03-26 Thread bigclouds





hi,all
i fail to add host, it tip me to re-install, but every time ,it failed because 
'Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar''
 
thanks
---log-
2013-03-26 18:31:40,062 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(pool-10-thread-9) Send SSH_MSG_USERAUTH_REQUEST for password
2013-03-26 18:31:40,078 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(NioProcessor-3) Received SSH_MSG_USERAUTH_SUCCESS
2013-03-26 18:31:40,080 INFO  [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-10-thread-9) [73c29998] Installation of 192.168.2.170. Executing command 
via SSH umask 0077; MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX 
\${MYTMP}\  /dev/null 21; rm -fr \${MYTMP}\  /dev/null 21 0; rm -fr 
${MYTMP}  mkdir ${MYTMP}  amp; tar -C ${MYTMP} -x   
${MYTMP}/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True  
/var/cache/ovirt-engine/ovirt-host-deploy.tar
2013-03-26 18:31:40,085 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar' is missing, creating
2013-03-26 18:31:40,090 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) Cannot 
create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar': 
java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found
at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) 
[utils.jar:]
at org.ovirt.engine.core.utils.archivers.t 
ar.CachedTar.ensure(CachedTar.java:105) [utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151) 
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:922) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:167)
 [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:1596) 
[bll.jar:]
at org.ovirt.engine.core.utils.transact 
ion.TransactionSupport.executeInSuppressed(TransactionSupport.java:166) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108)
 [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.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:183)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:164)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101)
 [bll.jar:]
 nbsp ;  at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71)
 [utils.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
[rt.jar:1.7.0_09-icedtea]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_09-icedtea]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_09-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09- icedtea]


-vdsm log--

MainThread::INFO::2013-03-26 18:20:20,514::vmChannels::146::vds::(settimeout) 
Setting channels' timeout to 30 seconds.
VM Channels Listener::INFO::2013-03-26 
18:20:20,561::vmChannels::129::vds::(run) Starting VM channels listener thread.
storageRefresh::DEBUG::2013-03-26 
18:20:20,562::misc::85::Storage.Misc.excCmd::(lambda) FAILED: err = 
'iscsiadm: No session found.\n'; rc = 21
storageRefresh::DEBUG::2013-03-26 
18:20:20,562::misc::1093::SamplingMethod::(__call__) Returning last result
BindingXMLRPC::ERROR::2013-03-26 
18:20:21,896::BindingXMLRPC::72::vds::(threaded_start) xml-rpc handler exception
Traceback (most recent call last):
  File /usr/share/vdsm/BindingXMLRPC.py, line 68, in threaded_start
self.server.handle_request()
  File /usr/lib64/python2.6/SocketServer.py, line 268, in handle_request
self._handle_request_noblock()
  File /usr/lib64/python2.6/SocketServer.py, line 278, in 
_handle_request_noblock
request, client_address = self.get_request()
  File /usr/lib64/python2.6/SocketServer.py, line 446, 

Re: [Users] cannot create ovirt-host-deploy.tar

2013-03-26 Thread bigclouds
:]
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:1596) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166)
 [utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108)
 [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.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:183)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:164)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101)
 [bll.jar:]
at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71)
 [utils.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
[rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
[rt.jar:1.7.0_09-icedtea]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_09-icedtea]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_09-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found
at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) 
[utils.jar:]
... 21 more



At 2013-03-26 19:12:56,Martin Pavlik mpav...@redhat.com wrote:

What OS do you use on host?

I experienced something similar using Fedora 18 minimal install, you need to 
install tar on the node

It is mentioned here http://www.ovirt.org/Quick_Start_Guide (search for yum 
install tar)

HTH

Martin Pavlik

On 03/26/2013 11:45 AM, bigclouds wrote:






hi,all
i fail to add host, it tip me to re-install, but every time ,it failed because 
'Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar''
 
thanks
---log-
2013-03-26 18:31:40,062 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(pool-10-thread-9) Send SSH_MSG_USERAUTH_REQUEST for password
2013-03-26 18:31:40,078 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(NioProcessor-3) Received SSH_MSG_USERAUTH_SUCCESS
2013-03-26 18:31:40,080 INFO  [org.ovirt.engine.core.bll.VdsDeploy] ( 
pool-10-thread-9) [73c29998] Installation of 192.168.2.170. Executing command 
via SSH umask 0077; MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX 
\${MYTMP}\  /dev/null 21; rm -fr \${MYTMP}\  /dev/null 21 0; rm -fr 
${MYTMP}  mkdir ${MYTMP}  amp; tar -C ${MYTMP} -x   
${MYTMP}/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True  
/var/cache/ovirt-engine/ovirt-host-deploy.tar
2013-03-26 18:31:40,085 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar' is missing, creating
2013-03-26 18:31:40,090 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-9) Cannot 
create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar': 
java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found
at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97) 
[utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41) 
[utils.jar:]
at org.ovirt.engine.core.utils.archivers.t 
ar.CachedTar.ensure(CachedTar.java:105) [utils.jar:]
at 
org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151) 
[utils.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:922) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:167)
 [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:1596) 
[bll.jar:]
at org.ovirt.engine.core.utils.transact 
ion.TransactionSupport.executeInSuppressed(TransactionSupport.java:166) 
[utils.jar

Re: [Users] cannot create ovirt-host-deploy.tar

2013-03-26 Thread bigclouds

could you give me more details?
where to download (git is better)
thanks




At 2013-03-26 19:42:35,Alon Bar-Lev alo...@redhat.com wrote:
You should install ovirt-host-deploy package on your system.

- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Tuesday, March 26, 2013 12:37:21 PM
 Subject: [Users] cannot create ovirt-host-deploy.tar
 
 
 
 
 hi,all
 i fail to add host, it tip me to re-install, but every time ,it
 failed because 'Cannot create tarball
 '/var/cache/ovirt-engine/ovirt-host-deploy.tar''
 
 thanks
 ---log-
 2013-03-26 18:31:40,062 INFO
 [org.apache.sshd.client.auth.UserAuthPassword] (pool-10-thread-9)
 Send SSH_MSG_USERAUTH_REQUEST for password
 2013-03-26 18:31:40,078 INFO
 [org.apache.sshd.client.auth.UserAuthPassword] (NioProcessor-3)
 Received SSH_MSG_USERAUTH_SUCCESS
 2013-03-26 18:31:40,080 INFO [org.ovirt.engine.core.bll.VdsDeploy]
 (pool-10-thread-9) [73c29998] Installation of 192.168.2.170.
 Executing command via SSH umask 0077; MYTMP=$(mktemp -t
 ovirt-XX); trap chmod -R u+rwX \${MYTMP}\  /dev/null
 21; rm -fr \${MYTMP}\  /dev/null 21 0; rm -fr ${MYTMP} 
 mkdir ${MYTMP}  amp; tar -C ${MYTMP} -x  ${MYTMP}/setup
 DIALOG/dialect=str:machine DIALOG/customization=bool:True 
 /var/cache/ovirt-engine/ovirt-host-deploy.tar
 2013-03-26 18:31:40,085 INFO
 [org.ovirt.engine.core.utils.archivers.tar.CachedTar]
 (pool-10-thread-9) Tarball
 '/var/cache/ovirt-engine/ovirt-host-deploy.tar' is missing, creating
 2013-03-26 18:31:40,090 ERROR
 [org.ovirt.engine.core.utils.archivers.tar.CachedTar]
 (pool-10-thread-9) Cannot create tarball
 '/var/cache/ovirt-engine/ovirt-host-deploy.tar':
 java.io.FileNotFoundException: File or directory
 /usr/share/ovirt-host-deploy/interface-3 not found
 at org.ovirt.engine.core.utils.archivers.tar.Tar.doTar(Tar.java:97)
 [utils.jar:]
 at
 org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:41)
 [utils.jar:]
 at org.ovirt.engine.core.utils.archivers.t
 ar.CachedTar.ensure(CachedTar.java:105) [utils.jar:]
 at
 org.ovirt.engine.core.utils.archivers.tar.CachedTar.getFile(CachedTar.java:151)
 [utils.jar:]
 at org.ovirt.engine.core.bll.VdsDeploy.execute(VdsDeploy.java:922)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:167)
 [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:1596)
 [bll.jar:]
 at org.ovirt.engine.core.utils.transact
 ion.TransactionSupport.executeInSuppressed(TransactionSupport.java:166)
 [utils.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108)
 [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.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:183)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:164)
 [bll.jar:]
 at
 org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101)
 [bll.jar:]
 ; at
 org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:71)
 [utils.jar:]
 at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 [rt.jar:1.7.0_09-icedtea]
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
 [rt.jar:1.7.0_09-icedtea]
 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
 [rt.jar:1.7.0_09-icedtea]
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 [rt.jar:1.7.0_09-icedtea]
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 [rt.jar:1.7.0_09-icedtea]
 at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09- icedtea]
 
 
 
 ___
 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] .keystore' using alias '1'

2013-03-26 Thread bigclouds
how to create certs from scratch.
 
thanks
2013-03-26 20:54:36,786 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) 
Error during deploy dialog: java.lang.RuntimeException: Failed to decode own 
public key from store '/etc/pki/ovirt-engine/ca/.keystore' using alias '1'
at 
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:236) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$10.call(VdsDeploy.java:350) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:492) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:704) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$33.run(VdsDeploy.java:796) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too 
big.
at sun.security.util.DerInputStream.getLength(DerInputStream.java:561) 
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:365) 
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:320) 
[rt.jar:1.7.0_09-icedtea]
at 
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220) 
[rt.jar:1.7.0_09-icedtea]
at java.security.KeyStore.load(KeyStore.java:1214) 
[rt.jar:1.7.0_09-icedtea]
at 
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:209) 
[bll.jar:]
... 6 more
2013-03-26 20:54:36,814 INFO  
[org.apache.sshd.client.session.ClientSessionImpl] (VdsDeploy) Session 
root@/192.168.2.170:22 closed
2013-03-26 20:54:36,815 ERROR [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-10-thread-50) [102beb4a] Error during host 192.168.2.170 install: 
java.lang.RuntimeException: Failed to decode own public key from store 
'/etc/pki/ovirt-engine/ca/.keystore' using alias '1'
at 
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:236) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$10.call(VdsDeploy.java:350) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:492) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:704) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$33.run(VdsDeploy.java:796) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too 
big.
at sun.security.util.DerInputStream.getLength(DerInputStream.java:561) 
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:365) 
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:320) 
[rt.jar:1.7.0_09-icedtea]
at 
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220) 
[rt.jar:1.7.0_09-icedtea]
at java.security.KeyStore.load(KeyStore.java:1214) 
[rt.jar:1.7.0_09-icedtea]
at 
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:209) 
[bll.jar:]
... 6 more
2013-03-26 20:54:36,872 ERROR [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-10-thread-50) [102beb4a] Error during host 192.168.2.170 install, 
prefering first exception: java.lang.RuntimeException: Failed to decode own 
public key from store '/etc/pki/ovirt-engine/ca/.keystore' using alias '1'
at 
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:236) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$10.call(VdsDeploy.java:350) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:492) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:704) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1400(VdsDeploy.java:71) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$33.run(VdsDeploy.java:796) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too 
big.
at sun.security.util.DerInputStream.getLength(DerInputStream.java:561) 
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:365) 
[rt.jar:1.7.0_09-icedtea]
at sun.security.util.DerValue.init(DerValue.java:320) 
[rt.jar:1.7.0_09-icedtea]
at 
sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1220) 
[rt.jar:1.7.0_09-icedtea]
at java.security.KeyStore.load(KeyStore.java:1214) 
[rt.jar:1.7.0_09-icedtea]
at 
org.ovirt.engine.core.bll.VdsDeploy._getEngineSSHPublicKey(VdsDeploy.java:209) 
[bll.jar:]___
Users mailing list

[Users] make engine rpm error

2013-03-26 Thread bigclouds
command 'make rpm' , this error is reported before,  i follow steps to fix it 
,but do not work .
centos 6.3, 2G memory.
thanks


---fix
gwt-plugin.extraJvmArgs-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermS
+gwt-plugin.extraJvmArgs-Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M/
 
--
[INFO] WebAdmin .. FAILURE [28.994s]
[INFO] UserPortal  SKIPPED
[INFO] oVirt Server EAR .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 4:58.903s
[INFO] Finished at: Tue Mar 26 23:29:09 CST 2013
[INFO] Final Memory: 149M/357M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile 
(gwtcompile) on project webadmin: Command [[
[ERROR] /bin/sh -c /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre/bin/java 
-javaagent:/root/.m2/repository/org/aspectj/aspectjweaver/1.6.11/aspectjweaver-1.6.11.jar
 -Xms1024M -Xmx2048M -XX:PermSize=256M -XX:MaxPermSize=512M 
'-Dgwt.dontPrune=org\.ovirt\.engine\.core\.(common|compat)\..*' -classpath 
/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/src/main/java:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/generated-sources/annotations:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/generated-sources/gwt:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/src/main/resources:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/webadmin/target/webadmin-3.3.0-SNAPSHOT/WEB-INF/classes:/root/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar:/root/.m2/reposi
 
tory/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar:/root/.m2/repository/com/gwtplatform/gwtp-mvp-client/0.6/gwtp-mvp-client-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-clients-common/0.6/gwtp-clients-common-0.6.jar:/root/.m2/repository/com/gwtplatform/gwtp-processors/0.6/gwtp-processors-0.6.jar:/root/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/root/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/root/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/root/.m2/repository/com/google/inject/extensions/guice-assistedinject/3.0/guice-assistedinject-3.0.jar:/root/.m2/repository/com/google/gwt/inject/gin/1.5.0/gin-1.5.0.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/uicommonweb/target/uicommonweb-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/searchbackend/target/searchbackend-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine
 
-3.3.0/frontend/webadmin/modules/uicompat/target/uicompat-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/common/target/common-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/compat/target/compat-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/backend/manager/modules/searchbackend/target/searchbackend-3.3.0-SNAPSHOT-sources.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/gwt-common/target/gwt-common-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/frontend/target/frontend-3.3.0-SNAPSHOT.jar:/mnt/ovirt-engine/tmp.rpmbuild/BUILD/ovirt-engine-3.3.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.3.0-SNAPSHOT.jar:/root/.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar:/root/.m2/repository/javax/xml/stream/stax-api/1.0-2/sta
 

Re: [Users] make engine rpm error

2013-03-27 Thread bigclouds
hi, alonbl
error remain. even i use Dgwt.compiler.localWorkers=1.
more error messages i copy here. it show the call stacks.
please have a look.
command i use:
mvn clean install -e -Pgwt-admin,dep -DskipTests=true -Dgwt.user.agent=gecko 
-Duser.agent=gecko -Dgwt.userAgent=gecko -Dgwt.compiler.localWorkers=1
 
many thinks
 
[INFO] oVirt GWT UI common infrastructure  SUCCESS [26.364s]
[INFO] WebAdmin .. FAILURE [29.023s]
[INFO] UserPortal  SKIPPED
[INFO] oVirt Server EAR .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 4:30.293s
[INFO] Finished at: Wed Mar 27 19:00:58 CST 2013
[INFO] Final Memory: 148M/355M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile 
(gwtcompile) on project webadmin: Command [[
]] failed with status 1
at 
org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo$JavaCommand.execute(AbstractGwtShellMojo.java:422)
at org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:301)
at 
org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:224)
at 
org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:134)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 
[ERROR] ]] failed with status 1
[ERROR] - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile (gwtcompile) on project 
webadmin: Command

gLevel INFO -style OBF -war 
/mnt/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmin-3.3.0-SNAPSHOT
 -localWorkers 1 org.ovirt.engine.ui.webadmin.WebAdmin
]] failed with status 1
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.codehaus.mojo.gwt.shell.ForkedProcessExecutionException: Command 
[[




At 2013-03-27 15:58:38,Alon Bar-Lev alo...@redhat.com wrote:
Try to add -Dgwt-plugin.localWorkers=1 to gwt-plugin.extraJvmArgs or 
RPMBUILD_EXTRA_ARGS=-D... at make command.

- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Wednesday, March 27, 2013 4:57:31 AM
 Subject: [Users] make engine rpm error
 
 
 
 
 command 'make rpm' , this error is reported before, i follow steps to
 fix it ,but do not work .
 centos 6.3, 2G memory.
 thanks
 
 ---fix gwt-plugin.extraJvmArgs-Xms1024M
 -Xmx1024M -XX:PermSize=256M -XX:MaxPermS
 +gwt-plugin.extraJvmArgs-Xmx1024M -XX:PermSize=256M
 -XX:MaxPermSize=256M/
 
 --
 [INFO] WebAdmin .. FAILURE
 [28.994s]
 [INFO] UserPortal  SKIPPED
 [INFO] oVirt Server EAR .. SKIPPED
 [INFO

Re: [Users] make engine rpm error

2013-03-27 Thread bigclouds

hi, alonbl:
i add more memory, but same error occur.
the lastest engine code., centos 6.3,  on step by stop to comile engine ,but 
fail.
i think it is common error.
 
any ideas?
so sad to say engine is just a  tragedy.
any way,thanks you




At 2013-03-27 19:30:09,Alon Bar-Lev alo...@redhat.com wrote:
Hm... so you need more memory... :(

- Original Message -
 From: bigclouds bigclo...@163.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 27, 2013 1:07:29 PM
 Subject: Re:Re: [Users] make engine rpm error
 
 
 
 hi, alonbl
 error remain. even i use Dgwt.compiler.localWorkers=1.
 more error messages i copy here. it show the call stacks.
 please have a look.
 command i use: mvn clean install -e -Pgwt-admin,dep -DskipTests=true
 -Dgwt.user.agent=gecko -Duser.agent=gecko -Dgwt.userAgent=gecko
 -Dgwt.compiler.localWorkers=1
 many thinks
 
 [INFO] oVirt GWT UI common infrastructure  SUCCESS
 [26.364s]
 [INFO] WebAdmin .. FAILURE
 [29.023s]
 [INFO] UserPortal  SKIPPED
 [INFO] oVirt Server EAR .. SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 4:30.293s
 [INFO] Finished at: Wed Mar 27 19:00:58 CST 2013
 [INFO] Final Memory: 148M/355M
 [INFO]
 ---!
 -
 [ERROR] Failed to execute goal org.codehaus.mojo:gwt-!
 maven-plugin:2.3.0:compile (gwtcompile) on project webadmin: Command
 [[
 ]] failed with status 1
 at
 org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo$JavaCommand.execute(AbstractGwtShellMojo.java:422)
 at
 org.codehaus.mojo.gwt.shell.CompileMojo.compile(CompileMojo.java:301)
 at
 org.codehaus.mojo.gwt.shell.CompileMojo.doExecute(CompileMojo.java:224)
 at
 org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:134)
 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 
 [ERROR] ]] failed with status 1
 [ERROR] - [Hel! p 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
 execute goal org.codehaus.mojo:gwt-maven-plugin:2.3.0:compile
 (gwtcompile) on project webadmin: Command
 
 gLevel INFO -style OBF -war
 /mnt/ovirt-engine/frontend/webadmin/modules/webadmin/target/webadmin-3.3.0-SNAPSHOT
 -localWorkers 1 org.ovirt.engine.ui.webadmin.WebAdmin
 ]] failed with status 1
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at org.apache.ma!
 ven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleMod!
 uleBuilder.java:59)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 nbs! p; at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 Caused by:
 org.codehaus.mojo.gwt.shell.ForkedProcessExecutionException: Command
 [[
 
 
 !
 
 !
 
 
 At 2013-03-27 15:58:38,Alon Bar-Lev alo...@redhat.com wrote:
 Try to add -Dgwt-plugin.localWorkers=1 to gwt-plugin.extraJvmArgs or
  RPMBUILD_EXTRA_ARGS=-D... at make command.
 
 - Original Message -
  From: bigclouds bigclo...@163.com
  To: users@ovirt.org
  Sent: Wednesday, March 27, 2013 4:57:31 AM
  Subject: [Users] make engine rpm error
  
  
  
  
  command 'make rpm' , this error is reported before, i follow steps
   to
  fix it ,but do not work

[Users] lastest way to create engine certs

2013-03-27 Thread bigclouds
after succeed  building engine code, when login admin-portal , lacking  of 
engine certs leads  error.
my engine code is latest ( 2 days ago).
http://www.ovirt.org/Engine_Node_Integration#Engine_core_machine  seems is too 
old
 
 
thanks
--
2013-03-27 23:07:04,521 ERROR [org.ovirt.engine.core.pki.PKIResourceServlet] 
(http--0.0.0.0-8700-1) Cannot send public key resource 
'/etc/pki/ovirt-engine/certs/engine.cer' format 'SSH': 
java.io.FileNotFoundException: /etc/pki/ovirt-engine/certs/engine.cer (No such 
file or directory)
at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_09-icedtea]
at java.io.FileInputStream.init(FileInputStream.java:138) 
[rt.jar:1.7.0_09-icedtea]
at java.io.FileInputStream.init(FileInputStream.java:97) 
[rt.jar:1.7.0_09-icedtea]
at 
org.ovirt.engine.core.pki.PKIResourceServlet.doGet(PKIResourceServlet.java:80) 
[classes:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) 
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) 
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
 [jbossweb-7.0.13.Final.jar:]
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
 [jbossweb-7.0.13.Final.jar:]
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
 [jbossweb-7.0.13.Final.jar:]
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
 [jbossweb-7.0.13.Final.jar:]
at 
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
 [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) 
[jbossweb-7.0.13.Final.jar:]
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 
[jbossweb-7.0.13.Final.jar:]
at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466) 
[jbossweb-7.0.13.Final.jar:]
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 [jbossweb-7.0.13.Final.jar:]
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) 
[jbossweb-7.0.13.Final.jar:]
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) 
[jbossweb-7.0.13.Final.jar:]
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
 [jbossweb-7.0.13.Final.jar:]
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) 
[jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] debug engine error

2013-04-11 Thread bigclouds
i think Building oVirt engine  is too old.
who could give a more detailed docoment,  begin build from source code.
 
 
2013-04-11 17:38:49,580 ERROR 
[org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2) 
Can't load keystore from file /etc/pki/ovirt-engine/ca/.keystore. 
IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-04-11 17:38:49,581 ERROR 
[org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2) 
Failed to decrypt java.io.IOException: DerInputStream.getLength(): 
lengthTag=109, too big.
2013-04-11 17:38:49,587 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 
1-2) Failed to decrypt value for property AdminPassword will be used encrypted 
value
2013-04-11 17:38:49,606 ERROR 
[org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2) 
Can't load keystore from file /etc/pki/ovirt-engine/ca/.keystore. 
IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-04-11 17:38:49,611 ERROR 
[org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2) 
Failed to decrypt java.io.IOException: DerInputStream.getLength(): 
lengthTag=109, too big.
2013-04-11 17:38:49,615 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 
1-2) Failed to decrypt value for property LocalAdminPassword will be used 
encrypted value
2013-04-11 17:38:50,123 ERROR 
[org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2) 
Can't load keystore from file /etc/pki/ovirt-engine/ca/.keystore. 
IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-04-11 17:38:50,124 ERROR 
[org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2) 
Failed to decrypt java.io.IOException: DerInputStream.getLength(): 
lengthTag=109, too big.
2013-04-11 17:38:50,136 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 
1-2) Failed to decrypt value for property TruststorePass will be used encrypted 
value___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] debug engine error

2013-04-12 Thread bigclouds
i will try the night build.
what i want to do is  create a debug environment from scratch.  i need to 
modify UI and know the logic corresponding to each the UI operation.
is there any different between night build and lastest git code?
 
thanks





At 2013-04-12 14:58:37,Alon Bar-Lev alo...@redhat.com wrote:
What do you need? development build? production build?
Why don't you use the nightly builds at [1]?

[1] http://resources.ovirt.org/releases/

- Original Message -
 From: bigclouds bigclo...@163.com
 To: users@ovirt.org
 Sent: Friday, April 12, 2013 4:14:25 AM
 Subject: [Users] debug engine error
 
 i think Building oVirt engine is too old.
 who could give a more detailed docoment, begin build from source code.
 2013-04-11 17:38:49,580 ERROR
 [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2)
 Can't load keystore from file /etc/pki/ovirt-engine/ca/.keystore.
 IOException: DerInputStream.getLength(): lengthTag=109, too big.
 2013-04-11 17:38:49,581 ERROR
 [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2)
 Failed to decrypt java.io.IOException: DerInputStream.getLength():
 lengthTag=109, too big.
 2013-04-11 17:38:49,587 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
 thread 1-2) Failed to decrypt value for property AdminPassword will be used
 encrypted value
 2013-04-11 17:38:49,606 ERROR
 [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2)
 Can't load keystore from f ile /etc/pki/ovirt-engine/ca/.keystore.
 IOException: DerInputStream.getLength(): lengthTag=109, too big.
 2013-04-11 17:38:49,611 ERROR
 [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2)
 Failed to decrypt java.io.IOException: DerInputStream.getLength():
 lengthTag=109, too big.
 2013-04-11 17:38:49,615 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
 thread 1-2) Failed to decrypt value for property LocalAdminPassword will be
 used encrypted value
 2013-04-11 17:38:50,123 ERROR
 [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2)
 Can't load keystore from file /etc/pki/ovirt-engine/ca/.keystore.
 IOException: DerInputStream.getLength(): lengthTag=109, too big.
 2013-04-11 17:38:50,124 ERROR
 [org.ovirt.engine.core.utils.crypt.EncryptionUtils] (MSC service thread 1-2)
 Failed to decrypt java.io.IOException: DerInputStream.getLength():
 lengthTag=109, too big.
 2013-04-11 17:38:50,136 ERROR [o
 rg.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread
 1-2) Failed to decrypt value for property TruststorePass will be used
 encrypted value
 
 
 
 ___
 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] how to use ovirt-shell?

2013-04-24 Thread bigclouds
hi,all
 
ovirt-shell  -l  https://127.0.0.1/ -u admin@internal -A 
/etc/pki/vdsm/certs/cacert.pem -C /etc/pki/vdsm/libvirt-spice/server-cert.pem 
-K /etc/pki/vdsm/libvirt-spice/server-key.pem -c
 
i never successfully connect.
 
thanks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use ovirt-shell?

2013-04-24 Thread bigclouds
error: [401] - Unauthorized, HTTP Status 401
 
does this need context?
 
thanks.





At 2013-04-24 16:19:44,Lior Vernia lver...@redhat.com wrote:
Hello,

Instead of https://127.0.0.1/;, try to type https://127.0.0.1/api;.

Yours, Lior Vernia.

On 24/04/13 04:32, bigclouds wrote:
 hi,all
  
 ovirt-shell  -l  https://127.0.0.1/ -u admin@internal
 mailto:admin@internal -A /etc/pki/vdsm/certs/cacert.pem -C
 /etc/pki/vdsm/libvirt-spice/server-cert.pem -K
 /etc/pki/vdsm/libvirt-spice/server-key.pem -c
  
 i never successfully connect.
  
 thanks
 
 
 
 
 ___
 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] questions about vdsm supervdsmserver

2013-04-26 Thread bigclouds
hi,all.
i have 2 questions about supervdsmserver,
1.why it is created separately as a daemon?
   its many function have never been used, and its function can be done by 
calling libvirt directly, why supervdsmserver is need?
2.it seems that only one supervdsmserver should be exist, by killing  old ones 
to assure that . but look at this, and please  explain to me.
unix  2  [ ACC ] STREAM LISTENING 1339963 4968/python 
/var/run/vdsm/svdsm.sock
unix  2  [ ACC ] STREAM LISTENING 384165 39716/python
/var/run/vdsm/svdsm.sock
unix  2  [ ACC ] STREAM LISTENING 1100509 49487/python
/var/run/vdsm/svdsm.sock
unix  2  [ ACC ] STREAM LISTENING 1326232 3813/python 
/var/run/mcvda/svdsm.sock
unix  3  [ ] STREAM CONNECTED 1448193 4968/python 
/var/run/mcvda/svdsm.sock
unix  3  [ ] STREAM CONNECTED 1447937 4968/python 
/var/run/mcvda/svdsm.sock
unix  3  [ ] STREAM CONNECTED 1424959 4968/python 
/var/run/mcvda/svdsm.sock
unix  3  [ ] STREAM CONNECTED 1414835 4968/python 
/var/run/mcvda/svdsm.sock
unix  3  [ ] STREAM CONNECTED 1327873 3813/python 
/var/run/mcvda/svdsm.sock
unix  2  [ ] STREAM CONNECTED 1309612 49487/python
/var/run/mcvda/svdsm.sock
unix  3  [ ] STREAM CONNECTED 384221 39716/python
/var/run/mcvda/svdsm.sock
 
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] the procedure of storage-related

2013-04-26 Thread bigclouds
hi,all
1.i am now not very familar with the right procedure of storage,
please give me a simply introduction of their concept and relation. help me 
out
 
StoragePool,StorageDomain
image,volume
 
 
2.please help me confirm.
i find only one place call mount command, which is poolConnectStorageServer.
if poolConnectStorageServer is before create and active 
StoragePool,StorageDomain?
 
3.if attach is just modify metadata, not anything else?
 
4.sp.py, deactivateSD
  if i deactivate ISO storage,it finally umount masterDir, why  ?
  if masterDir is not  mastersd?
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Engine-devel] Fwd: the procedure of storage-related

2013-04-28 Thread bigclouds
hi,
maybe i do not make you understand me fully. i am reading vdsm code, but it is 
hard for me to understand StorageDomain,StoragePool. before stoargeD(P) can 
work, engine must prepare many things.
 i want to know  the call flow (process) which must be done to make storageS(P) 
work.
 
1.for example, what  funcitons you should call  if make a  stoargeDomain work.
  
poolConnectStorageServer-poolCreate-poolConnect-domainCreate-domainActivate.
 
thanks




At 2013-04-28 17:40:29,Vered Volansky ve...@redhat.com wrote:


- Forwarded Message -
 From: Vered Volansky ve...@redhat.com
 To: bigclouds bigclo...@163.com
 Sent: Sunday, April 28, 2013 12:39:31 PM
 Subject: Re: [Engine-devel] the procedure of storage-related
 
 Hi,
 
 Find my answers below.
 
 Best Regards,
 Vered
 
 - Original Message -
  From: bigclouds bigclo...@163.com
  To: engine-devel engine-de...@ovirt.org
  Sent: Saturday, April 27, 2013 8:40:56 AM
  Subject: [Engine-devel] the procedure of storage-related
  
  hi,all
  1.i am now not very familar with the right procedure of storage,
  please give me a simply introduction of their concept and relation.
  help
  me out
   
  StoragePool,StorageDomain
  image,volume
 
 You should find the following link helpful:
 http://www.ovirt.org/Vdsm_Storage_Terminology
 
 As per your other questions, you might find the following guide helpul:
 http://www.ovirt.org/Quick_Start_Guide#Configure_Storage
 
 Of not, please rephrase them as they're not clear enough and I'd rather not
 guess.
 
 
   
   
  2.please help me confirm.
  i find only one place call mount command, which is
  poolConnectStorageServer.
  if poolConnectStorageServer is before create and active
  StoragePool,StorageDomain?
   
  3.if attach is just modify metadata, not anything else?
   
  4.sp.py, deactivateSD
if i deactivate ISO storage,it finally umount masterDir, why  ?
if masterDir is not  mastersd?
  thanks
  
  
  
  ___
  Engine-devel mailing list
  engine-de...@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/engine-devel
  
 
___
Engine-devel mailing list
engine-de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] what is volume and image in vdsm

2013-05-04 Thread bigclouds
hi,all
please tell me what is volume ,image and their relation.i do not fully 
understand them via code
 
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] vdsm can not call libvirt function

2013-05-06 Thread bigclouds
hi,
this vm is running, but calls failed.
 
---log---
 
Thread-52180::ERROR::2013-05-03 10:02:26,967::utils::412::vm.Vm::(collect) 
vmId=`900da72e-687f-4f53-b54a-f8da73ae8bbe`::Stats function failed: 
AdvancedStatsFunction _sampleCpu at 0x259fbc8
694 Traceback (most recent call last):
695   File /usr/lib64/python2.6/site-packages/vdsm/utils.py, line 408, in 
collect
696 statsFunction()
697   File /usr/lib64/python2.6/site-packages/vdsm/utils.py, line 283, in 
__call__
698 retValue = self._function(*args, **kwargs)
699   File /usr/share/vdsm/libvirtvm.py, line 137, in _sampleCpu
700 cpuStats = self._vm._dom.getCPUStats(True, 0)
701   File /usr/share/vdsm/libvirtvm.py, line 515, in f
702 ret = attr(*args, **kwargs)
703   File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, 
line 83, in wrapper
704 ret = f(*args, **kwargs)
705   File /usr/lib64/python2.6/site-packages/libvirt.py, line 1715, in 
getCPUStats
706 if ret is None: raise libvirtError ('virDomainGetCPUStats() 
failed', dom=self)
707 libvirtError: Requested operation is not valid: domain is not running
708 Thread-52180::ERROR::2013-05-03 
10:02:26,978::utils::412::vm.Vm::(collect) 
vmId=`900da72e-687f-4f53-b54a-f8da73ae8bbe`::Stats function failed: 
AdvancedStatsFunction _sampleDisk at 0x259fc38
709 Traceback (most recent call last):
710   File /usr/lib64/python2.6/site-packages/vdsm/utils.py, line 408, in 
collect
711 statsFunction()
712   File /usr/lib64/python2.6/site-packages/vdsm/utils.py, line 283, in 
__call__
713 retValue = self._function(*args, **kwargs)
714   File /usr/share/vdsm/libvirtvm.py, line 147, in _sampleDisk
715 diskSamples[vmDrive.name] = self._vm._dom.blockStats(vmDrive.name)
716   File /usr/share/vdsm/libvirtvm.py, line 515, in f
717 ret = attr(*args, **kwargs)
718   File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, 
line 83, in wrapper
719 ret = f(*args, **kwargs)
720   File /usr/lib64/python2.6/site-packages/libvirt.py, line 1686, in 
blockStats
721 if ret is None: raise libvirtError ('virDomainBlockStats() failed', 
dom=self)
722 libvirtError: Requested operation is not valid: domain is not running
723 Thread-52180::ERROR::2013-05-03 
10:02:26,999::utils::412::vm.Vm::(collect) 
vmId=`900da72e-687f-4f53-b54a-f8da73ae8bbe`::Stats function failed: 
AdvancedStatsFunction _sampleDiskLatency at 0x2598e70
724 Traceback (most recent call last):
689 Thread-52180::DEBUG::2013-05-03 
10:02:26,947::task::568::TaskManager.Task::(_updateState) 
Task=`958a52ab-d9ca-4410-8611-c3dfeee3fcd4`::moving from state 
preparing - state finished___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] centos6.3 i can not create snapshot when vm is runing

2013-05-22 Thread bigclouds
hi,
if ovirt all-in-one ISO support snapshot when vm is runing
 
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Networking questions (LONG)

2014-01-11 Thread bigclouds

hi,Alan
i  think the best way to solve your question is openvswitch(corresponding to 
vmware vswitch).  but it has not been intigrated with ovirt.
your  solution by adding dummy ethernet,  i do not think it can work as you 
expect.
because  vm's ethernet(vnet)  is vlan-aware or not.   if it is vlan-aware , it 
can be aware of just only one tag.
prosmisc mode  is limited in single vlan scope. 





At 2014-01-09 16:07:46,Alan Murrell li...@murrell.ca wrote:


Hello,

I am evaluating oVirt as a replacement/alternative to VMware deployments we 
typically do.  I have installed and all-in-one setup on a test box (which 
itself used to be an ESXi server), but it only has one NIC.  I trying to 
duplicate our typical configuration we do in VMware, which is this:

  1.) we create several port groups on the vSwitch, each assigned a VLAN ID, 
such as:

  - VLAN001 (VLAN ID: 1)
  - VLAN002 (VLAN ID: 2)
  - VLAN009 (VLAN ID: 9)
  - VLAN010 (VLAN ID: 10)
  - VLAN200 (VLAN ID: 200)
  - TRUNK (VLAN ID: 4095 - in VMware-world, VLAN ID 4095 is all VLANS 
and basically just passes the VLANs through to whatever is attached to the port 
group for the VM to handle)

  2.) We assign VMs to port groups appropriate for the VLAN they are part of.
  3.) The only VM that has a NIC assigned to the TRUNK port group is the 
firewall (which is Linux), and we create VLAN interfaces on it (i.e., eth1.1, 
eth1.2, eth1.10, eth1.200).  The firewall VM acts as the router between 
the various VLANs.

To replicate the above in oVirt, I created logical networks for each VLAN, and 
assigned the appropriate VLAN ID.  It seems oVirt/KVM does not have an 
equivalent for VMware's VLAN ID of 4095, so after some searching around, so 
for the TRUNK network, I left it with no VLAN assigned.  Because i cannot add 
VLAN and non-VLAN networks to the same physical NIC, after some searching 
around, it looks like I may have to utilise two NICS: one for the VLAN networks 
and one for the TRUNK network.

Because, at this point, I am not yet concerned with making the test VMs I will 
be setting up be accessible from outside the virtual lab environment (i.e., 
everything will communicate within my oVirt server/network for now), I am 
trying to make use of dummy interfaces, but I am not sure the best way to 
make use of this.  I am able to create the dummy* interfaces and have them show 
up in oVirt, but I am not sure of how they should be setup.  Here is what I am 
*thinking* should be done, but want to make sure it is correct before getting 
too deep:

  - I will use the physical NIC for management, therefore the ovirtmgmt 
bridge with eth0 assigned to it will remain as-is
  - Create two dummy interfaces: dummy0 and dummy1
  - Create a new bridge, ovirtvm and assign dummy0 and dummy1 to it
  - Attach the VLAN-enabled networks to dummy0
  - Attach the TRUNK network to dummy1

Would the above be the way to go about this?  The one thing I am not sure of is 
whether or not having no VLAN assigned (on the TRUNK network) accomplishes 
the same this as the VLAN ID 4095 in VMware: will oVirt/KVM just pass the 
traffic through for the VM attached to it to deal with?

Thanks for reading this far, and I appreciate any help you might be able to 
lend in the above.

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