Project

General

Profile

Bug #31430

Installer can't install the Ansible plugin on Debian/Ubuntu

Added by Evgeni Golov 8 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-

Description

Ohai,

while playing with the idea in https://community.theforeman.org/t/testing-plugins-that-go-with-a-release/21475, I noticed that the Installer will fail trying to install the Ansible plugin on Debian/Ubuntu.

On Debian 10, the installer will fail with:

    2020-12-02 09:15:13 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ansible-runner' returned 100: Reading package lists...
    2020-12-02 09:15:13 [ERROR ] [configure] Building dependency tree...
    2020-12-02 09:15:13 [ERROR ] [configure] Reading state information...
    2020-12-02 09:15:13 [ERROR ] [configure] E: Unable to locate package ansible-runner
    2020-12-02 09:15:13 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Plugin::Ansible::Runner/Package[ansible-runner]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ansible-runner' returned 100: Reading package lists...

This is because the repo we configure (https://releases.ansible.com/ansible-runner/deb/) doesn't carry packages for buster.

However, while it does carry packages for bionic (Ubuntu 18.04, which we also support), the installer installs the wrong GPG key (AC48AC71DA695CA15F2D39C4B84E339C442667A9 from https://releases.ansible.com/keys/RPM-GPG-KEY-ansible-release.pub), while the packages are signed with B719 6EFF 934F BC94 FBCD F40D D430 849D 3DD2 9021, so the installation will also fail there.


Related issues

Related to Installer - Bug #29359: ubuntu 16.04 and 18.04 NO_PUBKEY error on ansible-runner installationNew
Is duplicate of Installer - Bug #31226: ansible plugin installer - apt configuration error on debianNew

Associated revisions

Revision af2656f8 (diff)
Added by Evgeni Golov 8 months ago

Fixes #31430 - use correct key and server for ansible-runner deb

History

#1 Updated by Ewoud Kohl van Wijngaarden 8 months ago

I think this is a duplicate of #31226.

#2 Updated by Ewoud Kohl van Wijngaarden 8 months ago

  • Is duplicate of Bug #31226: ansible plugin installer - apt configuration error on debian added

#3 Updated by Ewoud Kohl van Wijngaarden 8 months ago

  • Related to Bug #29359: ubuntu 16.04 and 18.04 NO_PUBKEY error on ansible-runner installation added

#4 Updated by The Foreman Bot 8 months ago

  • Assignee set to Evgeni Golov
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/637 added

#5 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases 2.4.0 added

#6 Updated by Evgeni Golov 8 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/645 added

#8 Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/646 added

#9 Updated by Ewoud Kohl van Wijngaarden 5 months ago

  • Fixed in Releases 2.2.3, 2.3.3 added

Also available in: Atom PDF