Datasource action listings for cinder, glance, etc.

Bug #1499025 reported by Tim Hinrichs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Medium
Zhenzan Zhou

Bug Description

The datasource action listings I see are empty for Cinder, Ceilometer, Swift, Neutron, and Glance. Once we get ironic/murano loaded we need to check those as well. On stable/liberty branch.

Revision history for this message
Tim Hinrichs (thinrichs) wrote :

It looks like we just haven't written the code to declare methods as executable in these drivers.

Here's the code in the __init__ method of nova.

        builtin = ds_utils.inspect_methods(self.nova_client, 'novaclient.v2.')
        for method in builtin:
            self.add_executable_method(method['name'], method['args'],
                                       method['desc'])

That doesn't appear in cinder or glance. So this should be an easy fix.

Changed in congress:
status: New → Triaged
Changed in congress:
assignee: nobody → Zhenzan Zhou (zhenzan-zhou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (master)

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

Changed in congress:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/231263

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

Reviewed: https://review.openstack.org/228706
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=f8fa6a0be1282766ed8ac4fc59c80c8703d1be5e
Submitter: Jenkins
Branch: master

commit f8fa6a0be1282766ed8ac4fc59c80c8703d1be5e
Author: Zhenzan Zhou <email address hidden>
Date: Tue Sep 29 11:32:46 2015 +0800

    Add built in actions for more datasource drivers

    Some datasource drivers don't have the logic to add builtin actions
    in the previous commit. Also modified the inspection method to include
    methods without embedded doc.

    Change-Id: Ia5db5f59731d2a341b5c4b254b9dd7f846947904
    Closes-Bug: #1499025

Changed in congress:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/liberty)

Reviewed: https://review.openstack.org/231263
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=ae9e854e2b532cdc0d2e4bc0f8b99e66ae29cdf6
Submitter: Jenkins
Branch: stable/liberty

commit ae9e854e2b532cdc0d2e4bc0f8b99e66ae29cdf6
Author: Zhenzan Zhou <email address hidden>
Date: Tue Sep 29 11:32:46 2015 +0800

    Add built in actions for more datasource drivers

    Some datasource drivers don't have the logic to add builtin actions
    in the previous commit. Also modified the inspection method to include
    methods without embedded doc.

    Change-Id: Ia5db5f59731d2a341b5c4b254b9dd7f846947904
    Closes-Bug: #1499025

tags: added: in-stable-liberty
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → liberty-rc2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress 2.0.0

This issue was fixed in the openstack/congress 2.0.0 release.

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.