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

ansible-test-sanity-docker-milestone failing CI #1114

Closed
1 task done
jatorcasso opened this issue May 4, 2022 · 2 comments · Fixed by #1116
Closed
1 task done

ansible-test-sanity-docker-milestone failing CI #1114

jatorcasso opened this issue May 4, 2022 · 2 comments · Fixed by #1116
Assignees
Labels
docs module module plugins plugin (any type)

Comments

@jatorcasso
Copy link
Contributor

Summary

ansible-test-sanity-docker-milestone sanity CI tests are failing due to updates to the milestone branch (ansible-collections/news-for-maintainers#9).

ERROR: Found 17 validate-modules issue(s) which need to be resolved:
ERROR: plugins/modules/cloudfront_distribution.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.restrictions.suboptions.geo_restriction.suboptions.items: Argument defines type as list but elements is not defined for dictionary value @ data['options']['restrictions']['suboptions']['geo_restriction']['suboptions']['items']. Got {'description': ['A list of ISO 3166-1 two letter (Alpha 2) country codes that the restriction should apply to.', 'See the ISO website for a full list of codes U(https://www.iso.org/obp/ui/#search/code/).'], 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.command: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['command']. Got {'description': 'The command that is passed to the container.', 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.dnsSearchDomains: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['dnsSearchDomains']. Got {'description': ['A list of DNS search domains that are presented to the container.', 'This parameter is not supported for Windows containers.'], 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.dnsServers: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['dnsServers']. Got {'description': ['A list of DNS servers that are presented to the container.', 'This parameter is not supported for Windows containers.'], 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.dockerSecurityOptions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['dockerSecurityOptions']. Got {'description': ['A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.', 'This parameter is not supported for Windows containers.'], 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.links: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['links']. Got {'description': ['Allows containers to communicate with each other without the need for port mappings.', 'This parameter is only supported if I(network_mode=bridge).'], 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.capabilities.suboptions.add: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['capabilities']['suboptions']['add']. Got {'description': ['The Linux capabilities for the container that have been added to the default configuration provided by Docker.', 'If I(launch_type=FARGATE), this parameter is not supported.'], 'required': False, 'type': 'list', 'choices': ['ALL', 'AUDIT_CONTROL', 'AUDIT_WRITE', 'BLOCK_SUSPEND', 'CHOWN', 'DAC_OVERRIDE', 'DAC_READ_SEARCH', 'FOWNER', 'FSETID', 'IPC_LOCK', 'IPC_OWNER', 'KILL', 'LEASE', 'LINUX_IMMUTABLE', 'MAC_ADMIN', 'MAC_OVERRIDE', 'MKNOD', 'NET_ADMIN', 'NET_BIND_SERVICE', 'NE...
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.capabilities.suboptions.drop: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['capabilities']['suboptions']['drop']. Got {'description': ['The Linux capabilities for the container that have been removed from the default configuration provided by Docker.'], 'required': False, 'type': 'list', 'choices': ['ALL', 'AUDIT_CONTROL', 'AUDIT_WRITE', 'BLOCK_SUSPEND', 'CHOWN', 'DAC_OVERRIDE', 'DAC_READ_SEARCH', 'FOWNER', 'FSETID', 'IPC_LOCK', 'IPC_OWNER', 'KILL', 'LEASE', 'LINUX_IMMUTABLE', 'MAC_ADMIN', 'MAC_OVERRIDE', 'MKNOD', 'NET_ADMIN', 'NET_BIND_SERVICE', 'NET_BROADCAST', 'NET_RAW', 'SETFCAP', 'SETGID', 'SETPCAP', 'S...
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.devices.suboptions.permissions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['devices']['suboptions']['permissions']. Got {'description': 'The explicit permissions to provide to the container for the device.', 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.linuxParameters.suboptions.tmpfs.suboptions.mountOptions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['linuxParameters']['suboptions']['tmpfs']['suboptions']['mountOptions']. Got {'description': 'The list of tmpfs volume mount options.', 'required': False, 'type': 'list', 'choices': ['defaults', 'ro', 'rw', 'suid', 'nosuid', 'dev', 'nodev', 'exec', 'noexec', 'sync', 'async', 'dirsync', 'remount', 'mand', 'nomand', 'atime', 'noatime', 'diratime', 'nodiratime', 'bind', 'rbind', 'unbindable', 'runbindable', 'private', 'rprivate', 'shared', 'rshared', 'slave', 'rslave', 'relatime', 'norelatime', 'strictatime', 'nostrictatime', 'mode', 'uid', 'gid', 'nr_inodes', 'nr_blocks...
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.resourceRequirements: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['resourceRequirements']. Got {'description': ['The type and amount of a resource to assign to a container.', 'The only supported resource is a C(GPU).'], 'required': False, 'type': 'list'}
ERROR: plugins/modules/ecs_taskdefinition.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.containers.suboptions.systemControls: Argument defines type as list but elements is not defined for dictionary value @ data['options']['containers']['suboptions']['systemControls']. Got {'description': 'A list of namespaced kernel parameters to set in the container.', 'required': False, 'type': 'list'}
ERROR: plugins/modules/elb_application_lb.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.listeners.suboptions.Rules.suboptions.Actions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['listeners']['suboptions']['Rules']['suboptions']['Actions']. Got {'type': 'list', 'description': "Actions to apply if all of the rule's conditions are met."}
ERROR: plugins/modules/elb_application_lb.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.listeners.suboptions.Rules.suboptions.Conditions: Argument defines type as list but elements is not defined for dictionary value @ data['options']['listeners']['suboptions']['Rules']['suboptions']['Conditions']. Got {'type': 'list', 'description': 'Conditions which must be met for the actions to be applied.'}
ERROR: plugins/modules/rds_option_group.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.options.suboptions.db_security_group_memberships: Argument defines type as list but elements is not defined for dictionary value @ data['options']['options']['suboptions']['db_security_group_memberships']. Got {'description': 'A list of C(DBSecurityGroupMembership) name strings used for this option.', 'required': False, 'type': 'list'}
ERROR: plugins/modules/rds_option_group.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.options.suboptions.option_settings: Argument defines type as list but elements is not defined for dictionary value @ data['options']['options']['suboptions']['option_settings']. Got {'description': 'The option settings to include in an option group.', 'required': False, 'type': 'list', 'suboptions': {'name': {'description': 'The name of the option that has settings that you can set.', 'required': False, 'type': 'str'}, 'value': {'description': 'The current value of the option setting.', 'required': False, 'type': 'str'}, 'default_value': {'description': 'The default value of the option setting.', 'required': False, 'type': 'str'}, 'description': {'description': 'The desc...
ERROR: plugins/modules/rds_option_group.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.options.suboptions.vpc_security_group_memberships: Argument defines type as list but elements is not defined for dictionary value @ data['options']['options']['suboptions']['vpc_security_group_memberships']. Got {'description': 'A list of C(VpcSecurityGroupMembership) name strings used for this option.', 'required': False, 'type': 'list'}
See documentation for help: https://docs.ansible.com/ansible-core/devel/dev_guide/testing/sanity/validate-modules.html

Issue Type

Documentation Report

Component Name

  • cloudfront_distribution
  • ecs_taskdefinition
  • elb_application_lb
  • rds_option_group

Ansible Version

$ ansible --version

Collection Versions

$ ansible-galaxy collection list

Configuration

$ ansible-config dump --only-changed

OS / Environment

No response

Additional Information

No response

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@jatorcasso jatorcasso self-assigned this May 4, 2022
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added docs module module plugins plugin (any type) labels May 4, 2022
softwarefactory-project-zuul bot pushed a commit that referenced this issue May 5, 2022
Add missing `elements` option to type: list that did not specify

SUMMARY
Fixes #1114
ISSUE TYPE

Docs Pull Request

COMPONENT NAME

cloudfront_distribution
ecs_taskdefinition
elb_application_lb
rds_option_group

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Jill R <None>
jatorcasso added a commit to jatorcasso/community.aws that referenced this issue May 6, 2022
…ible-collections#1116)

Add missing `elements` option to type: list that did not specify

SUMMARY
Fixes ansible-collections#1114
ISSUE TYPE

Docs Pull Request

COMPONENT NAME

cloudfront_distribution
ecs_taskdefinition
elb_application_lb
rds_option_group

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Jill R <None>
(cherry picked from commit c1d47dd)
jatorcasso added a commit to jatorcasso/community.aws that referenced this issue May 6, 2022
…ible-collections#1116)

Add missing `elements` option to type: list that did not specify

SUMMARY
Fixes ansible-collections#1114
ISSUE TYPE

Docs Pull Request

COMPONENT NAME

cloudfront_distribution
ecs_taskdefinition
elb_application_lb
rds_option_group

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Jill R <None>
(cherry picked from commit c1d47dd)
jatorcasso added a commit to jatorcasso/community.aws that referenced this issue May 6, 2022
…ible-collections#1116)

Add missing `elements` option to type: list that did not specify

SUMMARY
Fixes ansible-collections#1114
ISSUE TYPE

Docs Pull Request

COMPONENT NAME

cloudfront_distribution
ecs_taskdefinition
elb_application_lb
rds_option_group

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Jill R <None>
(cherry picked from commit c1d47dd)
abikouo pushed a commit to abikouo/community.aws that referenced this issue Oct 24, 2023
…ible-collections#1116)

Add missing `elements` option to type: list that did not specify

SUMMARY
Fixes ansible-collections#1114
ISSUE TYPE

Docs Pull Request

COMPONENT NAME

cloudfront_distribution
ecs_taskdefinition
elb_application_lb
rds_option_group

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Jill R <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@c1d47dd
abikouo pushed a commit to abikouo/community.aws that referenced this issue Oct 24, 2023
delete 'get_classic_link_status' method

SUMMARY
fixes ansible-collections#1114


ISSUE TYPE
Feature Pull Request
COMPONENT NAME
ec2_vpc_net
ADDITIONAL INFORMATION
I picked the issue to get started into contributing to ansible because it was easy to fix, if I did something wrong just tell and I will get it fixed and improved until the PR eventually passes all checks and get merged.

Reviewed-by: Mark Chappell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs module module plugins plugin (any type)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants