2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix macok incorrect value on finding the mac

This commit is contained in:
Jarrod Johnson 2022-10-03 10:33:21 -04:00
parent 0adfec0c44
commit 75484db014

View File

@ -253,7 +253,7 @@ if __name__ == '__main__':
if key.endswith('.hwaddr'):
mac = rsp[key].get('value', None)
if mac:
macok = trusted
macok = True
if not uuidok and not macok:
allok = False
emprint(f'{args.node} does not have a uuid or mac address defined in id.uuid or net.*hwaddr, deployment will not work')
@ -278,3 +278,6 @@ if __name__ == '__main__':
print("OK")
else:
print("Skipping node checks, no node specified (Example: confluent_selfcheck -n n1)")
# possible checks:
# arping on the node, check for dupes/against nodeinventory?
# arping -D for mgt own ip addresses? check for dupes, also check for bleed through from one nic to another