Options

error message: getNetworkProfiles() takes exactly 4 arguments (3 given

Navin_CNavin_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.

Comments

  • Options
    Nimmi_guptaNimmi_gupta - Select Field - Employee
    Hi Navin, not sure,  are you still having this problem? If yes, could you share the /opt/vertica/log/adminTools-dbadmin.errors file.

    thanks
  • Options
    Navin_CNavin_C Vertica Customer
    Hello Nimmi,

    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.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file