New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch Scaleway to salt.utils.cloud.bootstrap() #25549
Conversation
@@ -272,98 +272,11 @@ def __query_node_data(server_name): | |||
finally: | |||
raise SaltCloudSystemExit(str(exc)) | |||
|
|||
ssh_username = config.get_cloud_config_value( | |||
'ssh_username', server_, __opts__, default='root' | |||
vm_['ssh_host'] = ip_address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vm_
doesn't exist should be server_
, same thing for next occurrences
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ip_address
is not defined should be assigned from data['public_ip']['address']
if data.get('public_ip') is not None:
ip_address = data['public_ip']['address']
Hi @techhat, After fixing the code I run some test on the create function and I get the following error:
Any idea why? Thanks |
@edouardb, fixed. Do you have any comments on |
@edouardb check my other question to you, it should answer your question to me. |
Right! 😄 You can keep I re-run the test adding Thanks 👍 |
@edouardb |
@techhat |
Line 209 and 384,
and
|
Go Go Jenkins! |
Thanks @rallytime. Please hold off on merging for a moment, @edouardb and I are still working on the ssh_keyfile issue. |
I have been unable to reproduce this issue. In fact, without this code I can spin up a machine but not provision it, but with this code, the machine is provisioned. |
Switch Scaleway to salt.utils.cloud.bootstrap()
@edouardb, could you please take a look?