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

Remove unsed imports #852

Closed

Conversation

tremble
Copy link
Contributor

@tremble tremble commented Jan 7, 2022

Depends-On: ansible/ansible-zuul-jobs#1285
Depends-On: ansible/ansible-zuul-jobs#1286
Depends-On: ansible/ansible-zuul-jobs#1287

SUMMARY

My local tests are flagging that we've picked up some unused imports again.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

aws_glue_job
cloudfront_info
rds_option_group_info

ADDITIONAL INFORMATION

@markuman markuman added the gate label Jan 7, 2022
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

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

LGTM!

@markuman markuman added gate and removed gate labels Jan 7, 2022
@markuman
Copy link
Member

markuman commented Jan 8, 2022

ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

@markuman markuman added gate and removed gate labels Jan 8, 2022
@alinabuzachis
Copy link
Contributor

cc @goneri

ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

@goneri
Copy link
Member

goneri commented Jan 10, 2022

@alinabuzachis Thanks, I take a look.

@tremble tremble added the gate label Jan 10, 2022
@goneri
Copy link
Member

goneri commented Jan 10, 2022

@alinabuzachis, The disk space problem comes from pypa/pip#8713, pip download a gazillon of copy of awscli. The files end up in /tmp. /tmp is a RAM disk and we don't have unlimited freeze space. At some point we hit the No space left on device.
I try to understand what trigger the problem at pip's level.

@tremble
Copy link
Contributor Author

tremble commented Jan 10, 2022

@goneri pip sometimes handles boto3/botocore == X.Y.Z rather badly, it downloads every version of awscli (starting with the newest) until it finds one which matches. There used to be an awscli=A.B.C which should match the boto3/botocore requirement.

@tremble tremble removed the gate label Jan 10, 2022
@goneri
Copy link
Member

goneri commented Jan 10, 2022

Note: In this case, pip don't use the containtant file tests/unit/constraints.txt.

goneri added a commit to goneri/ansible-zuul-jobs that referenced this pull request Jan 10, 2022
/tmp is ramdisk with limited amount of space. We use `TMPDIR` to ensure
`pip` use `/var/tmp/ansible-test-pip` as an alternative. This is what
Fedora documentation advices.

See: ansible-collections/community.aws#852
@goneri
Copy link
Member

goneri commented Jan 10, 2022

recheck

@softwarefactory-project-zuul
Copy link
Contributor

This change depends on a change with an invalid configuration.

@goneri
Copy link
Member

goneri commented Jan 10, 2022

recheck

@softwarefactory-project-zuul
Copy link
Contributor

This change depends on a change with an invalid configuration.

ansible-zuul bot pushed a commit to ansible/ansible-zuul-jobs that referenced this pull request Jan 10, 2022
ansible-test: get pip tp use /var/tmp as tmp dir

/tmp is ramdisk with limited amount of space. We use TMPDIR to ensure
pip use /var/tmp/ansible-test-pip as an alternative. This is what
Fedora documentation advices.
See: ansible-collections/community.aws#852

Reviewed-by: None <None>
@goneri goneri added the mergeit Merge the PR (SoftwareFactory) label Jan 10, 2022
@softwarefactory-project-zuul
Copy link
Contributor

This change depends on a change that failed to merge.

@goneri
Copy link
Member

goneri commented Jan 10, 2022

recheck

@goneri goneri removed the mergeit Merge the PR (SoftwareFactory) label Jan 10, 2022
@goneri goneri added the mergeit Merge the PR (SoftwareFactory) label Jan 10, 2022
@softwarefactory-project-zuul
Copy link
Contributor

@alinabuzachis
Copy link
Contributor

recheck

@tremble tremble added mergeit Merge the PR (SoftwareFactory) and removed mergeit Merge the PR (SoftwareFactory) labels Jan 11, 2022
@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul
Copy link
Contributor

Pull request merge failed: Required status check "ansible/gate" is failing.

@alinabuzachis alinabuzachis removed the mergeit Merge the PR (SoftwareFactory) label Jan 18, 2022
@alinabuzachis
Copy link
Contributor

recheck

@alinabuzachis alinabuzachis added the mergeit Merge the PR (SoftwareFactory) label Jan 25, 2022
@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul
Copy link
Contributor

Pull request merge failed: Required status check "ansible/gate" is failing.

@markuman markuman removed the mergeit Merge the PR (SoftwareFactory) label Jan 27, 2022
@markuman
Copy link
Member

recheck

@tremble tremble added the mergeit Merge the PR (SoftwareFactory) label Jan 27, 2022
@softwarefactory-project-zuul
Copy link
Contributor

@softwarefactory-project-zuul
Copy link
Contributor

Pull request merge failed: Required status check "ansible/gate" is failing.

@tremble tremble closed this Jan 27, 2022
This was referenced Jan 27, 2022
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jan 30, 2022
Cleanup unused imports

(#852 / #892) Let's try once more...
SUMMARY
My local tests are flagging that we've picked up some unused imports again.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_glue_job
cloudfront_info
rds_option_group_info
ADDITIONAL INFORMATION

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Alina Buzachis <None>
patchback bot pushed a commit that referenced this pull request Jan 30, 2022
Cleanup unused imports

(#852 / #892) Let's try once more...
SUMMARY
My local tests are flagging that we've picked up some unused imports again.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_glue_job
cloudfront_info
rds_option_group_info
ADDITIONAL INFORMATION

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Alina Buzachis <None>
(cherry picked from commit 017081c)
tremble added a commit that referenced this pull request Jan 30, 2022
Cleanup unused imports

(#852 / #892) Let's try once more...
SUMMARY
My local tests are flagging that we've picked up some unused imports again.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_glue_job
cloudfront_info
rds_option_group_info
ADDITIONAL INFORMATION

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Alina Buzachis <None>
(cherry picked from commit 017081c)

Co-authored-by: Mark Chappell <[email protected]>
@tremble tremble deleted the sanity/unused-202201 branch July 7, 2022 19:27
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…ctions#852)

ec2_instance: metadata_options version_added increased

SUMMARY
After CI troubles in the past, we've forget to backport this feature.

incr from 3.2.0 to 3.3.0 ansible-collections#763

failed backport 3 PR for 3.2.0 release ansible-collections#721


initial implementation for 3.2.0 ansible-collections#715

therefore no changelog fragment is necessary.
ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_instance
ADDITIONAL INFORMATION

Reviewed-by: Jill R <None>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Mark Chappell <None>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
Cleanup unused imports

(ansible-collections#852 / ansible-collections#892) Let's try once more...
SUMMARY
My local tests are flagging that we've picked up some unused imports again.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
aws_glue_job
cloudfront_info
rds_option_group_info
ADDITIONAL INFORMATION

Reviewed-by: Markus Bergholz <[email protected]>
Reviewed-by: Alina Buzachis <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@017081c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit Merge the PR (SoftwareFactory)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants