
--=_b5ae4dd5edb7f3efcaaf1d71e197ef06 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hello I got a question regarding the redundancy of oVirt Engine; where we can control everything through the GUI; aka the vCenter. Initially; my setup was on a single server; installed following the doc AllinOne. Then after; i figured out that i would need redundancy; so i installed a second node. my question is about the vCenter; is it possible to start it on the second node when the first node is down or in maintenance ? how to ensure it is replicated ? i see there is a postgres DB on first node; but not on second node. I'm a bit worried. So, is it possible to have a dormant/slave ovirt ENGINE (oVirt web GUI ) ; and if yes, could you point me to the related documentation as i didn't find it. Maybe, it is possible to run it in a VM ? is it a good idea ? and is it still possible to migrate ? Thanks a lot; Regards Nico --=_b5ae4dd5edb7f3efcaaf1d71e197ef06 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Hello</p> <p>I got a question regarding the redundancy of oVirt Engine; where we can = control everything through the GUI; aka the vCenter.</p> <p>Initially; my setup was on a single server; installed following the doc = AllinOne.</p> <p>Then after; i figured out that i would need redundancy; so i installed a= second node.</p> <p>my question is about the vCenter; is it possible to start it on the seco= nd node when the first node is down or in maintenance ? how to ensure it is= replicated ? i see there is a postgres DB on first node; but not on second= node. I'm a bit worried.</p> <p>So, is it possible to have a dormant/slave ovirt ENGINE (oVirt web = GUI ) ; and if yes, could you point me to the related documentation as i di= dn't find it.</p> <p>Maybe, it is possible to run it in a VM ? is it a good idea ? and is it = still possible to migrate ?</p> <p>Thanks a lot;</p> <p>Regards</p> <p>Nico</p> <p> </p> <div> </div> </body></html> --=_b5ae4dd5edb7f3efcaaf1d71e197ef06--

On 12/10/2015 1:56 AM, Nico wrote:
Hello
I got a question regarding the redundancy of oVirt Engine; where we can control everything through the GUI; aka the vCenter.
Initially; my setup was on a single server; installed following the doc AllinOne.
Then after; i figured out that i would need redundancy; so i installed a second node.
my question is about the vCenter; is it possible to start it on the second node when the first node is down or in maintenance ? how to ensure it is replicated ? i see there is a postgres DB on first node; but not on second node. I'm a bit worried.
So, is it possible to have a dormant/slave ovirt ENGINE (oVirt web GUI ) ; and if yes, could you point me to the related documentation as i didn't find it.
Maybe, it is possible to run it in a VM ? is it a good idea ? and is it still possible to migrate ?
The oVirt hosted-engine will do what you want. Have a read of the below. http://www.ovirt.org/Migrate_to_Hosted_Engine --julian

--=_92214d634bc90f92fe9aef8fcc68201b Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Le 2015-10-12 05:37, Julian De Marchi a écrit :
The oVirt hosted-engine will do what you want. Have a read of the below.
http://www.ovirt.org/Migrate_to_Hosted_Engine [1]
--julian _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [2]
--julian</span><br /> _______________________________________________<br /= <span style=3D"white-space: nowrap;">Users mailing list</span><= br /> <span style=3D"white-space: nowrap;"><a href=3D"mailto:Users@ovirt.or= g">Users@ovirt.org</a></span><br /> <span style=3D"white-space: nowrap;"><a=
Thanks for your quick reply. I m going to follow the step described in this page. The first action is to run # hosted-engine --deploy INFO ] Stage: Initializing Continuing will configure this host for serving as hypervisor and create a VM where oVirt Engine will be installed afterwards. Are you sure you want to continue? (Yes, No)[Yes]: In my case; i've already an existing install on this node (AllinOne); will it be ok ? nothing will be break or overriden ?. Thanks Regards Nico Links: ------ [1] http://www.ovirt.org/Migrate_to_Hosted_Engine [2] http://lists.ovirt.org/mailman/listinfo/users --=_92214d634bc90f92fe9aef8fcc68201b Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Le 2015-10-12 05:37, Julian De Marchi a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= <span style=3D"white-space: nowrap;"></span><br /> <span style=3D"white-spa= ce: nowrap;">The oVirt hosted-engine will do what&= nbsp;you want. Have a read of the below= =2E</span><br /> <br /> <span style=3D"white-space: nowrap;"><a href=3D"htt= p://www.ovirt.org/Migrate_to_Hosted_Engine">http://www.ovirt.org/Migrate_to= _Hosted_Engine</a></span><br /> <br /> <span style=3D"white-space: nowrap;"= href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt= =2Eorg/mailman/listinfo/users</a></span></div> </blockquote> <p> </p> <p class=3D"p1"><span class=3D"s1"></span><span class=3D"s1">Thanks for you= r quick reply.</span></p> <p class=3D"p1"><span class=3D"s1">I m going to follow the step described i= n this page.</span></p> <p class=3D"p1"><span class=3D"s1">The first action is to run </span><= /p> <p class=3D"p1"><span class=3D"s2"># hosted-engine --deploy</span></p> <p class=3D"p3"><span class=3D"s1"> INFO<span class=3D"Apple-converted-spac= e"> </span>] Stage: Initializing</span></p> <p class=3D"p3"><span class=3D"s1"><span class=3D"Apple-converted-space">&n= bsp; </span>Continuing will configure this host= for serving as hypervisor and create a VM where oVirt Engine will be insta= lled afterwards.</span></p> <p class=3D"p3"><span class=3D"s1"><span class=3D"Apple-converted-space">&n= bsp; </span>Are you sure you want to continue? = (Yes, No)[Yes]:</span></p> <p class=3D"p3"><span class=3D"s1">In my case; i’ve already an existi= ng install on this node (AllinOne); will it be ok ? nothing will be break o= r overriden ?.</span></p> <p class=3D"p2"> </p> <p class=3D"p1"><span class=3D"s1">Thanks</span></p> <p class=3D"p1">Regards</p> <p class=3D"p1">Nico</p> <p class=3D"p1"> </p> <div> </div> </body></html> --=_92214d634bc90f92fe9aef8fcc68201b--

