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

elb_target_group: fix lost property AvailabilityZone #1767

Merged

Conversation

markuman
Copy link
Member

@markuman markuman commented Apr 5, 2023

SUMMARY

Closes #1736

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

elb_target_group

@markuman markuman added the backport-5 PR should be backported to the stable-5 branch label Apr 5, 2023
@markuman markuman added this to the 5.5.0 milestone Apr 5, 2023
@softwarefactory-project-zuul
Copy link
Contributor

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

ansible-galaxy-importer FAILURE in 4m 24s
✔️ build-ansible-collection SUCCESS in 12m 37s
✔️ ansible-test-sanity-docker-devel SUCCESS in 15m 09s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 08s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 33s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 33s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 53s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 21s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 19s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 45s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 29s
✔️ ansible-test-changelog SUCCESS in 4m 16s
✔️ ansible-test-splitter SUCCESS in 4m 57s
integration-community.aws-1 FAILURE in 25m 06s
Skipped 21 jobs

@markuman
Copy link
Member Author

markuman commented Apr 5, 2023

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

✔️ ansible-galaxy-importer SUCCESS in 5m 37s
✔️ build-ansible-collection SUCCESS in 13m 37s
✔️ ansible-test-sanity-docker-devel SUCCESS in 14m 00s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 13m 58s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 13m 37s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 14m 03s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 14m 02s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 9m 25s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 9m 26s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 7m 13s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 5m 44s
✔️ ansible-test-changelog SUCCESS in 4m 27s
✔️ ansible-test-splitter SUCCESS in 4m 47s
integration-community.aws-1 FAILURE in 30m 45s
Skipped 21 jobs

@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

✔️ ansible-galaxy-importer SUCCESS in 3m 43s
✔️ build-ansible-collection SUCCESS in 12m 21s
✔️ ansible-test-sanity-docker-devel SUCCESS in 8m 56s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 13m 33s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 12m 59s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 12m 31s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 14m 06s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 26s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 39s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 54s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 5m 43s
✔️ ansible-test-changelog SUCCESS in 4m 18s
✔️ ansible-test-splitter SUCCESS in 4m 46s
integration-community.aws-1 FAILURE in 24m 47s
Skipped 21 jobs

@markuman
Copy link
Member Author

this is the broken task: https://github.com/ansible-collections/community.aws/blob/main/tests/integration/targets/elb_target/tasks/ec2_target.yml#L388-L396
and it is already broken in main.

I wonder if it is the same error that is also facing the ecs_cluster integration test - broken network setup.

@markuman
Copy link
Member Author

the dnf update results in a gpg error

Error: GPG check FAILED

I guess the cloudinit will run into the same

@github-actions
Copy link

github-actions bot commented Apr 13, 2023

Docs Build 📝

Thank you for contribution!✨

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

@markuman
Copy link
Member Author

next error

TASK [elb_target : include_tasks] **********************************************
ERROR! couldn't resolve module/action 'archive'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/root/ansible_collections/community/aws/tests/output/.tmp/integration/elb_target-5_2d17rn-ÅÑŚÌβŁÈ/tests/integration/targets/elb_target/tasks/lambda_target.yml': line 3, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  block:
  - name: create zip to deploy lambda code
    ^ here
NOTICE: To resume a

@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

ansible-galaxy-importer FAILURE in 4m 12s
✔️ build-ansible-collection SUCCESS in 12m 46s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 24s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 23s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 13s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 21s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 57s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 7m 11s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 55s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 51s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 47s
✔️ ansible-test-changelog SUCCESS in 4m 28s
✔️ ansible-test-splitter SUCCESS in 5m 23s
✔️ integration-community.aws-1 SUCCESS in 25m 01s
Skipped 21 jobs

@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

ansible-galaxy-importer FAILURE in 3m 48s
✔️ build-ansible-collection SUCCESS in 12m 38s
✔️ ansible-test-sanity-docker-devel SUCCESS in 15m 17s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 56s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 40s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 59s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 17m 16s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 8m 44s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 51s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 56s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 5m 55s
✔️ ansible-test-changelog SUCCESS in 4m 20s
✔️ ansible-test-splitter SUCCESS in 4m 46s
✔️ integration-community.aws-1 SUCCESS in 20m 56s
Skipped 21 jobs

