2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-28 08:11:45 +00:00

Deprecate attempts to use default password with SMM

This is removed in some level of the product
This commit is contained in:
Jarrod Johnson 2020-10-05 16:54:58 -04:00
parent a194e2293e
commit f4395abade

View File

@ -204,7 +204,7 @@ class NodeHandler(bmchandler.NodeHandler):
raise Exception('Cannot support default password and setting password rules at same time')
if passwd == 'PASSW0RD':
# We must avoid hitting the web interface due to forced password change, best effert
self._bmcconfig(nodename)
raise Exception('Using the default password is no longer supported')
else:
# Switch to full web based configuration, to mitigate risks with the SMM
wc = self._webconfigcreds(username, passwd)