Skip to content
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

kola: add Metro attribute to Equinix-Metal device creation #281

Merged
merged 6 commits into from
Jan 26, 2022

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Jan 25, 2022

In this PR, we upgrade packgno library and add the Metro attribute to the device creation - this should decrease the pressure on the cloud provider since it will dispatch the load all along the facilities availability.

See also: https://metal.equinix.com/developers/docs/locations/metros/

Testing done

Tested using --equinixmetal-facility and --equinixmetal-metro both at the same time and tested with --equinixmetal-metro DA only.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
By adding this option, we delegate the choice of facility to EquinixMetal
in function of the availability and other parameters in the facilities
within the metro.

See also: https://metal.equinix.com/developers/docs/locations/metros/

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
instead of relying on the `facility` option, we are now using the one
given by the device itself since with the Metro feature, we can't know
by advance the facility of the device.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 changed the title kola: add Metro attribute to Equinix-Metal device creatio kola: add Metro attribute to Equinix-Metal device creation Jan 25, 2022
@tormath1 tormath1 marked this pull request as ready for review January 25, 2022 16:10
@tormath1 tormath1 requested a review from a team January 25, 2022 16:10
Copy link
Member

@jepio jepio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - the diff is much smaller than I expected, nice.

@tormath1 tormath1 merged commit 0e8f68a into flatcar-master Jan 26, 2022
@tormath1 tormath1 deleted the tormath1/em-metro branch January 26, 2022 11:08
tormath1 added a commit to flatcar/scripts that referenced this pull request Jan 26, 2022
Follow up of: flatcar/mantle#281

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar/scripts that referenced this pull request Jan 26, 2022
Follow up of: flatcar/mantle#281

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar/scripts that referenced this pull request Jan 26, 2022
Follow up of: flatcar/mantle#281

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar/scripts that referenced this pull request Jan 26, 2022
Follow up of: flatcar/mantle#281

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar/scripts that referenced this pull request Jan 26, 2022
Follow up of: flatcar/mantle#281

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
tormath1 added a commit to flatcar/scripts that referenced this pull request Jan 26, 2022
Follow up of: flatcar/mantle#281

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants