Use different timeouts for instance create, and instance restore

Bug #1356645 reported by Nikhil Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Nikhil Manchanda

Bug Description

Currently we only have a single timeout (usage_timeout: default 400s) after which any instance in BUILD status is automatically put in error state.

However, if we're trying to restore an instance from backup, this can and will likely take longer than 400s, so we should have a different and larger timeout for this scenario.

Changed in trove:
status: New → Triaged
importance: Undecided → Medium
milestone: none → juno-3
assignee: nobody → Nikhil Manchanda (slicknik)
Revision history for this message
Denis M. (dmakogon) wrote :

as already said, restore timeout should be dependent on data size and network latency

Changed in trove:
importance: Medium → High
milestone: juno-3 → ongoing
Changed in trove:
milestone: ongoing → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/123677
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=1654031cc6b0fa28efb322717efabf2bebffabf8
Submitter: Jenkins
Branch: master

commit 1654031cc6b0fa28efb322717efabf2bebffabf8
Author: Nikhil Manchanda <email address hidden>
Date: Wed Sep 24 02:55:41 2014 -0700

    Use different timeouts for create and restore

    Restoring an instance from a backup can take significantly longer than
    just creating an instance. Introduce a new timeout for the restore case
    with a higher default value

    Change-Id: I44af03e9b2c966dd94fcfd0ff475f112ac21be5b
    Closes-Bug: 1356645

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: juno-rc1 → 2014.2
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.