nova list-extensions is abandoned

Bug #1847959 reported by mashuting
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Matt Riedemann

Bug Description

Nova API 'list-extensions' is deprecated :https://review.opendev.org/#/c/686516/
Horizon will be blocked when import list-extensions from novaclient.

Tags: nova
Akihiro Motoki (amotoki)
tags: added: nova
removed: nova-api
Akihiro Motoki (amotoki)
Changed in horizon:
assignee: nobody → Akihiro Motoki (amotoki)
importance: Undecided → High
status: New → Triaged
milestone: none → ussuri-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.opendev.org/689320

Changed in horizon:
status: Triaged → In Progress
Changed in horizon:
assignee: Akihiro Motoki (amotoki) → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Akihiro Motoki (<email address hidden>) on branch: master
Review: https://review.opendev.org/689320
Reason: https://review.opendev.org/690134 supersedes it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.opendev.org/690134
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=b148c9207580731863e4dc49771e132a8c31edbc
Submitter: Zuul
Branch: master

commit b148c9207580731863e4dc49771e132a8c31edbc
Author: Matt Riedemann <email address hidden>
Date: Tue Oct 22 13:14:13 2019 -0400

    Remove dependency on novaclient list_extensions API

    The novaclient list_extensions API binding was removed in the
    16.0.0 release [1]. The ability to enable/disable extensions
    in nova has been deprecated since Liberty [2] and was removed
    in Newton [3].

    For horizon this only matters for the OPENSTACK_NOVA_EXTENSIONS_BLACKLIST
    config setting and some javascript code used to compile panels based on
    enabled extensions. In order to work with novaclient 16.0.0+, this
    change removes the list_extensions usage since all extensions
    are enabled in nova and thus for horizon a nova extension is only
    not supported if it's in the configured blacklist. To continue supporting
    the javascript code which uses the getExtensions function, the extension
    names are hard-coded. Note that the method meant to test that code,
    _test_extension_list, was wrong but never ran because of the underscore
    prefix on the method name. That is fixed here.

    [1] https://review.opendev.org/686516/
    [2] https://review.opendev.org/214592/
    [3] https://review.opendev.org/351362/

    Change-Id: Iebb1e78c718b931d632445e4de6d7a29ccb92be2
    Closes-Bug: #1847959

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 17.0.0

This issue was fixed in the openstack/horizon 17.0.0 release.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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