Migrate to glance v2
Glancev1 tagged as deprecated, and now glancev2 is default, I think we should migrate to use glanceclientv2, and we also should to make glance resources(now just one resource: image) compatible for glance v1 and v2.
There are two different between v1 and v2 for image resource in heat:
1. Glance V1 support 'location' parameter in image-create api, but Glance V2 doesn't support 'location' in image-create api, instead provide another api location-add we can set the location after a empty image creation.
2. Glance V1 support 'is_public' parameter in image-create api, instead V2 use 'visibility' to indicate whether is public.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- huangtianhua
- Direction:
- Needs approval
- Assignee:
- huangtianhua
- Definition:
- Discussion
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- next
- Started by
- Thomas Herve
- Completed by
- Thomas Herve
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Migrate to use glance v2
Moved to Heat-next (N-release), because need more investigating and collaboration with Glance team
Gerrit topic: https:/
Addressed by: https:/
Deprecate OS::Glance::Image
Work Items
Dependency tree
* Blueprints in grey have been implemented.