mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-05 04:27:56 +00:00
6909d1b5df
Dedicated plus shared is how BMCs are built, so several NICs is ordinary. _get_bmc_nic_url only reaches the count when the address the session came in on matches none of them, which is what a tunnel or a NAT does, and it then raised the bare PyghmiException base class. Confluent has no handler for the base class, so it fell through to the generic one and showed "Unexpected Error" plus a traceback, for a machine doing nothing wrong. UnsupportedFunctionality now, which the redfish plugin already reports plainly and which stays inside PyghmiException. The message said "does not have exactly one interface" without saying how many, which ones, or what to do. Every caller takes a name, so it lists the candidates, and the empty case reads differently from the ambiguous one.