migrate glanceclient to osc

Registered by LiuNanke

In a long term, OSC should implement image commands in itself, using
python-openstacksdk, not depending on glanceclient. Since image commands
 are not too many in OSC, I think it is time to migrate glanceclient to
OSC, just like Neutron guys are migrating neutronclient to OSC.

1. Decouple OSC from glanceclient

OSC is now using glanceclient to implement image commands. There are 8
commands implemented in v2, and 6 in v1. And they are all supported by
SDK. So first of all, migrate these commands to use SDK.

2. Implement all the other glanceclient commands in OSC using SDK

now support in v1:
  image create
  image delete
  image list
  image save
  image set
  image show

in v2:
  image add project
  image create
  image delete
  image list
  image remove project
  image save
  image set
  image show

so,I think there are a lot of work to do.
We need more discussion with glance guys about this.

Blueprint information

Status:
Not started
Approver:
Steve Martinelli
Priority:
Medium
Drafter:
LiuNanke
Direction:
Approved
Assignee:
LiuNanke
Definition:
Approved
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

(stevemar) This looks OK to me. Removing glanceclient will also remove warlock (ick!) as a dependency. We should get all existing commands to use the SDK before asking the glance team for a proper deprecation of glanceclient CLI.

Gerrit topic: https://review.openstack.org/#q,topic:bp/migrate-glanceclient-to-osc,n,z

Addressed by: https://review.openstack.org/331022
    Migrate "image show" command to osc from glanceclient.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.