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

ec2_instance add the possibility to upgrade/downgrade instance type on the fly #2298

Conversation

abikouo
Copy link
Contributor

@abikouo abikouo commented Sep 18, 2024

SUMMARY

Closes #469

Add the possibiliy to upgrade/downgrade instance type on existing ec2 instances.
The module will stop the instance, modify the instance and then ensure the instance is in the expected state set in state argument.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ec2_instance

Copy link

github-actions bot commented Sep 18, 2024

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and your docs changes will be incorporated when they are next published.

Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/e560dc32636b474287824f832d7b1ec3

✔️ ansible-galaxy-importer SUCCESS in 4m 54s
✔️ build-ansible-collection SUCCESS in 10m 53s
✔️ ansible-test-splitter SUCCESS in 4m 28s
integration-amazon.aws-1 FAILURE in 12m 01s
✔️ integration-amazon.aws-2 SUCCESS in 9m 17s
✔️ integration-amazon.aws-3 SUCCESS in 9m 09s
✔️ integration-amazon.aws-4 SUCCESS in 7m 35s
✔️ integration-amazon.aws-5 SUCCESS in 8m 05s
✔️ integration-amazon.aws-6 SUCCESS in 6m 38s
✔️ integration-amazon.aws-7 SUCCESS in 7m 13s
✔️ integration-amazon.aws-8 SUCCESS in 7m 15s
✔️ integration-amazon.aws-9 SUCCESS in 9m 21s
✔️ integration-amazon.aws-10 SUCCESS in 7m 57s
✔️ integration-amazon.aws-11 SUCCESS in 7m 35s
✔️ integration-amazon.aws-12 SUCCESS in 11m 33s
✔️ integration-amazon.aws-13 SUCCESS in 12m 01s
✔️ integration-amazon.aws-14 SUCCESS in 10m 16s
✔️ integration-amazon.aws-15 SUCCESS in 7m 52s
✔️ integration-amazon.aws-16 SUCCESS in 7m 29s
✔️ integration-amazon.aws-17 SUCCESS in 11m 37s
✔️ integration-amazon.aws-18 SUCCESS in 6m 21s
✔️ integration-amazon.aws-19 SUCCESS in 8m 30s
✔️ integration-amazon.aws-20 SUCCESS in 8m 59s
✔️ integration-amazon.aws-21 SUCCESS in 13m 31s
Skipped 23 jobs

Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/945a2d71537a41b3af8418f933442602

✔️ ansible-galaxy-importer SUCCESS in 4m 41s
✔️ build-ansible-collection SUCCESS in 10m 40s
✔️ ansible-test-splitter SUCCESS in 5m 11s
integration-amazon.aws-1 FAILURE in 22m 08s
✔️ integration-amazon.aws-2 SUCCESS in 17m 40s
✔️ integration-amazon.aws-3 SUCCESS in 10m 11s
✔️ integration-amazon.aws-4 SUCCESS in 9m 53s
✔️ integration-amazon.aws-5 SUCCESS in 6m 27s
✔️ integration-amazon.aws-6 SUCCESS in 8m 21s
✔️ integration-amazon.aws-7 SUCCESS in 7m 25s
✔️ integration-amazon.aws-8 SUCCESS in 7m 39s
✔️ integration-amazon.aws-9 SUCCESS in 8m 42s
✔️ integration-amazon.aws-10 SUCCESS in 10m 09s
✔️ integration-amazon.aws-11 SUCCESS in 5m 42s
✔️ integration-amazon.aws-12 SUCCESS in 12m 35s
✔️ integration-amazon.aws-13 SUCCESS in 12m 40s
✔️ integration-amazon.aws-14 SUCCESS in 8m 22s
✔️ integration-amazon.aws-15 SUCCESS in 8m 48s
✔️ integration-amazon.aws-16 SUCCESS in 6m 25s
✔️ integration-amazon.aws-17 SUCCESS in 8m 33s
✔️ integration-amazon.aws-18 SUCCESS in 8m 47s
✔️ integration-amazon.aws-19 SUCCESS in 6m 36s
✔️ integration-amazon.aws-20 SUCCESS in 9m 06s
✔️ integration-amazon.aws-21 SUCCESS in 18m 17s
Skipped 23 jobs

