Project

General

Profile

Actions

Bug #26538

closed

Upgrade step drop_apache_foreman_group fails when the user is not member of the group

Added by Evgeni Golov about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

When the apache user is not part of the foreman group, the upgrade fails.

The code in https://github.com/theforeman/foreman-installer/blob/5a4f0d98390491fe4042f97d28ab779de8c709d0/katello/hooks/pre/30-upgrade.rb#L166-L179 does check for the user not being in the group, but the method does not return "true" (or anything else that can be interpreted as a positive result) and thus the rest of the installer thinks it failed.

Actions #1

Updated by Evgeni Golov about 5 years ago

  • Project changed from Katello to Installer
  • Category deleted (Installer)
Actions #2

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/339 added
Actions #3

Updated by Evgeni Golov about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ewoud Kohl van Wijngaarden about 5 years ago

  • Fixed in Releases 1.22.0 added
Actions #5

Updated by Tomer Brisker about 5 years ago

  • Fixed in Releases 1.21.2 added
Actions #6

Updated by Tomer Brisker almost 5 years ago

  • Category set to foreman-installer script
Actions

Also available in: Atom PDF