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

Bug #18077: Centos7 and 8 installation broken because it uses apache2 service name

Added by François ARMAND over 5 years ago. Updated over 5 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
clipboard-202007302237-cdoem.png

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

Updated by François ARMAND over 5 years ago Actions #1

  • Target version changed from 6.1.3 to 6.1.2

Updated by François ARMAND over 5 years ago Actions #2

clipboard-202007302237-cdoem.png

Same error on centos7:

Updated by Alexis Mousset over 5 years ago Actions #3

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

Updated by Alexis Mousset over 5 years ago Actions #4

  • 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

Updated by Alexis Mousset over 5 years ago Actions #5

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset over 5 years ago Actions #6

  • 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

Updated by François ARMAND over 5 years ago Actions #7

  • Fix check changed from To do to Checked

Updated by François ARMAND over 5 years ago Actions #8

  • Status changed from Pending release to Released

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

Updated by Elaad FURREEDAN about 5 years ago Actions #9

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

Also available in: PDF Atom