Timeout on id_rsa generation causes cluster startup failure

Bug #1213392 reported by Dmitry Mescheryakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Dmitry Mescheryakov

Bug Description

Right now we wait in instances.py:_configure_instances() for .ssh/id_rsa to be generated with timeout 10 seconds. Sometimes that causes cluster creation failure, which is painful especially in case of integration tests.

That is not a proper place for the check - it should be located in _check_if_up() where other similar checks are performed. Moreover timeout should be removed to stabilize the CI. Later we can introduce finely tuned timeouts for this and other checks.

An example of tests failing due to the issue:
http://jenkins.savanna.mirantis.com/job/gate-savanna-integration/700/consoleText

The specific line is
Can't start cluster 'ci-700-22' (reason: Error getting user private key)

Tags: 0.3
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

By the way there is no such check in stable/0.2 branch. We should consider adding it there

description: updated
tags: added: 0.3
Changed in savanna:
milestone: none → 0.3a1
assignee: nobody → Dmitry Mescheryakov (dmitrymex)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Sergey Lukjanov (slukjanov) wrote :
Changed in savanna:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to savanna (master)

Reviewed: https://review.openstack.org/42476
Committed: http://github.com/stackforge/savanna/commit/17398aeab5f123a47d98fda8fa919ef1ba4527b7
Submitter: Jenkins
Branch: master

commit 17398aeab5f123a47d98fda8fa919ef1ba4527b7
Author: Dmitry Mescheryakov <email address hidden>
Date: Sat Aug 17 18:47:08 2013 +0400

    Remove timeout for id_rsa generation

    Fixes: bug #1213392

    Change-Id: I498bd1501eb7110d27d4e5d0719ce37a087af096

Changed in savanna:
status: In Progress → Fix Committed
Changed in savanna:
status: Fix Committed → Fix Released
Changed in savanna:
milestone: 0.3a1 → 0.3
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.