Bug 1325677 - Cannot automatically add the host to cluster Default <html><head><title>Error</title></head><body>Internal Server Error</body></html> .
Summary: Cannot automatically add the host to cluster Default <html><head><title>Error...
Keywords:
Status: CLOSED DUPLICATE of bug 1320964
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: ---
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ovirt-4.0.0-alpha
: ---
Assignee: Ori Liel
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: 1186388 1283499
TreeView+ depends on / blocked
 
Reported: 2016-04-10 15:09 UTC by Nikolai Sednev
Modified: 2017-05-11 09:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-11 08:09:11 UTC
oVirt Team: Infra
Embargoed:
oourfali: ovirt-4.0.0?
rule-engine: planning_ack?
oourfali: devel_ack+
rule-engine: testing_ack?


Attachments (Terms of Use)
sosreport from host (6.01 MB, application/x-xz)
2016-04-10 15:28 UTC, Nikolai Sednev
no flags Details
enigine's log (61.88 KB, text/plain)
2016-04-10 15:37 UTC, Nikolai Sednev
no flags Details
sosreport from the engine (5.97 MB, application/x-xz)
2016-04-11 06:24 UTC, Nikolai Sednev
no flags Details

Description Nikolai Sednev 2016-04-10 15:09:26 UTC
Description of problem:
I'm failing on hosted-engine appliance deployment over NFS storage with following error:

[ INFO  ] Connecting to the Engine
[ ERROR ] Cannot automatically add the host to cluster Default:  <html><head><title>Error</title></head><body>Internal Server Error</body></html> 
         
         
          Please check Engine VM configuration.
         
          Make a selection from the options below:
          (1) Continue setup - Engine VM configuration has been fixed
          (2) Abort setup
         
          (1, 2)[1]: 
         
          Checking for oVirt-Engine status at nsednev-he-2.qa.lab.tlv.redhat.com...
[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ ERROR ] Cannot automatically add the host to cluster Default:  <html><head><title>Error</title></head><body>Internal Server Error</body></html> 
         
         
          Please check Engine VM configuration.
         
          Make a selection from the options below:
          (1) Continue setup - Engine VM configuration has been fixed
          (2) Abort setup
         
          (1, 2)[1]: 1 
                                                                                                                                                  
          Checking for oVirt-Engine status at nsednev-he-2.qa.lab.tlv.redhat.com...                                                               
[ INFO  ] Engine replied: DB Up!Welcome to Health Status!                                                                                         
[ ERROR ] Cannot automatically add the host to cluster Default:  <html><head><title>Error</title></head><body>Internal Server Error</body></html> 
                                                                                                                                                  
                                                                                                                                                  
          Please check Engine VM configuration.                                                                                                   
         
          Make a selection from the options below:
          (1) Continue setup - Engine VM configuration has been fixed
          (2) Abort setup


Version-Release number of selected component (if applicable):

qemu-kvm-rhev-2.3.0-31.el7_2.11.x86_64
libvirt-client-1.2.17-13.el7_2.4.x86_64
vdsm-4.17.999-817.git03d82f6.el7.centos.noarch
mom-0.5.2-0.0.master.20160226114234.git95535d1.el7.noarch
sanlock-3.2.4-2.el7_2.x86_64
ovirt-hosted-engine-ha-2.0.0-0.0.master.20160321143043.20160321143039.gitadbef4c.el7.noarch
ovirt-setup-lib-1.0.2-0.0.master.20160119215211.gita8bd5cb.el7.centos.noarch
ovirt-vmconsole-1.0.1-0.0.master.20160309100203.gitdfa3c40.el7.noarch
ovirt-release40-4.0.0-0.2.alpha1.20160405123556.gitbd184ec.noarch
libgovirt-0.3.3-1.el7_2.1.x86_64
ovirt-vmconsole-host-1.0.1-0.0.master.20160309100203.gitdfa3c40.el7.noarch
ovirt-engine-sdk-python-3.6.3.1-0.1.20160211.git13845c8.el7.centos.noarch
ovirt-hosted-engine-setup-2.0.0-0.0.master.20160318071154.gite339fa9.el7.centos.noarch
ovirt-host-deploy-1.5.0-0.0.master.20160317100615.gitf913ead.el7.noarch

Red Hat Enterprise Linux Server release 7.2 (Maipo)
Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Mon Feb 29 13:22:02 EST 2016 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
100%

Steps to Reproduce:
1.Deploy HE appliance on clean el7.2.
2.
3.

Actual results:
Deployment fails with "[ ERROR ] Cannot automatically add the host to cluster Default:  <html><head><title>Error</title></head><body>Internal Server Error</body></html> "

Expected results:
Deployment should pass without errors.

Additional info:
sosreport from both host and the engine attached.

Comment 1 Nikolai Sednev 2016-04-10 15:28:33 UTC
Created attachment 1145687 [details]
sosreport from host

Comment 2 Nikolai Sednev 2016-04-10 15:36:42 UTC
Inside the engine was nothing within the host-deploy logs:
ll /var/log/ovirt-engine/host-deploy/
total 0
So adding the engine log from the engine.

Comment 3 Nikolai Sednev 2016-04-10 15:37:11 UTC
Created attachment 1145689 [details]
enigine's log

Comment 4 Oved Ourfali 2016-04-11 06:14:24 UTC
Please provide COMPLETE ovirt logs (engine.log, server.log... basically everything in the log directory of the engine).

Comment 5 Nikolai Sednev 2016-04-11 06:23:35 UTC
(In reply to Oved Ourfali from comment #4)
> Please provide COMPLETE ovirt logs (engine.log, server.log... basically
> everything in the log directory of the engine).

Sure, provided. For some reason sosreport tool was not installed on appliance.

Engine:
ovirt-engine-setup-4.0.0-0.0.master.20160322111609.gita8e07cd.el7.centos.noarch
CentOS Linux release 7.2.1511 (Core) 
Linux 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Comment 6 Nikolai Sednev 2016-04-11 06:24:30 UTC
Created attachment 1145836 [details]
sosreport from the engine

Comment 7 Ori Liel 2016-04-11 08:09:11 UTC

*** This bug has been marked as a duplicate of bug 1320964 ***


Note You need to log in before you can comment on or make changes to this bug.