[RFE] openstackclient cmd for 'ironic driver-raid-logical-disk-properties'

Bug #1619052 reported by Ruby Loo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
Fix Released
Wishlist
Ruby Loo

Bug Description

We do not yet have an openstackclient command that provide the same functionality as 'ironic driver-raid-logical-disk-properties'.

recap: 'ironic driver-raid-logical-disk-properties' returns a table with two columns, the names of properties and their descriptions. If a target RAID config is set for a node, these properties are what can be in the specified RAID config.

Some possibilities:

openstack baremetal driver show --raid-logical-disk-properties
   pro. the RAID properties are part of a driver, so it fits here
   con. the information returned is different that the info returned w/o this option
   Trying to return the driver info AND these properties is ugly because the table would need to
   include both 'types' of information

openstack baremetal driver raid logical disk properties show
   pro. it is clear what it is?
   con. what a mouthful
        Not sure this conforms to openstackclient 'philosophy'. Is a
        'driver raid logical disk properties' an object? All we do
        is display this information; it cannot be manipulated.

After the driver composition reform work is done, the 'driver' will be an interface, eg RAID interface. Maybe thinking about that will help inform our decision. Or maybe not.

Tags: rfe-approved
Revision history for this message
Ruby Loo (rloo) wrote :

I added 'ironic' project too, cuz I think we need to do that for RFEs, even though the coding will be in the client.

affects: ironic → python-ironicclient
Ruby Loo (rloo)
Changed in ironic:
importance: Undecided → Wishlist
Revision history for this message
Dmitry Tantsur (divius) wrote :

> I added 'ironic' project too, cuz I think we need to do that for RFEs

Let's fix it if that's the case. I'd prefer to keep our bug tracker clean.

Changed in python-ironicclient:
status: New → Confirmed
no longer affects: ironic
Changed in python-ironicclient:
assignee: nobody → Galyna Zholtkevych (gzholtkevych)
status: Confirmed → In Progress
Revision history for this message
Galyna Zholtkevych (gzholtkevych) wrote :

As one more proposition I uploaded the patch https://review.openstack.org/#/c/362047/

Revision history for this message
Dmitry Tantsur (divius) wrote :

I'd prefer "openstack baremetal driver raid properties show". I'll propose this as a topic on the PTG.

Revision history for this message
Ruby Loo (rloo) wrote :

There is a spec patch to address this: https://review.openstack.org/#/c/439907/

Revision history for this message
Ruby Loo (rloo) wrote :
tags: added: rfe-approved
removed: rfe
Revision history for this message
Ruby Loo (rloo) wrote :

The command we decided upon (see approved spec) is: openstack baremetal driver raid property list <driver>

Changed in python-ironicclient:
assignee: Galyna Zholtkevych (gzholtkevych) → Ruby Loo (rloo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/362047
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=befbb7e63e210cc3a47bc044de74d35b19a43ed5
Submitter: Jenkins
Branch: master

commit befbb7e63e210cc3a47bc044de74d35b19a43ed5
Author: Galyna Zholtkevych <email address hidden>
Date: Wed Sep 7 15:00:36 2016 +0300

    Add OSC 'baremetal driver raid property list' cmd

    Extends the OSC plugin with the new command:
      openstack baremetal driver raid property list <driver>
    This returns a list of the names of the driver's RAID
    logical disk properties along with their descriptions.

    Change-Id: Ie4baeb2920a9ab114204ac4aee4a561492ba2741
    Closes-Bug: 1619052
    Co-Authored-By: Ruby Loo <email address hidden>

Changed in python-ironicclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-ironicclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-ironicclient 1.14.0

This issue was fixed in the openstack/python-ironicclient 1.14.0 release.

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

Reviewed: https://review.openstack.org/480623
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=1375c2ed810a74bb83b195b43c22c808a7c3feb3
Submitter: Jenkins
Branch: master

commit 1375c2ed810a74bb83b195b43c22c808a7c3feb3
Author: Kyrylo Romanenko <email address hidden>
Date: Wed Jul 5 17:37:19 2017 +0300

    Add test for set/unset node target_raid_config

    Change-Id: I4957d06d3fe1a88930d30a4d29a379e18ef37c1d
    Related-Bug: #1619052

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.