swift-related code needs refactoring
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
currently 3 places in Ironic use swift-related actions:
- ilo drivers uses SwiftAPI object from common/swift.py for virtual media boot
- conductor manager uses SwiftAPI object to store configdrive
- glance_service that creates temp_urls for glance images stored in Swift and _does not use_ SwiftAPI object
It would be beneficial to centralize Swift-related code in common/swift.py.
Moreover, we could reduce entanglement between service configs and do not need to have the "swift_
tags: | added: refactoring |
Changed in ironic: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Fix proposed to branch: master /review. openstack. org/352289
Review: https:/