--_000_8A0A9721953E4DA3B3D1AF5B7B6C0143sluse_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
29 jun 2012 kl. 13.16 skrev Itamar Heim:
On 06/29/2012 07:11 AM, Karli Sj=F6berg wrote:
29 jun 2012 kl. 12.54 skrev Itamar Heim:
On 06/29/2012 03:27 AM, Karli Sj=F6berg wrote:
28 jun 2012 kl. 22.11 skrev Doron Fediuck:
Please rm /tmp/*py* in your host.
Older scripts may be interrupting.
# rm -f /tmp/*py*
# rm -f /tmp/*log*
# rm -f /tmp/*tmp*
"Re-Install"
/var/log/ovirt-engine/engine.log:
...
OK, one step forward and one step back. It seems as if the host
installation went through, but after reboot, I have no contact with the
web user interface. It thinks it=B4s active:
# systemctl is-active ovirt-engine.service
active
But I don=B4t even get to the initial portal chooser-page.
did you try to add the host the engine is running on or another physical
machine?
The same. As I stated in the beginning, I want to be able to have the
engine configured to execute power management for the rest of the hosts
in the cluster, as per:
Source:
http://lists.ovirt.org/pipermail/users/2012-February/000361.html
"Yes, the ovirt backend does not shut down or power up any hosts
directly, it can work only through vdsm. Therefore you need one running
host per datacenter to be able to manage the rest of the hosts."
Adding the engine as a host in the cluster seems to be the way to
achieve that.
1. power management is DC wide, not cluster.
2. you don't want the engine to be a host, unless you use the all-in-one
plugin, which makes sure the node isn't rebooted while it is being added.
3. it will still won't help your problem, since it is local storage.
4. *if* you use the engine as a node (which may cause various issues),
you need to make sure no VMs will run on it and it won't be an SPM
(setting spm priority of 0 or -1 from the api)
5. you should probably also add the host from the api, using the
no-reboot flag.
Let me explain a little to make you better understand my reasoning behind t=
his configuration.
We work with segmented, separated networks. One network for public access, =
one for storage traffic, one for management and so on. That means that if t=
he nodes themselves have to do their own power-management, the nodes would =
require three interfaces each, and the metal we are using for hosts just do=
n=B4t have that. But if we can use the backend to do that, the hosts would =
only require two interfaces, which most 1U servers are equipped with as sta=
ndard (plus one iLO/IPMI/whatev), so we can use them as hosts without issue=
. Then the backend has one extra interface that it can use to communicate o=
ver the power management network to the respective service processor with.
Is there a "better" way to achieve what we are aiming for?
2. Then I would like to use that. Where can I find a all-in-one plugin that=
fits into the install?
3. I may have misunderstood, but I will be using NFS shared storage.
4. Precisely what I was thinking. Thanks for the SPM-hint!
5. OK, sure. Is it still necessary to have the all-in-one plugin installed =
in that case?
I would like to say that I=B4m loving oVirt this far, it is truly an amazin=
g piece of software. Thank you all, and thank you for your help and your kn=
owledge!
/Karli
/Karli
/Karli
Sent from my Android phone. Please ignore typos.
-----Original Message-----
From: =3D?iso-8859-1?Q?Karli_Sj=3DF6berg?=3D [Karli.Sjoberg(a)slu.se]
Received: Thursday, 28 Jun 2012, 21:37
To: Itamar Heim [iheim(a)redhat.com]; Dan Kenigsberg [danken(a)redhat.com]
CC: users@oVirt.org<mailto:users@oVirt.org> <mailto:users@oVirt.org>
<mailto:users@oVirt.org> [users(a)ovirt.org]
Subject: Re: [Users] BSTRAP component=3D'CreateConf' status=3D'FAIL'
message=3D'Basic configuration failed to import default values'
________________________________________
Fr=E5n: Itamar Heim [iheim(a)redhat.com]
Skickat: den 28 juni 2012 18:35
Till: Dan Kenigsberg
Kopia: Karli Sj=F6berg; users@oVirt.org<mailto:users@oVirt.org> <mailto:use=
rs(a)oVirt.org>
<mailto:users@oVirt.org>
=C4mne: Re: [Users] BSTRAP component=3D'CreateConf' status=3D'FAIL'
message=3D'Basic configuration failed to import default values'
On 06/28/2012 10:41 AM, Dan Kenigsberg wrote:
On Thu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sj=F6berg wrote:
28 jun 2012 kl. 15.55 skrev Dan Kenigsberg:
On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sj=F6berg wrote:
Hi,
I am running Fedora 17 and added the ovirt beta repository to have
access to webadmin addition, since F17 only comes with CLI by default.
The action in question "CreateConf" looks like:
/usr/share/vdsm-bootstrap/vds_bootstrap.py
def _makeConfig(self):
import datetime
from config import config
if not os.path.exists(VDSM_CONF):
logging.debug("makeConfig: generating conf.")
lines =3D []
lines.append ("# Auto-generated by vds_bootstrap at:" +
str(datetime.datetime.now()) + "\n")
lines.append ("\n")
lines.append ("[vars]\n") #Adding ts for the coming scirpts.
lines.append ("trust_store_path =3D " + config.get('vars',
'trust_store_path') + "\n")
lines.append ("ssl =3D " + config.get('vars', 'ssl') +
"\n")
lines.append ("\n")
lines.append ("[addresses]\n") #Adding mgt port for the coming scirpts.
lines.append ("management_port =3D " + config.get('addresses',
'management_port') + "\n")
logging.debug("makeConfig: writing the following to " + VDSM_CONF)
logging.debug(lines)
fd, tmpName =3D tempfile.mkstemp()
f =3D os.fdopen(fd, 'w')
f.writelines(lines)
f.close()
os.chmod(tmpName, 0644)
shutil.move(tmpName, VDSM_CONF)
else:
self.message =3D 'Basic configuration found, skipping this step'
logging.debug(self.message)
def createConf(self):
"""
Generate initial configuration file for VDSM. Must run after package
installation!
"""
self.message =3D 'Basic configuration set'
self.rc =3D True
self.status =3D 'OK'
try:
self._makeConfig()
except Exception, e:
logging.error('', exc_info=3DTrue)
^^^^ the interesting stuff is written to a log file, sitting in your
/tmp or a directory below it. Which module fails to be imported?
/tmp/vds_bootstrap.210442.log:
Thu, 28 Jun 2012 12:25:51 DEBUG Installing libjpeg 0
Thu, 28 Jun 2012 12:25:51 DEBUG ['/usr/bin/yum', '-y', 'install',
'libjpeg']
Thu, 28 Jun 2012 12:25:53 DEBUG Loaded plugins: langpacks, presto,
refresh-packagekit, versionlock
Package libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest
version
Nothing to do
Thu, 28 Jun 2012 12:25:53 DEBUG
Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q', 'libjpeg']
Thu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed
Thu, 28 Jun 2012 12:25:53 DEBUG
Thu, 28 Jun 2012 12:25:53 DEBUG
Thu, 28 Jun 2012 12:25:53 ERROR
Traceback (most recent call last):
File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py",
line 594, in createConf
self._makeConfig()
File "/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py",
line 557, in _makeConfig
from config import config
ImportError: No module named config
Thu, 28 Jun 2012 12:25:53 DEBUG
Thu, 28 Jun 2012 12:25:53 ERROR createConf failed
Thu, 28 Jun 2012 12:25:53 DEBUG
Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation ****
Which version of vdsm-bootstrap do you have installed? if it is not a
4.10.something, I suggest you upgrade.
# rpm -qa | grep vdsm-bootstrap
vdsm-bootstrap-4.9.3.2-0.fc17.noarch
That's too old to install ovirt-3.1.
Please retry with the one on the beta repo
http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-=
bootstrap-4.10.0-3.fc17.noarch.rpm
indeed.
i think the error is not about libjpeg at all, which is probably
provided by libjpeg-turbo as yum install for it suggest.
so just a too old bootstrap file as danken suggests, causing this which
is the actual error:
Traceback (most recent call last):
File
"/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 594,
in createConf
self._makeConfig()
File
"/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line 557,
in _makeConfig
from config import config
ImportError: No module named config
rpm -U
http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-=
bootstrap-4.10.0-3.fc17.noarch.rpm
Then, after next "Re-Install"
more /tmp/vds_bootstrap.470161.log
Thu, 28 Jun 2012 19:39:45 DEBUG **** Start VDS Validation ****
Thu, 28 Jun 2012 19:39:45 DEBUG Entered VdsValidation(subject =3D
'172.22.8.14', random_num =3D 'e27aad2f-4bb2-42f1-930e-6c7bab54fb1c',
rev_num =3D 'None', installVirtualizationService =3D
'True',installGlusterService =3D 'False')
Thu, 28 Jun 2012 19:39:45 ERROR checkRegistration: Error searching for
VDSM package!
Traceback (most recent call last):
File "/tmp/vds_bootstrap_e27aad2f-4bb2-42f1-930e-6c7bab54fb1c.py",
line 228, in checkRegistration
rc =3D bool(deployUtil.yumListPackages(VDSM_NAME))
AttributeError: 'module' object has no attribute 'yumListPackages'
Thu, 28 Jun 2012 19:39:45 ERROR Unable to fetch vdsm package.
Please check if host is registered to RHN, Satellite or other yum
repository
Thu, 28 Jun 2012 19:39:45 DEBUG
Thu, 28 Jun 2012 19:39:45 ERROR checkRegistration test failed
Thu, 28 Jun 2012 19:39:45 DEBUG
Thu, 28 Jun 2012 19:39:45 DEBUG **** End VDS Validation ****
_______________________________________________
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org> <mailto:Users@ovirt.org>
<mailto:Us=
ers(a)ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
Sent from my Android phone. Please ignore typos.
Med V=E4nliga H=E4lsningar
---------------------------------------------------------------------------=
----
Karli Sj=F6berg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kron=E5sv=E4gen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg@slu.se<mailto:karli.sjoberg@slu.se> <mailto:karli.sjoberg@slu=
.se>
<mailto:karli.sjoberg@adm.slu.se>
_______________________________________________
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org> <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
Med V=E4nliga H=E4lsningar
---------------------------------------------------------------------------=
----
Karli Sj=F6berg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kron=E5sv=E4gen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg@slu.se<mailto:karli.sjoberg@slu.se> <mailto:karli.sjoberg@adm=
.slu.se>
Med V=E4nliga H=E4lsningar
---------------------------------------------------------------------------=
----
Karli Sj=F6berg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kron=E5sv=E4gen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg@slu.se<mailto:karli.sjoberg@adm.slu.se>
--_000_8A0A9721953E4DA3B3D1AF5B7B6C0143sluse_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html><head></head><body style=3D"word-wrap: break-word;
-webkit-nbsp-mode:=
space; -webkit-line-break: after-white-space;
"><br><div><div>29 jun 2012 =
kl. 13.16 skrev Itamar Heim:</div><br
class=3D"Apple-interchange-newline"><=
blockquote type=3D"cite"><div>On 06/29/2012 07:11 AM, Karli Sj=F6berg
wrote=
:<br><blockquote
type=3D"cite"><br></blockquote><blockquote
type=3D"cite">2=
9 jun 2012 kl. 12.54 skrev Itamar Heim:<br></blockquote><blockquote
type=3D=
"cite"><br></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cite"=
On 06/29/2012 03:27 AM, Karli Sj=F6berg
wrote:<br></blockquote></blockquot=
e><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"c=
ite"><br></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><=
blockquote type=3D"cite"><blockquote type=3D"cite">28 jun
2012 kl. 22.11 sk=
rev Doron
Fediuck:<br></blockquote></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></block=
quote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Please rm /tm=
p/*py* in your
host.<br></blockquote></blockquote></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te"><blockquote type=3D"cite">Older scripts may be
interrupting.<br></block=
quote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockq=
uote type=3D"cite"># rm -f
/tmp/*py*<br></blockquote></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D=
"cite"># rm -f
/tmp/*log*<br></blockquote></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"># rm=
-f
/tmp/*tmp*<br></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockqu=
ote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">"Re-Install"<br></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockqu=
ote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">/var/log/ovirt-engine/engine.log:<br></blockquote></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><br></blockquote></blockquote></blockquote><blockquote
type=3D"ci=
te"><blockquote
type=3D"cite">...<br></blockquote></blockquote><blockquote
=
type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
r></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><=
/blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite">OK, one step forward and one step back. It seems as if the h=
ost<br></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite"><blockquote type=3D"cite">installation
went through,=
but after reboot, I have no contact with
the<br></blockquote></blockquote>=
</blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquot=
e type=3D"cite">web user interface. It thinks it=B4s
active:<br></blockquot=
e></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"c=
ite"><blockquote type=3D"cite"># systemctl is-active
ovirt-engine.service<b=
r></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote
type=3D"cite">active<br></blockquote></blockq=
uote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><bloc=
kquote
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">But I do=
n=B4t even get to the initial portal
chooser-page.<br></blockquote></blockq=
uote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br><=
/blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite=
">did you try to add the host the engine is running on or another physical<=
br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"=
cite">machine?<br></blockquote></blockquote><blockquote
type=3D"cite"><br><=
/blockquote><blockquote type=3D"cite">The same. As I stated in the
beginnin=
g, I want to be able to have the<br></blockquote><blockquote
type=3D"cite">=
engine configured to execute power management for the rest of the hosts<br>=
</blockquote><blockquote type=3D"cite">in the cluster, as
per:<br></blockqu=
ote><blockquote
type=3D"cite"><br></blockquote><blockquote
type=3D"cite">So=
urce: <a
href=3D"http://lists.ovirt.org/pipermail/users/2012-February/00036=
1.html">http://lists.ovirt.org/pipermail/users/2012-February/0003...
<br></blockquote><blockquote
type=3D"cite">"Yes, the ovirt backend does no=
t shut down or
power up any hosts<br></blockquote><blockquote type=3D"cite"=
directly, it can work only through vdsm. Therefore you need one
running<br=
</blockquote><blockquote type=3D"cite">host per datacenter to be
able to m=
anage the rest of the
hosts."<br></blockquote><blockquote
type=3D"cite"><br=
</blockquote><blockquote type=3D"cite">Adding
the engine as a host in the =
cluster seems to be the way
to<br></blockquote><blockquote type=3D"cite">ac=
hieve that.<br></blockquote><br>1. power management is DC wide, not
cluster=
.<br>2. you don't want the engine to be a host, unless you use the all-in-o=
ne <br>plugin, which makes sure the node isn't rebooted while it is being a=
dded.</div></blockquote><blockquote
type=3D"cite"><div>3. it will still won=
't help your problem, since it is local storage.<br>4. *if* you use the eng=
ine as a node (which may cause various issues), <br>you need to make sure n=
o VMs will run on it and it won't be an SPM <br>(setting spm priority of 0 =
or -1 from the api)<br>5. you should probably also add the host from the ap=
i, using the <br>no-reboot
flag.<br></div></blockquote><div><br></div><div>=
Let me explain a little to make you better understand my reasoning behind t=
his configuration.</div><div><br></div><div>We work with
segmented, separat=
ed networks. One network for public access, one for storage traffic, one fo=
r management and so on. That means that if the nodes themselves have to do =
their own power-management, the nodes would require three interfaces each, =
and the metal we are using for hosts just don=B4t have that. But if we can =
use the backend to do that, the hosts would only require two interfaces, wh=
ich most 1U servers are equipped with as standard (plus one iLO/IPMI/whatev=
), so we can use them as hosts without issue. Then the backend has one extr=
a interface that it can use to communicate over the power management networ=
k to the respective service processor
with.</div><div><br></div><div>Is the=
re a "better" way to achieve what we are aiming
for?</div><div><br></div><d=
iv>2. Then I would like to use that. Where can I find a all-in-one plugin t=
hat fits into the install?</div>3. I may have misunderstood, but I will be =
using NFS shared storage.</div><div>4. Precisely what I was thinking. Thank=
s for the SPM-hint!</div><div>5. OK, sure. Is it still necessary to have th=
e all-in-one plugin installed in that
case?</div><div><br></div><div>I woul=
d like to say that I=B4m loving oVirt this far, it is truly an amazing piec=
e of software. Thank you all, and thank you for your help and your knowledg=
e!</div><div><br></div><div>/Karli</div><div><br><blockquote
type=3D"cite">=
<div><br><blockquote
type=3D"cite"><br></blockquote><blockquote type=3D"cit=
e">/Karli<br></blockquote><blockquote
type=3D"cite"><br></blockquote><block=
quote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te"><br></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote
type=3D"cite">/Karli<br></blockquote></=
blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"=
<blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><b=
lockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite">Sent from my Android
phone. Please igno=
re
typos.<br></blockquote></blockquote></blockquote></blockquote><blockquot=
e type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockq=
uote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite">-----Original
Message-----<br></blockquote></b=
lockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">From: =3D?=
iso-8859-1?Q?Karli_Sj=3DF6berg?=3D
[Karli.Sjoberg(a)slu.se]<br></blockquote><=
/blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Received=
: Thursday, 28 Jun 2012,
21:37<br></blockquote></blockquote></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite">To: Itamar Heim
[iheim(a)redhat.com];=
Dan Kenigsberg
[danken@redhat.com]<br></blockquote></blockquote></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockq=
uote type=3D"cite"><blockquote type=3D"cite">CC: <a
href=3D"mailto:users@oV=
irt.org">users(a)oVirt.org</a> <<a
href=3D"mailto:users@oVirt.org">mailto:=
users@oVirt.org</a>><br></blockquote></blockquote></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote type=3D"cite"><<a
href=3D"mailto:users@oVirt.org">mai=
lto:users@oVirt.org</a>>
[users(a)ovirt.org]<br></blockquote></blockquote>=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite"><blockquote
type=3D"cite">Subject: Re: [Users]=
BSTRAP component=3D'CreateConf'
status=3D'FAIL'<br></blockquote></blockquo=
te></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"=
cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">message=3D'Basic =
configuration failed to import default
values'<br></blockquote></blockquote=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></=
blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">_________=
_______________________________<br></blockquote></blockquote></blockquote><=
/blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite">Fr=E5n: Itamar Heim
[iheim(a)redhat.=
com]<br></blockquote></blockquote></blockquote></blockquote><blockquote
typ=
e=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite">Skickat: den 28 juni 2012
18:35<br></blockquote></blockquote>=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite"><blockquote
type=3D"cite">Till: Dan Kenigsberg=
<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=3D=
"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite">Kopia: Karli Sj=F6berg; <a
href=3D"mailto:users@oVirt.org">users@=
oVirt.org</a> <<a
href=3D"mailto:users@oVirt.org">mailto:users@oVirt.org=
</a>><br></blockquote></blockquote></blockquote></blockquote><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><<a
href=3D"mailto:users@oVirt.org">mailto:users@oVirt=
.org</a>><br></blockquote></blockquote></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite">=C4mne: Re: [Users] BSTRAP
component=3D'CreateConf' s=
tatus=3D'FAIL'<br></blockquote></blockquote></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
lockquote type=3D"cite">message=3D'Basic configuration failed to import
def=
ault
values'<br></blockquote></blockquote></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blo=
ckquote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquo=
te><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"=
cite"><blockquote type=3D"cite">On 06/28/2012 10:41 AM, Dan
Kenigsberg wrot=
e:<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">On Thu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sj=F6berg wrot=
e:<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite">28 jun 2012 kl. 15.55 skrev Dan
Kenigsberg:<br></blo=
ckquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"=
<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquote t=
ype=3D"cite">On Thu, Jun 28, 2012 at 12:32:27PM +0200, Karli Sj=F6berg wrot=
e:<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">Hi,<br></blockquote></blockquote></blockquote></blockquote><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite">=
<blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></bloc=
kquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite">I am running Fedora 17
and added the ov=
irt beta repository to
have<br></blockquote></blockquote></blockquote></blo=
ckquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote typ=
e=3D"cite"><blockquote type=3D"cite">access to webadmin
addition, since F17=
only comes with CLI by
default.<br></blockquote></blockquote></blockquote>=
</blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquot=
e type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote></b=
lockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></bloc=
kquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockqu=
ote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br=
</blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"ci=
te"><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D=
"cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote
=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquo=
te
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><b=
lockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"=
<blockquote type=3D"cite">The action in question
"CreateConf" looks like:<=
br></blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"=
cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote
type=3D"cite">/usr/share/vdsm-bootstrap/vds_bootstrap.py<br></blockqu=
ote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br=
</blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"ci=
te"><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D=
"cite">def
_makeConfig(self):<br></blockquote></blockquote></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote type=3D"cite">import
datetime<br></blockquote></bl=
ockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">from config=
import
config<br></blockquote></blockquote></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
lockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite">if not
os.path.exists(VDSM_CONF):<br></=
blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">logging.debug("makeConfig: generating
conf.")<br></blockquote></blockqu=
ote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">lines =3D []<br>=
</blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cit=
e"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"=
cite">lines.append ("# Auto-generated by vds_bootstrap at:"
+<br></blockquo=
te></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">str(=
datetime.datetime.now()) +
"\n")<br></blockquote></blockquote></blockquote>=
</blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquot=
e type=3D"cite"><blockquote type=3D"cite">lines.append
("\n")<br></blockquo=
te></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br>=
</blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cit=
e"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"=
cite">lines.append ("[vars]\n") #Adding ts for the coming
scirpts.<br></blo=
ckquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"=
lines.append ("trust_store_path =3D " +
config.get('vars',<br></blockquote=
</blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">'trust=
_store_path') +
"\n")<br></blockquote></blockquote></blockquote></blockquot=
e><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"c=
ite"><blockquote type=3D"cite">lines.append ("ssl =3D "
+ config.get('vars'=
, 'ssl') +
"\n")<br></blockquote></blockquote></blockquote></blockquote><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite">=
<blockquote type=3D"cite">lines.append
("\n")<br></blockquote></blockquote>=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></b=
lockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">lines.appe=
nd ("[addresses]\n") #Adding mgt port for the coming
scirpts.<br></blockquo=
te></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">line=
s.append ("management_port =3D " +
config.get('addresses',<br></blockquote>=
</blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquot=
e type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">'manage=
ment_port') +
"\n")<br></blockquote></blockquote></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote
type=3D"cite">logging.debug("makeConfig: writing t=
he following to " +
VDSM_CONF)<br></blockquote></blockquote></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><blockquote
type=3D"cite">logging.debug(lines)<br></blockquot=
e></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">fd, t=
mpName =3D
tempfile.mkstemp()<br></blockquote></blockquote></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote type=3D"cite">f =3D os.fdopen(fd,
'w')<br></blockq=
uote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">f.=
writelines(lines)<br></blockquote></blockquote></blockquote></blockquote><b=
lockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"=
<blockquote
type=3D"cite">f.close()<br></blockquote></blockquote></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote
type=3D"cite">os.chmod(tmpName, 0644)<br></=
blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">shutil.move(tmpName,
VDSM_CONF)<br></blockquote></blockquote></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockq=
uote type=3D"cite"><blockquote
type=3D"cite">else:<br></blockquote></blockq=
uote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">self.message =
=3D 'Basic configuration found, skipping this
step'<br></blockquote></block=
quote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">logging.debug=
(self.message)<br></blockquote></blockquote></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
lockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite">def
createConf(self):<br></blockquote><=
/blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">"""<br><=
/blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite=
"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"c=
ite">Generate initial configuration file for VDSM. Must run after package<b=
r></blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"c=
ite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite">installation!<br></blockquote></blockquote></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote
type=3D"cite">"""<br></blockquote></blockquote></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote type=3D"cite">self.message
=3D 'Basic confi=
guration
set'<br></blockquote></blockquote></blockquote></blockquote><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite">self.rc =3D
True<br></blockquote></blockquote></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite"><blockquote type=3D"cite">self.status
=3D 'OK'<br></=
blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te"><br></blockquote></blockquote></blockquote></blockquote><blockquote
typ=
e=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite">try:<br></blockquote></blockquote></blockquote></blockquote><=
blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite=
"><blockquote
type=3D"cite">self._makeConfig()<br></blockquote></blockquote=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te"><blockquote type=3D"cite"><blockquote
type=3D"cite">except Exception, e=
:<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">logging.error('',
exc_info=3DTrue)<br></blockquote></blockquot=
e></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"c=
ite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote><=
/blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">^^^^ the=
interesting stuff is written to a log file, sitting in your<br></blockquot=
e></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">/tmp =
or a directory below it. Which module fails to be imported?<br></blockquote=
</blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></=
blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">/tmp/vds_bootstrap.210442.log:<br></blockquote></blockquote></blockquot=
e></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><=
/blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite=
"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 Jun 2012 12:2=
5:51 DEBUG Installing libjpeg
0<br></blockquote></blockquote></blockquote><=
/blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
12:25:51 DEBUG ['=
/usr/bin/yum', '-y',
'install',<br></blockquote></blockquote></blockquote><=
/blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote
type=3D"cite">'libjpeg']<br></blockquote></block=
quote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 Jun 2=
012 12:25:53 DEBUG Loaded plugins: langpacks,
presto,<br></blockquote></blo=
ckquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote typ=
e=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">refresh-pack=
agekit,
versionlock<br></blockquote></blockquote></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite">Package
libjpeg-turbo-1.2.0-1.fc17.x86_64 alre=
ady installed and
latest<br></blockquote></blockquote></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote
type=3D"cite">version<br></blockquote></blockquote></=
blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite">Nothing to do<br></blo=
ckquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"=
<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquote t=
ype=3D"cite">Thu, 28 Jun 2012 12:25:53
DEBUG<br></blockquote></blockquote><=
/blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite=
"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 Jun 2012 12:2=
5:53 DEBUG ['/bin/rpm', '-q',
'libjpeg']<br></blockquote></blockquote></blo=
ckquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun
2012 12:25:53=
DEBUG package libjpeg is not
installed<br></blockquote></blockquote></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockqu=
ote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 Jun 2012=
12:25:53
DEBUG<br></blockquote></blockquote></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><=
blockquote type=3D"cite">Thu, 28 Jun 2012 12:25:53
DEBUG<br></blockquote></=
blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 J=
un 2012 12:25:53
ERROR<br></blockquote></blockquote></blockquote></blockquo=
te><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"=
cite"><blockquote type=3D"cite">Traceback (most recent call
last):<br></blo=
ckquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"=
File
"/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py",<br></bl=
ockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><=
blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite=
">line 594, in
createConf<br></blockquote></blockquote></blockquote></block=
quote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote
type=3D"cite">self._makeConfig()<br></blockquote></bl=
ockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">File "/tmp/=
vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py",<br></blockquote></b=
lockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">line 557, =
in
_makeConfig<br></blockquote></blockquote></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
lockquote type=3D"cite">from config import
config<br></blockquote></blockqu=
ote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">ImportError: No =
module named
config<br></blockquote></blockquote></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite">Thu, 28 Jun 2012 12:25:53
DEBUG<br></blockquot=
e></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, =
28 Jun 2012 12:25:53 ERROR createConf
failed<br></blockquote></blockquote><=
/blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite=
"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 Jun 2012 12:2=
5:53
DEBUG<br></blockquote></blockquote></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote type=3D"cite">Thu, 28 Jun 2012 12:25:53 DEBUG **** End VDS Validation=
****<br></blockquote></blockquote></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><=
blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></block=
quote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite">Which version of
vdsm-bootstrap do you =
have installed? if it is not
a<br></blockquote></blockquote></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><blockquote type=3D"cite">4.10.something, I
suggest you upgra=
de.<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite"># rpm -qa | grep
vdsm-bootstrap<br></blockquote></bl=
ockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">vdsm-bootst=
rap-4.9.3.2-0.fc17.noarch<br></blockquote></blockquote></blockquote></block=
quote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote type=3D"cite">That's too
old to install ovi=
rt-3.1.<br></blockquote></blockquote></blockquote></blockquote><blockquote
=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquo=
te type=3D"cite">Please retry with the one on the beta
repo<br></blockquote=
</blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><a hre=
f=3D"http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/...
vdsm-bootstrap-4.10.0-3.fc17.noarch.rpm">http://kojipkgs.fedorapr...
/packages/vdsm/4.10.0/3.fc17/noarch/vdsm-bootstrap-4.10.0-3.fc17.noarch.rpm=
</a><br></blockquote></blockquote></blockquote></blockquote><blockquote
typ=
e=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
lockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote
type=3D"cite">indeed.<br></blockquote></blockquote></=
blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite">i think the error is n=
ot about libjpeg at all, which is
probably<br></blockquote></blockquote></b=
lockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">=
<blockquote type=3D"cite"><blockquote
type=3D"cite">provided by libjpeg-tur=
bo as yum install for it
suggest.<br></blockquote></blockquote></blockquote=
</blockquote><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquo=
te type=3D"cite"><blockquote type=3D"cite">so just a
too old bootstrap file=
as danken suggests, causing this
which<br></blockquote></blockquote></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite"><blockquote type=3D"cite">is the
actual error:<br></=
blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">Traceback
(most recent call last):<br></blockquote></blockquote></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite">File<br></blockquote></bloc=
kquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">"/tmp/vds_boo=
tstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line
594,<br></blockquote>=
</blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquot=
e type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">in crea=
teConf<br></blockquote></blockquote></blockquote></blockquote><blockquote
t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquot=
e
type=3D"cite">self._makeConfig()<br></blockquote></blockquote></blockquot=
e></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote
type=3D"cite">File<br></blockquote></blockquo=
te></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"=
cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">"/tmp/vds_bootstr=
ap_ca67f0a5-115c-4943-a9ef-157654586da5.py", line
557,<br></blockquote></bl=
ockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">in _makeCon=
fig<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">from config import
config<br></blockquote></blockquote></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite"><blockquote type=3D"cite">ImportError:
No module name=
d
config<br></blockquote></blockquote></blockquote></blockquote><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockqu=
ote
type=3D"cite"><br></blockquote></blockquote></blockquote></blockquote><=
blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite=
"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote></bl=
ockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite">rpm
-U<br></blockquote></blockquote><=
/blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite=
"><blockquote type=3D"cite"><blockquote
type=3D"cite"><a href=3D"http://koj=
ipkgs.fedoraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-bootstrap-=
4.10.0-3.fc17.noarch.rpm">http://kojipkgs.fedoraproject.org//pack...
4.10.0/3.fc17/noarch/vdsm-bootstrap-4.10.0-3.fc17.noarch.rpm</a><br></block=
quote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><=
br></blockquote></blockquote></blockquote></blockquote><blockquote
type=3D"=
cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite">Then, after next
"Re-Install"<br></blockquote></blockquote></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockqu=
ote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">more /tmp/vds_bo=
otstrap.470161.log<br></blockquote></blockquote></blockquote></blockquote><=
blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite=
"><blockquote type=3D"cite">Thu, 28 Jun 2012 19:39:45 DEBUG ****
Start VDS =
Validation
****<br></blockquote></blockquote></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><=
blockquote type=3D"cite">Thu, 28 Jun 2012 19:39:45 DEBUG Entered VdsValidat=
ion(subject
=3D<br></blockquote></blockquote></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite"><=
blockquote type=3D"cite">'172.22.8.14', random_num =3D
'e27aad2f-4bb2-42f1-=
930e-6c7bab54fb1c',<br></blockquote></blockquote></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote type=3D"cite">rev_num =3D 'None',
installVirtualizationServi=
ce
=3D<br></blockquote></blockquote></blockquote></blockquote><blockquote
t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquot=
e type=3D"cite">'True',installGlusterService =3D
'False')<br></blockquote><=
/blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 28 =
Jun 2012 19:39:45 ERROR checkRegistration: Error searching for<br></blockqu=
ote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">VDS=
M
package!<br></blockquote></blockquote></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote type=3D"cite">Traceback (most recent call
last):<br></blockquote></bl=
ockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">File "/tmp/=
vds_bootstrap_e27aad2f-4bb2-42f1-930e-6c7bab54fb1c.py",<br></blockquote></b=
lockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">line 228, =
in
checkRegistration<br></blockquote></blockquote></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"ci=
te"><blockquote type=3D"cite">rc =3D
bool(deployUtil.yumListPackages(VDSM_N=
AME))<br></blockquote></blockquote></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite">AttributeError: 'module' object has no attribute
'yumListPac=
kages'<br></blockquote></blockquote></blockquote></blockquote><blockquote
t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquot=
e type=3D"cite">Thu, 28 Jun 2012 19:39:45 ERROR Unable to fetch vdsm packag=
e.<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">Please check if host is registered to RHN, Satellite or other =
yum<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">repository<br></blockquote></blockquote></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D=
"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012 19:39:45
DEBUG<br></block=
quote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite">T=
hu, 28 Jun 2012 19:39:45 ERROR checkRegistration test failed<br></blockquot=
e></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, =
28 Jun 2012 19:39:45
DEBUG<br></blockquote></blockquote></blockquote></bloc=
kquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012 19:39:45
DEBUG **** En=
d VDS Validation
****<br></blockquote></blockquote></blockquote></blockquot=
e><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"c=
ite"><blockquote
type=3D"cite">____________________________________________=
___<br></blockquote></blockquote></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">Users mailing
list<br></blockquote></blockquote></blockquote><=
/blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><blockquote type=3D"cite"><a
href=3D"mailto:Users@ovirt.org"=
Users(a)ovirt.org</a> <<a
href=3D"mailto:Users@ovirt.org">mailto:Users@ov=
irt.org</a>> <<a
href=3D"mailto:Users@ovirt.org">mailto:Users@ovirt.o=
rg</a>><br></blockquote></blockquote></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><block=
quote type=3D"cite"><a
href=3D"http://lists.ovirt.org/mailman/listinfo/user=
s">http://lists.ovirt.org/mailman/listinfo/users</a><br&...
kquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockqu=
ote></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Sen=
t from my Android phone. Please ignore
typos.<br></blockquote></blockquote>=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cit=
e"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockquote><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite">=
<br></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><block=
quote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote=
</blockquote><blockquote
type=3D"cite"><blockquote type=3D"cite"><blockquo=
te type=3D"cite">Med V=E4nliga
H=E4lsningar<br></blockquote></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite">-------------------------------------------------------------=
------------------<br></blockquote></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Karli Sj=F6=
berg<br></blockquote></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite"><blockquote type=3D"cite">Swedish
University of Agr=
icultural
Sciences<br></blockquote></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite">Box 7079 (V=
isiting Address Kron=E5sv=E4gen
8)<br></blockquote></blockquote></blockquot=
e><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"c=
ite">S-750 07 Uppsala,
Sweden<br></blockquote></blockquote></blockquote><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D"cite">=
Phone: +46-(0)18-67 15
66<br></blockquote></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><a h=
ref=3D"mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a>
<<a href=3D=
"mailto:karli.sjoberg@slu.se">mailto:karli.sjoberg@slu.se</a>><br></bloc=
kquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><<a
href=3D"mailto:karli.sjoberg@adm=
.slu.se">mailto:karli.sjoberg@adm.slu.se</a>><br></blockquote></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockq=
uote
type=3D"cite"><br></blockquote></blockquote></blockquote><blockquote
t=
ype=3D"cite"><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></bloc=
kquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote type=3D=
"cite">_______________________________________________<br></blockquote></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><=
blockquote type=3D"cite">Users mailing
list<br></blockquote></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><blockquote =
type=3D"cite"><a
href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <<a=
href=3D"mailto:Users@ovirt.org">mailto:Users@ovirt.org</a>><br></blockq=
uote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><blockquote type=3D"cite"><a
href=3D"http://lists.ovirt.org/mailm=
an/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users&...
lockquote></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><br></=
blockquote><blockquote
type=3D"cite"><br></blockquote><blockquote type=3D"c=
ite"><br></blockquote><blockquote type=3D"cite">Med
V=E4nliga H=E4lsningar<=
br></blockquote><blockquote
type=3D"cite">---------------------------------=
----------------------------------------------<br></blockquote><blockquote
=
type=3D"cite">Karli Sj=F6berg<br></blockquote><blockquote
type=3D"cite">Swe=
dish University of Agricultural Sciences<br></blockquote><blockquote type=
=3D"cite">Box 7079 (Visiting Address Kron=E5sv=E4gen
8)<br></blockquote><bl=
ockquote type=3D"cite">S-750 07 Uppsala,
Sweden<br></blockquote><blockquote=
type=3D"cite">Phone: +46-(0)18-67 15
66<br></blockquote><blockquote type=
=3D"cite"><a
href=3D"mailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a> =
<<a
href=3D"mailto:karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.sl=
u.se</a>><br></blockquote><blockquote
type=3D"cite"><br></blockquote><br=
</div></blockquote></div><br><div>
<span class=3D"Apple-style-span" style=3D"border-collapse:
separate; color:=
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: no=
rmal; font-weight: normal; letter-spacing: normal; line-height: normal; orp=
hans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizonta=
l-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati=
ons-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-wi=
dth: 0px; font-size: medium; "><div><br
class=3D"Apple-interchange-newline"=
<br></div><div>Med V=E4nliga
H=E4lsningar<br>-----------------------------=
--------------------------------------------------<br>Karli
Sj=F6berg<br>Sw=
edish University of Agricultural Sciences<br>Box 7079 (Visiting Address Kro=
n=E5sv=E4gen 8)<br>S-750 07 Uppsala, Sweden<br>Phone: +46-(0)18-67
15=
66</div><div><a
href=3D"mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu=
.se</a></div></span>
</div>
<br></body></html>=
--_000_8A0A9721953E4DA3B3D1AF5B7B6C0143sluse_--