On 12 October 2015 at 09:52, Nico <gluster@distran.org> wrote:
Le 2015-10-12 05:37, Julian De Marchi a écrit :
The oVirt hosted-engine will do what you want. Have a read of the below.
http://www.ovirt.org/Migrate_to_Hosted_Engine
--julian _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Thanks for your quick reply.
I m going to follow the step described in this page.
The first action is to run
# hosted-engine --deploy
INFO ] Stage: Initializing
Continuing will configure this host for serving as hypervisor and create a VM where oVirt Engine will be installed afterwards.
Are you sure you want to continue? (Yes, No)[Yes]:
In my case; i’ve already an existing install on this node (AllinOne); will it be ok ? nothing will be break or overriden ?.
What that procedure describes is backing up an existing engine, installing a new one and then restoring the backed up data into it. This was probably written to describe migration from a stand-alone engine host, not an AllInOne. Theoretically this should work for your setup, but I am not sure if the new hosted engine will be able to properly use the AllInOne node as a hypervisor (it would probably depend on the copied configuration containing enough details to allow the engine to connect to it over the network. you will probably at the very last have to shut down the existing engine before starting up the hosted engine) I would suggest doing as many backups as you can before starting, and performing the H.E. setup on a host that wasn't used by the existing engine, that way if it fails you can just shut it down and bring your old engine back up.
Thanks
Regards
Nico
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Barak Korren bkorren@redhat.com RHEV-CI Team

--=_4913ad754affa20e118f87876341a7d1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Le 2015-10-12 09:09, Barak Korren a écrit :
What that procedure describes is backing up an existing engine, installing a new one and then restoring the backed up data into it. This was probably written to describe migration from a stand-alone engine host, not an AllInOne. Theoretically this should work for your setup, but I am not sure if the new hosted engine will be able to properly use the AllInOne node as a hypervisor (it would probably depend on the copied configuration containing enough details to allow the engine to connect to it over the network. you will probably at the very last have to shut down the existing engine before starting up the hosted engine) I would suggest doing as many backups as you can before starting, and performing the H.E. setup on a host that wasn't used by the existing engine, that way if it fails you can just shut it down and bring your old engine back up.
I got a backup running at this moment, scping /gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third device. So, once done, i'll give a shot on the node2 which is running only VDSM as Host agent. Hope all will be fine ! --=_4913ad754affa20e118f87876341a7d1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Le 2015-10-12 09:09, Barak Korren a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace"> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><br /> <br /> What that procedure describes is backing= up an existing engine,<br /> installing a new one and then restoring the b= acked up data into it.<br /> This was probably written to describe migratio= n from a stand-alone<br /> engine host, not an AllInOne.<br /> Theoreticall= y this should work for your setup, but I am not sure if<br /> the new hoste= d engine will be able to properly use the AllInOne node<br /> as a hypervis= or (it would probably depend on the copied configuration<br /> containing e= nough details to allow the engine to connect to it over<br /> the network= =2E you will probably at the very last have to shut down the<br /> existing= engine before starting up the hosted engine)<br /> I would suggest doing a= s many backups as you can before starting, and<br /> performing the H.E. se= tup on a host that wasn't used by the existing<br /> engine, that way if it= fails you can just shut it down and bring your<br /> old engine back up.<b= r /> </blockquote> </div> </blockquote> <p>I got a backup running at this moment, scping /gluster/ovirt/d44ee4= b0-8d36-467a-9610-c682a618b698/images/ to a third device.</p> <p>So, once done, i'll give a shot on the node2 which is running only VDSM = as Host agent.</p> <p>Hope all will be fine !</p> </body></html> --=_4913ad754affa20e118f87876341a7d1--

