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

[master] Remove Linode API v3 usage #64623

Merged
merged 12 commits into from
Aug 25, 2023

Conversation

zliang-akamai
Copy link
Contributor

@zliang-akamai zliang-akamai commented Jul 10, 2023

What does this PR do?

This PR removes the usage of retired Linode API v3 from salt cloud.

What issues does this PR fix or reference?

Fixes: #64517

Previous Behavior

User can use both Linode API v3 and v4.

New Behavior

User can only use Linode API v4.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@zliang-akamai zliang-akamai requested a review from a team as a code owner July 10, 2023 19:38
@zliang-akamai zliang-akamai requested review from cmcmarrow and removed request for a team July 10, 2023 19:38
@welcome
Copy link

welcome bot commented Jul 10, 2023

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!

@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Remove Linode API v3 usage [master] Remove Linode API v3 usage Jul 10, 2023
@zliang-akamai
Copy link
Contributor Author

zliang-akamai commented Jul 10, 2023

The integration test run reporting an error but I don't think it is related to this Linode salt cloud module change. Any suggestion?

Update:
Just tested it again against the salt cloud before the change proposed in this PR, and it looks like that the errors were there already.

tests/integration/cloud/clouds/test_linode.py::LinodeTest::test_instance [WARNING ] There's no master defined on the 'cloud-test-lin-4zps7v' VM settings.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
No ED25519 host key is known for 23.239.13.93 and you have requested strict checking.
Host key verification failed.
[ERROR   ] Failed to start Salt on host cloud-test-lin-4zps7v

@zliang-akamai zliang-akamai temporarily deployed to ci July 10, 2023 20:58 — with GitHub Actions Inactive
@zliang-akamai zliang-akamai temporarily deployed to ci July 10, 2023 20:58 — with GitHub Actions Inactive
@zliang-akamai zliang-akamai temporarily deployed to ci July 10, 2023 20:58 — with GitHub Actions Inactive
@zliang-akamai zliang-akamai temporarily deployed to ci July 10, 2023 20:58 — with GitHub Actions Inactive
@zliang-akamai zliang-akamai temporarily deployed to ci July 10, 2023 21:14 — with GitHub Actions Inactive
@zliang-akamai zliang-akamai temporarily deployed to ci July 10, 2023 21:21 — with GitHub Actions Inactive
@zliang-akamai
Copy link
Contributor Author

zliang-akamai commented Jul 25, 2023

Hi @cmcmarrow, is there anything still needed from us to get this PR reviewed?

garethgreenaway
garethgreenaway previously approved these changes Aug 2, 2023
@cmcmarrow
Copy link
Contributor

Hi @zliang-akamai thanks for waiting. Your code changes look good, once the tests get done running and are green I'll approve.

@cmcmarrow cmcmarrow temporarily deployed to ci August 8, 2023 18:06 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 8, 2023 18:06 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 8, 2023 18:06 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 8, 2023 18:06 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 8, 2023 18:24 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 15, 2023 20:08 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 15, 2023 20:08 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 15, 2023 20:08 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 15, 2023 20:08 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 15, 2023 20:08 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 15, 2023 20:08 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 16, 2023 17:24 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 16, 2023 17:24 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 16, 2023 17:24 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 16, 2023 17:25 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 16, 2023 17:44 — with GitHub Actions Inactive
@cmcmarrow cmcmarrow temporarily deployed to ci August 16, 2023 17:51 — with GitHub Actions Inactive
Copy link
Contributor

@Ch3LL Ch3LL left a comment

Choose a reason for hiding this comment

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

This looks good. We're just waiting for a merge forward PR for those package tests to start passing. I'll update the branch once that's merged in.

@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 18:54 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 18:54 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 18:54 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 18:54 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 19:21 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 19:22 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 20:42 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 20:42 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 20:42 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 20:42 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 20:42 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 24, 2023 20:42 — with GitHub Actions Inactive
@Ch3LL Ch3LL merged commit 2cfc5c2 into saltstack:master Aug 25, 2023
321 checks passed
@welcome
Copy link

welcome bot commented Aug 25, 2023

Congratulations on your first PR being merged! 🎉

@zliang-akamai zliang-akamai deleted the linode/remove-apiv3 branch August 26, 2023 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TECH DEBT] Linode APIv3 Reaching End of Life on July 31, 2023
5 participants