--_000_CA7FD904222046069C7DD2BD9EC225B4sluse_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 engin=
e configured to execute power management for the rest of the hosts in the c=
luster, 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 data=
center 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 t=
hat.
/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> [users=
@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>
=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>
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@adm=
.slu.se>
_______________________________________________
Users mailing list
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@adm.slu.se>
--_000_CA7FD904222046069C7DD2BD9EC225B4sluse_
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. 12.54 skrev Itamar Heim:</div><br
class=3D"Apple-interchange-newline"><=
blockquote type=3D"cite"><div>On 06/29/2012 03:27 AM, Karli Sj=F6berg
wrote=
:<br><blockquote
type=3D"cite"><br></blockquote><blockquote
type=3D"cite">2=
8 jun 2012 kl. 22.11 skrev Doron Fediuck:<br></blockquote><blockquote
type=
=3D"cite"><br></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">Please rm /tmp/*py* in your
host.<br></blockquote></blockquote><blockqu=
ote type=3D"cite"><blockquote type=3D"cite">Older scripts may
be interrupti=
ng.<br></blockquote></blockquote><blockquote
type=3D"cite"><br></blockquote=
<blockquote type=3D"cite"># rm -f
/tmp/*py*<br></blockquote><blockquote ty=
pe=3D"cite">#
rm -f /tmp/*log*<br></blockquote><blockquote type=3D"cite">#
=
rm -f /tmp/*tmp*<br></blockquote><blockquote
type=3D"cite"><br></blockquote=
<blockquote
type=3D"cite"><br></blockquote><blockquote
type=3D"cite">"Re-I=
nstall"<br></blockquote><blockquote
type=3D"cite"><br></blockquote><blockqu=
ote type=3D"cite"><br></blockquote><blockquote
type=3D"cite">/var/log/ovirt=
-engine/engine.log:<br></blockquote><blockquote
type=3D"cite"><br></blockqu=
ote>...<br><br><blockquote
type=3D"cite"><br></blockquote><blockquote type=
=3D"cite"><br></blockquote><blockquote
type=3D"cite">OK, one step forward a=
nd one step back. It seems as if the host<br></blockquote><blockquote
type=
=3D"cite">installation went through, but after reboot, I have no contact wi=
th the<br></blockquote><blockquote type=3D"cite">web user
interface. It thi=
nks it=B4s active:<br></blockquote><blockquote type=3D"cite">#
systemctl is=
-active ovirt-engine.service<br></blockquote><blockquote
type=3D"cite">acti=
ve<br></blockquote><blockquote
type=3D"cite"><br></blockquote><blockquote t=
ype=3D"cite">But I don=B4t even get to the initial portal
chooser-page.<br>=
</blockquote><br>did you try to add the host the engine is running on or an=
other physical
<br>machine?<br></div></blockquote><div><br></div>The
same. =
As I stated in the beginning, I want to be able to have the engine configur=
ed to execute power management for the rest of the hosts in the cluster, as=
per:</div><div><br></div><div><div>Source: <a
href=3D"http://lists.ov=
irt.org/pipermail/users/2012-February/000361.html">http://lists.o...
ipermail/users/2012-February/000361.html</a></div><div>"<span
class=3D"Appl=
e-style-span" style=3D"white-space: pre; ">Yes, the ovirt backend does
not =
shut down or power up any hosts directly, it can work only through vdsm. Th=
erefore you need one running host per datacenter to be able to manage the r=
est of the hosts."</span></div><div><span
class=3D"Apple-style-span" style=
=3D"white-space: pre;
"><br></span></div><div><span
class=3D"Apple-style-sp=
an" style=3D"white-space: pre; ">Adding the engine as a host in the
cluster=
seems to be the way to achieve that.</span></div><div><span
class=3D"Apple=
-style-span" style=3D"white-space: pre;
"><br></span></div><div><span class=
=3D"Apple-style-span" style=3D"white-space: pre;
">/Karli</span></div><div>=
<span class=3D"Apple-style-span" style=3D"white-space: pre;
"><br></span></=
div><blockquote type=3D"cite"><div><br><blockquote
type=3D"cite"><br></bloc=
kquote><blockquote
type=3D"cite">/Karli<br></blockquote><blockquote type=3D=
"cite"><br></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cite"=
<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite">Sent from my
Android phone. Please ignore typos.<br></blockquote>=
</blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">---=
--Original Message-----<br></blockquote></blockquote><blockquote
type=3D"ci=
te"><blockquote type=3D"cite">From:
=3D?iso-8859-1?Q?Karli_Sj=3DF6berg?=3D =
[Karli.Sjoberg@slu.se]<br></blockquote></blockquote><blockquote
type=3D"cit=
e"><blockquote type=3D"cite">Received: Thursday, 28 Jun 2012,
21:37<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">T=
o: Itamar Heim [iheim(a)redhat.com]; Dan Kenigsberg [danken(a)redhat.com]<br></=
blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"=
CC: <a
href=3D"mailto:users@oVirt.org">users@oVirt.org</a> <<a
href=3D"=
mailto:users@oVirt.org">mailto:users@oVirt.org</a>>
[users(a)ovirt.org]<br=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">Subject: Re:
[Users] BSTRAP component=3D'CreateConf' status=3D'FAIL'<br=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">message=3D'Basic configuration failed to import default
values'<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><=
br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"=
cite">________________________________________<br></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite">Fr=E5n: Itamar Heim [i=
heim@redhat.com]<br></blockquote></blockquote><blockquote
type=3D"cite"><bl=
ockquote type=3D"cite">Skickat: den 28 juni 2012
18:35<br></blockquote></bl=
ockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">Till: Dan Keni=
gsberg<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">Kopia: Karli Sj=F6berg; <a
href=3D"mailto:users@oVirt.org">use=
rs(a)oVirt.org</a> <<a
href=3D"mailto:users@oVirt.org">mailto:users@oVirt.=
org</a>><br></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote type=3D"cite">=C4mne: Re: [Users] BSTRAP component=3D'CreateConf'
statu=
s=3D'FAIL'<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te type=3D"cite">message=3D'Basic configuration failed to import default
va=
lues'<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><blockq=
uote type=3D"cite">On 06/28/2012 10:41 AM, Dan Kenigsberg
wrote:<br></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">On T=
hu, Jun 28, 2012 at 04:12:15PM +0200, Karli Sj=F6berg wrote:<br></blockquot=
e></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">2=
8 jun 2012 kl. 15.55 skrev Dan
Kenigsberg:<br></blockquote></blockquote><bl=
ockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite">On Thu, Jun 28, 201=
2 at 12:32:27PM +0200, Karli Sj=F6berg
wrote:<br></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote
type=3D"cite">Hi,<br></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">I am r=
unning Fedora 17 and added the ovirt beta repository to have<br></blockquot=
e></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">access t=
o webadmin addition, since F17 only comes with CLI by default.<br></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></=
blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"=
<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te
type=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote
type=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"c=
ite"><blockquote
type=3D"cite"><br></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite">The action in question
"CreateConf" l=
ooks like:<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te
type=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote
type=3D"cite">/usr/share/vdsm-bootstrap/vds_bootstrap.py<br></blo=
ckquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><b=
r></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"c=
ite">def
_makeConfig(self):<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote type=3D"cite">import
datetime<br></blockquote></block=
quote><blockquote type=3D"cite"><blockquote
type=3D"cite">from config impor=
t config<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite">if not
os.path.exists(VDSM_CONF):<br></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">logging.debug=
("makeConfig: generating
conf.")<br></blockquote></blockquote><blockquote t=
ype=3D"cite"><blockquote type=3D"cite">lines =3D
[]<br></blockquote></block=
quote><blockquote type=3D"cite"><blockquote
type=3D"cite">lines.append ("# =
Auto-generated by vds_bootstrap at:"
+<br></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote
type=3D"cite">str(datetime.datetime.now()) +=
"\n")<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote t=
ype=3D"cite">lines.append
("\n")<br></blockquote></blockquote><blockquote t=
ype=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><block=
quote type=3D"cite"><blockquote type=3D"cite">lines.append
("[vars]\n") #Ad=
ding ts for the coming
scirpts.<br></blockquote></blockquote><blockquote ty=
pe=3D"cite"><blockquote type=3D"cite">lines.append
("trust_store_path =3D "=
+
config.get('vars',<br></blockquote></blockquote><blockquote
type=3D"cite=
"><blockquote type=3D"cite">'trust_store_path') +
"\n")<br></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">lines.append =
("ssl =3D " + config.get('vars', 'ssl') +
"\n")<br></blockquote></blockquot=
e><blockquote type=3D"cite"><blockquote
type=3D"cite">lines.append ("\n")<b=
r></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"c=
ite"><br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote ty=
pe=3D"cite">lines.append ("[addresses]\n") #Adding mgt port for the
coming =
scirpts.<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite">lines.append ("management_port =3D " +
config.get('addresses=
',<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite">'management_port') +
"\n")<br></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><b=
lockquote type=3D"cite"><blockquote
type=3D"cite">logging.debug("makeConfig=
: writing the following to " +
VDSM_CONF)<br></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite">logging.debug(lines)<br></b=
lockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">=
fd, tmpName =3D
tempfile.mkstemp()<br></blockquote></blockquote><blockquote=
type=3D"cite"><blockquote type=3D"cite">f =3D os.fdopen(fd,
'w')<br></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">f.w=
ritelines(lines)<br></blockquote></blockquote><blockquote
type=3D"cite"><bl=
ockquote
type=3D"cite">f.close()<br></blockquote></blockquote><blockquote
t=
ype=3D"cite"><blockquote type=3D"cite">os.chmod(tmpName,
0644)<br></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">shutil=
.move(tmpName, VDSM_CONF)<br></blockquote></blockquote><blockquote
type=3D"=
cite"><blockquote
type=3D"cite">else:<br></blockquote></blockquote><blockqu=
ote type=3D"cite"><blockquote type=3D"cite">self.message =3D
'Basic configu=
ration found, skipping this
step'<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote
type=3D"cite">logging.debug(self.message)<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><=
br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"=
cite">def
createConf(self):<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote
type=3D"cite">"""<br></blockquote></blockquote><block=
quote type=3D"cite"><blockquote type=3D"cite">Generate
initial configuratio=
n file for VDSM. Must run after
package<br></blockquote></blockquote><block=
quote type=3D"cite"><blockquote
type=3D"cite">installation!<br></blockquote=
</blockquote><blockquote
type=3D"cite"><blockquote
type=3D"cite">"""<br></=
blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cite"=
self.message =3D 'Basic configuration
set'<br></blockquote></blockquote><b=
lockquote
type=3D"cite"><blockquote type=3D"cite">self.rc =3D
True<br></blo=
ckquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">se=
lf.status =3D 'OK'<br></blockquote></blockquote><blockquote
type=3D"cite"><=
blockquote
type=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"=
cite"><blockquote
type=3D"cite">try:<br></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote
type=3D"cite">self._makeConfig()<br></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">except =
Exception, e:<br></blockquote></blockquote><blockquote
type=3D"cite"><block=
quote type=3D"cite">logging.error('',
exc_info=3DTrue)<br></blockquote></bl=
ockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">^^^^ th=
e interesting stuff is written to a log file, sitting in your<br></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">/tmp or=
a directory below it. Which module fails to be
imported?<br></blockquote><=
/blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">/tmp=
/vds_bootstrap.210442.log:<br></blockquote></blockquote><blockquote
type=3D=
"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><blockquote
=
type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
12:25:51 DEBUG Ins=
talling libjpeg 0<br></blockquote></blockquote><blockquote
type=3D"cite"><b=
lockquote type=3D"cite">Thu, 28 Jun 2012 12:25:51 DEBUG
['/usr/bin/yum', '-=
y', 'install',<br></blockquote></blockquote><blockquote
type=3D"cite"><bloc=
kquote
type=3D"cite">'libjpeg']<br></blockquote></blockquote><blockquote
ty=
pe=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
12:25:53 DEBUG Loade=
d plugins: langpacks,
presto,<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote type=3D"cite">refresh-packagekit,
versionlock<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">P=
ackage libjpeg-turbo-1.2.0-1.fc17.x86_64 already installed and latest<br></=
blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"=
version<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite">Nothing to
do<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
12:25:53 DEBUG<=
br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"=
cite">Thu, 28 Jun 2012 12:25:53 DEBUG ['/bin/rpm', '-q',
'libjpeg']<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">T=
hu, 28 Jun 2012 12:25:53 DEBUG package libjpeg is not installed<br></blockq=
uote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br><=
/blockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite=
">Thu, 28 Jun 2012 12:25:53
DEBUG<br></blockquote></blockquote><blockquote =
type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
12:25:53 DEBUG<br>=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"cit=
e">Thu, 28 Jun 2012 12:25:53
ERROR<br></blockquote></blockquote><blockquote=
type=3D"cite"><blockquote type=3D"cite">Traceback (most
recent call last):=
<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D=
"cite">File
"/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py",<b=
r></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"c=
ite">line 594, in
createConf<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote
type=3D"cite">self._makeConfig()<br></blockquote></bl=
ockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">File "/tmp/vds=
_bootstrap_ca67f0a5-115c-4943-a9ef-157654586da5.py",<br></blockquote></bloc=
kquote><blockquote type=3D"cite"><blockquote
type=3D"cite">line 557, in _ma=
keConfig<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite">from config import
config<br></blockquote></blockquote><bloc=
kquote type=3D"cite"><blockquote type=3D"cite">ImportError:
No module named=
config<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote =
type=3D"cite">Thu, 28 Jun 2012 12:25:53
DEBUG<br></blockquote></blockquote>=
<blockquote type=3D"cite"><blockquote type=3D"cite">Thu,
28 Jun 2012 12:25:=
53 ERROR createConf failed<br></blockquote></blockquote><blockquote
type=3D=
"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012 12:25:53
DEBUG<br></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu,=
28 Jun 2012 12:25:53 DEBUG **** End VDS Validation
****<br></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockq=
uote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br><=
/blockquote></blockquote><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
type=3D"cite"><blockquote type=3D"cit=
e">4.10.something, I suggest you
upgrade.<br></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquo=
te><blockquote type=3D"cite"><blockquote
type=3D"cite"># rpm -qa | grep vds=
m-bootstrap<br></blockquote></blockquote><blockquote
type=3D"cite"><blockqu=
ote
type=3D"cite">vdsm-bootstrap-4.9.3.2-0.fc17.noarch<br></blockquote></bl=
ockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquo=
te></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">That's =
too old to install
ovirt-3.1.<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote type=3D"cite">Please retry with the one
on the beta r=
epo<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><a
href=3D"http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.=
0/3.fc17/noarch/vdsm-bootstrap-4.10.0-3.fc17.noarch.rpm">http://kojipkgs.fe=
doraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-bootstrap-4.10.0-3=
.fc17.noarch.rpm</a><br></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote
type=3D"cite"><br></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote
type=3D"cite"><br></blockquote></blockquote><blockquo=
te type=3D"cite"><blockquote
type=3D"cite">indeed.<br></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite">i think the error =
is not about libjpeg at all, which is
probably<br></blockquote></blockquote=
<blockquote type=3D"cite"><blockquote
type=3D"cite">provided by libjpeg-tu=
rbo as yum install for it
suggest.<br></blockquote></blockquote><blockquote=
type=3D"cite"><blockquote type=3D"cite">so just a too old
bootstrap file a=
s danken suggests, causing this
which<br></blockquote></blockquote><blockqu=
ote type=3D"cite"><blockquote type=3D"cite">is the actual
error:<br></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">Trac=
eback (most recent call
last):<br></blockquote></blockquote><blockquote typ=
e=3D"cite"><blockquote
type=3D"cite">File<br></blockquote></blockquote><blo=
ckquote type=3D"cite"><blockquote
type=3D"cite">"/tmp/vds_bootstrap_ca67f0a=
5-115c-4943-a9ef-157654586da5.py", line
594,<br></blockquote></blockquote><=
blockquote type=3D"cite"><blockquote type=3D"cite">in
createConf<br></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">self=
._makeConfig()<br></blockquote></blockquote><blockquote
type=3D"cite"><bloc=
kquote
type=3D"cite">File<br></blockquote></blockquote><blockquote
type=3D"=
cite"><blockquote
type=3D"cite">"/tmp/vds_bootstrap_ca67f0a5-115c-4943-a9ef=
-157654586da5.py", line
557,<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote type=3D"cite">in
_makeConfig<br></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite">from config import=
config<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote =
type=3D"cite">ImportError: No module named
config<br></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br></blockq=
uote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">rpm -=
U<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=
=3D"cite"><a
href=3D"http://kojipkgs.fedoraproject.org//packages/vdsm/4.10.=
0/3.fc17/noarch/vdsm-bootstrap-4.10.0-3.fc17.noarch.rpm">http://kojipkgs.fe=
doraproject.org//packages/vdsm/4.10.0/3.fc17/noarch/vdsm-bootstrap-4.10.0-3=
.fc17.noarch.rpm</a><br></blockquote></blockquote><blockquote
type=3D"cite"=
<blockquote
type=3D"cite"><br></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite">Then, after
next "Re-Install"<br></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><br=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">more
/tmp/vds_bootstrap.470161.log<br></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
19:39:45 DEBU=
G **** Start VDS Validation
****<br></blockquote></blockquote><blockquote t=
ype=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
19:39:45 DEBUG Ente=
red VdsValidation(subject
=3D<br></blockquote></blockquote><blockquote type=
=3D"cite"><blockquote type=3D"cite">'172.22.8.14',
random_num =3D 'e27aad2f=
-4bb2-42f1-930e-6c7bab54fb1c',<br></blockquote></blockquote><blockquote
typ=
e=3D"cite"><blockquote type=3D"cite">rev_num =3D
'None', installVirtualizat=
ionService =3D<br></blockquote></blockquote><blockquote
type=3D"cite"><bloc=
kquote type=3D"cite">'True',installGlusterService =3D
'False')<br></blockqu=
ote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu, 2=
8 Jun 2012 19:39:45 ERROR checkRegistration: Error searching for<br></block=
quote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">VDSM=
package!<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquot=
e type=3D"cite">Traceback (most recent call
last):<br></blockquote></blockq=
uote><blockquote type=3D"cite"><blockquote
type=3D"cite">File "/tmp/vds_boo=
tstrap_e27aad2f-4bb2-42f1-930e-6c7bab54fb1c.py",<br></blockquote></blockquo=
te><blockquote type=3D"cite"><blockquote
type=3D"cite">line 228, in checkRe=
gistration<br></blockquote></blockquote><blockquote
type=3D"cite"><blockquo=
te type=3D"cite">rc =3D
bool(deployUtil.yumListPackages(VDSM_NAME))<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">A=
ttributeError: 'module' object has no attribute
'yumListPackages'<br></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">Thu=
, 28 Jun 2012 19:39:45 ERROR Unable to fetch vdsm package.<br></blockquote>=
</blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">Please che=
ck if host is registered to RHN, Satellite or other
yum<br></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">repository<br=
</blockquote></blockquote><blockquote
type=3D"cite"><blockquote type=3D"ci=
te">Thu, 28 Jun
2012 19:39:45 DEBUG<br></blockquote></blockquote><blockquot=
e type=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012
19:39:45 ERROR c=
heckRegistration test failed<br></blockquote></blockquote><blockquote
type=
=3D"cite"><blockquote type=3D"cite">Thu, 28 Jun 2012 19:39:45
DEBUG<br></bl=
ockquote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite">T=
hu, 28 Jun 2012 19:39:45 DEBUG **** End VDS Validation ****<br></blockquote=
</blockquote><blockquote
type=3D"cite"><blockquote type=3D"cite">_________=
______________________________________<br></blockquote></blockquote><blockq=
uote type=3D"cite"><blockquote type=3D"cite">Users mailing
list<br></blockq=
uote></blockquote><blockquote type=3D"cite"><blockquote
type=3D"cite"><a hr=
ef=3D"mailto:Users@ovirt.org">Users@ovirt.org</a> <<a
href=3D"mailto:Use=
rs@ovirt.org">mailto:Users@ovirt.org</a>><br></blockquote></blockquote><=
blockquote type=3D"cite"><blockquote type=3D"cite"><a
href=3D"http://lists.=
ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/...
sers</a><br></blockquote></blockquote><blockquote
type=3D"cite"><blockquote=
type=3D"cite"><br></blockquote></blockquote><blockquote
type=3D"cite"><blo=
ckquote type=3D"cite">Sent from my Android phone. Please ignore
typos.<br><=
/blockquote></blockquote><blockquote
type=3D"cite"><br></blockquote><blockq=
uote type=3D"cite"><br></blockquote><blockquote
type=3D"cite"><br></blockqu=
ote><blockquote type=3D"cite">Med V=E4nliga
H=E4lsningar<br></blockquote><b=
lockquote type=3D"cite">---------------------------------------------------=
----------------------------<br></blockquote><blockquote
type=3D"cite">Karl=
i Sj=F6berg<br></blockquote><blockquote type=3D"cite">Swedish
University of=
Agricultural Sciences<br></blockquote><blockquote
type=3D"cite">Box 7079 (=
Visiting Address Kron=E5sv=E4gen 8)<br></blockquote><blockquote
type=3D"cit=
e">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"m=
ailto:karli.sjoberg@slu.se">karli.sjoberg@slu.se</a> <<a
href=3D"mailto:=
karli.sjoberg@adm.slu.se">mailto:karli.sjoberg@adm.slu.se</a>><br></bloc=
kquote><blockquote
type=3D"cite"><br></blockquote><blockquote
type=3D"cite"=
<br></blockquote><blockquote
type=3D"cite"><br></blockquote><blockquote ty=
pe=3D"cite">_______________________________________________<br></blockquote=
<blockquote type=3D"cite">Users mailing
list<br></blockquote><blockquote t=
ype=3D"cite"><a
href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br></bl=
ockquote><blockquote type=3D"cite"><a
href=3D"http://lists.ovirt.org/mailma=
n/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users&l...
ockquote><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_CA7FD904222046069C7DD2BD9EC225B4sluse_--