'schedule' should be a required parameter in a session
Bug #1679998 reported by
jiaopengju
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
High
|
jiaopengju |
Bug Description
Currently, when create a new session as below:
{
"session_id": "123321123",
"session_tag": 21,
"description": "test_session",
"hold_off": 10,
"time_start": 1491363102,
"time_end": 1492363102
}
The result is successful.
But when we want to add a new job to the session, it will be failed with internal error.
So, I think we should add schedule validation in session creating.
Changed in freezer: | |
assignee: | nobody → jiaopengju (pj-jiao) |
status: | New → In Progress |
Changed in freezer: | |
importance: | Undecided → High |
milestone: | none → pike-2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/453547 /git.openstack. org/cgit/ openstack/ freezer- api/commit/ ?id=509615a5e68 04d960756dc893e 10eff05bf7b964
Committed: https:/
Submitter: Jenkins
Branch: master
commit 509615a5e6804d9 60756dc893e10ef f05bf7b964
Author: Pengju Jiao <email address hidden>
Date: Wed Apr 5 17:38:00 2017 +0800
Add 'schedule' to session schema
Currently we can create a new session with json
file that has no 'schedule' option successfully,
but when we add a new job to the session, it will
be failed with internal error. This patch add
'schedule' validation in session creating.
Change-Id: Ib092700d8d08d7 9a4708947eaad86 ec48c24b4a9
Closes-Bug: #1679998