Master node fails during create and environment due to connection issue

Bug #1428009 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Wishlist
Matthew Mosesohn
6.0.x
Fix Committed
Critical
Matthew Mosesohn

Bug Description

6.0.1.staging.centos.bvt_1 and 6.0.1.staging.ubuntu.bvt_2 jobs fails du to connection issue during creation environment.

http://jenkins-product.srt.mirantis.net:8080/view/6.0.1/job/6.0.1.staging.centos.bvt_1/69/console

http://jenkins-product.srt.mirantis.net:8080/job/6.0.1.staging.ubuntu.bvt_2/67/console

======================================================================
ERROR: Create environment and set up master node
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/tests/base_test_case.py", line 57, in setup_master
    self.env.setup_environment()
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/models/environment.py", line 501, in setup_environment
    self.set_admin_keystone_password()
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/models/environment.py", line 474, in set_admin_keystone_password
    self._fuel_web.client.get_releases()
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/helpers/decorators.py", line 96, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/models/nailgun_client.py", line 140, in get_releases
    return self.client.get("/api/releases/")
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/helpers/http.py", line 67, in get
    return self._open(req)
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/helpers/http.py", line 97, in _open
    return self._get_response(req)
  File "/home/jenkins/workspace/6.0.1.staging.centos.bvt_1/fuelweb_test/helpers/http.py", line 109, in _get_response
    return self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error

----------------------------------------------------------------------

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Revision history for this message
Sergey Kraynev (skraynev) wrote :

Matthew, yeah it seems related, but I am not sure that it's exactly the same issue.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Changed in fuel:
milestone: none → 6.0.1
assignee: Fuel for Openstack (fuel) → Matthew Mosesohn (raytrac3r)
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Looks like postgres container has a race condition where it reports that it's ready before Puppet apply is done. Creating a new ticket for that defect.

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Notice: /Stage[main]/Nailgun::Venv/Exec[nailgun_syncdb]/returns: pkg_resources.DistributionNotFound: urllib3==1.7 this hardcoded dependency in nailgun caused nailgun itself to fail on this BVT.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/161173

Changed in fuel:
milestone: 6.0.1 → 6.1
status: In Progress → New
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/6.0)

Reviewed: https://review.openstack.org/161173
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=583e8331b622c81de12344f2a5388b953f413c33
Submitter: Jenkins
Branch: stable/6.0

commit 583e8331b622c81de12344f2a5388b953f413c33
Author: Igor Kalnitsky <email address hidden>
Date: Tue Jan 20 11:47:43 2015 +0200

    Change Nailgun urllib3 requirement to fit its spec

    The requirements list should be the same in both requirements.txt and
    nailgun.spec. So change urllib3==1.7 to urllib3>=1.7.

    Change-Id: I9e2da92c08f138da5ce9fcda362b2e2bfbe34fb9
    Closes-Bug: #1412711
    Closes-Bug: #1428009
    (cherry picked from commit a87dc20ae5c00fb4ecdbe77961dccd220f95fe9e)

Changed in fuel:
status: New → Fix Committed
status: Fix Committed → New
milestone: 6.1 → none
status: New → Fix Committed
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This did not apply to 6.1 at all. It was already committed to 6.1 a long time ago.

Changed in fuel:
milestone: none → 6.1
importance: Critical → Wishlist
status: Fix Committed → Won't Fix
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.