Provisioning master node failed due to timeout

Bug #1531832 reported by Egor Kotko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Egor Kotko

Bug Description

Several tests were failed with not enough time-out on node provisioning. After revert master and waiting ~3 min the master node was accessible by port 22.

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/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-2.9/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-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_tun_scale/fuelweb_test/helpers/decorators.py", line 83, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_tun_scale/fuelweb_test/tests/base_test_case.py", line 141, in setup_master
    self.env.setup_environment()
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_tun_scale/fuelweb_test/models/environment.py", line 436, in setup_environment
    self.wait_for_provisioning()
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_tun_scale/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_tun_scale/fuelweb_test/models/environment.py", line 512, in wait_for_provisioning
    (self.d_env.admin_net), 22), timeout=timeout)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 108, in _wait
    return raising_predicate()
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_neutron_tun_scale/fuelweb_test/models/environment.py", line 512, in <lambda>
    (self.d_env.admin_net), 22), timeout=timeout)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 56, in _tcp_ping
    s.connect((str(host), int(port)))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused

We may need to increase that value - https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/settings.py#L77

Tags: area-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/264761

Changed in fuel:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-qa (master)

Change abandoned by Egor Kotko (<email address hidden>) on branch: master
Review: https://review.openstack.org/264761
Reason: The problem was with server performance:
https://bugs.launchpad.net/fuel/+bug/1531866

Revision history for this message
Egor Kotko (ykotko) wrote :

The problem was with server performance:
https://bugs.launchpad.net/fuel/+bug/1531866

Changed in fuel:
status: In Progress → 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.