Need to lower timeout for downloading diagnostic snapshot

Bug #1308073 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Ihor Kalnytskyi

Bug Description

"build_id": "2014-04-15_12-35-18",
"mirantis": "yes",
"build_number": "369",
"nailgun_sha": "9530ef323b6b5fdb4dc9ff3516054b19b94c8e60",
"production": "dev",
"ostf_sha": "1ac04769cc8034438ccf1176860b25d0f5601c4a",
"fuelmain_sha": "6ed06bf97dade01c40b49d2d1b23311f03efadaa",
"astute_sha": "0cb0b26773bd269000a14748e8ba49419462ecaf",
"release": "5.0",
"fuellib_sha": "5b66a5fa33bd7d56c3442779cd2d0c13c916cdfb"

During installing Ubuntu I start downloading diagnostic snapshot.
Provisioning hangs because of bug with kernel modules.
Timeout for downloading diagnostic snapshot is 1 hour. I need to wait long and I think that need to lower this time.

Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Shotgun should has timeout for ssh connect phase. Also we should check if connection is still alive.

Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
assignee: Dmitry Pyzhov (lux-place) → Fuel Python Team (fuel-python)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

Can't reproduce this bug via CLI. I figured out that Shotgun has a 2 sec timeout for all get file operation from remote nodes. Does this bug happened using CLI or Web UI?

Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

Ooops, sorry for spam. I've reproduced it.

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to fuel-web (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/87960
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=433d2a1e18c8c6fba0831f6a5c24d91d18c68d99
Submitter: Jenkins
Branch: master

commit 433d2a1e18c8c6fba0831f6a5c24d91d18c68d99
Author: Igor Kalnitsky <email address hidden>
Date: Wed Apr 16 15:57:45 2014 +0300

    Add `command_timeout` to shotgun

    In case of something wrong with SSH connection (see attached bug for
    example), we have to restrict our command execution time, to prevent
    hanging of script execution.

    Change-Id: Idc21f5320e6259fb703a2814ab0f074ba9ec5b03
    Closes-Bug: #1308073

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #127
"build_id": "2014-04-23_03-41-25",
"mirantis": "yes",
"build_number": "127",
"nailgun_sha": "ead54af79fb8d798bdf8b7cfc08ee60103c9292f",
"production": "prod",
"ostf_sha": "134765fcb5a07dce0cd1bb399b2290c988c3c63b",
"fuelmain_sha": "a864e28fff841b40c3b4a53f00e622002f300b19",
"astute_sha": "6e8fa4cc12968d7b468fc590b2f06bb59bf74511",
"release": "5.0",
"fuellib_sha": "646e52b7a34a0027b43c46aa5b525fe7674a8059"

Changed in fuel:
status: Fix Committed → Fix Released
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.