@abikouo abikouo force-pushed the ec2_instance_modify_instance_type branch from d84e8a2 to d7a06a2 Compare September 26, 2024 09:48
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/933a90e054664e398cd28fd044277c56

✔️ ansible-galaxy-importer SUCCESS in 4m 56s
✔️ build-ansible-collection SUCCESS in 11m 29s
✔️ ansible-test-splitter SUCCESS in 4m 26s
integration-amazon.aws-1 FAILURE in 18m 43s
✔️ integration-amazon.aws-2 SUCCESS in 22m 52s
✔️ integration-amazon.aws-3 SUCCESS in 13m 48s
✔️ integration-amazon.aws-4 SUCCESS in 12m 24s
✔️ integration-amazon.aws-5 SUCCESS in 11m 50s
✔️ integration-amazon.aws-6 SUCCESS in 8m 52s
✔️ integration-amazon.aws-7 SUCCESS in 6m 27s
integration-amazon.aws-8 FAILURE in 9m 30s
✔️ integration-amazon.aws-9 SUCCESS in 13m 32s
✔️ integration-amazon.aws-10 SUCCESS in 12m 15s
✔️ integration-amazon.aws-11 SUCCESS in 8m 25s
✔️ integration-amazon.aws-12 SUCCESS in 9m 59s
✔️ integration-amazon.aws-13 SUCCESS in 13m 56s
✔️ integration-amazon.aws-14 SUCCESS in 7m 59s
✔️ integration-amazon.aws-15 SUCCESS in 11m 00s
✔️ integration-amazon.aws-16 SUCCESS in 6m 46s
✔️ integration-amazon.aws-17 SUCCESS in 7m 23s
✔️ integration-amazon.aws-18 SUCCESS in 6m 52s
✔️ integration-amazon.aws-19 SUCCESS in 8m 57s
✔️ integration-amazon.aws-20 SUCCESS in 8m 03s
✔️ integration-amazon.aws-21 SUCCESS in 12m 44s
Skipped 23 jobs

Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/84a39954dce34e10bbe5c56ccfb01ba5

✔️ ansible-galaxy-importer SUCCESS in 3m 30s
✔️ build-ansible-collection SUCCESS in 11m 06s
✔️ ansible-test-splitter SUCCESS in 4m 20s
✔️ integration-amazon.aws-1 SUCCESS in 27m 00s
✔️ integration-amazon.aws-2 SUCCESS in 20m 26s
✔️ integration-amazon.aws-3 SUCCESS in 10m 04s
✔️ integration-amazon.aws-4 SUCCESS in 11m 44s
✔️ integration-amazon.aws-5 SUCCESS in 7m 52s
✔️ integration-amazon.aws-6 SUCCESS in 6m 34s
✔️ integration-amazon.aws-7 SUCCESS in 6m 32s
✔️ integration-amazon.aws-8 SUCCESS in 7m 09s
✔️ integration-amazon.aws-9 SUCCESS in 9m 11s
✔️ integration-amazon.aws-10 SUCCESS in 9m 03s
✔️ integration-amazon.aws-11 SUCCESS in 8m 44s
✔️ integration-amazon.aws-12 SUCCESS in 8m 32s
integration-amazon.aws-13 FAILURE in 8m 50s
✔️ integration-amazon.aws-14 SUCCESS in 12m 46s
✔️ integration-amazon.aws-15 SUCCESS in 6m 22s
✔️ integration-amazon.aws-16 SUCCESS in 6m 29s
✔️ integration-amazon.aws-17 SUCCESS in 14m 39s
✔️ integration-amazon.aws-18 SUCCESS in 8m 17s
✔️ integration-amazon.aws-19 SUCCESS in 7m 53s
✔️ integration-amazon.aws-20 SUCCESS in 7m 35s
✔️ integration-amazon.aws-21 SUCCESS in 19m 02s
Skipped 23 jobs

Copy link
Collaborator

@GomathiselviS GomathiselviS left a comment

Choose a reason for hiding this comment

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

LGTM. Suggested a few minor changes!

@abikouo abikouo force-pushed the ec2_instance_modify_instance_type branch from 5dc88d2 to 98a6af4 Compare September 27, 2024 09:40
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/8faff475d4cf4b3780c0f9cd31f28ed3

✔️ ansible-galaxy-importer SUCCESS in 5m 16s
✔️ build-ansible-collection SUCCESS in 10m 34s
✔️ ansible-test-splitter SUCCESS in 4m 19s
✔️ integration-amazon.aws-1 SUCCESS in 21m 31s
✔️ integration-amazon.aws-2 SUCCESS in 15m 58s
✔️ integration-amazon.aws-3 SUCCESS in 13m 19s
✔️ integration-amazon.aws-4 SUCCESS in 12m 50s
✔️ integration-amazon.aws-5 SUCCESS in 8m 24s
✔️ integration-amazon.aws-6 SUCCESS in 10m 15s
✔️ integration-amazon.aws-7 SUCCESS in 7m 00s
✔️ integration-amazon.aws-8 SUCCESS in 9m 45s
✔️ integration-amazon.aws-9 SUCCESS in 12m 40s
✔️ integration-amazon.aws-10 SUCCESS in 6m 26s
✔️ integration-amazon.aws-11 SUCCESS in 8m 47s
✔️ integration-amazon.aws-12 SUCCESS in 14m 30s
✔️ integration-amazon.aws-13 SUCCESS in 11m 02s
✔️ integration-amazon.aws-14 SUCCESS in 10m 11s
✔️ integration-amazon.aws-15 SUCCESS in 8m 54s
✔️ integration-amazon.aws-16 SUCCESS in 7m 40s
✔️ integration-amazon.aws-17 SUCCESS in 15m 03s
✔️ integration-amazon.aws-18 SUCCESS in 7m 39s
✔️ integration-amazon.aws-19 SUCCESS in 8m 31s
✔️ integration-amazon.aws-20 SUCCESS in 8m 28s
✔️ integration-amazon.aws-21 SUCCESS in 17m 24s
Skipped 23 jobs

@abikouo abikouo added mergeit Merge the PR (SoftwareFactory) backport-8 PR should be backported to the stable-8 branch labels Sep 27, 2024
Copy link
Contributor

Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

https://ansible.softwarefactory-project.io/zuul/buildset/8fdc605dd2e74ca58a332e7c80043814

✔️ ansible-galaxy-importer SUCCESS in 3m 35s
✔️ build-ansible-collection SUCCESS in 10m 36s
✔️ ansible-test-splitter SUCCESS in 4m 17s
integration-amazon.aws-1 FAILURE in 22m 36s
✔️ integration-amazon.aws-2 SUCCESS in 16m 04s
✔️ integration-amazon.aws-3 SUCCESS in 11m 35s
✔️ integration-amazon.aws-4 SUCCESS in 11m 29s
✔️ integration-amazon.aws-5 SUCCESS in 10m 49s
✔️ integration-amazon.aws-6 SUCCESS in 8m 54s
✔️ integration-amazon.aws-7 SUCCESS in 7m 45s
integration-amazon.aws-8 FAILURE in 7m 30s
✔️ integration-amazon.aws-9 SUCCESS in 9m 44s
✔️ integration-amazon.aws-10 SUCCESS in 9m 32s
✔️ integration-amazon.aws-11 SUCCESS in 8m 40s
✔️ integration-amazon.aws-12 SUCCESS in 9m 17s
✔️ integration-amazon.aws-13 SUCCESS in 12m 43s
✔️ integration-amazon.aws-14 SUCCESS in 7m 59s
✔️ integration-amazon.aws-15 SUCCESS in 11m 02s
✔️ integration-amazon.aws-16 SUCCESS in 8m 11s
✔️ integration-amazon.aws-17 SUCCESS in 10m 58s
✔️ integration-amazon.aws-18 SUCCESS in 6m 37s
✔️ integration-amazon.aws-19 SUCCESS in 7m 02s
✔️ integration-amazon.aws-20 SUCCESS in 9m 07s
✔️ integration-amazon.aws-21 SUCCESS in 13m 04s
Skipped 23 jobs

@abikouo
Copy link
Contributor Author

abikouo commented Sep 27, 2024

regate

Copy link
Contributor

Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

https://ansible.softwarefactory-project.io/zuul/buildset/58935c03c6ea48b8acab333a439e574d

✔️ ansible-galaxy-importer SUCCESS in 4m 52s
✔️ build-ansible-collection SUCCESS in 10m 30s
✔️ ansible-test-splitter SUCCESS in 4m 19s
integration-amazon.aws-1 FAILURE in 16m 56s
✔️ integration-amazon.aws-2 SUCCESS in 22m 24s
✔️ integration-amazon.aws-3 SUCCESS in 8m 55s
✔️ integration-amazon.aws-4 SUCCESS in 8m 15s
✔️ integration-amazon.aws-5 SUCCESS in 12m 17s
✔️ integration-amazon.aws-6 SUCCESS in 8m 30s
✔️ integration-amazon.aws-7 SUCCESS in 6m 35s
✔️ integration-amazon.aws-8 SUCCESS in 7m 19s
✔️ integration-amazon.aws-9 SUCCESS in 9m 19s
✔️ integration-amazon.aws-10 SUCCESS in 6m 14s
✔️ integration-amazon.aws-11 SUCCESS in 8m 15s
✔️ integration-amazon.aws-12 SUCCESS in 10m 37s
✔️ integration-amazon.aws-13 SUCCESS in 11m 30s
✔️ integration-amazon.aws-14 SUCCESS in 9m 51s
✔️ integration-amazon.aws-15 SUCCESS in 9m 07s
✔️ integration-amazon.aws-16 SUCCESS in 8m 49s
✔️ integration-amazon.aws-17 SUCCESS in 17m 31s
✔️ integration-amazon.aws-18 SUCCESS in 7m 06s
✔️ integration-amazon.aws-19 SUCCESS in 7m 12s
✔️ integration-amazon.aws-20 SUCCESS in 9m 04s
✔️ integration-amazon.aws-21 SUCCESS in 15m 23s
Skipped 23 jobs

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/dfa32cc82a3a41ab9e98ab13bdd3f40c

✔️ ansible-galaxy-importer SUCCESS in 4m 53s
✔️ build-ansible-collection SUCCESS in 10m 30s
✔️ ansible-test-splitter SUCCESS in 4m 20s
✔️ integration-amazon.aws-1 SUCCESS in 25m 41s
✔️ integration-amazon.aws-2 SUCCESS in 20m 41s
✔️ integration-amazon.aws-3 SUCCESS in 9m 35s
✔️ integration-amazon.aws-4 SUCCESS in 8m 35s
✔️ integration-amazon.aws-5 SUCCESS in 8m 50s
✔️ integration-amazon.aws-6 SUCCESS in 8m 16s
✔️ integration-amazon.aws-7 SUCCESS in 7m 48s
✔️ integration-amazon.aws-8 SUCCESS in 7m 31s
✔️ integration-amazon.aws-9 SUCCESS in 10m 37s
✔️ integration-amazon.aws-10 SUCCESS in 7m 27s
✔️ integration-amazon.aws-11 SUCCESS in 7m 41s
✔️ integration-amazon.aws-12 SUCCESS in 8m 02s
✔️ integration-amazon.aws-13 SUCCESS in 12m 50s
✔️ integration-amazon.aws-14 SUCCESS in 10m 11s
✔️ integration-amazon.aws-15 SUCCESS in 7m 01s
✔️ integration-amazon.aws-16 SUCCESS in 8m 33s
✔️ integration-amazon.aws-17 SUCCESS in 11m 39s
✔️ integration-amazon.aws-18 SUCCESS in 8m 45s
✔️ integration-amazon.aws-19 SUCCESS in 10m 40s
✔️ integration-amazon.aws-20 SUCCESS in 7m 23s
✔️ integration-amazon.aws-21 SUCCESS in 13m 51s
Skipped 23 jobs

