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

bigclouds bigclouds at 163.com
Tue Mar 26 12:01:42 UTC 2013


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-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 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 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]
2013-03-26 19:45:48,983 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (pool-10-thread-8) [4827f2d4] Error during host 192.168.2.170 install: java.io.IOException: Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar'
        at org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:46) [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 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
2013-03-26 19:45:49,025 ERROR [org.ovirt.engine.core.bll.InstallVdsCommand] (pool-10-thread-8) [4827f2d4] Host installation failed for host 772d6170-4674-4474-a194-29f39ec74bbf, ovirtdev.: java.io.IOException: Cannot create tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar'
        at org.ovirt.engine.core.utils.archivers.tar.CachedTar.create(CachedTar.java:46) [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 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" <mpavlik at 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-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 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, in get_request
    return self.socket.accept()
  File "/usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py", line 116, in accept
    client, address = self.connection.accept()
  File "/usr/lib64/python2.6/site-packages/M2Crypto/SSL/Connection.py", line 167, in accept
    ssl.accept_ssl()
  File "/usr/lib64/python2.6/site-packages/M2Crypto/SSL/Connection.py", line 156, in accept_ssl
    return m2.ssl_accept(self.ssl, self._timeout)
SSLError: http request








_______________________________________________
Users mailing list
Users at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users



-- 
Regards

Martin Pavlik
RHEV Quality Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130326/8a87b194/attachment-0001.html>


More information about the Users mailing list