Sysinv agent fails if /sys/devices/system/node/node0/hugepages is missing

Bug #2019432 reported by Macks
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
New
Undecided
Unassigned

Bug Description

I am on stx7. While adding a dell r7415 as worker node, sysinv agent fails to get inventory.

I gather from sysinv.log on the worker node that there is an uncaught OSError raised by sysinv/agent/node.py. This is due to line 427 only concerned with IOError. On my system, there is no /sys/devices/system/node/node0/hugepages dir (it's at node1). The missing dir raises OSError, not IOError.

Workaround: added `except OSError...` to node.py after IOError, recompile and reboot.

Edit: the larger issue is reported in https://bugs.launchpad.net/starlingx/+bug/2019433

Macks (macksme)
description: updated
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.