Keep config drive in swift until server deletion
Bug #1612476 reported by
xiaobin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
High
|
xiaobin |
Bug Description
Currently if configdrive_
{'X-Delete-After': timeout}
Which means config drive will be removed after "timeout" seconds.
If the server is rebuilt "timeout" seconds later, config drive won't be available, provisioning will fail.
Proposal:
1. Do not pass 'X-Delete-After' header
2. Delete config drive during server deletion
3. If config drive is allowed in "rebuild" call (Bug 1575935), override previous config drive.
UPD by dtantsur: we still must expire the temporary URL and generate a new one on rebuild.
Changed in ironic: | |
assignee: | nobody → xiaobin (jxiaobin) |
description: | updated |
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → High |
summary: |
- Do not auto expire config drive in swift + Keep config drive in swift until server is removed |
summary: |
- Keep config drive in swift until server is removed + Keep config drive in swift until server deletion |
Changed in ironic: | |
status: | In Progress → Invalid |
To post a comment you must log in.
We need to fix rebuild, not keep configdrive in Swifr forever (this is a security concern).