Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Missing associate public ip address #26

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

jpresky
Copy link
Contributor

@jpresky jpresky commented Mar 16, 2019

I ran into the same issue as argoproj/argo-workflows#878
After many updates with kops the launch configuration still is set to default when it comes to IP address type.

When the IP Address Type is set to default on a launch configuration, the AssociatePublicIPAddress attribute does not exist on the response back from describe_launch_configurations. That causes an exception when minion-manager creates a new launch config and references the AssociatePublicIPAddress attribute. I am not sure if this is the best way to fix this bug but it does work.

Let me know what you think.

if yes then send request with attribute, if no then do not send request with attribute
@shrinandj
Copy link
Collaborator

The fix itself is fine. Can we add a unit test for this in https://github.com/argoproj/k8s-minion-manager/blob/master/cloud_provider/aws/aws_minion_manager_test.py?

@jpresky
Copy link
Contributor Author

jpresky commented Mar 19, 2019

Alright I will add a unit test

@shrinandj shrinandj merged commit e6b83ea into keikoproj:master Mar 25, 2019
@shrinandj
Copy link
Collaborator

Feel free to open a new PR if/when the test is added. Merging this for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants