[openstack-dev] [nova][glance] Proposal to remove `nova image-*` commands from novaclient
Steve Martinelli
stevemar at ca.ibm.com
Wed Apr 6 04:45:42 UTC 2016
+1000. Totally in favor of this, if anything it seems overdue, I'm a bit
surprised that they aren't already deprecated. Two alternatives exist for
the CLI (osc and glanceclient), and two alternatives exist for python API
bindings (SDK and glanceclient).
This should follow the same case with the nova volume-* commands, deprecate
for 2 releases [1] and then remove [2]. The deprecation message can point
users to OSC and glanceclient.
[1]
https://github.com/openstack/python-novaclient/commit/23f13437dd64496fcbc138bbaa9b0ac615a3cf23
[2]
https://github.com/openstack/python-novaclient/commit/a42570268915f42405ed0b0a67c25686b5db22ce
Thanks,
Steve Martinelli
OpenStack Keystone Project Team Lead
From: Matt Riedemann <mriedem at linux.vnet.ibm.com>
To: "OpenStack Development Mailing List (not for usage questions)"
<openstack-dev at lists.openstack.org>
Date: 2016/04/05 03:49 PM
Subject: [openstack-dev] [nova][glance] Proposal to remove `nova
image-*` commands from novaclient
As we discuss the glance v2 spec for nova, questions are coming up
around what to do about the nova images API which is a proxy for glance v1.
I don't want to add glance v2 support to the nova API since that's just
more proxy gorp.
I don't think we can just make the nova images API fail if we're using
glance v2 in the backend, but we'll need some translation later for:
user->nova-images->glance.v2->glance.v1(ish)->user
But we definitely want people to stop using the nova images API.
I think we can start by deprecating the nova images-* commands in
python-novaclient, and probably the python API bindings in novaclient too.
People should be using python-glanceclient or python-openstackclient for
the CLI, and python-glanceclient or some SDK for the python API bindings.
We recently removed the deprecated nova volume-* stuff from novaclient,
this would be the same idea.
Does anyone have an issue with this?
--
Thanks,
Matt Riedemann
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160406/2c4ef489/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160406/2c4ef489/attachment.gif>
More information about the OpenStack-dev
mailing list