Actions
Issue #5328
closedpulp.pulp_rpm_prerequisites role doesn't work on pulp2-nightly-pulp3-source-centos7 box
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Dev Environment
Sprint:
Quarter:
Description
If pulp.pulp_rpm_prerequisites role is included, provisioning fails, see details below.
It happens only on pulp2-nightly-pulp3-source-centos7 box, e.g. pulp3-source-fedora30 box works fine.
$ cat pulplift/playbooks/source-install.yml
---
- hosts: all
vars:
paths_to_vars_files:
- '../local.dev-config.yml'
- '../example.dev-config.yml'
pre_tasks:
- include_vars: "{{ item }}"
with_first_found: "{{ paths_to_vars_files }}"
- name: Set up Vagrant machine for source installs
include: ../vagrant/vagrant-pretask.yml
roles:
- pulp.pulp_rpm_prerequisites
- pulp-database
- pulp-workers
- pulp-resource-manager
- pulp-webserver
- pulp-content
- pulp-devel
environment:
DJANGO_SETTINGS_MODULE: pulpcore.app.settings
$ vagrant up pulp2-nightly-pulp3-source-centos7
...
==> pulp2-nightly-pulp3-source-centos7: Running provisioner: main0 (ansible)...
... this is a pulp 2 part and it completes fine, without any issues ...
==> pulp2-nightly-pulp3-source-centos7: Running provisioner: main1 (ansible)...
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.8.0).
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
pulp2-nightly-pulp3-source-centos7: Running ansible-galaxy...
- changing role geerlingguy.postgresql from master to master
- extracting geerlingguy.postgresql to /home/tt/devel/pulp3/current_setup/pulplift/playbooks/roles/geerlingguy.postgresql
- geerlingguy.postgresql (master) was installed successfully
pulp2-nightly-pulp3-source-centos7: Running ansible-playbook...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
fatal: [pulp2-nightly-pulp3-source-centos7]: FAILED! => {
"ansible_facts": {},
"changed": false
}
MSG:
The following modules failed to execute: setup
setup: The module failed to execute correctly, you probably need to set the interpreter.
See stdout/stderr for the exact error
PLAY RECAP *********************************************************************
pulp2-nightly-pulp3-source-centos7 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Actions