Copy link
Contributor

Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

https://ansible.softwarefactory-project.io/zuul/buildset/9ea46420ad384f96b9a97f8c3c5bc359

✔️ ansible-galaxy-importer SUCCESS in 4m 58s
✔️ build-ansible-collection SUCCESS in 10m 42s
✔️ ansible-test-splitter SUCCESS in 4m 54s
✔️ integration-amazon.aws-1 SUCCESS in 27m 15s
✔️ integration-amazon.aws-2 SUCCESS in 17m 14s
✔️ integration-amazon.aws-3 SUCCESS in 7m 17s
✔️ integration-amazon.aws-4 SUCCESS in 9m 07s
✔️ integration-amazon.aws-5 SUCCESS in 10m 43s
✔️ integration-amazon.aws-6 SUCCESS in 6m 49s
✔️ integration-amazon.aws-7 SUCCESS in 6m 36s
integration-amazon.aws-8 FAILURE in 7m 47s
✔️ integration-amazon.aws-9 SUCCESS in 11m 30s
✔️ integration-amazon.aws-10 SUCCESS in 10m 06s
✔️ integration-amazon.aws-11 SUCCESS in 6m 20s
✔️ integration-amazon.aws-12 SUCCESS in 8m 29s
✔️ integration-amazon.aws-13 SUCCESS in 10m 56s
✔️ integration-amazon.aws-14 SUCCESS in 11m 29s
✔️ integration-amazon.aws-15 SUCCESS in 8m 41s
✔️ integration-amazon.aws-16 SUCCESS in 9m 55s
✔️ integration-amazon.aws-17 SUCCESS in 13m 18s
✔️ integration-amazon.aws-18 SUCCESS in 6m 42s
✔️ integration-amazon.aws-19 SUCCESS in 9m 30s
✔️ integration-amazon.aws-20 SUCCESS in 7m 00s
✔️ integration-amazon.aws-21 SUCCESS in 12m 19s
Skipped 23 jobs

@abikouo
Copy link
Contributor Author

abikouo commented Sep 27, 2024

regate

Copy link
Contributor

Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

https://ansible.softwarefactory-project.io/zuul/buildset/f345804faa1c4033baee13dbc8710a00

✔️ ansible-galaxy-importer SUCCESS in 3m 50s
✔️ build-ansible-collection SUCCESS in 10m 38s
✔️ ansible-test-splitter SUCCESS in 4m 33s
✔️ integration-amazon.aws-1 SUCCESS in 27m 12s
✔️ integration-amazon.aws-2 SUCCESS in 18m 58s
✔️ integration-amazon.aws-3 SUCCESS in 8m 39s
✔️ integration-amazon.aws-4 SUCCESS in 9m 25s
✔️ integration-amazon.aws-5 SUCCESS in 10m 04s
✔️ integration-amazon.aws-6 SUCCESS in 7m 49s
✔️ integration-amazon.aws-7 SUCCESS in 5m 33s
integration-amazon.aws-8 FAILURE in 7m 58s
✔️ integration-amazon.aws-9 SUCCESS in 10m 20s
✔️ integration-amazon.aws-10 SUCCESS in 10m 23s
✔️ integration-amazon.aws-11 SUCCESS in 9m 01s
✔️ integration-amazon.aws-12 SUCCESS in 7m 52s
✔️ integration-amazon.aws-13 SUCCESS in 10m 31s
✔️ integration-amazon.aws-14 SUCCESS in 11m 27s
✔️ integration-amazon.aws-15 SUCCESS in 7m 56s
✔️ integration-amazon.aws-16 SUCCESS in 8m 10s
✔️ integration-amazon.aws-17 SUCCESS in 12m 30s
✔️ integration-amazon.aws-18 SUCCESS in 8m 59s
✔️ integration-amazon.aws-19 SUCCESS in 8m 32s
✔️ integration-amazon.aws-20 SUCCESS in 10m 12s
✔️ integration-amazon.aws-21 SUCCESS in 13m 37s
Skipped 23 jobs

