Project

General

Profile

Actions

Bug #18077

closed

Bug #18070: Broken relay postinst due to missing shared-folder

Centos7 and 8 installation broken because it uses apache2 service name

Added by François ARMAND over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

I'm not sure it's a subtask really, but centos 8 still can't be installed with:

    centos8lite2_server:   Running scriptlet: rudder-webapp-1398866025:6.1.2.release-1.EL.8.x86_   29/37
    centos8lite2_server: INFO: Creating groups ... Done
    centos8lite2_server: INFO: Creating users ... Done
    centos8lite2_server: INFO: Removing ncf-api-venv user and group ...Failed to stop apache2.service: Unit apache2.service not loaded.
    centos8lite2_server: **************************************************************************************
    centos8lite2_server: ERROR: rudder-webapp postinstall script failed !
    centos8lite2_server:
    centos8lite2_server: Trying to recover the problem, you should check that your instance is properly working
    centos8lite2_server:
    centos8lite2_server: You should also try to manually execute: /opt/rudder/bin/rudder-upgrade
    centos8lite2_server:
    centos8lite2_server:    Such errors should not happen, please open an issue for this problem on
    centos8lite2_server:             https://issues.rudder.io/projects/rudder/issues/new
    centos8lite2_server: **************************************************************************************
    centos8lite2_server: chmod: cannot access '/var/rudder/configuration-repository/.git': No such file or directory
    centos8lite2_server: chmod: cannot access '/var/rudder/configuration-repository/techniques': No such file or directory
    centos8lite2_server: find: ‘/var/rudder/configuration-repository/.git’: No such file or directory
    centos8lite2_server: find: ‘/var/rudder/configuration-repository/techniques’: No such file or directory
    centos8lite2_server: INFO: Applying selinux policy...restorecon: lstat(/var/rudder/configuration-repository/techniques) failed: No such file or directory
    centos8lite2_server: warning: %post(rudder-webapp-1398866025:6.1.2.release-1.EL.8.x86_64) scriptlet failed, exit status 255

Most of rudder is not correctly installed then: no configuration-repo, no LDAP init, no postgres...


Files

clipboard-202007302237-cdoem.png (29.5 KB) clipboard-202007302237-cdoem.png François ARMAND, 2020-07-30 22:37

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #18891: Upgrade failed from 5.0.20 to 6.1.9 on SLESReleasedBenoît PECCATTEActions
Actions #1

Updated by François ARMAND over 3 years ago

  • Target version changed from 6.1.3 to 6.1.2
Actions #2

Updated by François ARMAND over 3 years ago

Same error on centos7:

Actions #3

Updated by Alexis Mousset over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #4

Updated by Alexis Mousset over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2356
Actions #5

Updated by Alexis Mousset over 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Alexis Mousset over 3 years ago

  • Subject changed from Centos7 and 8 installation broken: failed to delete ncf-api-env user to Centos7 and 8 installation broken because it uses apache2 service name
Actions #7

Updated by François ARMAND over 3 years ago

  • Fix check changed from To do to Checked
Actions #8

Updated by François ARMAND over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.2 which was released today.

Actions #9

Updated by Elaad FURREEDAN about 3 years ago

  • Related to Bug #18891: Upgrade failed from 5.0.20 to 6.1.9 on SLES added
Actions

Also available in: Atom PDF