Import KVM/libvirt VMs to oVirt
by ovirt@timmi.org
Hi list,
finally I managed to install oVirt on my new server and so far it is
really great.
The next step on my side it to migrate VMs from another server
(KVM/libvirtd/virt-manager) to oVirt.
I was trying to find something in the documentation but so far no luck.
Google was pointing me to tow options:
- virt-v2v
- import-to-ovirt.pl (script from Richard WM Jones)
Currently I'm trying to migrate a Win7 VM (with VirtIO) with
import_to_ovirt bzt I receive the following error message:
./import-to-ovirt.pl: no operating system was found on the disk
I'm executing the following command:
./import-to-ovirt.pl /path-to-image-file/disk.img hostname:/export-domain
Is anyone able to support me here?
As both systems are running KVM there should be a quite easy way to
migrate the VMs or not?
Best regards
Christoph
9 years
Remove reporst and dwh services and db
by Kevin COUSIN
Hi list,
Is it safe to remove dwh service et databases from an running ovirt engine ?
I think I can try something like :
engine-cleanup
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging-reports-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-20151218103955-e7a1em.log
Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment customization
Do you want to remove all components? (Yes, No) [Yes]: no
--== PRODUCT OPTIONS ==--
Do you want to remove PKI keys? (Yes, No) [No]: no
Do you want to remove ISO domain layout? (Yes, No) [No]: no
Do you want to remove YUM version locking configuration? (Yes, No) [No]: no
Do you want to remove PKI configuration? (Yes, No) [No]: no
Do you want to remove Core files? (Yes, No) [No]: no
Do you want to remove DWH files? (Yes, No) [No]: yes
Do you want to remove Reports files? (Yes, No) [No]: yes
Do you want to remove NFS exports configuration? (Yes, No) [No]: no
Do you want to remove NFS Configuration? (Yes, No) [No]: no
Do you want to remove Apache SSL configuration? (Yes, No) [No]: no
Do you want to remove VMConsole Helper PKI keys? (Yes, No) [No]: no
Do you want to remove VMConsole PKI Proxy keys? (Yes, No) [No]: no
The following files were changed since setup:
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-uuid.conf
/etc/ovirt-engine-reports/ovirt-engine-reports.conf.d/10-setup-database.conf
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf
/etc/ovirt-engine-reports/sso.properties
Remove them anyway? (Yes, No) [Yes]: yes
Do you want to remove the engine? (Yes, No) [No]: no
Do you want to remove DWH DB content? All data will be lost (Yes, No) [No]: yes
Do you want to remove Reports DB content? All data will be lost (Yes, No) [No]: yes
Do you want to remove Reports Jasper artifacts? (Yes, No) [No]: yes
Do you want to remove the WebSocket proxy? (Yes, No) [No]: no
[ INFO ] Stage: Setup validation
During execution engine service will be stopped (OK, Cancel) [OK]: Cancel
Regards,
------------------------
COUSIN Kevin
9 years
Frustration and Contradictory Guidance?
by Eriks Goodwin
------=_Part_57222_936389252.1450471072444
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi all,
I have been working on building a new oVirt 3.6 deployment for more than two weeks now and a multitude of things are frustrating my attempts... Would someone please point me to the "right" HOWTO article for deploying a production-grade oVirt 3.6.x system with HA hosted engine?
I spent almost two weeks just trying to get the networking straight--only to have VDSM overwrite all my hard work and totally break my networking (I was using a bonded set of NICs with bridges and VLANs for ovirt-management, ovirt-storage, and local-lan.).
Once I abandoned VLANs and installed a third physical NIC, I was able to install the first node and the hosted engine-- but after I got things "working" now I receive constantly cycling email messages for ovirt-hosted-engine state transition: ReinitializeFSM-EngineStarting, EngineStarting-EngineUp, and StartState-ReinitializeFSM
When I try to follow the instructions to add engines for HA, the system keep faulting that it is unable to find the answer file it needs on node 2.
And now that I finally figured out that I needed to add "another" storage domain for the datacenter to initialize, the addition of new hosted-engine deployments is blocked by the presence of the attached storage domain.
So, all of that said.... is there a HOWTO written specifically for CentOS 7 that does not want me to kill Network Manager and switch from FirewallD back to iptables--and does not assume I want to use glusterfs?
I have two sets of HP Proliant servers I want to use for this: 4 DL380 G6s and 4 DL380G5s, plus one G5 which is my initial NFS3 share
For such an AWESOME project, I find it really disappointing that the documentation is so poor/outdated. :-(
Thanks,
Eriks
------=_Part_57222_936389252.1450471072444
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: tahoma,new york,times,serif; font-si=
ze: 10pt; color: #000000"><div>Hi all,<br data-mce-bogus=3D"1"></div><div><=
br data-mce-bogus=3D"1"></div><div>I have been working on building a new oV=
irt 3.6 deployment for more than two weeks now and a multitude of things ar=
e frustrating my attempts... Would someone please point me to the "ri=
ght" HOWTO article for deploying a production-grade oVirt 3.6.x system with=
HA hosted engine?<br></div><div><br data-mce-bogus=3D"1"></div><div>I spen=
t almost two weeks just trying to get the networking straight--only to have=
VDSM overwrite all my hard work and totally break my networking (I was usi=
ng a bonded set of NICs with bridges and VLANs for ovirt-management, ovirt-=
storage, and local-lan.).<br data-mce-bogus=3D"1"></div><div><br data-mce-b=
ogus=3D"1"></div><div>Once I abandoned VLANs and installed a third physical=
NIC, I was able to install the first node and the hosted engine-- but afte=
r I got things "working" now I receive constantly cycling email messages fo=
r ovirt-hosted-engine state transition: ReinitializeFSM-EngineStarting, Eng=
ineStarting-EngineUp, and StartState-ReinitializeFSM<br data-mce-bogus=3D"1=
"></div><div><br data-mce-bogus=3D"1"></div><div>When I try to follow the i=
nstructions to add engines for HA, the system keep faulting that it is unab=
le to find the answer file it needs on node 2.<br data-mce-bogus=3D"1"></di=
v><div><br data-mce-bogus=3D"1"></div><div>And now that I finally figured o=
ut that I needed to add "another" storage domain for the datacenter to init=
ialize, the addition of new hosted-engine deployments is blocked by the pre=
sence of the attached storage domain.<br data-mce-bogus=3D"1"></div><div><b=
r data-mce-bogus=3D"1"></div><div>So, all of that said.... is there a=
HOWTO written specifically for CentOS 7 that does not want me to kill Netw=
ork Manager and switch from FirewallD back to iptables--and does not assume=
I want to use glusterfs?<br data-mce-bogus=3D"1"></div><div><br data-mce-b=
ogus=3D"1"></div><div>I have two sets of HP Proliant servers I want to use =
for this: 4 DL380 G6s and 4 DL380G5s, plus one G5 which is my initial=
NFS3 share<br data-mce-bogus=3D"1"></div><div><br data-mce-bogus=3D"1"></d=
iv><div>For such an AWESOME project, I find it really disappointing that th=
e documentation is so poor/outdated. :-(<br data-mce-bogus=3D"1"></di=
v><div><br data-mce-bogus=3D"1"></div><div>Thanks,<br data-mce-bogus=3D"1">=
</div><div>Eriks<br data-mce-bogus=3D"1"></div><div><br data-mce-bogus=3D"1=
"></div></div></body></html>
------=_Part_57222_936389252.1450471072444--
9 years
Hosted Engine setup - got " Failed to start service 'ovirt-ha-agent' "
by Willard Dennis
--Apple-Mail=_8C5DF778-717D-49D9-B10F-78BC27084C85
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Hi all,
Did a hosted engine setup using a Gluster storage domain, it went well =
until the end, where I got this error:
[ INFO ] Saving hosted-engine configuration on the shared storage =
domain
[ INFO ] Shutting down the engine VM
[ INFO ] Enabling and starting HA services
[ ERROR ] Failed to execute stage 'Closing up': Failed to start service =
'ovirt-ha-agent=E2=80=99=20
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file =
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
Full screen output from setup run:
http://pastebin.com/yWkppmjG <http://pastebin.com/yWkppmjG>
What=E2=80=99s my move now? Hopefully the install can be salvaged=E2=80=A6=
.
FYI, I have three hosts I=E2=80=99m using for oVirt; they are named =
=E2=80=9Covirt-node-[01,02,03]=E2=80=9D
Thanks,
Will=
--Apple-Mail=_8C5DF778-717D-49D9-B10F-78BC27084C85
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"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">Hi all,</div><div class=3D""><br =
class=3D""></div><div class=3D"">Did a hosted engine setup using a =
Gluster storage domain, it went well until the end, where I got this =
error:</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">[ INFO ] Saving hosted-engine configuration on the =
shared storage domain</div><div class=3D"">[ INFO ] Shutting down =
the engine VM</div><div class=3D"">[ INFO ] Enabling and starting =
HA services</div><div class=3D"">[ ERROR ] Failed to execute stage =
'Closing up': Failed to start service 'ovirt-ha-agent=E2=80=99 </div>=
<div class=3D"">[ INFO ] Stage: Clean up</div><div class=3D"">[ =
INFO ] Generating answer file =
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151218124259.conf'</=
div><div class=3D"">[ INFO ] Stage: Pre-termination</div><div =
class=3D"">[ INFO ] Stage: Termination</div></div><div =
class=3D""><br class=3D""></div><div class=3D"">Full screen output from =
setup run:</div><div class=3D""><a href=3D"http://pastebin.com/yWkppmjG" =
class=3D"">http://pastebin.com/yWkppmjG</a></div><div class=3D""><br =
class=3D""></div><div class=3D"">What=E2=80=99s my move now? Hopefully =
the install can be salvaged=E2=80=A6.</div><div class=3D""><br =
class=3D""></div><div class=3D"">FYI, I have three hosts I=E2=80=99m =
using for oVirt; they are named =E2=80=9Covirt-node-[01,02,03]=E2=80=9D</d=
iv><div class=3D""><br class=3D""></div><div class=3D"">Thanks,</div><div =
class=3D"">Will</div></body></html>=
--Apple-Mail=_8C5DF778-717D-49D9-B10F-78BC27084C85--
9 years
Problem with hosted engine setup - vsdmd does not start
by Willard Dennis
--Apple-Mail=_6ED95494-A5E5-4D6F-BDAF-D1727917E172
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Hi all,
Tried to run the hosted engine setup, got:
[ ERROR ] Failed to execute stage 'Environment setup': [Errno 111] =
Connection refused
( full run output here: =
https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f912=
7c676759b19b1d32a212c8c3694fac580e/hosted-engine-setup-output.txt =
<https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f91=
27c676759b19b1d32a212c8c3694fac580e/hosted-engine-setup-output.txt> )
Looked at the setup log file referenced in the output, saw this =
traceback in it that also referenced the Error 111:
=
https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f912=
7c676759b19b1d32a212c8c3694fac580e/configurevm-py_error.txt =
<https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f91=
27c676759b19b1d32a212c8c3694fac580e/configurevm-py_error.txt>
I diagnosed it (Google ftw) and saw that it was likely a vdsmd problem; =
sure enough, when I did a 'systemctl status vdsmd=E2=80=99 I saw that it =
was in error state -
Process: 28163 ExecStart=3D/usr/share/vdsm/daemonAdapter -0 /dev/null -1 =
/dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=3Dexited, =
status=3D1/FAILURE)
( full status output here: =
https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f912=
7c676759b19b1d32a212c8c3694fac580e/systemctl_status_vdsmd.txt =
<https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/raw/c0f91=
27c676759b19b1d32a212c8c3694fac580e/systemctl_status_vdsmd.txt> )
Does anyone know how I can troubleshoot and fix the VDSM daemon start =
process?
Thanks,
Will
--Apple-Mail=_6ED95494-A5E5-4D6F-BDAF-D1727917E172
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"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi all,<div class=3D""><br class=3D""></div><div =
class=3D"">Tried to run the hosted engine setup, got:<div class=3D"">[ =
ERROR ] Failed to execute stage 'Environment setup': [Errno 111] =
Connection refused</div><div class=3D""><br class=3D""></div><div =
class=3D"">( full run output here: <a =
href=3D"https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/ra=
w/c0f9127c676759b19b1d32a212c8c3694fac580e/hosted-engine-setup-output.txt"=
=
class=3D"">https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4=
/raw/c0f9127c676759b19b1d32a212c8c3694fac580e/hosted-engine-setup-output.t=
xt</a> )</div><div class=3D""><br class=3D""></div><div =
class=3D"">Looked at the setup log file referenced in the output, saw =
this traceback in it that also referenced the Error 111:</div><div =
class=3D""><a =
href=3D"https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/ra=
w/c0f9127c676759b19b1d32a212c8c3694fac580e/configurevm-py_error.txt" =
class=3D"">https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4=
/raw/c0f9127c676759b19b1d32a212c8c3694fac580e/configurevm-py_error.txt</a>=
</div><div class=3D""><br class=3D""></div><div class=3D"">I diagnosed =
it (Google ftw) and saw that it was likely a vdsmd problem; sure enough, =
when I did a 'systemctl status vdsmd=E2=80=99 I saw that it was in error =
state -</div><div class=3D"">Process: 28163 =
ExecStart=3D/usr/share/vdsm/daemonAdapter -0 /dev/null -1 /dev/null -2 =
/dev/null /usr/share/vdsm/vdsm (code=3Dexited, =
status=3D1/FAILURE)</div><div class=3D""><br class=3D""></div><div =
class=3D"">( full status output here: <a =
href=3D"https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4/ra=
w/c0f9127c676759b19b1d32a212c8c3694fac580e/systemctl_status_vdsmd.txt" =
class=3D"">https://gist.githubusercontent.com/wdennis/4390042447354b2cb1c4=
/raw/c0f9127c676759b19b1d32a212c8c3694fac580e/systemctl_status_vdsmd.txt</=
a> )</div><div class=3D""><br class=3D""></div><div class=3D"">Does =
anyone know how I can troubleshoot and fix the VDSM daemon start =
process?</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks,</div><div class=3D"">Will</div><div class=3D""><br =
class=3D""></div></div></body></html>=
--Apple-Mail=_6ED95494-A5E5-4D6F-BDAF-D1727917E172--
9 years
ovirt reports an Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz as a Intel SandyBridge Family?
by gflwqs gflwqs
Hi,
I have registered a new DELL R730 machine in ovirt 3.5.6 this server type
has a Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz.
When i try to add a the new host to a cluster with a haswell architecure i
get an error:
"Host xxx moved to Non-Operational state as host does not meet the
cluster's minimum CPU level. Missing CPU features : model_Haswell"
When i look at the hardware tab on the host it says:
CPU Model: Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz
and
CPU Type: Intel SandyBridge Family
This is not a SandyBridge Family processor?
When i change the cluster to be a SandyBridge Family cluster the host can
be activated.
What are my options?
- Is it a bug i can get a fix for? (I can't upgrade to 3.6)
- Can i force it to report correctly?
- What am i loosing in terms of functionality/performance if ovirt thinks
its a SandyBridge processor?
Thanks!
/Christian
9 years
Network tagging
by Kevin COUSIN
Hi list,
Is it possible to add same VLAN as tagged for different purposes :
* VLAN XX as VM network and tagged to attach VM
* VLAN XX tagged for bonding with another VLAN on an interface
Regards
Kevin C
9 years
Re: [ovirt-users] ovirt-ha-broker issue after upgrade CentOS 7.1 => 7.2 and oVirt 3.6.0 => 3.6.1
by Matthew Trent
(Sorry if this reply doesn't thread properly. Just subscribed to reply to this topic.)
I'm also experiencing this issue. Just upgraded to the latest packages and both ovirt-ha-agent and ovirt-ha-broker pause for a long time when being started, then timeout with errors.
[root@ovirt2 ~]# systemctl start ovirt-ha-broker
Job for ovirt-ha-broker.service failed because a timeout was exceeded. See "systemctl status ovirt-ha-broker.service" and "journalctl -xe" for details.
[root@ovirt2 ~]# systemctl start ovirt-ha-agent
Job for ovirt-ha-agent.service failed because a timeout was exceeded. See "systemctl status ovirt-ha-agent.service" and "journalctl -xe" for details.
Dec 17 15:27:53 ovirt2 systemd: Failed to start oVirt Hosted Engine High Availability Communications Broker.
Dec 17 15:27:53 ovirt2 systemd: Unit ovirt-ha-broker.service entered failed state.
Dec 17 15:27:53 ovirt2 systemd: ovirt-ha-broker.service failed.
Dec 17 15:27:53 ovirt2 systemd: ovirt-ha-broker.service holdoff time over, scheduling restart.
Dec 17 15:27:53 ovirt2 systemd: Starting oVirt Hosted Engine High Availability Communications Broker...
Dec 17 15:27:53 ovirt2 systemd-ovirt-ha-broker: Starting ovirt-ha-broker: [ OK ]
Dec 17 15:27:53 ovirt2 systemd: PID 21125 read from file /run/ovirt-hosted-engine-ha/broker.pid does not exist or is a zombie.
Dec 17 15:29:22 ovirt2 systemd: ovirt-ha-agent.service stop-final-sigterm timed out. Killing.
Dec 17 15:29:22 ovirt2 systemd: Failed to start oVirt Hosted Engine High Availability Monitoring Agent.
Dec 17 15:29:22 ovirt2 systemd: Unit ovirt-ha-agent.service entered failed state.
Dec 17 15:29:22 ovirt2 systemd: ovirt-ha-agent.service failed.
Dec 17 15:29:22 ovirt2 systemd: ovirt-ha-agent.service holdoff time over, scheduling restart.
Dec 17 15:29:23 ovirt2 systemd: ovirt-ha-broker.service start operation timed out. Terminating.
Dec 17 15:29:24 ovirt2 systemd: Failed to start oVirt Hosted Engine High Availability Communications Broker.
Dec 17 15:29:24 ovirt2 systemd: Unit ovirt-ha-broker.service entered failed state.
Dec 17 15:29:24 ovirt2 systemd: ovirt-ha-broker.service failed.
Dec 17 15:29:24 ovirt2 systemd: Starting oVirt Hosted Engine High Availability Monitoring Agent...
Dec 17 15:29:24 ovirt2 systemd-ovirt-ha-agent: Starting ovirt-ha-agent: [ OK ]
Dec 17 15:29:24 ovirt2 systemd: PID 21288 read from file /run/ovirt-hosted-engine-ha/agent.pid does not exist or is a zombie.
Dec 17 15:29:24 ovirt2 systemd: ovirt-ha-broker.service holdoff time over, scheduling restart.
Dec 17 15:29:24 ovirt2 systemd: Starting oVirt Hosted Engine High Availability Communications Broker...
Dec 17 15:29:25 ovirt2 systemd-ovirt-ha-broker: Starting ovirt-ha-broker: [ OK ]
Dec 17 15:29:25 ovirt2 systemd: PID 21304 read from file /run/ovirt-hosted-engine-ha/broker.pid does not exist or is a zombie.
--
Matthew Trent
Network Engineer
Lewis County IT Services
360.740.1247 - Helpdesk
360.740.3343 - Direct line
9 years
Re: [ovirt-users] Error during hosted-engine-setup for 3.5.1 on F20 (Cannot add the host to cluster ... SSH has failed)
by Bob Doolittle
On 03/09/2015 07:12 AM, Simone Tiraboschi wrote:
>
> ----- Original Message -----
>> From: "Bob Doolittle" <bob(a)doolittle.us.com>
>> To: "Simone Tiraboschi" <stirabos(a)redhat.com>
>> Sent: Monday, March 9, 2015 12:02:49 PM
>> Subject: Re: [ovirt-users] Error during hosted-engine-setup for 3.5.1 on F20 (Cannot add the host to cluster ... SSH
>> has failed)
>>
>> On Mar 9, 2015 5:23 AM, "Simone Tiraboschi" <stirabos(a)redhat.com> wrote:
>>>
>>>
>>> ----- Original Message -----
>>>> From: "Bob Doolittle" <bob(a)doolittle.us.com>
>>>> To: "users-ovirt" <users(a)ovirt.org>
>>>> Sent: Friday, March 6, 2015 9:21:20 PM
>>>> Subject: [ovirt-users] Error during hosted-engine-setup for 3.5.1 on
>> F20 (Cannot add the host to cluster ... SSH has
>>>> failed)
>>>>
>>>> Hi,
>>>>
>>>> I'm following the instructions here:
>> http://www.ovirt.org/Hosted_Engine_Howto
>>>> My self-hosted install failed near the end:
>>>>
>>>> To continue make a selection from the options below:
>>>> (1) Continue setup - engine installation is complete
>>>> (2) Power off and restart the VM
>>>> (3) Abort setup
>>>> (4) Destroy VM and abort setup
>>>>
>>>> (1, 2, 3, 4)[1]: 1
>>>> [ INFO ] Engine replied: DB Up!Welcome to Health Status!
>>>> Enter the name of the cluster to which you want to add the
>> host
>>>> (Default) [Default]:
>>>> [ ERROR ] Cannot automatically add the host to cluster Default: Cannot
>> add
>>>> Host. Connecting to host via SSH has failed, verify that the host is
>>>> reachable (IP address, routable address etc.) You may refer to the
>>>> engine.log file for further details.
>>>> [ ERROR ] Failed to execute stage 'Closing up': Cannot add the host to
>>>> cluster Default
>>>> [ INFO ] Stage: Clean up
>>>> [ INFO ] Generating answer file
>>>> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150306135624.conf'
>>>> [ INFO ] Stage: Pre-termination
>>>> [ INFO ] Stage: Termination
>>>>
>>>> I can ssh into the engine VM both locally and remotely. There is no
>>>> /root/.ssh directory, however. Did I need to set that up somehow?
>>> It's the engine that needs to open an SSH connection to the host calling
>> it by its hostname.
>>> So please be sure that you can SSH to the host from the engine using its
>> hostname and not its IP address.
>>
>> I'm assuming this should be a password-less login (key-based
>> authentication?).
> Yes, it is.
>
>> As what user?
> root
OK, I see a couple of problems.
First off, I didn't have my deploying-host hostname in the hosts map for my engine.
After adding it to /etc/hosts (both hostname and FQDN), when I try to ssh from root@engine to root@host it is prompting me for a password.
On my engine, ~root/.ssh does not contain any keys.
On my host, ~root/.ssh has authorized_keys, and in it there is a key with the comment "ovirt-engine".
It's possible that I inadvertently removed ~root/.ssh on engine while I was preparing the engine (I started to set up my own no-password logins and then thought better and cleaned up, not realizing that some prior setup affecting that directory had occurred). That would explain the second issue.
How/when does the key for root@engine get populated to the host's ~root/.ssh/authenticated_keys during setup?
-Bob
>
>> -Bob
>>
>>> Till hosted-engine hosts were simply identified by their IP address but
>> than we had some bug report on side effects of that.
>>> So now we generate and sign certs using host hostnames and so the engine
>> should be able to correctly resolve them.
>>>> When I log into the Administration portal, the engine VM does not appear
>>>> under the Virtual machine view (it's empty).
>>> It's cause the setup didn't complete.
>>>
>>>> I've attached what I think are the relevant logs.
>>>>
>>>> Also, when my host reboots, the ovirt-ha-broker and ovirt-ha-agent
>> services
>>>> do not come up automatically. I have to use systemctl to start them
>>>> manually.
>>> It's cause the setup didn't complete.
>>>
>>>> This is a fresh Fedora 20 machine installing a fresh copy of Ovirt
>> 3.5.1.
>>>> What's the cleanest approach to restore/complete sanity of my setup
>> please?
>>> First step is to clarify what went wrong in order to avoid it in the
>> future.
>>> Than, if you want a really sanity environment for production use I'd
>> suggest to redeploy.
>>> So
>>> hosted-engine --vm-poweroff
>>> empty the storage domain share and deploy again
>>>
>>>> Thanks,
>>>> Bob
>>>>
>>>>
>>>> I've linked 3 files to this email:
>>>> server.log (12.4 MB) Dropbox https://db.tt/g5p09AaD
>>>> vdsm.log (3.2 MB) Dropbox https://db.tt/P4572SUm
>>>> ovirt-hosted-engine-setup-20150306123622-tad1fy.log (413 KB) Dropbox
>>>> https://db.tt/XAM9ffhi
>>>> Mozilla Thunderbird makes it easy to share large files over email.
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
9 years