@abikouo abikouo force-pushed the ec2_instance_modify_instance_type branch from 47b3655 to 9cef8d2 Compare September 30, 2024 08:34
Copy link
Contributor

Build failed.
https://ansible.softwarefactory-project.io/zuul/buildset/a5bc3ccc2cce4e7cb11242d1ae5404a1

✔️ ansible-galaxy-importer SUCCESS in 5m 25s
✔️ build-ansible-collection SUCCESS in 11m 33s
✔️ ansible-test-splitter SUCCESS in 4m 13s
✔️ integration-amazon.aws-1 SUCCESS in 27m 50s
✔️ integration-amazon.aws-2 SUCCESS in 19m 41s
✔️ integration-amazon.aws-3 SUCCESS in 17m 48s
✔️ integration-amazon.aws-4 SUCCESS in 13m 31s
✔️ integration-amazon.aws-5 SUCCESS in 11m 50s
✔️ integration-amazon.aws-6 SUCCESS in 8m 23s
✔️ integration-amazon.aws-7 SUCCESS in 6m 47s
✔️ integration-amazon.aws-8 SUCCESS in 9m 05s
✔️ integration-amazon.aws-9 SUCCESS in 12m 49s
✔️ integration-amazon.aws-10 SUCCESS in 11m 58s
✔️ integration-amazon.aws-11 SUCCESS in 9m 46s
✔️ integration-amazon.aws-12 SUCCESS in 10m 35s
integration-amazon.aws-13 FAILURE in 7m 48s
✔️ integration-amazon.aws-14 SUCCESS in 12m 00s
✔️ integration-amazon.aws-15 SUCCESS in 12m 14s
✔️ integration-amazon.aws-16 SUCCESS in 8m 09s
✔️ integration-amazon.aws-17 SUCCESS in 19m 16s
✔️ integration-amazon.aws-18 SUCCESS in 9m 21s
✔️ integration-amazon.aws-19 SUCCESS in 6m 28s
✔️ integration-amazon.aws-20 SUCCESS in 9m 04s
✔️ integration-amazon.aws-21 SUCCESS in 14m 07s
Skipped 23 jobs

@abikouo
Copy link
Contributor Author

abikouo commented Sep 30, 2024

recheck

Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/0d79efd84ca449c3a5a8eb29c99cb761

