Bug #31430
closedInstaller can't install the Ansible plugin on Debian/Ubuntu
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.
Updated by Ewoud Kohl van Wijngaarden over 4 years ago
I think this is a duplicate of #31226.
Updated by Ewoud Kohl van Wijngaarden over 4 years ago
- Is duplicate of Bug #31226: ansible plugin installer - apt configuration error on debian added
Updated by Ewoud Kohl van Wijngaarden over 4 years ago
- Related to Bug #29359: ubuntu 16.04 and 18.04 NO_PUBKEY error on ansible-runner installation added
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Evgeni Golov
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/637 added
Updated by Evgeni Golov over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman_proxy|af2656f8ff58626c0f907d06e33856d36ee663f6.
Updated by The Foreman Bot about 4 years ago
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/645 added
Updated by The Foreman Bot about 4 years ago
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/646 added
Updated by Ewoud Kohl van Wijngaarden about 4 years ago
- Fixed in Releases 2.2.3, 2.3.3 added