Developer Guide: Nova API v2 is deprecated

Bug #1580552 reported by Sharat Sharma on 2016-05-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Hesam Chobanlou

Bug Description

Compute API v2 is deprecated but http://docs.openstack.org/developer/nova/#welcome-to-nova-s-developer-documentation still says that v2 API is supported. Both v2 API and v2 extensions are deprecated.

Changed in nova:
assignee: nobody → Sharat Sharma (sharat-sharma)
tags: added: low low-hanging-fruit
Changed in nova:
status: New → In Progress

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/314984
Reason: This code hasn't been updated in a long time, and is in merge conflict. I am going to abandon this review, but feel free to restore it if you're still working on this.

Cleanup
=======

There are no open reviews for this bug report since more than 2 weeks.
To signal that to other contributors which might provide patches for
this bug, I switch the status from "In Progress" to "Confirmed" and
remove the assignee.
Feel free to add yourself as assignee and to push a review for it.

Changed in nova:
status: In Progress → Confirmed
assignee: Sharat Sharma (sharat-sharma) → nobody
importance: Undecided → Low
Chris Martin (cm876n) on 2016-08-16
Changed in nova:
assignee: nobody → Chris Martin (cm876n)
Chris Martin (cm876n) on 2016-08-16
Changed in nova:
status: Confirmed → In Progress
John Garbutt (johngarbutt) wrote :

So the V2 API is not deprecated, its is supported.

Most of the API extensions all work still. Its more that you can no longer user extensions to extend the API.

We should be careful about this wording.

Fix proposed to branch: master
Review: https://review.openstack.org/366162

Change abandoned by Christopher Martin (<email address hidden>) on branch: master
Review: https://review.openstack.org/355978

Chris Martin (cm876n) on 2016-09-22
Changed in nova:
assignee: Chris Martin (cm876n) → nobody
status: In Progress → Confirmed

Change abandoned by Christopher Martin (<email address hidden>) on branch: master
Review: https://review.openstack.org/366162

Changed in nova:
assignee: nobody → Hesam Chobanlou (hesamchobanlou)

Fix proposed to branch: master
Review: https://review.openstack.org/387778

Changed in nova:
status: Confirmed → In Progress
John Garbutt (johngarbutt) wrote :

As per my previous comments, the v2.0 API is not deprecated.

Once version of the code behind the API was deprecated and has been removed. The Public API should be just as it always was, and should keep working.

Changed in nova:
status: In Progress → Won't Fix
status: Won't Fix → Invalid
Matt Riedemann (mriedem) wrote :

@John, v2.1 will serve v2.0 requests, but the deprecation angle is a bit touchy as we deprecated the v2.0 route in liberty, dropped the code in newton and said we wouldn't fix latent bugs in it before that.

We don't list it as deprecated here though:

https://github.com/openstack/nova/blob/master/doc/api_samples/versions/versions-get-resp.json#L11

So I can see where the confusion comes in.

Reviewed: https://review.openstack.org/387778
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=200d50b3261eb14fb0c84d63bbeedd0b6da3fbd8
Submitter: Jenkins
Branch: master

commit 200d50b3261eb14fb0c84d63bbeedd0b6da3fbd8
Author: Hesam Chobanlou <email address hidden>
Date: Mon Oct 17 22:32:09 2016 -0500

    Mention API V2 should no longer be used

    Adding a reminder that V2 APIs should no longer be used and are only
    available for backward compatibility purposes.

    Change-Id: Ib885c102a59b3c339b0e7986145a1c2defb346fc
    Closes-bug: 1580552

Changed in nova:
status: Invalid → Fix Released

This issue was fixed in the openstack/nova 15.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers