Unable to use nova microversions

Bug #1564372 reported by Jiří Stránský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Jiří Stránský

Bug Description

Overclouds point compute API to v2 instead of v2.1 which means Nova microversion support isn't present.

Microversions since Nova API v2.1 are aimed to replace the v3 work. The /v2.1 is backwards compatible with the legacy /v2 endpoint. What we called in the past /v3 is now something defunct in-tree. The /v2.1 API is based on the v3 work, but there are many things that differ, in particular with the backwards-compat thing. We keep the /v2 path in api-paste.ini for making sure an upgrade doesn't trample operators and users but if you look in tree, that's redirecting to the v2.1 codepath (just not asking for microversions) https://github.com/openstack/nova/blob/master/etc/nova/api-paste.ini#L18 In summary, we only need one endpoint, ie. /v2.1

Additional information at https://bugzilla.redhat.com/show_bug.cgi?id=1291291

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/300031

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/300031
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=352a9f1567937e2fce08c65ffd29c399441238fc
Submitter: Jenkins
Branch: master

commit 352a9f1567937e2fce08c65ffd29c399441238fc
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 31 16:48:04 2016 +0200

    Don't configure Nova v3 service

    Microversions since Nova API v2.1 are aimed to replace the v3 work.

    The /v2.1 is backwards compatible with the legacy /v2 endpoint.

    What we called in the past /v3 is now something defunct in-tree. The /v2.1 API is based on the v3 work, but there are many things that differ, in particular with the backwards-compat thing I mentioned earlier.

    We keep the /v2 path in api-paste.ini for making sure an upgrade doesn't trample operators and users but if you look in tree, that's redirecting to the v2.1 codepath (just not asking for microversions)

    https://github.com/openstack/nova/blob/master/etc/nova/api-paste.ini#L18

    In summary, we only need one endpoint, ie. /v2.1

    Change-Id: Icdda1e08dd691aeca693725931709dcdc0efaf57
    Related-Bug: #1564372

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (stable/liberty)

Related fix proposed to branch: stable/liberty
Review: https://review.openstack.org/300366

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/300367

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/299896
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b239b6216f1fb6791ab717ffe400a463f269c9d8
Submitter: Jenkins
Branch: master

commit b239b6216f1fb6791ab717ffe400a463f269c9d8
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 31 14:31:53 2016 +0200

    Disable Nova v3 API

    Microversions since Nova API v2.1 are aimed to replace the v3 work. The
    /v2.1 is backwards compatible with the legacy /v2 endpoint. What we
    called in the past /v3 is now something defunct in-tree. The /v2.1 API
    is based on the v3 work, but there are many things that differ, in
    particular with the backwards-compat thing. We keep the /v2 path in
    api-paste.ini for making sure an upgrade doesn't trample operators and
    users but if you look in tree, that's redirecting to the v2.1
    codepath (just not asking for microversions). In summary, we only need
    one endpoint, ie. /v2.1.

    Additional information at https://bugzilla.redhat.com/show_bug.cgi?id=1291291

    Related-Bug: #1564372
    Change-Id: I1654665663bc5a19c201f7d25407910654ac1308
    Depends-On: I6d64b8bcd0f79f1f298ddc809e6d92fbc2985c45

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/300568

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/liberty)

Related fix proposed to branch: stable/liberty
Review: https://review.openstack.org/300569

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (stable/mitaka)

Reviewed: https://review.openstack.org/300367
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=a76174b118c1bcd7eaa17c0764332e9b8a16c55c
Submitter: Jenkins
Branch: stable/mitaka

commit a76174b118c1bcd7eaa17c0764332e9b8a16c55c
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 31 16:48:04 2016 +0200

    Don't configure Nova v3 service

    Microversions since Nova API v2.1 are aimed to replace the v3 work.

    The /v2.1 is backwards compatible with the legacy /v2 endpoint.

    What we called in the past /v3 is now something defunct in-tree. The /v2.1 API is based on the v3 work, but there are many things that differ, in particular with the backwards-compat thing I mentioned earlier.

    We keep the /v2 path in api-paste.ini for making sure an upgrade doesn't trample operators and users but if you look in tree, that's redirecting to the v2.1 codepath (just not asking for microversions)

    https://github.com/openstack/nova/blob/master/etc/nova/api-paste.ini#L18

    In summary, we only need one endpoint, ie. /v2.1

    Depends-On: I1474e8df55e06f4c7e3c9de509f5e38ca727d761
    Change-Id: Icdda1e08dd691aeca693725931709dcdc0efaf57
    Related-Bug: #1564372
    (cherry picked from commit 352a9f1567937e2fce08c65ffd29c399441238fc)

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (stable/liberty)

