[Users] File or directory /usr/share/ovirt-host-deploy/interface-3 not found though it's there
by Stefan Wendler
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
---------------------------
11 years, 1 month
[Users] Cant remove image -> Illegal Disk
by Andrew Lau
Hi,
There were a few posts earlier about this but none seemed to end in a
resolution. When a VM is destroyed the disks don't get deleted by oVirt and
are left in an "illegal" state. Manual intervention is required to delete
the image and remove it from the database.
This has only happened recently, but I'm not sure what broke it. I assume
it's the engine which handles the deletion of the disks. Here's a snippet
of the log, where 78605656-f77c-4b72-843b-1 is the image id
cat engine.log | grep '78605656-f77c-4b72-843b-1'
2013-10-24 21:12:33,141 ERROR
[org.ovirt.engine.core.bll.RemoveAllVmImagesCommand] (pool-6-thread-43)
Cant remove image id: 78605656-f77c-4b72-843b-1efef9644cf2 for VM id:
aa21dd3c-6341-4d48-9819-112dbdf6f2db from domain id:
6682d31f-39ce-4896-99ef-14e1c9682585 due to: StorageDomainLayoutError.
2013-10-24 21:12:33,142 INFO
[org.ovirt.engine.core.bll.RemoveAllVmImagesCommand] (pool-6-thread-43)
Image id: 78605656-f77c-4b72-843b-1efef9644cf2 is not on a data domain and
will not be marked as illegal.
2013-10-24 21:12:33,145 INFO [org.ovirt.engine.core.bll.RemoveVmCommand]
(pool-6-thread-43) Command [id=e15c6804-d2e5-44b0-8fb9-6ad03421cd43]:
Compensating CHANGED_STATUS_ONLY of
org.ovirt.engine.core.common.businessentities.Image; snapshot:
EntityStatusSnapshot [id=78605656-f77c-4b72-843b-1efef9644cf2,
status=ILLEGAL].
The disk images are mounted on gluster storage through NFS.
Cheers,
Andrew
11 years, 1 month
[Users] Management DB-Backup
by Eli Mesika
----- Original Message -----
> From: "Yedidyah Bar David" <didi(a)redhat.com>
> To: "Ofer Schreiber" <oschreib(a)redhat.com>, "Eli Mesika" <emesika(a)redhat.com>
> Sent: Thursday, October 24, 2013 12:13:16 PM
> Subject: Fwd: [Users] Management DB-Backup
>
> engine-backup.sh --mode=backup does not check/stop the engine/jboss and
> does not alert the user.
>
> Should it?
No
>
> I have zero knowledge regarding the way the engine works with the database.
> Are we completely certain that any "logical transaction" is translated
> one-to-one to a single database transaction? If so, in principle we can
> back it up without taking the engine down. IMHO...
I see no reason to force engine down in backup , only in restore when we are stopping the existing database and creating a new clean one , so we have to verify that engine does not lock some objects
>
> Anyway, we should definitely pick up one of the existing relevant wiki
> pages, update it, and add a link to it from all the others.
>
> http://www.google.com/search?q=backup+site%3Awww.ovirt.org
> --
> Didi
>
> ----- Forwarded Message -----
> From: "Sven Kieske" <S.Kieske(a)mittwald.de>
> To: users(a)ovirt.org
> Sent: Thursday, October 24, 2013 10:35:00 AM
> Subject: [Users] Management DB-Backup
>
> Hi,
>
> just a short question:
>
> is this procedure still valid for a full DB-Backup and Restore?
>
> http://www.ovirt.org/Backup_engine_db
>
> I already figured out that it's tailored just for fedora setups, not
> el6 (systemctl).
>
>
> --
> Mit freundlichen Grüßen / Regards
>
> Sven Kieske
>
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
11 years, 1 month
[Users] Management DB-Backup
by Sven Kieske
Hi,
just a short question:
is this procedure still valid for a full DB-Backup and Restore?
http://www.ovirt.org/Backup_engine_db
I already figured out that it's tailored just for fedora setups, not
el6 (systemctl).
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
11 years, 1 month
[Users] HTTPD error
by Zhang, Hongyi
--_000_B5488210B44F434FA68B7430CC196BCFA70732C4ALAMBAcorpadwrs_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello,
I tried to setup ovirt engine on a fedora 18 machine, but I got the followi=
ng error:
$engine-setup
[...]
Installing:
Configuring oVirt Engine... [ DONE ]
Configuring JVM... [ DONE ]
Creating CA... [ DONE ]
Updating ovirt-engine service... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Creating Database... [ DONE ]
Updating the Default Data Center Storage Type... [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration... [ DONE ]
Configuring Firewall... [ DONE ]
Starting ovirt-engine Service... [ DONE ]
Configuring HTTPD... [ ERROR ]
Failed to enable SELinux boolean
Would someone help me to fix this problem?
Thanks a lot!
Hongyi
----------------------------------------------
My machine uses:
$ uname -a
Linux localhost 3.10.10-100.fc18.x86_64 #1 SMP Thu Sep 5 17:47:01 EDT 2013 =
x86_64 x86_64 x86_64 GNU/Linux
$ getenforce
Disabled
Here is the trace in the log:
2013-10-21 17:12:02::DEBUG::engine-setup::960::root:: Creating firewalld co=
nfiguration
2013-10-21 17:12:02::DEBUG::setup_sequences::59::root:: running _startEngin=
e
2013-10-21 17:12:02::DEBUG::engine-setup::1732::root:: using chkconfig to e=
nable engine to load on system startup.
2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing command -->=
'/sbin/chkconfig ovirt-engine on'
2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =3D
2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr =3D Note: Forw=
arding request to 'systemctl enable ovirt-engine.service'.
2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode =3D 0
2013-10-21 17:12:02::DEBUG::common_utils::1261::root:: stopping ovirt-engin=
e
2013-10-21 17:12:02::DEBUG::common_utils::1298::root:: executing action ovi=
rt-engine on service stop
2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing command -->=
'/sbin/service ovirt-engine stop'
2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =3D
2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr =3D Redirectin=
g to /bin/systemctl stop ovirt-engine.service
2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode =3D 0
2013-10-21 17:12:02::DEBUG::common_utils::1251::root:: starting ovirt-engin=
e
2013-10-21 17:12:02::DEBUG::common_utils::1298::root:: executing action ovi=
rt-engine on service start
2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing command -->=
'/sbin/service ovirt-engine start'
2013-10-21 17:12:02::DEBUG::common_utils::472::root:: output =3D
2013-10-21 17:12:02::DEBUG::common_utils::473::root:: stderr =3D Redirectin=
g to /bin/systemctl start ovirt-engine.service
2013-10-21 17:12:02::DEBUG::common_utils::474::root:: retcode =3D 0
2013-10-21 17:12:02::DEBUG::setup_sequences::59::root:: running _configureS=
elinuxBoolean
2013-10-21 17:12:02::DEBUG::engine-setup::722::root:: Enable httpd_can_netw=
ork_connect boolean
2013-10-21 17:12:02::DEBUG::common_utils::434::root:: Executing command -->=
'/usr/sbin/semanage boolean --modify --on httpd_can_network_connect'
2013-10-21 17:12:16::DEBUG::common_utils::472::root:: output =3D
2013-10-21 17:12:16::DEBUG::common_utils::473::root:: stderr =3D libsemanag=
e.semanage_commit_sandbox: Error while renaming /etc/selinux/targeted/modul=
es/active to /etc/selinux/targeted/modules/previous. (Invalid cross-device =
link).
/usr/sbin/semanage: Could not commit semanage transaction
2013-10-21 17:12:16::DEBUG::common_utils::474::root:: retcode =3D 1
2013-10-21 17:12:16::DEBUG::setup_sequences::62::root:: Traceback (most rec=
ent call last):
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in ru=
n
function()
File "/usr/bin/engine-setup", line 730, in _configureSelinuxBoolean
out, rc =3D utils.execCmd(cmdList=3Dcmd, failOnError=3DTrue, msg=3Doutp=
ut_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)
File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in exec=
Cmd
raise Exception(msg)
Exception: Failed to enable SELinux boolean
2013-10-21 17:12:16::DEBUG::engine-setup::1973::root:: *** The following pa=
rams were used as user input:
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: override-httpd-confi=
g: yes
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: http-port: 80
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: https-port: 443
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: random-passwords: no
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: mac-range: 00:1A:4A:=
10:7C:00-00:1A:4A:10:7C:FF
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: host-fqdn: engine.wr=
s.com
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: auth-pass: ********
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: org-name: wrs.com
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: application-mode: bo=
th
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: default-dc-type: NFS
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: db-remote-install: l=
ocal
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: db-host: localhost
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: db-local-pass: *****=
***
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: config-nfs: no
2013-10-21 17:12:16::DEBUG::engine-setup::1978::root:: override-firewall: N=
one
2013-10-21 17:12:16::ERROR::engine-setup::2393::root:: Traceback (most rece=
nt call last):
File "/usr/bin/engine-setup", line 2387, in <module>
main(confFile)
File "/usr/bin/engine-setup", line 2170, in main
runSequences()
File "/usr/bin/engine-setup", line 2093, in runSequences
controller.runAllSequences()
File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in r=
unAllSequences
sequence.run()
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in r=
un
step.run()
File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in ru=
n
function()
File "/usr/bin/engine-setup", line 730, in _configureSelinuxBoolean
out, rc =3D utils.execCmd(cmdList=3Dcmd, failOnError=3DTrue, msg=3Doutp=
ut_messages.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)
File "/usr/share/ovirt-engine/scripts/common_utils.py", line 477, in exec=
Cmd
raise Exception(msg)
Exception: Failed to enable SELinux boolean
--_000_B5488210B44F434FA68B7430CC196BCFA70732C4ALAMBAcorpadwrs_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoPlainText">Hello,<o:p></o:p></p>
<p class=3D"MsoPlainText"><span style=3D"color:black"><o:p> </o:p></sp=
an></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">I tried to setup ovir=
t engine on a fedora 18 machine, but I got the following error:<o:p></o:p><=
/span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black"><o:p> </o:p></sp=
an></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">$engine-setup<o:p></o=
:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">[…]<o:p></o:p><=
/span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Installing:<o:p></o:p=
></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Configuring oVirt Eng=
ine... &nb=
sp; =
[ DONE ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Configuring JVM...&nb=
sp; =
&nb=
sp; [ DON=
E ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Creating CA... &=
nbsp; &nbs=
p; &=
nbsp; &nbs=
p; [ DONE ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Updating ovirt-engine=
service... &nbs=
p; =
[ DONE ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Setting Database Conf=
iguration... &nb=
sp; [ DON=
E ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Setting Database Secu=
rity... &n=
bsp;  =
; [ DONE ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Creating Database...&=
nbsp; &nbs=
p; &=
nbsp; [ DONE ]<o:p></=
o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Updating the Default =
Data Center Storage Type... [ DON=
E ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Editing oVirt Engine =
Configuration...  =
; [ DONE ]<o:p></o:p></span=
></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Editing Postgresql Co=
nfiguration... &=
nbsp; [ DONE ]<o:p></=
o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Configuring Firewall.=
.. &=
nbsp; &nbs=
p; [ DONE ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:black">Starting ovirt-engine=
Service... &nbs=
p; =
[ DONE ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:red">Configuring HTTPD...&nb=
sp; =
&nb=
sp; [ ERROR ]<o:p></o:p></span></p>
<p class=3D"MsoPlainText"><span style=3D"color:red">Failed to enable SELinu=
x boolean<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Would someone help me =
to fix this problem?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thanks a lot!<o:p></o:p></p>
<p class=3D"MsoNormal">Hongyi<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">----------------------------------------------<o:p><=
/o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">My machine uses:<o:p></o:p></p>
<p class=3D"MsoNormal">$ uname -a<o:p></o:p></p>
<p class=3D"MsoNormal">Linux localhost 3.10.10-100.fc18.x86_64 #1 SMP Thu S=
ep 5 17:47:01 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">$ getenforce<o:p></o:p></p>
<p class=3D"MsoNormal">Disabled<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><b>Here is the trace in the log:<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::engine-setup::960::root:=
: Creating firewalld configuration<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::setup_sequences::59::roo=
t:: running _startEngine<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::engine-setup::1732::root=
:: using chkconfig to enable engine to load on system startup.<o:p></o:p></=
p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::434::root:=
: Executing command --> '/sbin/chkconfig ovirt-engine on'<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::472::root:=
: output =3D
<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::473::root:=
: stderr =3D Note: Forwarding request to 'systemctl enable ovirt-engine.ser=
vice'.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::474::root:=
: retcode =3D 0<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::1261::root=
:: stopping ovirt-engine<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::1298::root=
:: executing action ovirt-engine on service stop<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::434::root:=
: Executing command --> '/sbin/service ovirt-engine stop'<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::472::root:=
: output =3D
<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::473::root:=
: stderr =3D Redirecting to /bin/systemctl stop ovirt-engine.service<=
o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::474::root:=
: retcode =3D 0<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::1251::root=
:: starting ovirt-engine<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::1298::root=
:: executing action ovirt-engine on service start<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::434::root:=
: Executing command --> '/sbin/service ovirt-engine start'<o:p></o:p></p=
>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::472::root:=
: output =3D
<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::473::root:=
: stderr =3D Redirecting to /bin/systemctl start ovirt-engine.service=
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::474::root:=
: retcode =3D 0<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::setup_sequences::59::roo=
t:: running _configureSelinuxBoolean<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::engine-setup::722::root:=
: <span style=3D"color:red">
Enable httpd_can_network_connect boolean</span><o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:02::DEBUG::common_utils::434::root:=
: <span style=3D"color:red">
Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_ca=
n_network_connect'<o:p></o:p></span></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::common_utils::472::root:=
: output =3D
<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::common_utils::473::root:=
: stderr =3D libsemanage.semanage_commit_sandbox: Error while renaming /etc=
/selinux/targeted/modules/active to /etc/selinux/targeted/modules/previous.=
(Invalid cross-device link).<o:p></o:p></p>
<p class=3D"MsoNormal">/usr/sbin/semanage: Could not commit semanage transa=
ction<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::common_utils::474::root:=
: retcode =3D 1<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::setup_sequences::62::roo=
t:: Traceback (most recent call last):<o:p></o:p></p>
<p class=3D"MsoNormal"> <span style=3D"color:red">File "/usr/sha=
re/ovirt-engine/scripts/setup_sequences.py", line 60, in run<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> functio=
n()<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> File "/usr/bin=
/engine-setup", line 730, in _configureSelinuxBoolean<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> out, rc=
=3D utils.execCmd(cmdList=3Dcmd, failOnError=3DTrue, msg=3Doutput_messages=
.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> File "/usr/sha=
re/ovirt-engine/scripts/common_utils.py", line 477, in execCmd<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> raise E=
xception(msg)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red">Exception: Failed to enabl=
e SELinux boolean<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1973::root=
:: *** The following params were used as user input:<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: override-httpd-config: yes<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: http-port: 80<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: https-port: 443<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: random-passwords: no<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: mac-range: 00:1A:4A:10:7C:00-00:1A:4A:10:7C:FF<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: host-fqdn: engine.wrs.com<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: auth-pass: ********<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: org-name: wrs.com<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: application-mode: both<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: default-dc-type: NFS<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: db-remote-install: local<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: db-host: localhost<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: db-local-pass: ********<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: config-nfs: no<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::DEBUG::engine-setup::1978::root=
:: override-firewall: None<o:p></o:p></p>
<p class=3D"MsoNormal">2013-10-21 17:12:16::ERROR::engine-setup::2393::root=
:: Traceback (most recent call last):<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/bin/engine-setup", line =
2387, in <module><o:p></o:p></p>
<p class=3D"MsoNormal"> main(confFile)<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/bin/engine-setup", line =
2170, in main<o:p></o:p></p>
<p class=3D"MsoNormal"> runSequences()<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/bin/engine-setup", line =
2093, in runSequences<o:p></o:p></p>
<p class=3D"MsoNormal"> controller.runAllSequences()<o:p>=
</o:p></p>
<p class=3D"MsoNormal"> File "/usr/share/ovirt-engine/scripts/se=
tup_controller.py", line 54, in runAllSequences<o:p></o:p></p>
<p class=3D"MsoNormal"> sequence.run()<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/share/ovirt-engine/scripts/se=
tup_sequences.py", line 154, in run<o:p></o:p></p>
<p class=3D"MsoNormal"> step.run()<o:p></o:p></p>
<p class=3D"MsoNormal"> File "/usr/share/ovirt-engine/scripts/se=
tup_sequences.py", line 60, in run<o:p></o:p></p>
<p class=3D"MsoNormal"> function()<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> File "/usr/bin=
/engine-setup", line 730, in _configureSelinuxBoolean<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> out, rc=
=3D utils.execCmd(cmdList=3Dcmd, failOnError=3DTrue, msg=3Doutput_messages=
.ERR_FAILED_UPDATING_SELINUX_BOOLEAN)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> File "/usr/sha=
re/ovirt-engine/scripts/common_utils.py", line 477, in execCmd<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"> raise E=
xception(msg)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red">Exception: Failed to enabl=
e SELinux boolean<o:p></o:p></span></p>
</div>
</body>
</html>
--_000_B5488210B44F434FA68B7430CC196BCFA70732C4ALAMBAcorpadwrs_--
11 years, 1 month
[Users] VM import from ESXi
by emitor@gmail.com
Hi,
I've imported a Windows VM from an ESXi to an export domain using virt-v2v.
It didn't return me any error wen it finished (i think), but when attached
the export domain I get the following advertising and the vm doesn't appear
in the list to be imported:
Failed to read VM '[Empty Name]' OVF, it may be corrupted
Could you give me some hint to fix this, or what it could be the problem?
Regards!
11 years, 1 month
[Users] Host Error
by Neil
Hi guys,
We had a power failure over the weekend, and when powering everything
back on, one of the hosts gives the following error when trying to
re-activate it.
"Host ovirt02.blabla.co.za running without virtualization hardware acceleration"
I've checked in the machine's bios and the VT options are still
enabled, I've reset the PC's bios and then confirmed all the CPU
features were enabled as a precaution and yet I still get the same
error.
Could this be an ovirt/vdsm issue or is it more likely a hardware issue?
These are my versions...
vdsm-cli-4.10.3-10.el6.centos.alt.noarch
vdsm-4.10.3-10.el6.centos.alt.x86_64
vdsm-xmlrpc-4.10.3-10.el6.centos.alt.noarch
vdsm-hook-nestedvt-4.10.3-10.el6.centos.alt.noarch
vdsm-python-4.10.3-10.el6.centos.alt.x86_64
ovirt-engine-genericapi-3.2.1-1.41.el6.noarch
ovirt-engine-dbscripts-3.2.1-1.41.el6.noarch
ovirt-engine-tools-3.2.1-1.41.el6.noarch
ovirt-engine-sdk-3.2.0.9-1.el6.noarch
ovirt-engine-restapi-3.2.1-1.41.el6.noarch
ovirt-host-deploy-1.1.0-0.0.master.el6.noarch
ovirt-log-collector-3.2.0-1.el6.noarch
ovirt-engine-backend-3.2.1-1.41.el6.noarch
ovirt-image-uploader-3.2.0-1.el6.noarch
ovirt-engine-userportal-3.2.1-1.41.el6.noarch
ovirt-engine-jbossas711-1-0.x86_64
ovirt-engine-setup-3.2.1-1.41.el6.noarch
ovirt-host-deploy-java-1.1.0-0.0.master.el6.noarch
ovirt-iso-uploader-3.2.0-1.el6.noarch
ovirt-engine-3.2.1-1.41.el6.noarch
ovirt-engine-cli-3.2.0.10-1.el6.noarch
ovirt-engine-webadmin-portal-3.2.1-1.41.el6.noarch
Any help is appreciated.
Thanks.
Regards.
Neil Wilson
11 years, 1 month
[Users] oVirt October Updates
by Itamar Heim
Hope to meet many next week in LinuxCon Europe/KVM Forum/oVirt
conference in Edinburgh
Highlights:
- oVirt 3.3 GA of course! some links covering it[10]
- more links in Russian, Japanese, German and Italian [15]
- oVirt 3.3.1 nearing beta
this will include a slew of bug fixes, and a few items which missed
3.3.
- Malini Rao sent a proposal for some UI changes[4]
- some pluggable scheduler samples are available[5]
- Summarized 3.4 community requests, hope the top ones will make it to
3.4[6]
- 3.4 cycle - planned to be a shorter cycle, trying to make features
available faster.
- René Koch published version 0.1 of Monitoring UI-Plugin[8]
- a new oVirt module merged to Ansible - covers VM life cycle
(create/start/stop/etc.) [11]
- a puppet module to deploy ovirt engine and ovirt node[12]
- and a chef one[14] (both by Jason Cannon)
Conferences:
- LinuxCon Europe/KVM Forum/oVirt - next week in Edinburgh
LOTs of sessions: http://www.ovirt.org/KVM_Forum_2013
- FOSDEM 2014 - We will be co-organizing a "Virtualization and IaaS"
DevRoom with +Lars Kurth, +Itamar Heim and +Thierry Carrez as
DevRoom organizers
- past:
Open World Forum - Building an open hybrid cloud with open source[13]
K-LUG - Rochester, MN Area Linux Users Group - oVirt intro[16]
Other:
- a 3 part series by Humble on using the python sdk:
How to shutdown/stop or start virtual machines (VMs) in ovirt DC
automatically?[1]
List Datacenter, hypervisors/host,vms in an ovirt DC with its
name,status,id..etc[2]
Find out hosts and clusters where vm is running. its status, ids,
storage domain details in an ovirt dc[3]
- another one by Humble: Convert physical/virtual systems to virtual
using virt-p2v && virt-v2v then use it in ovirt DC[7]
- LINBIT published "High-Availability oVirt-Cluster with
iSCSI-Storage"[9]
Have Fun,
Itamar
[1]
http://humblec.com/ovirt-shutdownstop-start-virtual-machines-vms-ovirt-dc...
[2]
http://humblec.com/ovirt-list-datacenter-hypervisorshostvms-ovirt-dc-stat...
[3]
http://humblec.com/ovirt-find-hosts-clusters-vm-running-status-ids-storag...
[4] http://lists.ovirt.org/pipermail/users/2013-October/017088.html
[5]
http://gerrit.ovirt.org/gitweb?p=ovirt-scheduler-proxy.git;a=tree;f=plugi...
[6] http://lists.ovirt.org/pipermail/users/2013-October/016898.html
[7]
http://humblec.com/convert-physical-virtual-virtual-using-virt-v2v-virt-p...
[8] http://lists.ovirt.org/pipermail/users/2013-October/016842.html
[9] note: link requires registeration:
http://www.linbit.com/en/company/news/333-high-available-virtualization-a...
the pdf is:
http://www.linbit.com/en/downloads/tech-guides?download=68:high-availabil...
[10] ovirt 3.3 ga links
http://lists.ovirt.org/pipermail/announce/2013-September/000061.html
http://www.ovirt.org/OVirt_3.3_release_announcement
http://www.redhat.com/about/news/archive/2013/9/ovirt-3-3-release-brings-...
http://community.redhat.com/ovirt-3-3-glusterized/
http://community.redhat.com/ovirt-3-3-spices-up-the-software-defined-data...
http://www.tuicool.com/articles/eIJnMr
http://www.phoronix.com/scan.php?page=news_item&px=MTQ2MzQ
http://captainkvm.com/2013/09/614/
http://www.vmwareindex.com/category/hadoop-splunk/openstack/ovirt-3-3-is-...
http://thehyperadvisor.com/2013/09/17/ovirt-3-3-is-now-released/
[11] https://github.com/ansible/ansible/pull/3838
[12] http://forge.puppetlabs.com/jcannon/ovirt/0.0.1
[13]
http://www.openworldforum.org/en/schedule/1/
http://www.openworldforum.org/en/speakers/49/
[14] http://community.opscode.com/cookbooks/ovirt
[15]
russian:
http://www.opennet.ru/opennews/art.shtml?num=38000
http://ru.fedoracommunity.org/content/%D0%92%D1%8B%D1%88%D0%B5%D0%BB-ovir...
http://linuxforum.ru/viewtopic.php?id=30572
http://citrix.pp.ru/news/2214-novaya-versiya-sistemy-upravleniya-infrastr...
german:
http://www.pro-linux.de/news/1/20258/ovirt-33-unterstuetzt-openstack.html
japanese:
http://en.sourceforge.jp/magazine/13/09/25/163000
italian:
http://www.freeonline.org/cs/com/la-release-ovirt-3-3-integra-openstack-e...
http://www.tomshw.it/cont/news/open-source-red-hat-gestisce-la-virtualizz...
[16] http://k-lug.org/OldNews
11 years, 1 month