--=_db229aee28533a0313434c3c9e197803 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Le 2015-10-12 09:17, Nico a écrit :
Le 2015-10-12 09:09, Barak Korren a écrit :
What that procedure describes is backing up an existing engine, installing a new one and then restoring the backed up data into it. This was probably written to describe migration from a stand-alone engine host, not an AllInOne. Theoretically this should work for your setup, but I am not sure if the new hosted engine will be able to properly use the AllInOne node as a hypervisor (it would probably depend on the copied configuration containing enough details to allow the engine to connect to it over the network. you will probably at the very last have to shut down the existing engine before starting up the hosted engine) I would suggest doing as many backups as you can before starting, and performing the H.E. setup on a host that wasn't used by the existing engine, that way if it fails you can just shut it down and bring your old engine back up.
I got a backup running at this moment, scping /gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third device. So, once done, i'll give a shot on the node2 which is running only VDSM as Host agent. Hope all will be fine ! Hi, My backups are done, i'm now processing the installation for having the engine in a VM but i got the following error at the first step: [root@devnix-virt-master02 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013090336-0upz5f.log Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== STORAGE CONFIGURATION ==-- During customization use CTRL-D to abort. [ ERROR ] The following storage pool has been found connected: 0ae7120a-430d-4534-9a7e-59c53fb2e804 [ ERROR ] Failed to execute stage 'Environment customization': Cannot setup Hosted Engine with connected storage pools [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013090355.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination There is no VM running at this moment on this hypervisor (node 2). The error suggests that the storage is still in use. [root@devnix-virt-master02 ~]# vdsClient -s 0 getConnectedStoragePoolsList 0ae7120a-430d-4534-9a7e-59c53fb2e804 Does that mean i must set this hypervisor (node 2) in MAINTENANCE in order to continue the steps described in http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Installation_Guide/Mi... [1] Thanks Regards Nico Links: ------ [1] http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Installation_Guide/Mi... --=_db229aee28533a0313434c3c9e197803 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Le 2015-10-12 09:17, Nico a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <p>Le 2015-10-12 09:09, Barak Korren a écrit :</p> <blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 --> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace;"=
<blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"><br /> <br /> What that procedure describes is backing up an existi= ng engine,<br /> installing a new one and then restoring the backed up data= into it.<br /> This was probably written to describe migration from a stan= d-alone<br /> engine host, not an AllInOne.<br /> Theoretically this should= work for your setup, but I am not sure if<br /> the new hosted engine will= be able to properly use the AllInOne node<br /> as a hypervisor (it would = probably depend on the copied configuration<br /> containing enough details= to allow the engine to connect to it over<br /> the network. you will prob= ably at the very last have to shut down the<br /> existing engine before st= arting up the hosted engine)<br /> I would suggest doing as many backups as= you can before starting, and<br /> performing the H.E. setup on a host tha= t wasn't used by the existing<br /> engine, that way if it fails you can ju= st shut it down and bring your<br /> old engine back up.</blockquote> </div> </blockquote> <p>I got a backup running at this moment, scping /gluster/ovirt/d44ee4= b0-8d36-467a-9610-c682a618b698/images/ to a third device.</p> <p>So, once done, i'll give a shot on the node2 which is running only VDSM = as Host agent.</p> <p>Hope all will be fine !</p> <!-- html ignored --></blockquote> <p>Hi,</p> <p>My backups are done, i'm now processing the installation for having the = engine in a VM but i got the following error at the first step:</p> <p>[root@devnix-virt-master02 ~]# hosted-engine --deploy<br />[ INFO ] Stag= e: Initializing<br />[ INFO ] Generating a temporary VNC password.<br />[ I= NFO ] Stage: Environment setup<br /> Continuing will configure this host fo= r serving as hypervisor and create a VM where you have to install oVirt Eng= ine afterwards.<br /> Are you sure you want to continue? (Yes, No)[Yes]:<br= /> Configuration files: []<br /> Log file: /var/log/ovirt-hosted-engine-se= tup/ovirt-hosted-engine-setup-20151013090336-0upz5f.log<br /> Version: otop= i-1.3.2 (otopi-1.3.2-1.el7.centos)<br />[ INFO ] Hardware supports virtuali= zation<br />[ INFO ] Bridge ovirtmgmt already created<br />[ INFO ] Stage: = Environment packages setup<br />[ INFO ] Stage: Programs detection<br />[ I= NFO ] Stage: Environment setup<br />[ INFO ] Stage: Environment customizati= on</p> <p>--=3D=3D STORAGE CONFIGURATION =3D=3D--</p> <p>During customization use CTRL-D to abort.<br />[ ERROR ] The following s= torage pool has been found connected: 0ae7120a-430d-4534-9a7e-59c53fb2e804<= br />[ ERROR ] Failed to execute stage 'Environment customization': Cannot = setup Hosted Engine with connected storage pools<br />[ INFO ] Stage: Clean= up<br />[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setu= p/answers/answers-20151013090355.conf'<br />[ INFO ] Stage: Pre-termination= <br />[ INFO ] Stage: Termination</p> <p> </p> <p>There is no VM running at this moment on this hypervisor (node 2). The e= rror suggests that the storage is still in use.</p> <p> </p> <p>[root@devnix-virt-master02 ~]# vdsClient -s 0 getConnectedStoragePoolsLi= st<br />0ae7120a-430d-4534-9a7e-59c53fb2e804</p> <p> </p> <p> </p> <p>Does that mean i must set this hypervisor (node 2) in MAINTENANCE in ord= er to continue the steps described in</p> <p> </p> <p><a href=3D"http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Instal= lation_Guide/Migrating_to_a_Self-Hosted_Environment.html">http://200.1.19= =2E60/ovirt-engine/docs/manual/en-US/html/Installation_Guide/Migrating_to_a= _Self-Hosted_Environment.html</a></p> <p> </p> <p>Thanks</p> <p>Regards</p> <p>Nico</p> <p> </p> <div> </div> </body></html> --=_db229aee28533a0313434c3c9e197803--

--=_56ad6f854b4ad18263d02e07465aad9b Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Le 2015-10-13 09:08, Nico a écrit :
Le 2015-10-12 09:17, Nico a écrit :
Le 2015-10-12 09:09, Barak Korren a écrit :
What that procedure describes is backing up an existing engine, installing a new one and then restoring the backed up data into it. This was probably written to describe migration from a stand-alone engine host, not an AllInOne. Theoretically this should work for your setup, but I am not sure if the new hosted engine will be able to properly use the AllInOne node as a hypervisor (it would probably depend on the copied configuration containing enough details to allow the engine to connect to it over the network. you will probably at the very last have to shut down the existing engine before starting up the hosted engine) I would suggest doing as many backups as you can before starting, and performing the H.E. setup on a host that wasn't used by the existing engine, that way if it fails you can just shut it down and bring your old engine back up.
I got a backup running at this moment, scping /gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third device. So, once done, i'll give a shot on the node2 which is running only VDSM as Host agent. Hope all will be fine ! Hi, My backups are done, i'm now processing the installation for having the engine in a VM but i got the following error at the first step: Ok i put the node2 in maintenance and it continues but i got a new error: root@devnix-virt-master02 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013091823-7760bz.log Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== STORAGE CONFIGURATION ==-- During customization use CTRL-D to abort. Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]: Please specify the full shared storage connection path to use (example: host:/path): ovirt01:/share_nfs [ INFO ] Installing on first host Please provide storage domain name. [hosted_storage]: Local storage datacenter name is an internal name and currently will not be shown in engine's admin UI. Please enter local datacenter name [hosted_datacenter]: --== SYSTEM CONFIGURATION ==-- --== NETWORK CONFIGURATION ==-- iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: No Please indicate a pingable gateway IP address [176.31.117.254]: --== VM CONFIGURATION ==-- Please specify the device to boot the VM from (cdrom, disk, pxe) [cdrom]: Please specify an alias for the Hosted Engine image [hosted_engine]: The following CPU types are supported by this host: - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family Please specify the CPU type to be used by the VM [model_Nehalem]: Please specify path to installation media you would like to use [None]: [ ERROR ] Failed to execute stage 'Environment customization': [Errno 2] No such file or directory: '/None' [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013092118.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@devnix-virt-master02 ~]# I don't understand what is it expecting for the PATH ? i've no idea what INSTALLATION MEDIA is about. Could you please give me a clue ? Thanks regards Nico --=_56ad6f854b4ad18263d02e07465aad9b Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Le 2015-10-13 09:08, Nico a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <p>Le 2015-10-12 09:17, Nico a écrit :</p> <blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 --> <p>Le 2015-10-12 09:09, Barak Korren a écrit :</p> <blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 --> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace;"=
<blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"><br /> <br /> What that procedure describes is backing up an existi= ng engine,<br /> installing a new one and then restoring the backed up data= into it.<br /> This was probably written to describe migration from a stan= d-alone<br /> engine host, not an AllInOne.<br /> Theoretically this should= work for your setup, but I am not sure if<br /> the new hosted engine will= be able to properly use the AllInOne node<br /> as a hypervisor (it would = probably depend on the copied configuration<br /> containing enough details= to allow the engine to connect to it over<br /> the network. you will prob= ably at the very last have to shut down the<br /> existing engine before st= arting up the hosted engine)<br /> I would suggest doing as many backups as= you can before starting, and<br /> performing the H.E. setup on a host tha= t wasn't used by the existing<br /> engine, that way if it fails you can ju= st shut it down and bring your<br /> old engine back up.</blockquote> </div> </blockquote> <p>I got a backup running at this moment, scping /gluster/ovirt/d44ee4= b0-8d36-467a-9610-c682a618b698/images/ to a third device.</p> <p>So, once done, i'll give a shot on the node2 which is running only VDSM = as Host agent.</p> <p>Hope all will be fine !</p> <!-- node type 8 --></blockquote> <p>Hi,</p> <p>My backups are done, i'm now processing the installation for having the = engine in a VM but i got the following error at the first step:</p> <p> </p> </blockquote> <div> </div> <div> </div> <div>Ok i put the node2 in maintenance and it continues but i got a new err= or:</div> <div> </div> <div><br />root@devnix-virt-master02 ~]# hosted-engine --deploy<br />[ INFO= ] Stage: Initializing<br />[ INFO ] Generating a temporary VNC password.<b= r />[ INFO ] Stage: Environment setup<br /> Continuing will configure this = host for serving as hypervisor and create a VM where you have to install oV= irt Engine afterwards.<br /> Are you sure you want to continue? (Yes, No)[Y= es]:<br /> Configuration files: []<br /> Log file: /var/log/ovirt-hosted-en= gine-setup/ovirt-hosted-engine-setup-20151013091823-7760bz.log<br /> Versio= n: otopi-1.3.2 (otopi-1.3.2-1.el7.centos)<br />[ INFO ] Hardware supports v= irtualization<br />[ INFO ] Bridge ovirtmgmt already created<br />[ INFO ] = Stage: Environment packages setup<br />[ INFO ] Stage: Programs detection<b= r />[ INFO ] Stage: Environment setup<br />[ INFO ] Stage: Environment cust= omization<br /><br /> --=3D=3D STORAGE CONFIGURATION =3D=3D--<br /><br /> D= uring customization use CTRL-D to abort.<br /> Please specify the storage y= ou would like to use (iscsi, nfs3, nfs4)[nfs3]:<br /> Please specify the fu= ll shared storage connection path to use (example: host:/path): ovirt01:/sh= are_nfs<br />[ INFO ] Installing on first host<br /> Please provide storage= domain name. [hosted_storage]:<br /> Local storage datacenter name is an i= nternal name and currently will not be shown in engine's admin UI.<br /> Pl= ease enter local datacenter name [hosted_datacenter]:<br /><br /> --=3D=3D = SYSTEM CONFIGURATION =3D=3D--<br /><br /><br /> --=3D=3D NETWORK CONFIGURAT= ION =3D=3D--<br /><br /> iptables was detected on your computer, do you wis= h setup to configure it? (Yes, No)[Yes]: No<br /> Please indicate a pingabl= e gateway IP address [176.31.117.254]:<br /><br /> --=3D=3D VM CONFIGURATIO= N =3D=3D--<br /><br /> Please specify the device to boot the VM from (cdrom= , disk, pxe) [cdrom]:<br /> Please specify an alias for the Hosted Engine i= mage [hosted_engine]:<br /> The following CPU types are supported by this h= ost:<br /> - model_Nehalem: Intel Nehalem Family<br /> - model_Penryn: Inte= l Penryn Family<br /> - model_Conroe: Intel Conroe Family<br /> Please spec= ify the CPU type to be used by the VM [model_Nehalem]:<br /> Please specify= path to installation media you would like to use [None]:<br />[ ERROR ] Fa= iled to execute stage 'Environment customization': [Errno 2] No such file o= r directory: '/None'<br />[ INFO ] Stage: Clean up<br />[ INFO ] Generating= answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-2015101309= 2118.conf'<br />[ INFO ] Stage: Pre-termination<br />[ INFO ] Stage: Termin= ation<br />[root@devnix-virt-master02 ~]#</div> <div> </div> <div>I don't understand what is it expecting for the PATH ? i've no idea wh= at INSTALLATION MEDIA is about.</div> <div> </div> <div>Could you please give me a clue ?</div> <div> </div> <div>Thanks</div> <div>regards</div> <div>Nico</div> <div> </div> <div> </div> </body></html> --=_56ad6f854b4ad18263d02e07465aad9b--

On Tue, Oct 13, 2015 at 9:24 AM, Nico <gluster@distran.org> wrote:
Le 2015-10-13 09:08, Nico a écrit :
Le 2015-10-12 09:17, Nico a écrit :
Le 2015-10-12 09:09, Barak Korren a écrit :
What that procedure describes is backing up an existing engine, installing a new one and then restoring the backed up data into it. This was probably written to describe migration from a stand-alone engine host, not an AllInOne. Theoretically this should work for your setup, but I am not sure if the new hosted engine will be able to properly use the AllInOne node as a hypervisor (it would probably depend on the copied configuration containing enough details to allow the engine to connect to it over the network. you will probably at the very last have to shut down the existing engine before starting up the hosted engine) I would suggest doing as many backups as you can before starting, and performing the H.E. setup on a host that wasn't used by the existing engine, that way if it fails you can just shut it down and bring your old engine back up.
I got a backup running at this moment, scping /gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third device.
So, once done, i'll give a shot on the node2 which is running only VDSM as Host agent.
Hope all will be fine !
Hi,
My backups are done, i'm now processing the installation for having the engine in a VM but i got the following error at the first step:
Ok i put the node2 in maintenance and it continues but i got a new error:
root@devnix-virt-master02 ~]# hosted-engine --deploy [ INFO ] Stage: Initializing [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013091823-7760bz.log Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization
--== STORAGE CONFIGURATION ==--
During customization use CTRL-D to abort. Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]: Please specify the full shared storage connection path to use (example: host:/path): ovirt01:/share_nfs [ INFO ] Installing on first host Please provide storage domain name. [hosted_storage]: Local storage datacenter name is an internal name and currently will not be shown in engine's admin UI. Please enter local datacenter name [hosted_datacenter]:
--== SYSTEM CONFIGURATION ==--
--== NETWORK CONFIGURATION ==--
iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: No Please indicate a pingable gateway IP address [176.31.117.254]:
--== VM CONFIGURATION ==--
Please specify the device to boot the VM from (cdrom, disk, pxe) [cdrom]: Please specify an alias for the Hosted Engine image [hosted_engine]: The following CPU types are supported by this host: - model_Nehalem: Intel Nehalem Family - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family Please specify the CPU type to be used by the VM [model_Nehalem]: Please specify path to installation media you would like to use [None]: [ ERROR ] Failed to execute stage 'Environment customization': [Errno 2] No such file or directory: '/None' [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013092118.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [root@devnix-virt-master02 ~]#
I don't understand what is it expecting for the PATH ? i've no idea what INSTALLATION MEDIA is about.
Could you please give me a clue ?
You choose to create your new engine VM booting from a CDRom image so you have to specify the path of that ISO image (a supported RHEL, Centos or Fedora release) on your system.
Thanks regards Nico
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--=_8f74b2c6b3afc634fe5d35260003f3db Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Le 2015-10-13 09:27, Simone Tiraboschi a écrit :
I don't understand what is it expecting for the PATH ? i've no idea what INSTALLATION MEDIA is about.
Could you please give me a clue ?
You choose to create your new engine VM booting from a CDRom image so you have to specify the path of that ISO image (a supported RHEL, Centos or Fedora release) on your system.
Ok i was expecting the installation to install itself the VM but now i understand that i have to choose the OS of the VM. Finally, i put a Centos7 like my current nodes. it failed now about the passwd of the VM: [WARNING] Host name devnix-virt-master02 has no domain suffix [WARNING] Failed to resolve devnix-virt-master02 using DNS, it can be resolved only locally --== CONFIGURATION PREVIEW ==-- Engine FQDN : engine.distran.org Bridge name : ovirtmgmt SSH daemon port : 22 Gateway address : 176.31.117.254 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : ovirt01:/share_nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:5e:2a:85 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/images/11111111-1111-1111-1111-111111111111/CentOS-7-x86_64-DVD-1503-01.iso CPU Type : model_Nehalem Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ INFO ] Connecting Storage Pool [ INFO ] Verifying sanlock lockspace initialization [ INFO ] Creating VM Image [ INFO ] Disconnecting Storage Pool [ INFO ] Start monitoring domain [ INFO ] Configuring VM [ INFO ] Updating hosted-engine configuration [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up The following network ports should be opened: tcp:5900 tcp:5901 udp:5900 udp:5901 An example of the required configuration for iptables can be found at: /etc/ovirt-hosted-engine/iptables.example In order to configure firewalld, copy the files from /etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services and execute the following commands: firewall-cmd -service hosted-console [ INFO ] Creating VM [ ERROR ] Failed to execute stage 'Closing up': Cannot set temporary password for console connection. The VM may not have been created: please check VDSM logs [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013093712.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination what can i do ? thanks regards Nico --=_8f74b2c6b3afc634fe5d35260003f3db Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Le 2015-10-13 09:27, Simone Tiraboschi a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <div dir=3D"ltr"> <div class=3D"gmail_extra"> <div class=3D"gmail_quote"> <blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 .8ex; border-left:= 1px #ccc solid; padding-left: 1ex;"> <div style=3D"font-size: 10pt; font-family: Verdana,Geneva,sans-serif;"> <div>I don't understand what is it expecting for the PATH ? i've no idea wh= at INSTALLATION MEDIA is about.</div> <div> </div> <div>Could you please give me a clue ?</div> </div> </blockquote> <div> </div> <div>You choose to create your new engine VM booting from a CDRom ima= ge so you have to specify the path of that ISO image (a supported RHEL, Cen= tos or Fedora release) on your system.</div> <div> </div> </div> </div> </div> </blockquote> <p> Ok i was expecting the installation to install itself the VM but n= ow i understand that i have to choose the OS of the VM.</p> <p>Finally, i put a Centos7 like my current nodes.</p> <p> </p> <p>it failed now about the passwd of the VM:</p> <p> </p> <p>[WARNING] Host name devnix-virt-master02 has no domain suffix<br />[WARN= ING] Failed to resolve devnix-virt-master02 using DNS, it can be resolved o= nly locally</p> <p>--=3D=3D CONFIGURATION PREVIEW =3D=3D--</p> <p>Engine FQDN : engine.distran.org<br /> Bridge name : ovirtmgmt<br /> SSH= daemon port : 22<br /> Gateway address : 176.31.117.254<br /> Host name fo= r web application : hosted_engine_1<br /> Host ID : 1<br /> Image alias : h= osted_engine<br /> Image size GB : 25<br /> Storage connection : ovirt01:/s= hare_nfs<br /> Console type : vnc<br /> Memory size MB : 4096<br /> MAC add= ress : 00:16:3e:5e:2a:85<br /> Boot type : cdrom<br /> Number of CPUs : 2<b= r /> ISO image (for cdrom boot) : /mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4= a8e0/images/11111111-1111-1111-1111-111111111111/CentOS-7-x86_64-DVD-1503-0= 1.iso<br /> CPU Type : model_Nehalem</p> <p>Please confirm installation settings (Yes, No)[Yes]:<br />[ INFO ] Stage= : Transaction setup<br />[ INFO ] Stage: Misc configuration<br />[ INFO ] S= tage: Package installation<br />[ INFO ] Stage: Misc configuration<br />[ I= NFO ] Configuring libvirt<br />[ INFO ] Configuring VDSM<br />[ INFO ] Star= ting vdsmd<br />[ INFO ] Waiting for VDSM hardware info<br />[ INFO ] Waiti= ng for VDSM hardware info<br />[ INFO ] Creating Storage Domain<br />[ INFO= ] Creating Storage Pool<br />[ INFO ] Connecting Storage Pool<br />[ INFO = ] Verifying sanlock lockspace initialization<br />[ INFO ] Creating VM Imag= e<br />[ INFO ] Disconnecting Storage Pool<br />[ INFO ] Start monitoring d= omain<br />[ INFO ] Configuring VM<br />[ INFO ] Updating hosted-engine con= figuration<br />[ INFO ] Stage: Transaction commit<br />[ INFO ] Stage: Clo= sing up</p> <p>The following network ports should be opened:<br /> tcp:5900<br /> tcp:5= 901<br /> udp:5900<br /> udp:5901<br /> An example of the required configur= ation for iptables can be found at:<br /> /etc/ovirt-hosted-engine/iptables= =2Eexample<br /> In order to configure firewalld, copy the files from<br />= /etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services<br /> and ex= ecute the following commands:<br /> firewall-cmd -service hosted-console<br= />[ INFO ] Creating VM<br />[ ERROR ] Failed to execute stage 'Closing up'= : Cannot set temporary password for console connection. The VM may not have= been created: please check VDSM logs<br />[ INFO ] Stage: Clean up<br />[ = INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/a= nswers-20151013093712.conf'<br />[ INFO ] Stage: Pre-termination<br />[ INF= O ] Stage: Termination</p> <p> </p> <p> </p> <p>what can i do ?</p> <p>thanks</p> <p>regards</p> <p>Nico</p> <p> </p> <div> </div> </body></html> --=_8f74b2c6b3afc634fe5d35260003f3db--

--=_4a5af3d3c44215bbc639776b75dcba01 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Here the log error during VM creaation: 2015-10-13 09:37:06 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:937 execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stderr: 2015-10-13 09:37:06 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm mixins._create_vm:162 Command '/bin/vdsClient' failed to execute 2015-10-13 09:37:07 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.executeRaw:824 execute: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'], executable='None', cwd='None', env=None 2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.executeRaw:874 execute-result: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'], rc=16 2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:932 execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stdout: Unexpected exception 2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:937 execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stderr: 2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm mixins._create_vm:162 Command '/bin/vdsClient' failed to execute 2015-10-13 09:37:09 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/vm/runvm.py", line 146, in _boot_from_install_media self._create_vm() File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/mixins.py", line 167, in _create_vm 'Cannot set temporary password for console connection.\n' RuntimeError: Cannot set temporary password for console connection. The VM may not have been created: please check VDSM logs 2015-10-13 09:37:09 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Cannot set temporary password for console connection. The VM may not have been created: please check VDSM logs Any clue is welcome. Le 2015-10-13 09:39, Nico a écrit :
Le 2015-10-13 09:27, Simone Tiraboschi a écrit :
I don't understand what is it expecting for the PATH ? i've no idea what INSTALLATION MEDIA is about.
Could you please give me a clue ?
You choose to create your new engine VM booting from a CDRom image so you have to specify the path of that ISO image (a supported RHEL, Centos or Fedora release) on your system.
Ok i was expecting the installation to install itself the VM but now i understand that i have to choose the OS of the VM. Finally, i put a Centos7 like my current nodes. it failed now about the passwd of the VM: [WARNING] Host name devnix-virt-master02 has no domain suffix [WARNING] Failed to resolve devnix-virt-master02 using DNS, it can be resolved only locally --== CONFIGURATION PREVIEW ==-- Engine FQDN : engine.distran.org Bridge name : ovirtmgmt SSH daemon port : 22 Gateway address : 176.31.117.254 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : ovirt01:/share_nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:5e:2a:85 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/images/11111111-1111-1111-1111-111111111111/CentOS-7-x86_64-DVD-1503-01.iso CPU Type : model_Nehalem Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ INFO ] Connecting Storage Pool [ INFO ] Verifying sanlock lockspace initialization [ INFO ] Creating VM Image [ INFO ] Disconnecting Storage Pool [ INFO ] Start monitoring domain [ INFO ] Configuring VM [ INFO ] Updating hosted-engine configuration [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up The following network ports should be opened: tcp:5900 tcp:5901 udp:5900 udp:5901 An example of the required configuration for iptables can be found at: /etc/ovirt-hosted-engine/iptables.example In order to configure firewalld, copy the files from /etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services and execute the following commands: firewall-cmd -service hosted-console [ INFO ] Creating VM [ ERROR ] Failed to execute stage 'Closing up': Cannot set temporary password for console connection. The VM may not have been created: please check VDSM logs [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013093712.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination what can i do ? thanks regards Nico _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [1] Links: ------ [1] http://lists.ovirt.org/mailman/listinfo/users --=_4a5af3d3c44215bbc639776b75dcba01 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>Here the log error during VM creaation:</p> <p> </p> <p>2015-10-13 09:37:06 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.run= vm plugin.execute:937 execute-output: ['/bin/vdsClient', '-s', 'localhost',= 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10= 800'] stderr:</p> <p><br />2015-10-13 09:37:06 DEBUG otopi.plugins.ovirt_hosted_engine_setup= =2Evm.runvm mixins._create_vm:162 Command '/bin/vdsClient' failed to execut= e<br />2015-10-13 09:37:07 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm= =2Erunvm plugin.executeRaw:824 execute: ['/bin/vdsClient', '-s', 'localhost= ', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '= 10800'], executable=3D'None',<br /> cwd=3D'None', env=3DNone<br />2015-10-1= 3 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.ex= ecuteRaw:874 execute-result: ['/bin/vdsClient', '-s', 'localhost', 'setVmTi= cket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'], rc= =3D16<br />2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setu= p.vm.runvm plugin.execute:932 execute-output: ['/bin/vdsClient', '-s', 'loc= alhost', 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED= **', '10800'] stdout:<br />Unexpected exception</p> <p>2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.run= vm plugin.execute:937 execute-output: ['/bin/vdsClient', '-s', 'localhost',= 'setVmTicket', 'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10= 800'] stderr:</p> <p><br />2015-10-13 09:37:08 DEBUG otopi.plugins.ovirt_hosted_engine_setup= =2Evm.runvm mixins._create_vm:162 Command '/bin/vdsClient' failed to execut= e<br />2015-10-13 09:37:09 DEBUG otopi.context context._executeMethod:152 m= ethod exception<br />Traceback (most recent call last):<br /> File "/usr/li= b/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod<br= /> method['method']()<br /> File "/usr/share/ovirt-hosted-engine-setup/scr= ipts/../plugins/ovirt-hosted-engine-setup/vm/runvm.py", line 146, in _boot_= from_install_media<br /> self._create_vm()<br /> File "/usr/lib/python2.7/s= ite-packages/ovirt_hosted_engine_setup/mixins.py", line 167, in _create_vm<= br /> 'Cannot set temporary password for console connection.\n'<br />Runtim= eError: Cannot set temporary password for console connection.<br />The VM m= ay not have been created: please check VDSM logs<br />2015-10-13 09:37:09 E= RROR otopi.context context._executeMethod:161 Failed to execute stage 'Clos= ing up': Cannot set temporary password for console connection.<br />The VM = may not have been created: please check VDSM logs</p> <p> </p> <p>Any clue is welcome.</p> <p> </p> <p>Le 2015-10-13 09:39, Nico a écrit :</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig= nored --> <p>Le 2015-10-13 09:27, Simone Tiraboschi a écrit :</p> <blockquote style=3D"padding: 0 0.4em; border-left: #1010ff 2px solid; marg= in: 0;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 --> <div dir=3D"ltr"> <div class=3D"gmail_extra"> <div class=3D"gmail_quote"> <blockquote class=3D"gmail_quote" style=3D"margin: 0 0 0 .8ex; border-left:= 1px #ccc solid; padding-left: 1ex;"> <div style=3D"font-size: 10pt; font-family: Verdana,Geneva,sans-serif;"> <div>I don't understand what is it expecting for the PATH ? i've no idea wh= at INSTALLATION MEDIA is about.</div> <div> </div> <div>Could you please give me a clue ?</div> </div> </blockquote> <div> </div> <div>You choose to create your new engine VM booting from a CDRom ima= ge so you have to specify the path of that ISO image (a supported RHEL, Cen= tos or Fedora release) on your system.</div> <div> </div> </div> </div> </div> </blockquote> <p> Ok i was expecting the installation to install itself the VM but n= ow i understand that i have to choose the OS of the VM.</p> <p>Finally, i put a Centos7 like my current nodes.</p> <p> </p> <p>it failed now about the passwd of the VM:</p> <p> </p> <p>[WARNING] Host name devnix-virt-master02 has no domain suffix<br />[WARN= ING] Failed to resolve devnix-virt-master02 using DNS, it can be resolved o= nly locally</p> <p>--=3D=3D CONFIGURATION PREVIEW =3D=3D--</p> <p>Engine FQDN : engine.distran.org<br /> Bridge name : ovirtmgmt<br /> SSH= daemon port : 22<br /> Gateway address : 176.31.117.254<br /> Host name fo= r web application : hosted_engine_1<br /> Host ID : 1<br /> Image alias : h= osted_engine<br /> Image size GB : 25<br /> Storage connection : ovirt01:/s= hare_nfs<br /> Console type : vnc<br /> Memory size MB : 4096<br /> MAC add= ress : 00:16:3e:5e:2a:85<br /> Boot type : cdrom<br /> Number of CPUs : 2<b= r /> ISO image (for cdrom boot) : /mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4= a8e0/images/11111111-1111-1111-1111-111111111111/CentOS-7-x86_64-DVD-1503-0= 1.iso<br /> CPU Type : model_Nehalem</p> <p>Please confirm installation settings (Yes, No)[Yes]:<br />[ INFO ] Stage= : Transaction setup<br />[ INFO ] Stage: Misc configuration<br />[ INFO ] S= tage: Package installation<br />[ INFO ] Stage: Misc configuration<br />[ I= NFO ] Configuring libvirt<br />[ INFO ] Configuring VDSM<br />[ INFO ] Star= ting vdsmd<br />[ INFO ] Waiting for VDSM hardware info<br />[ INFO ] Waiti= ng for VDSM hardware info<br />[ INFO ] Creating Storage Domain<br />[ INFO= ] Creating Storage Pool<br />[ INFO ] Connecting Storage Pool<br />[ INFO = ] Verifying sanlock lockspace initialization<br />[ INFO ] Creating VM Imag= e<br />[ INFO ] Disconnecting Storage Pool<br />[ INFO ] Start monitoring d= omain<br />[ INFO ] Configuring VM<br />[ INFO ] Updating hosted-engine con= figuration<br />[ INFO ] Stage: Transaction commit<br />[ INFO ] Stage: Clo= sing up</p> <p>The following network ports should be opened:<br /> tcp:5900<br /> tcp:5= 901<br /> udp:5900<br /> udp:5901<br /> An example of the required configur= ation for iptables can be found at:<br /> /etc/ovirt-hosted-engine/iptables= =2Eexample<br /> In order to configure firewalld, copy the files from<br />= /etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services<br /> and ex= ecute the following commands:<br /> firewall-cmd -service hosted-console<br= />[ INFO ] Creating VM<br />[ ERROR ] Failed to execute stage 'Closing up'= : Cannot set temporary password for console connection. The VM may not have= been created: please check VDSM logs<br />[ INFO ] Stage: Clean up<br />[ = INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/a= nswers-20151013093712.conf'<br />[ INFO ] Stage: Pre-termination<br />[ INF= O ] Stage: Termination</p> <p> </p> <p> </p> <p>what can i do ?</p> <p>thanks</p> <p>regards</p> <p>Nico</p> <p> </p> <div> </div> <!-- html ignored --><br /> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= _______________________________________________<br /> Users mailing list<br= /> <a href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br /> <a href=3D= "http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mail= man/listinfo/users</a></div> </blockquote> <p> </p> <div> </div> </body></html> --=_4a5af3d3c44215bbc639776b75dcba01--

On Tue, Oct 13, 2015 at 9:39 AM, Nico <gluster@distran.org> wrote:
Le 2015-10-13 09:27, Simone Tiraboschi a écrit :
I don't understand what is it expecting for the PATH ? i've no idea what
INSTALLATION MEDIA is about.
Could you please give me a clue ?
You choose to create your new engine VM booting from a CDRom image so you have to specify the path of that ISO image (a supported RHEL, Centos or Fedora release) on your system.
Ok i was expecting the installation to install itself the VM but now i understand that i have to choose the OS of the VM.
Finally, i put a Centos7 like my current nodes.
it failed now about the passwd of the VM:
[WARNING] Host name devnix-virt-master02 has no domain suffix [WARNING] Failed to resolve devnix-virt-master02 using DNS, it can be resolved only locally
--== CONFIGURATION PREVIEW ==--
Engine FQDN : engine.distran.org Bridge name : ovirtmgmt SSH daemon port : 22 Gateway address : 176.31.117.254 Host name for web application : hosted_engine_1 Host ID : 1 Image alias : hosted_engine Image size GB : 25 Storage connection : ovirt01:/share_nfs Console type : vnc Memory size MB : 4096 MAC address : 00:16:3e:5e:2a:85 Boot type : cdrom Number of CPUs : 2 ISO image (for cdrom boot) : /mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/images/11111111-1111-1111-1111-111111111111/CentOS-7-x86_64-DVD-1503-01.iso CPU Type : model_Nehalem
Please confirm installation settings (Yes, No)[Yes]: [ INFO ] Stage: Transaction setup [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ INFO ] Configuring libvirt [ INFO ] Configuring VDSM [ INFO ] Starting vdsmd [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Creating Storage Domain [ INFO ] Creating Storage Pool [ INFO ] Connecting Storage Pool [ INFO ] Verifying sanlock lockspace initialization [ INFO ] Creating VM Image [ INFO ] Disconnecting Storage Pool [ INFO ] Start monitoring domain [ INFO ] Configuring VM [ INFO ] Updating hosted-engine configuration [ INFO ] Stage: Transaction commit [ INFO ] Stage: Closing up
The following network ports should be opened: tcp:5900 tcp:5901 udp:5900 udp:5901 An example of the required configuration for iptables can be found at: /etc/ovirt-hosted-engine/iptables.example In order to configure firewalld, copy the files from /etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services and execute the following commands: firewall-cmd -service hosted-console [ INFO ] Creating VM [ ERROR ] Failed to execute stage 'Closing up': Cannot set temporary password for console connection. The VM may not have been created: please check VDSM logs [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013093712.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination
what can i do ?
It's not really about the console password, or better it's failing to set the console password but it's probably failing cause the VM is not up for a different reason. Please check (or upload somewhere) VDSM logs to understand why that VM didn't started.
thanks
regards
Nico
participants (4)
-
Barak Korren
-
Julian De Marchi
-
Nico
-
Simone Tiraboschi