No repo master chosen if --limit in playbook invocation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-ansible |
In Progress
|
Undecided
|
Jeff Albert |
Bug Description
When running the repo-build.yml playbook, the group_by task fails to include any repo hosts if a --limit of any kind has been specified on the playbook invocation. I excluded a compute node that was down for hardware failure when running all the playbooks for my OSA install, and this resulted in no repo master being selected - but no tasks failed as a result.
When running the rolled up setup-everythin
Example playbook output follows:
/usr/local/
Variable files: "-e @/etc/openstack
No config file found; using defaults
[WARNING]: Unable to parse /etc/openstack_
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will
be removed in a future release. Deprecation warnings can be disabled by setting deprecation_
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This
feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_
[DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion. This feature will be removed
in a future release. Deprecation warnings can be disabled by setting deprecation_
PLAY [Group repo servers by architecture] *******
TASK [Group repo servers by architecture and os version] *******
Monday 24 September 2018 00:24:03 +0000 (0:00:00.128) 0:00:00.128 ******
ok: [lb201_
PLAY [Group repo servers by architecture] *******
TASK [Group repo servers by architecture and os version] *******
Monday 24 September 2018 00:24:03 +0000 (0:00:00.068) 0:00:00.197 ******
ok: [lb101_
PLAY [Prepare group of master repo servers] *******
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: repo_masters
PLAY [Build new repo packages for a given release] *******
skipping: no hosts matched
PLAY RECAP *******
lb101_repo_
lb201_repo_
Changed in openstack-ansible: | |
assignee: | nobody → Jeff Albert (jralbert) |
Changed in openstack-ansible: | |
status: | New → In Progress |
Change abandoned by Mohammed Naser (<email address hidden>) on branch: master /review. opendev. org/604669
Review: https:/
Reason: we no longer use repo_build!