We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


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

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

  • 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
  • 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