[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 Alon Bar-Lev
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


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

2013-03-26 Thread bigclouds
not that lack of tar command. all tar size is 0.
engine can ssh to vdsm. but /usr/share/ovirt-host-deploy/interface-3  make a 
fail.
 
-rw-rw-r-- 1 jboss-as jboss-as 0 Mar 26 19:20 
ovirt-host-deploy.tar2791910389961865078tmp
-rw-rw-r-- 1 jboss-as jboss-as 0 Mar 26 18:31 
ovirt-host-deploy.tar4717360891825716130tmp
-rw-rw-r-- 1 jboss-as jboss-as 0 Mar 26 19:21 
ovirt-host-deploy.tar5905984005815219606tmp
-rw-rw-r-- 1 jboss-as jboss-as 0 Mar 26 19:21 
ovirt-host-deploy.tar7898362250365412083tmp

-more log
2013-03-26 19:45:48,768 WARN  
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] 
(http--0.0.0.0-8700-6) Unable to get value of property: vdsName for class 
org.ovirt.engine.core.common.businessentities.VdsStatic
2013-03-26 19:45:48,771 WARN  
[org.ovirt.engine.core.compat.backendcompat.PropertyInfo] 
(http--0.0.0.0-8700-6) Unable to get value of property: vdsName for class 
org.ovirt.engine.core.common.businessentities.VdsStatic
2013-03-26 19:45:48,785 INFO  [org.ovirt.engine.core.bll.InstallVdsCommand] 
(pool-10-thread-8) [4827f2d4] Running command: InstallVdsCommand internal: 
true. Entities affected :  ID: 772d6170-4674-4474-a194-29f39ec74bbf Type: VDS
2013-03-26 19:45:48,794 INFO  [org.ovirt.engine.core.bll.InstallVdsCommand] 
(pool-10-thread-8) [4827f2d4] Before Installation host 
772d6170-4674-4474-a194-29f39ec74bbf, ovirtdev
2013-03-26 19:45:48,814 INFO  
[org.apache.sshd.client.session.ClientSessionImpl] (NioProcessor-3) Session 
created...
2013-03-26 19:45:48,818 INFO  
[org.apache.sshd.client.session.ClientSessionImpl] (NioProcessor-3) Server 
version string: SSH-2.0-OpenSSH_5.3
2013-03-26 19:45:48,821 INFO  
[org.apache.sshd.client.session.ClientSessionImpl] (NioProcessor-3) Received 
SSH_MSG_KEXINIT
2013-03-26 19:45:48,832 INFO  [org.apache.sshd.client.kex.DHG1] 
(NioProcessor-3) Send SSH_MSG_KEXDH_INIT
2013-03-26 19:45:48,842 INFO  [org.apache.sshd.client.kex.DHG1] 
(NioProcessor-3) Received SSH_MSG_KEXDH_REPLY
2013-03-26 19:45:48,858 INFO  
[org.apache.sshd.client.session.ClientSessionImpl] (NioProcessor-3) Received 
SSH_MSG_NEWKEYS
2013-03-26 19:45:48,859 INFO  
[org.apache.sshd.client.session.ClientSessionImpl] (NioProcessor-3) Send 
SSH_MSG_SERVICE_REQUEST for ssh-userauth
2013-03-26 19:45:48,904 INFO  [org.ovirt.engine.core.bll.InstallerMessages] 
(pool-10-thread-8) [4827f2d4] Installation 192.168.2.170: Connected to host 
192.168.2.170 with SSH key fingerprint: 
f4:25:13:8f:33:0f:1c:a1:88:1e:db:df:2c:2a:50:50
2013-03-26 19:45:48,920 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(pool-10-thread-8) Send SSH_MSG_USERAUTH_REQUEST for password
2013-03-26 19:45:48,945 INFO  [org.apache.sshd.client.auth.UserAuthPassword] 
(NioProcessor-3) Received SSH_MSG_USERAUTH_SUCCESS
2013-03-26 19:45:48,945 INFO  [org.ovirt.engine.core.bll.VdsDeploy] 
(pool-10-thread-8) [4827f2d4] 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 19:45:48,948 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-8) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar' is out of date, 
re-creating
2013-03-26 19:45:48,956 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-10-thread-8) 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:118) 
[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 

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


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

2013-03-26 Thread Alon Bar-Lev

ovirt-host-deploy and otopi packages are required for host deployment.

git is at[1][2]
nightly is at [3]

[1] http://gerrit.ovirt.org/gitweb?p=otopi.git;a=shortlog;h=HEAD
[2] http://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=shortlog;h=HEAD
[3] http://resources.ovirt.org/releases/nightly/

- Original Message -
 From: bigclouds bigclo...@163.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 26, 2013 2:08:57 PM
 Subject: Re:Re: [Users] cannot create ovirt-host-deploy.tar
 
 
 
 
 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