✔️ ansible-galaxy-importer SUCCESS in 4m 40s
✔️ build-ansible-collection SUCCESS in 10m 27s
✔️ ansible-test-splitter SUCCESS in 4m 15s
✔️ integration-amazon.aws-1 SUCCESS in 27m 33s
✔️ integration-amazon.aws-2 SUCCESS in 14m 31s
✔️ integration-amazon.aws-3 SUCCESS in 15m 19s
✔️ integration-amazon.aws-4 SUCCESS in 11m 20s
✔️ integration-amazon.aws-5 SUCCESS in 7m 47s
✔️ integration-amazon.aws-6 SUCCESS in 10m 25s
✔️ integration-amazon.aws-7 SUCCESS in 7m 29s
✔️ integration-amazon.aws-8 SUCCESS in 6m 12s
✔️ integration-amazon.aws-9 SUCCESS in 12m 57s
✔️ integration-amazon.aws-10 SUCCESS in 10m 05s
✔️ integration-amazon.aws-11 SUCCESS in 8m 20s
✔️ integration-amazon.aws-12 SUCCESS in 11m 33s
✔️ integration-amazon.aws-13 SUCCESS in 14m 48s
✔️ integration-amazon.aws-14 SUCCESS in 7m 34s
✔️ integration-amazon.aws-15 SUCCESS in 8m 53s
✔️ integration-amazon.aws-16 SUCCESS in 8m 29s
✔️ integration-amazon.aws-17 SUCCESS in 12m 53s
✔️ integration-amazon.aws-18 SUCCESS in 9m 09s
✔️ integration-amazon.aws-19 SUCCESS in 8m 28s
✔️ integration-amazon.aws-20 SUCCESS in 7m 51s
✔️ integration-amazon.aws-21 SUCCESS in 13m 51s
Skipped 23 jobs

Copy link
Contributor

Build failed (gate pipeline). For information on how to proceed, see
http://docs.openstack.org/infra/manual/developers.html#automated-testing

https://ansible.softwarefactory-project.io/zuul/buildset/bc3d8849aa2448e19875f5db419a4628

✔️ ansible-galaxy-importer SUCCESS in 5m 11s
✔️ build-ansible-collection SUCCESS in 10m 29s
✔️ ansible-test-splitter SUCCESS in 4m 18s
✔️ integration-amazon.aws-1 SUCCESS in 24m 13s
✔️ integration-amazon.aws-2 SUCCESS in 16m 42s
✔️ integration-amazon.aws-3 SUCCESS in 9m 00s
✔️ integration-amazon.aws-4 SUCCESS in 10m 53s
✔️ integration-amazon.aws-5 SUCCESS in 7m 58s
✔️ integration-amazon.aws-6 SUCCESS in 9m 03s
✔️ integration-amazon.aws-7 SUCCESS in 6m 08s
✔️ integration-amazon.aws-8 SUCCESS in 9m 12s
✔️ integration-amazon.aws-9 SUCCESS in 8m 42s
✔️ integration-amazon.aws-10 SUCCESS in 6m 25s
✔️ integration-amazon.aws-11 SUCCESS in 9m 32s
✔️ integration-amazon.aws-12 SUCCESS in 10m 18s
integration-amazon.aws-13 FAILURE in 7m 43s
✔️ integration-amazon.aws-14 SUCCESS in 6m 22s
✔️ integration-amazon.aws-15 SUCCESS in 6m 39s
✔️ integration-amazon.aws-16 SUCCESS in 6m 25s
✔️ integration-amazon.aws-17 SUCCESS in 11m 18s
✔️ integration-amazon.aws-18 SUCCESS in 8m 05s
✔️ integration-amazon.aws-19 SUCCESS in 7m 39s
✔️ integration-amazon.aws-20 SUCCESS in 7m 25s
✔️ integration-amazon.aws-21 SUCCESS in 12m 28s
Skipped 23 jobs

@abikouo
Copy link
Contributor Author

abikouo commented Sep 30, 2024

regate

Copy link
Contributor

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/74f9ab513d38479f83043828aa62cc97