@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

ansible-galaxy-importer FAILURE in 3m 48s
✔️ build-ansible-collection SUCCESS in 12m 41s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 11s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 32s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 19s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 33s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 8m 58s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 24s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 47s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 43s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 34s
✔️ ansible-test-changelog SUCCESS in 4m 20s
✔️ ansible-test-splitter SUCCESS in 4m 54s
✔️ integration-community.aws-1 SUCCESS in 39m 52s
Skipped 21 jobs

@markuman
Copy link
Member Author

recheck

1 similar comment
@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

ansible-galaxy-importer FAILURE in 4m 09s
✔️ build-ansible-collection SUCCESS in 12m 44s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 50s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 13s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 09s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 34s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 11m 20s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 8m 12s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 7m 59s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 7m 47s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 8m 44s
✔️ ansible-test-changelog SUCCESS in 4m 24s
✔️ ansible-test-splitter SUCCESS in 4m 47s
✔️ integration-community.aws-1 SUCCESS in 45m 10s
Skipped 21 jobs

@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Contributor

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

✔️ ansible-galaxy-importer SUCCESS in 3m 41s
✔️ build-ansible-collection SUCCESS in 13m 20s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 35s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 9m 04s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 10m 33s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 14s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 10m 29s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 5m 35s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 43s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 7m 25s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 8m 03s
✔️ ansible-test-changelog SUCCESS in 4m 34s
✔️ ansible-test-splitter SUCCESS in 4m 57s
✔️ integration-community.aws-1 SUCCESS in 26m 38s
Skipped 21 jobs

@markuman markuman requested a review from alinabuzachis April 18, 2023 06:45
@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Apr 18, 2023
@markuman markuman added mergeit Merge the PR (SoftwareFactory) and removed mergeit Merge the PR (SoftwareFactory) labels Apr 18, 2023
@softwarefactory-project-zuul
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/595b8ccbe6dc4524ab602e9209145bc1

ansible-galaxy-importer FAILURE in 3m 43s
✔️ build-ansible-collection SUCCESS in 13m 01s
✔️ ansible-test-sanity-docker-devel SUCCESS in 12m 27s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 34s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 30s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 56s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 12m 02s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 5m 43s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 01s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 27s
ansible-test-units-amazon-aws-python310 POST_FAILURE in 9m 00s
✔️ ansible-test-changelog SUCCESS in 4m 41s
✔️ ansible-test-splitter SUCCESS in 5m 01s
✔️ integration-community.aws-1 SUCCESS in 28m 58s
Skipped 21 jobs

@markuman
Copy link
Member Author

regate

@markuman markuman removed the mergeit Merge the PR (SoftwareFactory) label Apr 18, 2023
@markuman
Copy link
Member Author

recheck

@softwarefactory-project-zuul
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/4ec24c423ee3421197e2e9f63f95da9a

ansible-galaxy-importer FAILURE in 4m 44s
✔️ build-ansible-collection SUCCESS in 12m 39s
✔️ ansible-test-sanity-docker-devel SUCCESS in 10m 26s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 11m 08s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 12m 23s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 18s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 13m 04s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 01s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 6m 22s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 6m 14s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 03s
✔️ ansible-test-changelog SUCCESS in 4m 18s
✔️ ansible-test-splitter SUCCESS in 4m 48s
✔️ integration-community.aws-1 SUCCESS in 25m 07s
Skipped 21 jobs

@tremble
Copy link
Contributor

tremble commented Apr 18, 2023

regate

@softwarefactory-project-zuul
Copy link
Contributor

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

ansible-galaxy-importer FAILURE in 4m 20s
✔️ build-ansible-collection SUCCESS in 13m 31s
✔️ ansible-test-sanity-docker-devel SUCCESS in 11m 14s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 18s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 11m 04s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 10m 44s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 10m 05s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 42s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 54s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 55s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 47s
✔️ ansible-test-changelog SUCCESS in 4m 38s
✔️ ansible-test-splitter SUCCESS in 4m 57s
✔️ integration-community.aws-1 SUCCESS in 23m 15s
Skipped 21 jobs

