AppScale / appscale-agents

AppScale Cloud Agents
Other
0 stars 7 forks source link

AppScaleState.generate_rsa_key is called with incorrect number of args #6

Closed scragraham closed 5 years ago

scragraham commented 5 years ago

Seeing this error when building the Azure image:

generate_rsa_key() takes exactly 3 arguments (2 given)
Traceback (most recent call last):
  File "/home/jenkins/jobs/Create-Azure-Image/workspace/appscale-testing-env/local/lib/python2.7/site-packages/appscale/testing/appscale_create_image.py", line 114, in run
    self.start_instance()
  File "/home/jenkins/jobs/Create-Azure-Image/workspace/appscale-testing-env/local/lib/python2.7/site-packages/appscale/testing/appscale_create_image.py", line 197, in start_instance
    agent.configure_instance_security(params)
  File "/home/jenkins/jobs/Create-Azure-Image/workspace/appscale-testing-env/src/appscale.agents/appscale/agents/azure_agent.py", line 234, in configure_instance_security
    AppScaleState.generate_rsa_key(keyname)
TypeError: generate_rsa_key() takes exactly 3 arguments (2 given)

The function takes a 2nd parameter: is_verbose, which is not provided to the call from the azure agent:

AppScaleState.generate_rsa_key(keyname)