Comment 0 for bug 2019433

Revision history for this message
Macks (macksme) wrote : Sysinv agent fails if /sys/devices/system/node/node0/hugepages is missing

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.