Project

Profile

Help

Issue #5328

pulp.pulp_rpm_prerequisites role doesn't work on pulp2-nightly-pulp3-source-centos7 box

Added by ttereshc over 2 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
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.

History

#1 Updated by ttereshc over 2 years ago

  • Description updated (diff)

#2 Updated by ggainey over 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 57

#3 Updated by rchan over 2 years ago

  • Sprint changed from Sprint 57 to Sprint 58

#4 Updated by rchan about 2 years ago

  • Sprint deleted (Sprint 58)

#5 Updated by mdepaulo@redhat.com about 2 years ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE
  • Assignee set to mdepaulo@redhat.com

I didn't notice this issue, but I already fixed it on this separate commit:
https://github.com/pulp/pulp-rpm-prerequisites/pull/11/commits/8b73007b57a4bb4e5cd158105486fb0fb03bf7b5

As part of this PR for:
re: #5496
installer fails on el7 installing pulp_rpm
https://pulp.plan.io/issues/5496

#6 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3 installer)

Please register to edit this issue

Also available in: Atom PDF