
This is a multi-part message in MIME format. --------------06A53C81770AD4B1CFF82197 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, You just need to patch ovf2VmParams.py the other 3 files are just for testing purpose. Don't forget to restart *ovirt-ha-agent* service before starting HE VM. Rgds, Arsène On 04/20/2017 07:19 PM, Gianluca Cecchi wrote:
On Wed, Apr 19, 2017 at 4:26 PM, Arsène Gschwind <arsene.gschwind@unibas.ch <mailto:arsene.gschwind@unibas.ch>> wrote:
I did start the hosted engine on the host I've applied the patch but I've forgot to restart ovirt-ha-agent, and now it works.
Great job, thanks
Best regards, Arsène
Hello, I have the same on my single host hosted engine environment, after passing from 4.1.0 to 4.1.1 I tried to change the file as in gerrit entry
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py
[root@ractor ovf]# diff ovf2VmParams.py ovf2VmParams.py.bck 164,168d163 < def buildGraphics(device): < graphics = buildDevice(device) < return graphics < < 257,258d251 < elif t == 'graphics': < devices.append(buildGraphics(device))
I don't find in my environment the other 3 files ovf2VmParams_test.py ovf_test.xml ovf_test_max_vcpu.xml
Then I set global maintenance restart ovirt-guest-agent shutdown engine vm exit global maintenance the engine vm starts up and I'm able to connect, but its console still grey....
-- *Arsène Gschwind* Fa. Sapify AG im Auftrag der Universität Basel IT Services Klingelbergstr. 70 | CH-4056 Basel | Switzerland Tel. +41 79 449 25 63 | http://its.unibas.ch <http://its.unibas.ch/> ITS-ServiceDesk: support-its@unibas.ch | +41 61 267 14 11 --------------06A53C81770AD4B1CFF82197 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>Hi,</p> <p>You just need to patch ovf2VmParams.py the other 3 files are just for testing purpose.<br> Don't forget to restart <b>ovirt-ha-agent</b> service before starting HE VM.</p> <p>Rgds,<br> Arsène<br> </p> <br> <div class="moz-cite-prefix">On 04/20/2017 07:19 PM, Gianluca Cecchi wrote:<br> </div> <blockquote type="cite" cite="mid:CAG2kNCz7Z=QYs036LBZw=ivfRKyt+aaqtottpqCGHX0u+wJayA@mail.gmail.com"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <div dir="ltr"> <div class="gmail_extra"> <div class="gmail_quote">On Wed, Apr 19, 2017 at 4:26 PM, Arsène Gschwind <span dir="ltr"><<a href="mailto:arsene.gschwind@unibas.ch" target="_blank" moz-do-not-send="true">arsene.gschwind@unibas.ch</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <div bgcolor="#FFFFFF"> <p>I did start the hosted engine on the host I've applied the patch but I've forgot to restart ovirt-ha-agent, and now it works.</p> <p>Great job, thanks</p> <p>Best regards,<br> Arsène<br> </p> <div> <div class="gmail-h5"><br> </div> </div> </div> </blockquote> <div><br> </div> <div>Hello,</div> <div>I have the same on my single host hosted engine environment, after passing from 4.1.0 to 4.1.1</div> <div>I tried to change the file as in gerrit entry</div> <div><br> </div> <div>/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py<br> </div> <div><br> </div> <div> <div>[root@ractor ovf]# diff ovf2VmParams.py ovf2VmParams.py.bck </div> <div>164,168d163</div> <div>< def buildGraphics(device):</div> <div>< graphics = buildDevice(device)</div> <div>< return graphics</div> <div>< </div> <div>< </div> <div>257,258d251</div> <div>< elif t == 'graphics':</div> <div>< devices.append(buildGraphics(device))</div> </div> <div><br> </div> <div>I don't find in my environment the other 3 files</div> <div>ovf2VmParams_test.py<br> </div> <div>ovf_test.xml<br> </div> <div>ovf_test_max_vcpu.xml<br> </div> <div><br> </div> <div>Then I </div> <div>set global maintenance</div> <div>restart ovirt-guest-agent</div> <div>shutdown engine vm</div> <div>exit global maintenance</div> <div>the engine vm starts up and I'm able to connect, but its console still grey....</div> <div><br> </div> </div> </div> </div> </blockquote> <br> <div class="moz-signature">-- <br> <p class="western" style="margin-bottom: 0in; line-height: 150%"> <font color="#000000"><font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> <b>Arsène Gschwind</b> </font> </font> <font color="#000000"> <font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> </font> </font> </font> <font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> </font> </font> <font face="Tahoma, serif"> </font> <font color="#000000"> <font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> <br> </font> </font> </font> <font color="#7f7f7f"> <font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> Fa. Sapify AG im Auftrag der Universität Basel<br> IT Services<br> Klingelbergstr. 70 | CH-4056 Basel | Switzerland<br> Tel. +41 79 449 25 63 | </font> </font> </font> <a href="http://its.unibas.ch/"> <font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> http://its.unibas.ch </font> </font> </a><br> <font color="#7f7f7f"> <font face="Tahoma, serif"> <font style="font-size: 8pt" size="1"> ITS-ServiceDesk: <a class="moz-txt-link-abbreviated" href="mailto:support-its@unibas.ch">support-its@unibas.ch</a> | +41 61 267 14 11 </font> </font> </font> </font></p> <font color="#000000"> </font></div> </body> </html> --------------06A53C81770AD4B1CFF82197--