Operations Manager: Apply Changes Fails with "Exited with -1. Exited with ."
search cancel

Operations Manager: Apply Changes Fails with "Exited with -1. Exited with ."

book

Article ID: 293775

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

When performing an apply changes, an error is immediately returned in Ops Manager indicating
Exited with -1. Exited with .

Screen Shot 2021-06-03 at 4.05.26 PM.png

To validate the signature, SSH into your Ops Manager VM and inspect the production log to see the following. 
# cd /var/log/ops-manager/
# grep getcwd -C 2 production.log
E, [2021-06-03T18:14:09.233045 #762] ERROR -- :         Exception caught via rescue_from (code 500):
        (See app/controllers/application_controller.rb)
        No such file or directory - getcwd
    /home/tempest-web/tempest/web/app/models/deployer/executors/maestro_executor.rb:61:in `pwd'
/home/tempest-web/tempest/web/app/models/deployer/executors/maestro_executor.rb:61:in `run_command'

Getcwd is a kernel system call used to get the full path as an array. Mentioned here: https://linux.die.net/man/3/getcwd
 


Environment

Product Version: 2.10

Resolution

So far an underlying cause is still under investigation. The suspected RCA based on some symptoms in previous cases relates to the /home/tempest-web/tempest directory being changed in some manner but this is still under investigation. 

To help with additional RCA details:

  • The exact timestamp of the first occurrence of the error 
  • IaaS
  • Ops Manager version
  • Any additional software on the Ops Manager VM that’s not shipped with Ops Manager (e.g. anti-virus).
  • Gathered following logs. This can be zipped and scp'd off the Ops Man vm:
    • Everything in: /var/log/audit/
    • Any files matching: /var/log/syslog*
    • Any files matching: /var/log/kern*

 

Once the data has been collected, please restart the temptest-web service.
Note: You will need your decryption passphrase once the service has restarted to log back into Ops Manager. All changes/settings will persist after the restart. 
sudo service tempest-web restart

Please engage Tanzu support with the aforementioned data attached to the case for additional assistance.