make timeouts datastore specific

Bug #1529622 reported by Amrith Kumar
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Confirmed
Medium
Unassigned

Bug Description

Timeouts like resize timeout and restart timeout are currently configurable but are common for all datastores. In restarting some datastores, it has been observed that these timeouts are sufficient but for some others they are not. It would be preferable to make the timeouts datastore specific.

VOLUME_TIME_OUT = CONF.volume_time_out # seconds.
DNS_TIME_OUT = CONF.dns_time_out # seconds.
RESIZE_TIME_OUT = CONF.resize_time_out # seconds.
REVERT_TIME_OUT = CONF.revert_time_out # seconds.
HEAT_TIME_OUT = CONF.heat_time_out # seconds.
USAGE_SLEEP_TIME = CONF.usage_sleep_time # seconds.

from taskmanager/models.py

Amrith Kumar (amrith)
Changed in trove:
assignee: Amrith (amrith) → nobody
importance: Undecided → Medium
milestone: none → newton-1
status: New → Confirmed
tags: added: low-hanging-fruit
Changed in trove:
assignee: nobody → William Criswell (wc2912)
Revision history for this message
Amrith Kumar (amrith) wrote :

Thank you William

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/303671

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

Change abandoned by William Criswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/303671
Reason: Incorrect commit to master

Amrith Kumar (amrith)
Changed in trove:
status: In Progress → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by William Criswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/303671
Reason: I am unable to resolve the testing failures in functional-dsvm-mysql, so I hope that someone can complete the change.

Changed in trove:
assignee: William Criswell (wc2912) → Amrith (amrith)
status: Confirmed → In Progress
Amrith Kumar (amrith)
Changed in trove:
assignee: Amrith (amrith) → William Criswell (wc2912)
Changed in trove:
assignee: William Criswell (wc2912) → Amrith (amrith)
Amrith Kumar (amrith)
Changed in trove:
assignee: Amrith (amrith) → William Criswell (wc2912)
Changed in trove:
assignee: William Criswell (wc2912) → STEW TY (stewie925)
Amrith Kumar (amrith)
Changed in trove:
milestone: newton-1 → ongoing
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Nikhil Manchanda (<email address hidden>) on branch: master
Review: https://review.openstack.org/303671
Reason: Abandoning due to inactivity as per the discussion in the Trove Weekly meeting on 11/9. Please feel free to restore this patch if this is still work in progress. Thanks!

Revision history for this message
Trevor McCasland (twm2016) wrote :

Removing low-hanging-fruit tag as this wasn't as easy as we thought.

tags: removed: low-hanging-fruit
Changed in trove:
assignee: STEW TY (stewie925) → nobody
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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