-
Notifications
You must be signed in to change notification settings - Fork 214
Description
Chef Server Version
15.10.33
15.9.27
15.10.12
Platform Details
Amazon Linux 2023
Configuration
Standalone
Scenario
We have cinc server (v 14) running on AL2 and as AL2 is reaching its EOL we are trying to upgrade to AL2023, but while running cinc-server-ctl reconfigure command post installing cinc rpm we are getting the following error with nginx installation
we have tried installing multiple different versions of cinc but getting same error with all of them, it looks like the infra-server recipes are not updated properly as per its compatiblity with AL2023, i still see recipe yum-epel in the infra server recipes which is not compatible with AL2023. Also runit service again is not compatible with AL2023.
`Recipe: infra-server::nginx
* component_runit_service[nginx] action restart
* service[nginx] action nothing (skipped due to action :nothing)
* runit_service[nginx] action restart
================================================================================
Error executing action `restart` on resource 'runit_service[nginx]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/cinc-project/embedded/bin/sv restart /opt/cinc-project/service/nginx ----
STDOUT: fail: /opt/cinc-project/service/nginx: unable to change to service directory: file does not exist
STDERR:
---- End output of /opt/cinc-project/embedded/bin/sv restart /opt/cinc-project/service/nginx ----
Ran /opt/cinc-project/embedded/bin/sv restart /opt/cinc-project/service/nginx returned 1`
Steps to Reproduce
dnf install -y cinc-server.rpm
cinc-server-ctl reconfigure
Expected Result
cinc server installation successful
Actual Result
`Recipe: infra-server::nginx
* component_runit_service[nginx] action restart
* service[nginx] action nothing (skipped due to action :nothing)
* runit_service[nginx] action restart
================================================================================
Error executing action `restart` on resource 'runit_service[nginx]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /opt/cinc-project/embedded/bin/sv restart /opt/cinc-project/service/nginx ----
STDOUT: fail: /opt/cinc-project/service/nginx: unable to change to service directory: file does not exist
STDERR:
---- End output of /opt/cinc-project/embedded/bin/sv restart /opt/cinc-project/service/nginx ----
Ran /opt/cinc-project/embedded/bin/sv restart /opt/cinc-project/service/nginx returned 1`
`