Failure on last step of ovirt hosted engine

Hello, I am following the guide "up and running with ovirt 3.5" but with iscsi and not glusterfs. On the last step (after I have already installed ovirt-engine in the vm) the script has stopped due to an error. So the ovirt hosted vm is not registered in the datacenter and iscsi storage is not seen by datacenter. I am trying to use ovirt gui to register it manually without luck. Can someone tell me how to repeat the last step of the script? Thanks, Mario

I add that also I cannot add the iscsi storage domain to current datacenter because obviously it is already attached to another datacenter. Mario 2014-11-21 19:39 GMT+01:00 Mario Giammarco <mgiammarco@gmail.com>:
Hello, I am following the guide "up and running with ovirt 3.5" but with iscsi and not glusterfs. On the last step (after I have already installed ovirt-engine in the vm) the script has stopped due to an error. So the ovirt hosted vm is not registered in the datacenter and iscsi storage is not seen by datacenter.
I am trying to use ovirt gui to register it manually without luck.
Can someone tell me how to repeat the last step of the script?
Thanks, Mario

On 11/21/2014 07:39 PM, Mario Giammarco wrote:
Hello, I am following the guide "up and running with ovirt 3.5" but with iscsi and not glusterfs. On the last step (after I have already installed ovirt-engine in the vm) the script has stopped due to an error. So the ovirt hosted vm is not registered in the datacenter and iscsi storage is not seen by datacenter.
I am trying to use ovirt gui to register it manually without luck.
Can someone tell me how to repeat the last step of the script?
The HE storage shouldn't be visible in the engine, so don't add it. If the vm and engine is running you should be fine just adding the host manually to the engine and starting the ovirt-ha-agent and ovirt-ha-broker services on the host (don't forget to make them start on boot) --Jirka
Thanks, Mario
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Il 24/11/2014 10:15, Jiri Moskovcak ha scritto:
On 11/21/2014 07:39 PM, Mario Giammarco wrote:
Hello, I am following the guide "up and running with ovirt 3.5" but with iscsi and not glusterfs. On the last step (after I have already installed ovirt-engine in the vm) the script has stopped due to an error. So the ovirt hosted vm is not registered in the datacenter and iscsi storage is not seen by datacenter.
I am trying to use ovirt gui to register it manually without luck.
Can you please attach the logs of the error you got? I can't help with trying to complete a setup manually without knowing the current state :-)
Can someone tell me how to repeat the last step of the script?
The HE storage shouldn't be visible in the engine, so don't add it. If the vm and engine is running you should be fine just adding the host manually to the engine and starting the ovirt-ha-agent and ovirt-ha-broker services on the host (don't forget to make them start on boot)
--Jirka
Thanks, Mario
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

2014-11-24 10:53 GMT+01:00 Sandro Bonazzola <sbonazzo@redhat.com>:
Can you please attach the logs of the error you got? I can't help with trying to complete a setup manually without knowing the current state :-)
I fear I have lost the log, can you please help me providing the name or
path of the log file you need? Thanks, Mario

On 24/11/14 12:26, Mario Giammarco wrote:
path of the log file you need? hosted-engine logs are afaik under /var/log/ovirt-engine/hosted-engine/ you should send everything under this path (better safe than sorry): /var/log/ovirt-engine/*
if it's too much (more than a few mb's) you should upload it to a file hoster of your choice and share just the link. I doubt you even looked yourself for the logs, did you? HTH -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

Il 24/11/2014 12:26, Mario Giammarco ha scritto:
2014-11-24 10:53 GMT+01:00 Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>>:
Can you please attach the logs of the error you got? I can't help with trying to complete a setup manually without knowing the current state :-)
I fear I have lost the log, can you please help me providing the name or path of the log file you need?
let's start with: /var/log/ovirt-hosted-engine-setup/* and the archive from sosreport -o auditd,block,devicemapper,iscsi,iscsitarget,kvm,libvirt,sanlock,selinux,rpm,vdsm
Thanks, Mario
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

Here are pastebins for /var/log/ovirt-hosted-engine-setup/* http://pastebin.com/n4Nn2vUE http://pastebin.com/0Z4m6ac6 http://pastebin.com/PvJPh0w9 http://pastebin.com/eCpGk5VB http://pastebin.com/Cnjut6pT Where should I send sosreport output? Please note that I had to remove ",vdsm" to make it work. Thanks, Mario 2014-11-24 12:45 GMT+01:00 Sandro Bonazzola <sbonazzo@redhat.com>:
Il 24/11/2014 12:26, Mario Giammarco ha scritto:
2014-11-24 10:53 GMT+01:00 Sandro Bonazzola <sbonazzo@redhat.com
<mailto:sbonazzo@redhat.com>>:
Can you please attach the logs of the error you got? I can't help with trying to complete a setup manually without
knowing the current state :-)
I fear I have lost the log, can you please help me providing the name or
path of the log file you need?
let's start with: /var/log/ovirt-hosted-engine-setup/*
and the archive from
sosreport -o auditd,block,devicemapper,iscsi,iscsitarget,kvm,libvirt,sanlock,selinux,rpm,vdsm
Thanks, Mario
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

Il 24/11/2014 22:19, Mario Giammarco ha scritto:
Here are pastebins for /var/log/ovirt-hosted-engine-setup/*
Looks like you had a storage failure here ^^, no corresponding device while initializing sanlock
This ^^ has been interrupted in the middle with SIG2
^^^ same no corresponding device error here while initializing sanlock
^^ again the SIG2 interruption
^^^ RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 You specified different passwords for user admin@internal in hosted-engine --deploy on the host and engine-setup inside the VM.
Where should I send sosreport output? Please note that I had to remove ",vdsm" to make it work.
Thanks, Mario
2014-11-24 12:45 GMT+01:00 Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>>:
Il 24/11/2014 12:26, Mario Giammarco ha scritto: > > > 2014-11-24 10:53 GMT+01:00 Sandro Bonazzola <sbonazzo@redhat.com <mailto:sbonazzo@redhat.com> <mailto:sbonazzo@redhat.com <mailto:sbonazzo@redhat.com>>>: > > > > Can you please attach the logs of the error you got? > I can't help with trying to complete a setup manually without knowing the current state :-) > > > I fear I have lost the log, can you please help me providing the name or path of the log file you need?
let's start with: /var/log/ovirt-hosted-engine-setup/*
and the archive from
sosreport -o auditd,block,devicemapper,iscsi,iscsitarget,kvm,libvirt,sanlock,selinux,rpm,vdsm
> Thanks, > Mario
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
participants (4)
-
Jiri Moskovcak
-
Mario Giammarco
-
Sandro Bonazzola
-
Sven Kieske