[Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there

Stefan Wendler stefan.wendler at tngtech.com
Thu Oct 24 14:04:45 UTC 2013


Hi,

I have a problem installing ovirt nodes the ovirt version is 3.3
Whenever I try to install a node I get the following error (more log output at 
the end of the mail):

Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
st-deploy.tar': java.io.FileNotFoundException: File or directory 
/usr/share/ovirt-host-deploy/interface-3 not found

The "missing" directory ist available on the node 

ls -la /usr/share/ovirt-host-deploy/interface-3
total 16
drwxr-xr-x 4 root root 4096 Oct 24 15:14 .
drwxr-xr-x 4 root root 4096 Oct 24 15:14 ..
-rw-r--r-- 1 root root    0 Sep  7 22:47 .bundled
lrwxrwxrwx 1 root root   19 Oct 24 15:14 otopi -> ../../../sbin/otopi
drwxr-xr-x 2 root root 4096 Oct 24 15:14 otopi-plugins
lrwxrwxrwx 1 root root   31 Oct 24 15:14 ovirt-host-deploy -> 
../../../sbin/ovirt-host-deploy
drwxr-xr-x 2 root root 4096 Oct 24 15:14 pythonlib
lrwxrwxrwx 1 root root   17 Oct 24 15:14 setup -> ovirt-host-deploy

Do you guys have any idea? I only found one earlier posting regarding this 
problem but that didn't help. I have tar and javatar and the engine-host-
deploy packages on both engine and node (I don't think I need the deploy 
package on the engine)

Thank you so much.

Cheers,
Stefan

------ engine.log -------
2013-10-24 15:52:20,689 INFO  [org.ovirt.engine.core.bll.VdsDeploy] (pool-6-
thread-16) [56a478e5] Installation of 10.2.2.100. 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 --warning=no-timestamp -C "${MYTMP}" -x &&  
"${MYTMP}"/setup DIALOG/dialect=str:machine DIALOG/customization=bool:True < 
/var/cache/o
virt-engine/ovirt-host-deploy.tar
2013-10-24 15:52:20,690 INFO  
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-6-thread-16) 
Tarball '/var/cache/ovirt-engine/ovirt-host-deploy.tar'
 is missing, creating
2013-10-24 15:52:20,691 ERROR 
[org.ovirt.engine.core.utils.archivers.tar.CachedTar] (pool-6-thread-16) 
Cannot create tarball '/var/cache/ovirt-engine/ovirt-ho
st-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:1037) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.InstallVdsCommand.installHost(InstallVdsCommand.java:192) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:105) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1128) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1213) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1871) 
[bll.jar:]
        at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174) 
[utils.jar:]
        at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116) 
[utils.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1231) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:365) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:175) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:156) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:94) 
[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_45]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
[rt.jar:1.7.0_45]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_45]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_45]
        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

2013-10-24 15:52:20,695 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (pool-6-
thread-16) [56a478e5] Error during host 10.2.2.100 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: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:1037) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.InstallVdsCommand.installHost(InstallVdsCommand.java:192) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:105) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1128) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1213) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1871) 
[bll.jar:]
        at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174) 
[utils.jar:]
        at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116) 
[utils.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1231) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:365) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommand(MultipleActionsRunner.java:175) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:156) 
[bll.jar:]
        at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:94) 
[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_45]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) 
[rt.jar:1.7.0_45]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[rt.jar:1.7.0_45]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.7.0_45]
        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
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
---------------------------



More information about the Users mailing list