Foreman 3.2 RC and Ansible on Debian 11 installation error

Steps to reproduce

  • Install foreman 3.2 RC by following the instructions from the manual [0]
  • Install foreman-ansible: foreman-installer --enable-foreman-plugin-ansible --enable-foreman-proxy-plugin-ansible

Expected outcome:
foreman-ansible is installed and enabled.

Actual result
Installer fails with error:

2022-03-09 15:06:07 [ERROR ] [configure] Errors were encountered while processing:
2022-03-09 15:06:07 [ERROR ] [configure] ruby-foreman-deface
2022-03-09 15:06:07 [ERROR ] [configure] ruby-foreman-remote-execution
2022-03-09 15:06:07 [ERROR ] [configure] ruby-foreman-ansible
2022-03-09 15:06:07 [ERROR ] [configure] ruby-foreman-tasks
2022-03-09 15:06:07 [ERROR ] [configure] E: Sub-process /usr/bin/dpkg returned an error code (1)

full log [1]

Distribution and version:

  • Debian 11 (bullseye)
  • Foreman 3.2 RC

Did I missed something? I followed steps as described in [0] [2]

[0] Foreman :: Manual
[1] 2022-03-09 15:06:07 [ERROR ] [configure] Execution of '/usr/bin/apt-get -q -y -o - Pastebin.com
[2] Foreman :: Plugin Manuals

Should be fixed with tasks: Update sinatra to 2.2.0 to match rack-protection in core. by evgeni · Pull Request #7680 · theforeman/foreman-packaging · GitHub

(and will require backports to any stable branches that got releases since sinatra 2.2.0 was released on 2022-02-15)

cc @upadhyeammit

1 Like

and here is the 3.2 backport: tasks: Update to 6.0.0 and use sinatra to 2.2.0 to match rack-protection in core by evgeni · Pull Request #7684 · theforeman/foreman-packaging · GitHub

(3.1 and 3.0 still to do, for 3.1 adam is working on it)

3.1 done

1 Like

and 3.0 also done, enjoy!