error message: getNetworkProfiles() takes exactly 4 arguments (3 given
Navin_C
Vertica Customer ✭
Hello,
I am trying to add a new node to an existing cluster.
used update vertica script with add host parameter which ran successfully
Through admintools: when trying to add node, I get this.
Checking full connectivity
adminTools Last Chance Error Handler running...
raised error: <type 'exceptions.TypeError'>
error message: getNetworkProfiles() takes exactly 4 arguments (3 given)
trace file: /opt/vertica/log/adminTools-dbadmin.errors
REPORT THIS INFORMATION TO TECHNICAL SUPPORT
AND INCLUDE CONTENTS OF THE TRACE FILE IN YOUR REPORT
Anyone with a solution to this.
I am trying to add a new node to an existing cluster.
used update vertica script with add host parameter which ran successfully
Through admintools: when trying to add node, I get this.
Checking full connectivity
adminTools Last Chance Error Handler running...
raised error: <type 'exceptions.TypeError'>
error message: getNetworkProfiles() takes exactly 4 arguments (3 given)
trace file: /opt/vertica/log/adminTools-dbadmin.errors
REPORT THIS INFORMATION TO TECHNICAL SUPPORT
AND INCLUDE CONTENTS OF THE TRACE FILE IN YOUR REPORT
Anyone with a solution to this.
0
Comments
thanks
It seems there was bug in SSH.py file.
changed the definition of getNetworkProfies function.
It was expecting 4 mandatory paramenters
def getNetworkProfiles(nodeHosts, userName, subnet, logger):
Changed it to
def getNetworkProfiles(nodeHosts, userName, subnet, logger=BasicLogger()):
I think the logger parameter was meant to be optional.
Hope this helps.