Invalid API request during claim creation with maximum TTL
Bug #1575870 reported by
Andrew Robbins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
Fix Released
|
High
|
Feilong Wang |
Bug Description
To reproduce the issue:
$ openstack queue create Q1
+-------+-------+
| Field | Value |
+-------+-------+
| Name | Q1 |
+-------+-------+
# Then, post some messages to Q1 ...
$ openstack claim create --ttl 1209600 --grace 60 --limit 1 Q1
Error response from Zaqar. Code: 400. Title: Invalid API request. Description: The TTL for a claim may not exceed 1209600 seconds, and must be at least 60 seconds long..
You should see an error message similar to the above one. The weird thing is that this error does not happen for small TTLs, like 60.
Changed in zaqar: | |
assignee: | nobody → Fei Long Wang (flwang) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in zaqar: | |
status: | Triaged → In Progress |
To post a comment you must log in.
I found the exact value: --ttl 43200 works, but --ttl 43201 fails.