Reviewed: https://review.openstack.org/300366
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=237b9491181ee3ef78516e3cdfcd5f8d9a43a2a8
Submitter: Jenkins
Branch: stable/liberty

commit 237b9491181ee3ef78516e3cdfcd5f8d9a43a2a8
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 31 16:48:04 2016 +0200

    Don't configure Nova v3 service

    Microversions since Nova API v2.1 are aimed to replace the v3 work.

    The /v2.1 is backwards compatible with the legacy /v2 endpoint.

    What we called in the past /v3 is now something defunct in-tree. The /v2.1 API is based on the v3 work, but there are many things that differ, in particular with the backwards-compat thing I mentioned earlier.

    We keep the /v2 path in api-paste.ini for making sure an upgrade doesn't trample operators and users but if you look in tree, that's redirecting to the v2.1 codepath (just not asking for microversions)

    https://github.com/openstack/nova/blob/master/etc/nova/api-paste.ini#L18

    In summary, we only need one endpoint, ie. /v2.1

    Change-Id: Icdda1e08dd691aeca693725931709dcdc0efaf57
    Related-Bug: #1564372
    (cherry picked from commit 352a9f1567937e2fce08c65ffd29c399441238fc)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/mitaka)

Reviewed: https://review.openstack.org/300568
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d96a72f21bdc8f199b930d0887a1ba4b6c09dbf2
Submitter: Jenkins
Branch: stable/mitaka

commit d96a72f21bdc8f199b930d0887a1ba4b6c09dbf2
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 31 14:31:53 2016 +0200

    Disable Nova v3 API

    Microversions since Nova API v2.1 are aimed to replace the v3 work. The
    /v2.1 is backwards compatible with the legacy /v2 endpoint. What we
    called in the past /v3 is now something defunct in-tree. The /v2.1 API
    is based on the v3 work, but there are many things that differ, in
    particular with the backwards-compat thing. We keep the /v2 path in
    api-paste.ini for making sure an upgrade doesn't trample operators and
    users but if you look in tree, that's redirecting to the v2.1
    codepath (just not asking for microversions). In summary, we only need
    one endpoint, ie. /v2.1.

    Additional information at https://bugzilla.redhat.com/show_bug.cgi?id=1291291

    Related-Bug: #1564372
    Change-Id: I1654665663bc5a19c201f7d25407910654ac1308
    Depends-On: I6d64b8bcd0f79f1f298ddc809e6d92fbc2985c45
    (cherry picked from commit b239b6216f1fb6791ab717ffe400a463f269c9d8)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/liberty)

Reviewed: https://review.openstack.org/300569
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a5c2103b42b14e25f38032cbc18f231ec636a86a
Submitter: Jenkins
Branch: stable/liberty

commit a5c2103b42b14e25f38032cbc18f231ec636a86a
Author: Jiri Stransky <email address hidden>
Date: Thu Mar 31 14:31:53 2016 +0200

    Disable Nova v3 API

    Microversions since Nova API v2.1 are aimed to replace the v3 work. The
    /v2.1 is backwards compatible with the legacy /v2 endpoint. What we
    called in the past /v3 is now something defunct in-tree. The /v2.1 API
    is based on the v3 work, but there are many things that differ, in
    particular with the backwards-compat thing. We keep the /v2 path in
    api-paste.ini for making sure an upgrade doesn't trample operators and
    users but if you look in tree, that's redirecting to the v2.1
    codepath (just not asking for microversions). In summary, we only need
    one endpoint, ie. /v2.1.

    Additional information at https://bugzilla.redhat.com/show_bug.cgi?id=1291291

    Related-Bug: #1564372
    Change-Id: I1654665663bc5a19c201f7d25407910654ac1308
    Depends-On: I6d64b8bcd0f79f1f298ddc809e6d92fbc2985c45
    (cherry picked from commit b239b6216f1fb6791ab717ffe400a463f269c9d8)

Changed in tripleo:
status: Triaged → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/os-cloud-config 5.0.0.0b1

This issue was fixed in the openstack/os-cloud-config 5.0.0.0b1 development milestone.

Steven Hardy (shardy)
Changed in tripleo:
status: Fix Committed → Fix Released
milestone: none → newton-1
assignee: nobody → Jiří Stránský (jistr)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.