✔️ ansible-galaxy-importer SUCCESS in 5m 07s
✔️ build-ansible-collection SUCCESS in 10m 58s
✔️ ansible-test-splitter SUCCESS in 4m 20s
✔️ integration-amazon.aws-1 SUCCESS in 23m 12s
✔️ integration-amazon.aws-2 SUCCESS in 31m 15s
✔️ integration-amazon.aws-3 SUCCESS in 9m 52s
✔️ integration-amazon.aws-4 SUCCESS in 9m 36s
✔️ integration-amazon.aws-5 SUCCESS in 7m 38s
✔️ integration-amazon.aws-6 SUCCESS in 8m 48s
✔️ integration-amazon.aws-7 SUCCESS in 7m 02s
✔️ integration-amazon.aws-8 SUCCESS in 6m 24s
✔️ integration-amazon.aws-9 SUCCESS in 10m 01s
✔️ integration-amazon.aws-10 SUCCESS in 8m 09s
✔️ integration-amazon.aws-11 SUCCESS in 7m 50s
✔️ integration-amazon.aws-12 SUCCESS in 7m 25s
✔️ integration-amazon.aws-13 SUCCESS in 11m 59s
✔️ integration-amazon.aws-14 SUCCESS in 6m 52s
✔️ integration-amazon.aws-15 SUCCESS in 7m 44s
✔️ integration-amazon.aws-16 SUCCESS in 6m 34s
✔️ integration-amazon.aws-17 SUCCESS in 10m 32s
✔️ integration-amazon.aws-18 SUCCESS in 7m 54s
✔️ integration-amazon.aws-19 SUCCESS in 7m 38s
✔️ integration-amazon.aws-20 SUCCESS in 8m 23s
✔️ integration-amazon.aws-21 SUCCESS in 10m 52s
Skipped 23 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit fba059c into ansible-collections:main Sep 30, 2024
36 checks passed
Copy link

patchback bot commented Sep 30, 2024

Backport to stable-8: 💔 cherry-picking failed — conflicts found

❌ Failed to cleanly apply fba059c on top of patchback/backports/stable-8/fba059cfca94e7f74c96ae75e2c38b4d42a86557/pr-2298

Backporting merged PR #2298 into main

  1. Ensure you have a local repo clone of your fork. Unless you cloned it
    from the upstream, this would be your origin remote.
  2. Make sure you have an upstream repo added as a remote too. In these
    instructions you'll refer to it by the name upstream. If you don't
    have it, here's how you can add it:
    $ git remote add upstream https://github.com/ansible-collections/amazon.aws.git
  3. Ensure you have the latest copy of upstream and prepare a branch
    that will hold the backported code:
    $ git fetch upstream
    $ git checkout -b patchback/backports/stable-8/fba059cfca94e7f74c96ae75e2c38b4d42a86557/pr-2298 upstream/stable-8
  4. Now, cherry-pick PR ec2_instance add the possibility to upgrade/downgrade instance type on the fly #2298 contents into that branch:
    $ git cherry-pick -x fba059cfca94e7f74c96ae75e2c38b4d42a86557
    If it'll yell at you with something like fatal: Commit fba059cfca94e7f74c96ae75e2c38b4d42a86557 is a merge but no -m option was given., add -m 1 as follows instead:
    $ git cherry-pick -m1 -x fba059cfca94e7f74c96ae75e2c38b4d42a86557
  5. At this point, you'll probably encounter some merge conflicts. You must
    resolve them in to preserve the patch from PR ec2_instance add the possibility to upgrade/downgrade instance type on the fly #2298 as close to the
    original as possible.
  6. Push this branch to your fork on GitHub:
    $ git push origin patchback/backports/stable-8/fba059cfca94e7f74c96ae75e2c38b4d42a86557/pr-2298
  7. Create a PR, ensure that the CI is green. If it's not — update it so that
    the tests and any other checks pass. This is it!
    Now relax and wait for the maintainers to process your pull request
    when they have some cycles to do reviews. Don't worry — they'll tell you if
    any improvements are necessary when the time comes!

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

braydencw1 pushed a commit to braydencw1/amazon.aws that referenced this pull request Oct 3, 2024
…n the fly (ansible-collections#2298)

SUMMARY

Closes ansible-collections#469

Add the possibiliy to upgrade/downgrade instance type on existing ec2 instances.
The module will stop the instance, modify the instance and then ensure the instance is in the expected state set in state argument.
ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_instance

Reviewed-by: Alina Buzachis
Reviewed-by: GomathiselviS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 PR should be backported to the stable-8 branch mergeit Merge the PR (SoftwareFactory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ec2_instance - Upgrade / downgrade ec2 type on the fly
3 participants