@markuman
Copy link
Member Author

recheck

@markuman markuman added the mergeit Merge the PR (SoftwareFactory) label Apr 18, 2023
@softwarefactory-project-zuul
Copy link
Contributor

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

✔️ ansible-galaxy-importer SUCCESS in 3m 45s
✔️ build-ansible-collection SUCCESS in 12m 35s
✔️ ansible-test-sanity-docker-devel SUCCESS in 9m 05s (non-voting)
✔️ ansible-test-sanity-docker-milestone SUCCESS in 10m 17s (non-voting)
✔️ ansible-test-sanity-docker-stable-2.12 SUCCESS in 9m 21s
✔️ ansible-test-sanity-docker-stable-2.13 SUCCESS in 9m 48s
✔️ ansible-test-sanity-docker-stable-2.14 SUCCESS in 9m 03s
✔️ ansible-test-units-amazon-aws-python36 SUCCESS in 6m 44s
✔️ ansible-test-units-amazon-aws-python38 SUCCESS in 5m 38s
✔️ ansible-test-units-amazon-aws-python39 SUCCESS in 5m 42s
✔️ ansible-test-units-amazon-aws-python310 SUCCESS in 6m 55s
✔️ ansible-test-changelog SUCCESS in 4m 26s
✔️ ansible-test-splitter SUCCESS in 4m 45s
✔️ integration-community.aws-1 SUCCESS in 28m 32s
Skipped 21 jobs

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit d8362a0 into ansible-collections:main Apr 18, 2023
@patchback
Copy link

patchback bot commented Apr 18, 2023

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/d8362a0e185a58ff76e8592c89ac0b804849339f/pr-1767

Backported as #1776

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

patchback bot pushed a commit that referenced this pull request Apr 18, 2023
elb_target_group: fix lost property AvailabilityZone

SUMMARY
Closes #1736
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
elb_target_group

Reviewed-by: Mark Chappell
Reviewed-by: Alina Buzachis
Reviewed-by: Markus Bergholz <[email protected]>
(cherry picked from commit d8362a0)
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Apr 18, 2023
[PR #1767/d8362a0e backport][stable-5] elb_target_group: fix lost property AvailabilityZone

This is a backport of PR #1767 as merged into main (d8362a0).
SUMMARY
Closes #1736
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME
elb_target_group

Reviewed-by: Markus Bergholz <[email protected]>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
… retries enabled (ansible-collections#1768)

elb_application_lb_info - ensure queries for additional ALB data have retries enabled

SUMMARY
As per ansible-collections#1767 the queries to pull extra info about ALBs are hitting rate limits when there's a lot of ALBs.  Unfortunately the initial list operation has limited server-side filtering capabilities (and we don't have consistent client side filtering implemented at this time).
Ensure that all of the extra queries have retries with jittered backoff enabled.
Additionally, drops a redundant describe_load_balancers call to retrieve the ip_address_type information.  (added by ansible-collections#499)
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
elb_application_lb_info
ADDITIONAL INFORMATION
I don't consider this a full fix for ansible-collections#1767 so I'm not using the "fixes".

Reviewed-by: Alina Buzachis
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…nsible-collections#1778)

elb_application_lb_info - Add parameters to skip fetching some data

Add include_attributes, include_listeners and include_listener_rules.
SUMMARY
Related to ansible-collections#1767.
This PR adds parameters to the module which disable fetching certain data.
They all default to true for backwards compatibility. In my tests disabling all 3 speeds it up by around 10x when fetching a lot (100+) ALBs.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
elb_application_lb_info
ADDITIONAL INFORMATION
Please let me know if the coupling of include_listeners and include_listener_rules isn't desired. I can add checks to require include_listeners be true if include_listener_rules as an alternative (or something else?).

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

Successfully merging this pull request may close these issues.

community.aws.elb_target_group ignoring targets.AvailabilityZone 'all' param
3 participants