Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1053542

Summary: allinone setup failed while 'Creating the local data center'
Product: [Retired] oVirt Reporter: Yedidyah Bar David <didi>
Component: ovirt-engine-installerAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.4CC: acathrow, didi, gklein, iheim, oschreib, sbonazzo, yeylon
Target Milestone: ---Keywords: Reopened
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: ovirt-3.4.0-beta2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-31 12:23:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1038952    
Bug Blocks:    
Attachments:
Description Flags
logs-failed-aio-2014-01-19.tar.gz none

Description Yedidyah Bar David 2014-01-15 11:56:15 UTC
Created attachment 850450 [details]
logs-failed-aio-2014-01-19.tar.gz

Description of problem:

Relevant lines from the log:
2014-01-13 14:18:33 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.all-in-one.vdsm vdsm._waitEngineUp:103 Waiting for Engine health status
2014-01-13 14:18:39 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.all-in-one.vdsm vdsm._closeup:181 Connecting to the Engine
2014-01-13 14:18:41 DEBUG otopi.ovirt_engine_setup.database database.execute:132 Database: 'engine', Statement: '
                select option_name, option_value
                from vdc_options
                where
                    option_name = %(name)s and
                    version = %(version)s
            ', args: {'version': 'general', 'name': 'SupportedClusterLevels'}
2014-01-13 14:18:41 DEBUG otopi.ovirt_engine_setup.database database.execute:190 Result: [{'option_name': 'SupportedClusterLevels', 'option_value': '3.0,3.1,3.2,3.3,3.4'}]
2014-01-13 14:18:41 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.all-in-one.vdsm vdsm._closeup:202 SupportedClusterLevels [3.0,3.1,3.2,3.3,3.4], PACKAGE_VERSION [3.4.0_master],
2014-01-13 14:18:41 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.all-in-one.vdsm vdsm._closeup:214 Creating the local data center
2014-01-13 14:18:41 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-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsm.py", line 219, in _closeup
    version=engine_version,
  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py", line 5161, in add
    headers={"Expect":expect, "Correlation-Id":correlation_id}
  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 82, in add
    return self.request('POST', url, body, headers)
  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request
    persistent_auth=self._persistent_auth)
  File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest
    persistent_auth=persistent_auth
  File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 134, in doRequest
    raise RequestError, response
RequestError:
status: 401
reason: Unauthorized
detail: HTTP Status 401
2014-01-13 14:18:41 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up':

I'll attach more logs.

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


How reproducible:

Not sure. Only tried once. Might be a timing issue.

Steps to Reproduce:
1. install 3.4.0 alpha with allinone plugin
2. engine-setup, choose to setup vdsm
3.

Actual results:

setup fails

Expected results:

setup succeeds

Additional info:

Comment 1 Yedidyah Bar David 2014-01-15 12:02:26 UTC
This was with 3.4.0-alpha on fedora 19.

Comment 2 Yedidyah Bar David 2014-01-16 11:07:56 UTC
Now happened to me on nightly.  I think I'll try to look at it a bit.

Comment 3 Yedidyah Bar David 2014-01-16 15:25:56 UTC
I verified that changing the call to ovirtsdk.API from '/ovirt-engine/api' to '/api' solves this problem.

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

Comment 4 Yedidyah Bar David 2014-01-19 09:45:44 UTC
Reopening and setting Depends as 1038952 is on RHEV.

Comment 5 Yedidyah Bar David 2014-01-27 09:15:04 UTC
(Still waiting for bug #1038952, but nothing to do here)

Comment 6 Sandro Bonazzola 2014-02-07 11:19:49 UTC
Fixes should be in ovirt-3.4.0-beta2. Assignee please check.

Comment 7 Yedidyah Bar David 2014-02-09 11:36:54 UTC
Verified in ovirt-hosted-engine-setup-1.1.0-0.5.beta2.fc19.noarch from ovirt-3.4.0-prerelease .

Comment 8 Sandro Bonazzola 2014-03-31 12:23:42 UTC
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released