Bug 1404319 - [RFE] Execute lstopo, upload PNG to swift, during introspection
Summary: [RFE] Execute lstopo, upload PNG to swift, during introspection
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic-inspector
Version: 11.0 (Ocata)
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: Upstream M3
: 11.0 (Ocata)
Assignee: Dmitry Tantsur
QA Contact: Raviv Bar-Tal
URL:
Whiteboard:
Depends On: 1384848
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 15:17 UTC by Marcos Garcia
Modified: 2016-12-20 13:24 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1384848
: 1404323 (view as bug list)
Environment:
Last Closed: 2016-12-13 15:28:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marcos Garcia 2016-12-13 15:17:18 UTC
+++ This bug was initially created as a clone of Bug #1384848 +++

Description of problem:

Automatically execute "lstopo" during the introspection phase, and upload its results to swift, so it can eventually be displayed graphically in the Undercloud GUI

$ lstopo --whole-io $(hostname).png
(NOTE: it requires the hwloc RPM package to be installed in the IPA image)

This will show the hard disk names, it's NUMA topology for PCI devices (and IDs), the number of CPU cores and its RAM structure. Per node. So the person who installs OSP can know exactly what settings they must use to configure the overcloud templates (especially for NFV features and advanced Ceph settings)

This is not related to https://bugs.launchpad.net/ironic-inspector/+bug/1635253 - this RFE is for an extra script to be executed, and an extra file (a PNG image) to be uploaded to swift, using the node's UUID as filename (if possible)

There will be a second RFE that will fetch this PNG from the undercloud GUI to see every node's NUMA topology in a graphical manner

Example: https://www.open-mpi.org/projects/hwloc/lstopo/images/2XeonE5v3.v1.11.png

Comment 1 Dmitry Tantsur 2016-12-13 15:28:45 UTC
Hi! Thanks for your suggestion. I'm rejecting this request for two reasons:
1. As you mentioned yourself, we already plan on collecting all this data in flexible text format. A PNG, on the contrary, cannot be changed if for some reason it does not suit the GUI. We should not form the final representation so early in the processing chain.
2. The hwloc-gui package (containing lstopo utility) pulls in X11 and Cairo, which is not acceptable for a ramdisk.

Comment 2 Marcos Garcia 2016-12-20 13:24:49 UTC
The developers are optimistic we can get BZ1384848 on time for Ocata (https://review.openstack.org/#/c/396147/8/specs/NUMA_node_info.rst)
I'll followup on the UI components for OSP12
Thanks


Note You need to log in before you can comment on or make changes to this bug.