--=_3724be82c6c86ae6590b11a116c8d205
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,=0A In fact it is a workaround coming from you I found in the b=
ugtrack that helped me : =0A=0Achmod 644 /var/cache/vdsm/schema/=
* =0A=0AAs the only thing looking like a weird error I have found was=
: =0A=0AERROR Exception raised#012Traceback (most recent call last)=
:#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, i=
n run#012 serve_clients(log)#012 File "/usr/lib/python2.7/site-packages/=
vdsm/vdsmd.py", line 103, in serve_clients#012 cif =3D clientIF.getInsta=
nce(irs, log, scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm=
/clientIF.py", line 250, in getInstance#012 cls._instance =3D clientIF(i=
rs, log, scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clie=
ntIF.py", line 144, in __init__#012 self._prepareJSONRPCServer()#012 Fil=
e "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in _pre=
pareJSONRPCServer#012 bridge =3D Bridge.DynamicBridge()#012 File "/usr/l=
ib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__#012=
self._schema =3D vdsmapi.Schema(paths, api_strict_mode)#012 File "/usr/=
lib/python2.7/site-packages/vdsm/api/vdsmapi.py", line 217, in __init__#=
012 raise SchemaNotFound("Unable to find API schema file")#012SchemaNotF=
ound: Unable to find API schema file So I can go one step futher, bu=
t the installation still fails in the end, with file permission problems=
in datastore files (i chose NFS 4.1). I can't indeed touch or get infor=
mations even logged in root. But I can create and delete files in the sa=
me directory. Is there a workaround for this too ? Regards =0A=0A Le=
19-Mar-2018 17:48:41 +0100, stirabos(a)redhat.com a crit: =0A=0A On=
Mon, Mar 19, 2018 at 4:56 PM, wrote:=0A=0A Hi,=0A I wanted to rebuil=
d a new hosted engine setup, as the old was corrupted (too much violent=
poweroff !) So the server was not reinstalled, I just runned "ovirt-h=
osted-engine-cleanup". The network setup generated by vdsm seems to be s=
till in place, so I haven't changed anything there. Then I decided to=
update the packages to the latest versions avaible, rebooted the server=
and run "ovirt-hosted-engine-setup". But the process never succeeds,=
as I get an error after a long time spent in "[ INFO ] TASK [Wait for t=
he host to be up]" [ ERROR ] fatal: [localhost]: FAILED! =3D> {"ansi=
ble_facts": {"ovirt_hosts": [{"address":
"pfm-srv-virt-1.pfm-ad.pfm.loc"=
, "affinity_labels": [], "auto_numa_status": "unknown",
"certificate": {=
"organization": "pfm.loc", "subject":
"O=3Dpfm.loc,CN=3Dpfm-srv-virt-1.p=
fm-ad.pfm.loc"}, "cluster": {"href":
"/ovirt-engine/api/clusters/d6c9358=
e-2b8b-11e8-bc86-00163e152701", "id":
"d6c9358e-2b8b-11e8-bc86-00163e152=
701"}, "comment": "", "cpu": {"speed": 0.0,
"topology": {}}, "device_pas=
sthrough": {"enabled": false}, "devices": [],
"external_network_provider=
_configurations": [], "external_status": "ok",
"hardware_information": {=
"supported_rng_sources": []}, "hooks": [], "href":
"/ovirt-engine/api/ho=
sts/542566c4-fc85-4398-9402-10c8adaa9554", "id":
"542566c4-fc85-4398-940=
2-10c8adaa9554", "katello_errata": [], "kdump_status":
"unknown", "ksm":=
{"enabled": false}, "max_scheduling_memory": 0, "memory":
0, "name": "p=
fm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [], "nics":
[], "n=
uma_nodes": [], "numa_supported": false, "os":
{"custom_kernel_cmdline":=
""}, "permissions": [], "port": 54321,
"power_management": {"automatic_=
pm_enabled": true, "enabled": false, "kdump_detection": true,
"pm_proxie=
s": []}, "protocol": "stomp", "se_linux": {},
"spm": {"priority": 5, "st=
atus": "none"}, "ssh": {"fingerprint":
"SHA256:J75BVLFnmGBGFosXzaxCRnuIY=
cOc75HUBQZ4pOKpDg8", "port": 22}, "statistics": [],
"status": "non_respo=
nsive", "storage_connection_extensions": [], "summary":
{"total": 0}, "t=
ags": [], "transparent_huge_pages": {"enabled": false},
"type": "rhel",=
"unmanaged_networks": [], "update_available": false}]},
"attempts": 120=
, "changed": false}=0A[ INFO ] TASK [Remove local vm dir]=0A[ INFO ] TAS=
K [Notify the user about a failure]=0A[ ERROR ] fatal: [localhost]: FAIL=
ED! =3D> {"changed": false, "msg": "The system may not be
provisioned ac=
cording to the playbook results: please check the logs for the issue, fi=
x accordingly or re-deploy from scratch.n"} I made another try with=
Cockpit, it is the same. Am I doing something wrong or is there a bug=
? I suppose that your host was condifured with DHCP, if so it's this=
one:
https://bugzilla.redhat.com/1549642 The fix will come with 4.2.2=
. =0A Regards =0A=0A--------------------------------------------=
-----------------------------------------------------=0AFreeMail powered=
by mail.fr =0A_______________________________________________=0A Users=
mailing list=0AUsers@ovirt.org=0Ahttp://lists.ovirt.org/mailman/listinf=
o/users=0A=0A-----------------------------------------------------------=
--------------------------------------=0AFreeMail powered by mail.fr
--=_3724be82c6c86ae6590b11a116c8d205
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<div><span style=3D"font-family: arial, helvetica,sans-serif; font-size:=
10pt; color: #000000;"> </span></div>=0A<div><span
style=3D"font-f=
amily: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;">H=
i,<br
/></span></div>=0A<div> </div>=0A<div> </div>=0A<div>&nb=
sp;</div>=0A<div><span style=3D"font-family: arial, helvetica,
sans-seri=
f; font-size: 10pt; color: #000000;">In fact it is a workaround coming f=
rom you I found in the bugtrack that helped me :
</span></div>=0A<div>&n=
bsp;</div>=0A<div> </div>=0A<div> </div>=0A<div>=0A<pre
id=3D"=
comment_text_8" class=3D"bz_comment_text bz_wrap_comment_text">chmod
644=
/var/cache/vdsm/schema/*</pre>=0A</div>=0A<div> </div>=0A<p>As
the=
only thing looking like a weird error I have found was :</p>=0A<div>&nb=
sp;</div>=0A<div> </div>=0A<p>ERROR Exception
raised#012Traceback (=
most recent call last):#012 File "/usr/lib/python2.7/site-packages=
/vdsm/vdsmd.py", line 156, in run#012
serve_clients(lo=
g)#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line=
103, in serve_clients#012 cif =3D clientIF.getInstanc=
e(irs, log, scheduler)#012 File "/usr/lib/python2.7/site-packages/=
vdsm/clientIF.py", line 250, in getInstance#012
cls._i=
nstance =3D clientIF(irs, log, scheduler)#012 File "/usr/lib/pytho=
n2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012 &nb=
sp; self._prepareJSONRPCServer()#012 File "/usr/lib/python2.=
7/site-packages/vdsm/clientIF.py", line 307, in _prepareJSONRPCServer#01=
2 bridge =3D Bridge.DynamicBridge()#012 File
"/u=
sr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__=
#012 self._schema =3D vdsmapi.Schema(paths, api_strict=
_mode)#012 File "/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi=
.py", line 217, in __init__#012 raise
SchemaNotFound("=
Unable to find API schema file")#012SchemaNotFound: Unable to find API s=
chema
file</p>=0A<div> </div>=0A<div> </div>=0A<div>So
I can g=
o one step futher, but the installation still fails in the end, with fil=
e permission problems in datastore files (i chose NFS 4.1). I can't inde=
ed touch or get informations even logged in root. But I can create and d=
elete files in the same
directory.</div>=0A<div> </div>=0A<div>Is t=
here a workaround for this too
?</div>=0A<div> </div>=0A<div>Regard=
s</div>=0A<p><br /><br /> Le 19-Mar-2018 17:48:41 +0100,
stirabos@redhat=
.com a
écrit:</p>=0A<div> </div>=0A<div> </div>=0A<div>=
</div>=0A<blockquote style=3D"margin-left: 0; padding-left: 5px;
b=
order-left: 2px solid #000080;">=0A<div dir=3D"ltr"><br
/>=0A<div class=
=3D"gmail_extra"><br />=0A<div class=3D"gmail_quote">On
Mon, Mar 19, 201=
8 at 4:56 PM, <span dir=3D"ltr"><<a
href=3D"mailto:spfma.tech@e.mail.=
fr" target=3D"_blank" rel=3D"noreferrer
noopener">spfma.tech(a)e.mail.fr</=
a>></span> wrote:<br />=0A<blockquote
class=3D"gmail_quote" style=3D"=
margin: 0px 0px 0px .8ex; border-left: 1px solid #cccccc; padding-left:=
1ex;">=0A<div><span style=3D"font-family: arial, helvetica,
sans-serif;=
font-size: 10pt; color: #000000;">Hi,<br
/></span></div>=0A<div> <=
/div>=0A<div><span style=3D"font-family: arial, helvetica, sans-serif;
f=
ont-size: 10pt; color: #000000;">I wanted to rebuild a new hosted engine=
setup, as the old was corrupted (too much violent poweroff !)</span></d=
iv>=0A<div> </div>=0A<div><span
style=3D"font-family: arial, helvet=
ica, sans-serif; font-size: 10pt; color: #000000;">So the server was not=
reinstalled, I just runned "ovirt-hosted-engine-cleanup". The network s=
etup generated by vdsm seems to be still in place, so I haven't changed=
anything
there.</span></div>=0A<div> </div>=0A<div><span
style=3D"=
font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #0000=
00;">Then I decided to update the packages to the latest versions avaibl=
e, rebooted the server and run
"ovirt-hosted-engine-setup".</span></div>=
=0A<div> </div>=0A<div><span style=3D"font-family:
arial, helvetica=
, sans-serif; font-size: 10pt; color: #000000;">But the process never su=
cceeds, as I get an error after a long time spent in "<span class=3D"gma=
il-m_-3726384503116450878ansible-output-line">[ INFO ] TASK [Wait for th=
e host to be
up]</span>"</span></div>=0A<div> </div>=0A<div> <=
/div>=0A<div><span style=3D"font-family: arial, helvetica, sans-serif;
f=
ont-size: 10pt; color: #000000;"><span class=3D"gmail-m_-372638450311645=
0878ansible-output-line">[ ERROR ] fatal: [localhost]: FAILED! =3D> {=
"ansible_facts": {"ovirt_hosts": [{"address":
"pfm-srv-virt-1.pfm-ad.pfm=
.loc", "affinity_labels": [], "auto_numa_status":
"unknown", "certificat=
e": {"organization": "pfm.loc", "subject":
"O=3Dpfm.loc,CN=3Dpfm-srv-vir=
t-1.pfm-ad.pfm.loc"}, "cluster": {"href":
"/ovirt-engine/api/clusters/d6=
c9358e-2b8b-11e8-bc86-00163e152701", "id":
"d6c9358e-2b8b-11e8-bc86-0016=
3e152701"}, "comment": "", "cpu": {"speed":
0.0, "topology": {}}, "devic=
e_passthrough": {"enabled": false}, "devices": [],
"external_network_pro=
vider_configurations": [], "external_status": "ok",
"hardware_informatio=
n": {"supported_rng_sources": []}, "hooks": [], "href":
"/ovirt-engine/a=
pi/hosts/542566c4-fc85-4398-9402-10c8adaa9554", "id":
"542566c4-fc85-439=
8-9402-10c8adaa9554", "katello_errata": [], "kdump_status":
"unknown", "=
ksm": {"enabled": false}, "max_scheduling_memory": 0,
"memory": 0, "name=
": "pfm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [],
"nics": [=
], "numa_nodes": [], "numa_supported": false, "os":
{"custom_kernel_cmdl=
ine": ""}, "permissions": [], "port": 54321,
"power_management": {"autom=
atic_pm_enabled": true, "enabled": false, "kdump_detection":
true, "pm_p=
roxies": []}, "protocol": "stomp", "se_linux": {},
"spm": {"priority": 5=
, "status": "none"}, "ssh": {"fingerprint":
"SHA256:J75BVLFnmGBGFosXzaxC=
RnuIYcOc75HUBQZ4pOKpDg8", "port": 22}, "statistics": [],
"status": "non_=
responsive", "storage_connection_extensions": [], "summary":
{"total": 0=
}, "tags": [], "transparent_huge_pages": {"enabled": false},
"type": "rh=
el", "unmanaged_networks": [], "update_available": false}]},
"attempts":=
120, "changed": false}<br /></span><span
class=3D"gmail-m_-372638450311=
6450878ansible-output-line">[ INFO ] TASK [Remove local vm dir]<br
/></s=
pan><span class=3D"gmail-m_-3726384503116450878ansible-output-line">[
IN=
FO ] TASK [Notify the user about a failure]<br /></span><span
class=3D"g=
mail-m_-3726384503116450878ansible-output-line">[ ERROR ] fatal: [localh=
ost]: FAILED! =3D> {"changed": false, "msg": "The system
may not be p=
rovisioned according to the playbook results: please check the logs for=
the issue, fix accordingly or re-deploy from
scratch.n"}</span></span><=
/div>=0A<div> </div>=0A<div> </div>=0A<div><span
style=3D"font=
-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"=
I made another try with Cockpit, it is the
same.</span></div>=0A<div>&n=
bsp;</div>=0A<div><span style=3D"font-family: arial, helvetica,
sans-ser=
if; font-size: 10pt; color: #000000;">Am I doing something wrong or is t=
here a bug
?</span></div>=0A</blockquote>=0A<div> </div>=0A<div>I
s=
uppose that your host was condifured with DHCP, if so it's this one:</di=
v>=0A<div><a
href=3D"https://bugzilla.redhat.com/1549642"
target=3D"_bla=
nk" rel=3D"noreferrer
noopener">https://bugzilla.redhat.com/1549642</a><=
/div>=0A<div> </div>=0A<div>The fix will come with
4.2.2.</div>=0A<=
div> </div>=0A<blockquote class=3D"gmail_quote"
style=3D"margin: 0p=
x 0px 0px .8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">=0A<=
div> </div>=0A<div><span style=3D"font-family: arial,
helvetica, sa=
ns-serif; font-size: 10pt; color:
#000000;">Regards</span></div>=0A<div>=
</div>=0A<div> </div>=0A<br /><hr
/>FreeMail powered by <a hr=
ef=3D"https://mail.fr" target=3D"_blank" rel=3D"noreferrer
noopener">mai=
l.fr</a> <br />_______________________________________________<br />
Use=
rs mailing list<br /><a href=3D"mailto:Users@ovirt.org"
target=3D"_blank=
" rel=3D"noreferrer noopener">Users(a)ovirt.org</a><br /><a
href=3D"http:/=
/lists.ovirt.org/mailman/listinfo/users" target=3D"_blank"
rel=3D"norefe=
rrer
noopener">http://lists.ovirt.org/mailman/listinfo/users</a>...
/><b=
r
/></blockquote>=0A</div>=0A</div>=0A</div>=0A</blockquote>=0A
=
<br/><hr>FreeMail powered by <a
href=3D"https://mail.fr" tar=
get=3D"_blank">mail.fr</a>=0A
--=_3724be82c6c86ae6590b11a116c8d205--