Clean up Hosted Engine entry in oVirt console

--_000_87E152BF0D55124F8311754D69D209F67BEAB170MSEX02FRA9corps_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello oVirt Forum members: We are currently using oVirt Version 3.5.0.1-1.el6. We tried to migrate to= use hosted-engine model. Somehow the hosted-engine got created, but the migration failed. So I ran = engine-setup to remove the installation. However, I am now leave with a VM= entry in our oVirt console called HostedEngine. Tried to remove the entry= by clicking on the Remove button on the console gives a message: Error while executing action: HostedEngine: Cannot remove VM. This VM is not managed by the engine. As far as I can tell, all files that were touched by the hosted-engine are = reverted back to before install state. So I am not sure where that HostedE= ngine entry is coming from. Is that a record in the database that I need t= o clean up manually from the db? Any advice is appreciated. Thanks, Eric --_000_87E152BF0D55124F8311754D69D209F67BEAB170MSEX02FRA9corps_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style id=3D"owaParaStyle"><!-- /* 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:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @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=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Hello oVirt Forum members= :<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">We are currently using oV= irt Version 3.5.0.1-1.el6. We tried to migrate to use hosted-engine m= odel. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Somehow the hosted-engine= got created, but the migration failed. So I ran engine-setup to remo= ve the installation. However, I am now leave with a VM entry in our oVirt console called HostedEngine. Tried to remove the entry = by clicking on the Remove button on the console gives a message: <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Error while executing act= ion: <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">HostedEngine:<o:p></o:p><= /span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Cannot remove VM. This VM= is not managed by the engine. <o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">As far as I can tell, all= files that were touched by the hosted-engine are reverted back to before i= nstall state. So I am not sure where that HostedEngine entry is coming from. Is that a record in the database that I need t= o clean up manually from the db?<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Any advice is appreciated= .<o:p></o:p></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D"><o:p> </o:p></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span>= </p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1F497D">Eric<o:p></o:p></span></p=
</div> </body> </html> --_000_87E152BF0D55124F8311754D69D209F67BEAB170MSEX02FRA9corps_--

----- Original Message -----
From: "Eric Wong" <Eric.Wong@solvians.com> To: users@ovirt.org Sent: Wednesday, April 15, 2015 10:41:08 AM Subject: [ovirt-users] Clean up Hosted Engine entry in oVirt console
Hello oVirt Forum members:
We are currently using oVirt Version 3.5.0.1-1.el6. We tried to migrate to use hosted-engine model.
Somehow the hosted-engine got created, but the migration failed.
Please give more details, it's not completely clear what you did. Let's define: oldenginemachine - the machine where you ran the engine before migration attempt hostedenginehost - the host where you tried to run hosted-engine --deploy newenginemachine - the vm created by 'hosted-engine --deploy' where you were supposed to setup an engine (by migrating data from oldenginemachine) Was hostedenginehost registered in oldenginemachine before? Or is it a new host? Was the engine there down while you tried migrating? Is there a chance that it was up, and 'hosted-engine --deploy' connected to it and tried doing stuff there?
So I ran engine-setup to remove the installation.
Where?
However, I am now leave with a VM entry in our oVirt console called HostedEngine.
You mean, in oldenginemachine?
Tried to remove the entry by clicking on the Remove button on the console gives a message:
Error while executing action:
HostedEngine:
Cannot remove VM. This VM is not managed by the engine.
Indeed.
As far as I can tell, all files that were touched by the hosted-engine are reverted back to before install state. So I am not sure where that HostedEngine entry is coming from. Is that a record in the database that I need to clean up manually from the db?
Indeed. Not sure exactly how, but first let's be sure what the problem is. Best, -- Didi

Didi: Thanks for taking the time. Let me try to provide more details. I added my comments below your questions. Many Thanks, Eric -----Original Message----- From: Yedidyah Bar David [mailto:didi@redhat.com] Sent: Wednesday, April 15, 2015 4:00 PM To: Eric Wong Cc: users@ovirt.org Subject: Re: [ovirt-users] Clean up Hosted Engine entry in oVirt console ----- Original Message -----
From: "Eric Wong" <Eric.Wong@solvians.com> To: users@ovirt.org Sent: Wednesday, April 15, 2015 10:41:08 AM Subject: [ovirt-users] Clean up Hosted Engine entry in oVirt console
Hello oVirt Forum members:
We are currently using oVirt Version 3.5.0.1-1.el6. We tried to migrate to use hosted-engine model.
Somehow the hosted-engine got created, but the migration failed.
Please give more details, it's not completely clear what you did. Let's define: oldenginemachine - the machine where you ran the engine before migration attempt Our oVirt environment is configured as followed: - 2 racks. Each rack has 10 blades with SAN storage. - the 2 racks cannot access the SAN storage of the other rack. So the X side blades can only reach X side SAN. D side blades can only see D side SAN. - Application VMs are running on both side of the rack. So in case one side of the rack completely failed, we still have the other side providing the application services. - Our oVirt management environment is also configured the same way. X side & D side has their only ovirt-engine. "ovirt-engine" is running on CentOS VMs. Ovirt-engine on each side can see the blades and VMs on both sides. hostedenginehost - the host where you tried to run hosted-engine --deploy We tried to deploy hosted-engine on one of the blades on D side. We used this doc as our guide. http://www.ovirt.org/Migrate_to_Hosted_Engine newenginemachine - the vm created by 'hosted-engine --deploy' where you were supposed to setup an engine (by migrating data from oldenginemachine) On that D side blade, we got to the end of Part One of that document in which the newenginemachine seem to be created but I can never connect to it with vnc or remote-viewer (no firewall blocking). The hosted-engine is configured to use iSCSI storage instead of NFS. Was hostedenginehost registered in oldenginemachine before? Or is it a new host? I think the installation process automatically registered the hostedenginehost in the oldenginemachine during the Part One of the setup process. It was not there before. Was the engine there down while you tried migrating? The "engine" you talked about here. Is that the new or old one? The new hostedenginehost cannot be started. The oldenginemachine still runs. When I tried to started the HostedEngine (hostedenginehost) from the ovirt console, it tells me cannot be done because it is not managed by this ovirt host. Is there a chance that it was up, and 'hosted-engine --deploy' connected to it and tried doing stuff there?
So I ran engine-setup to remove the installation.
Where? I ran that on the blade where I initially ran the hosted-engine --deploy
However, I am now leave with a VM entry in our oVirt console called HostedEngine.
You mean, in oldenginemachine? That is correct. From the GUI provided by the oldenginemachine, I can see the entry HostedEngine.
Tried to remove the entry by clicking on the Remove button on the console gives a message:
Error while executing action:
HostedEngine:
Cannot remove VM. This VM is not managed by the engine.
Indeed.
As far as I can tell, all files that were touched by the hosted-engine are reverted back to before install state. So I am not sure where that HostedEngine entry is coming from. Is that a record in the database that I need to clean up manually from the db?
Indeed. Not sure exactly how, but first let's be sure what the problem is. Best, -- Didi
participants (2)
-
Eric Wong
-
Yedidyah Bar David