Horizon the Host Inventory Device Usage lists the device names but error when attempt to view Device Usage details

Bug #1792463 reported by Wendy Mitchell
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
David Sullivan

Bug Description

Brief Description
-----------------
In Horizon the Host Inventory Device Usage lists the device names but error when attempt to view details

Severity
--------
Standard

Steps to Reproduce
------------------
1. Log into Horizon
2. Navigate to Platform - Host Inventory
3. Select Device Usage tab to see list of devices
...admin/inventory/*/devices/usage/
4. Click the link on the device name to view details

Expected Behavior
------------------
The PCI Alias column lists the names of the devices
Selecting the name of the device should not result in error.

Actual Behavior
----------------
Error: Unable to retrieve device usage for *
 [WARNING] horizon.exceptions: Recoverable error: list() got an unexpected keyword argument 'device_id'

Reproducibility
---------------
Reproducible

System Configuration
--------------------
2 node system

Branch/Pull Time/Commit
-----------------------
master as of 2018-09-09_20-18-00

Timestamp/Logs
--------------
see horizon.log

2018-09-13 15:28:19,453 [WARNING] horizon.exceptions: Recoverable error: list() got an unexpected keyword argument 'device_id'
2018-09-13 16:06:19,814 [WARNING] horizon.exceptions: Recoverable error: list() got an unexpected keyword argument 'device_id

Ghada Khalil (gkhalil)
tags: added: stx.gui
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Appears to be a minor issue, so tagging for stx.2019.03

Changed in starlingx:
importance: Undecided → Low
tags: added: stx.2019.03
description: updated
Changed in starlingx:
assignee: nobody → David Sullivan (dsullivanwr)
Ghada Khalil (gkhalil)
Changed in starlingx:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-gui (master)

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

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-gui (master)

Reviewed: https://review.openstack.org/605806
Committed: https://git.openstack.org/cgit/openstack/stx-gui/commit/?id=564dc8d5a9d228c239efe6cfa1f251e48dbef587
Submitter: Zuul
Branch: master

commit 564dc8d5a9d228c239efe6cfa1f251e48dbef587
Author: David Sullivan <email address hidden>
Date: Thu Sep 27 11:43:03 2018 -0400

    Correct parameter usage in nova api

    get_device_usage called PciDevicesManager list with an incorrect
    parameter. This change appears to have been a merge error in commit
    876844f0fd966525da52c2a2f568d3f1bdcff29b.

    That commit also removed the class_id attr from the DeviceUsage class.
    That attr has been added back.

    Change-Id: I9ae47a8ff4d4a3e5c6ea671a9f1be848045c3b02
    Signed-off-by: David Sullivan <email address hidden>
    Closes-Bug: 1792463

Changed in starlingx:
status: In Progress → Fix Released
Ken Young (kenyis)
tags: added: stx.2019.05
removed: stx.2019.03
Ken Young (kenyis)
tags: added: stx.2.0
removed: stx.2019.05
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.