List extensions not exposed in the user-facing library API

Bug #1313266 reported by Fernando Ribeiro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Invalid
Undecided
Unassigned
python-keystoneclient
Fix Released
Wishlist
Matt Fischer
python-neutronclient
Invalid
Undecided
Unassigned
python-novaclient
Invalid
Undecided
Manas Mandlekar

Bug Description

The client and CLI don't support listing extensions, unlike the API [1].

[1] http://docs.openstack.org/api/openstack-identity-service/2.0/content/GET_listExtensions_v2.0_extensions_.html

This is also true for Compute (nova) and Block/Volume (cinder).

Nova: http://developer.openstack.org/api-ref-compute-v2.html

Block: http://developer.openstack.org/api-ref-blockstorage-v2.html

Lack of support is blocking implementation in the openstack client (https://bugs.launchpad.net/python-openstackclient/+bug/1319115)

Matt Fischer (mfisch)
affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
status: New → Confirmed
Matt Fischer (mfisch)
Changed in python-keystoneclient:
assignee: nobody → Matt Fischer (mfisch)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

summary: - Missing Operation in the Identity CLI and Python Client
+ Missing Operation in the Identity Python Client and CLI
description: updated
Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → Wishlist
summary: - Missing Operation in the Identity Python Client and CLI
+ No API to explicitly list extensions
Revision history for this message
Matt Fischer (mfisch) wrote : Re: No API to explicitly list extensions
summary: - No API to explicitly list extensions
+ List extensions not exposed in user-facing library API
summary: - List extensions not exposed in user-facing library API
+ List extensions not exposed in the user-facing library API
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/92978
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=7f8867472f50ee0df8fd4b0526ea13acf599efdd
Submitter: Jenkins
Branch: master

commit 7f8867472f50ee0df8fd4b0526ea13acf599efdd
Author: Matt Fischer <email address hidden>
Date: Thu May 8 23:12:00 2014 -0600

    Add support for extensions-list

    Add support to list extensions in the v2.0 API.

    Change-Id: I4ddf888966e2ed51cf8cb1171aded8025440cfd4
    Closes-Bug: #1313266

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.9.0
Dolph Mathews (dolph)
Changed in python-keystoneclient:
status: Fix Committed → Fix Released
Matt Fischer (mfisch)
tags: added: low-hanging-fruit
Revision history for this message
Matt Fischer (mfisch) wrote :

Neutron already has this support.

description: updated
Changed in python-neutronclient:
status: New → Invalid
description: updated
Revision history for this message
Manas Mandlekar (manas-mandlekar) wrote :

Taking a look at the issue.

Changed in python-novaclient:
assignee: nobody → Manas Mandlekar (manas-mandlekar)
Revision history for this message
Manas Mandlekar (manas-mandlekar) wrote :

Testing code changes, running into some issues with UT, will update once resolved.

Revision history for this message
Matt Fischer (mfisch) wrote :

Manas,

If you're working on it, please mark as In Progress.

Revision history for this message
melanie witt (melwitt) wrote :

This is already supported by the 'nova list-extensions' command [1].

[1] http://docs.openstack.org/user-guide/content/novaclient_commands.html

Changed in python-novaclient:
status: New → Invalid
Revision history for this message
melanie witt (melwitt) wrote :

To add more information, the CLI way to list them is as mentioned 'nova list-extensions':

http://docs.openstack.org/user-guide/content/novaclient_commands.html#novaclient_subcommand_list-extensions

and the client way looks like this:

from novaclient import extension
from novaclient.v1_1 import client
from novaclient.v1_1.contrib import list_extensions

extensions = [extension.Extension('list_extensions', list_extensions)]
c = client.Client('admin', 'a', 'admin', auth_url='http://localhost:5000/v2.0', extensions=extensions)
c.list_extensions.show_all()

Revision history for this message
Matt Fischer (mfisch) wrote :

Thats why I could not find it, it's in contrib. I'm curious why but I can work with that.

Revision history for this message
Daniel Snider (daniel-snider) wrote :

This is already supported by the 'cinder list-extensions' command [1] and by python-cinderclient v1.0.3 [2].

[1] http://docs.openstack.org/cli-reference/content/cinderclient_commands.html
[2] http://docs.openstack.org/developer/python-cinderclient/

Changed in python-cinderclient:
status: New → Invalid
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.