CONF.task.task_time_to_live doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
wangxiyuan |
Bug Description
Reproduce:
1.set task_time_to_live to 1 in glance-api.conf:
task_
2. restart glance-api
3. create a import task
{
"type"
"input":{
}
}
}
4. wait for task success
5. show the task:
glance task-show xxxx
Expect : updated_at and expires_at should have the difference of 1 hours.
Actual : they have the difference of 48 hours, which is the default value of task_time_to_live.
The reason is that taskflow created a task object , different from the one created by the glance api. And the task_time_to_live was set to default 48 when taskflow get it.
Changed in glance: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
description: | updated |
Changed in glance: | |
importance: | Undecided → Medium |
tags: | added: liberty-rc-potential |
Changed in glance: | |
milestone: | none → liberty-rc1 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | liberty-rc1 → 11.0.0 |
Fix proposed to branch: master /review. openstack. org/216586
Review: https:/