This is a multi-part message in MIME format.
--------------070307060104020506080909
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
On 28-10-2017 23:25, Chas Ecomm wrote:
My issue:
Ive inherited a 4.1 hosted-engine setup. This is for a non-profit, so
the previous consultant did what she could to save capital expense by
using older gear and oVirt rather than VMware/Hyper-V and newer
equipment. For the most part it has worked quite well as I understand
it. This particular setup has gone from 3.5 with a standalone engine
to 4.1 with a hosted engine, in case that matters.
The VMs hosted on the 2 clusters associated with this engine are
currently working fine, but I am trying to get into the hosted-engine
VM, and either there was a problem with the root password during setup
and the hosted-engine-setup script didnt catch it or Ive been given
a bad password. The previous admin didnt setup any alternative
users, which is a major no-no in my book, and so Im trying to do that
but I cant login to the VM. I can log into the portal and manage
the hosts, storage, VMs, etc., just not the HEVM. As I understand it,
even if I could set aside my need for alternate users, when it comes
time to upgrade I will need access to the HEVM, so I have to solve
this at some point.
I assume you checked whether you have sudo rights with the standard
user? If not you could also try to add that user to the sudo admin group
and that way gain root rights. Both ways you need to get to boot the HE
from an alternative boot device.
You could use qemu to boot the HE from a rescue CD and reset the
password or add your user to the right sudo group.
I just tried that on a copy of my HE and can boot my HE with the
following command:
qemu-system-x86_64.exe -m 1024.000 -name HE -hda t:\HE.qcow
Making a copy made the image non-sparse but I didn't try too hard to fix
this since I'm trying this out on a W10 PC :-)
Regards,
Joop
--------------070307060104020506080909
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 28-10-2017 23:25, Chas Ecomm
wrote:<br>
</div>
<blockquote cite="mid:019f01d35033$652e6590$2f8b30b0$@speakfree.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">My issue:<o:p></o:p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Ive inherited a 4.1 hosted-engine setup.
This is for a non-profit, so the previous consultant did what
she could to save capital expense by using older gear and
oVirt rather than VMware/Hyper-V and newer equipment. For the
most part it has worked quite well as I understand it. This
particular setup has gone from 3.5 with a standalone engine to
4.1 with a hosted engine, in case that
matters.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The VMs hosted on the 2 clusters associated
with this engine are currently working fine, but I am trying
to get into the hosted-engine VM, and either there was a
problem with the root password during setup and the
hosted-engine-setup script didnt catch it or Ive been given
a bad password. The previous admin didnt setup any
alternative users, which is a major no-no in my book, and so
Im trying to do that but I cant login to the VM. I can
log into the portal and manage the hosts, storage, VMs, etc.,
just not the HEVM. As I understand it, even if I could set
aside my need for alternate users, when it comes time to
upgrade I will need access to the HEVM, so I have to solve
this at some point.<o:p></o:p></p>
<br>
</div>
</blockquote>
I assume you checked whether you have sudo rights with the standard
user? If not you could also try to add that user to the sudo admin
group and that way gain root rights. Both ways you need to get to
boot the HE from an alternative boot device.<br>
You could use qemu to boot the HE from a rescue CD and reset the
password or add your user to the right sudo group.<br>
I just tried that on a copy of my HE and can boot my HE with the
following command:<br>
qemu-system-x86_64.exe -m 1024.000 -name HE -hda t:\HE.qcow<br>
Making a copy made the image non-sparse but I didn't try too hard to
fix this since I'm trying this out on a W10 PC :-)<br>
<br>
Regards,<br>
<br>
Joop<br>
<br>
<br>
</body>
</html>
--------------070307060104020506080909--