Support bundle is failing to create
search cancel

Support bundle is failing to create

book

Article ID: 371951

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

Generating a support bundle fails and below error can be seeing in /var/log/opsmanager/production.log

 

I, [2024-07-01T21:53:00.126722 #1141]  INFO -- : [ActiveJob] [CreateSupportBundleJob] [########-450f-4d2a-b0e2-ac7fc32fdc79] Unlocking worker
E, [2024-07-01T21:53:00.126992 #1141] ERROR -- : [ActiveJob] [CreateSupportBundleJob] [########-450f-4d2a-b0e2-ac7fc32fdc79] Connection refused - connect(2) for /var/tempest/run/unlock.sock
E, [2024-07-01T21:53:00.129485 #1141] ERROR -- : [ActiveJob] [CreateSupportBundleJob] [########-450f-4d2a-b0e2-ac7fc32fdc79] Error performing CreateSupportBundleJob (Job ID: ########-450f-4d2a-b0e2-ac7fc32fdc79) from DelayedJob(default) in 4.06ms: Errno::ECONNREFUSED (Connection refused - connect(2) for /var/tempest/run/unlock.sock):
/home/tempest-web/tempest/web/app/models/use_cases/unlock_server.rb:17:in `initialize'
/home/tempest-web/tempest/web/app/models/use_cases/unlock_server.rb:17:in `new'
/home/tempest-web/tempest/web/app/models/use_cases/unlock_server.rb:17:in `unlock_worker'

Resolution

 This is a known issue and it's documented in the Ops Mananager 3.0.x release notes.

[Bug Fix] Clean up sockets after Ops Manager crash to prevent Support Bundle from failing to generate

There is a workaround which consist of removing /var/tempest/run/unlock.sock and restart tempest-web (sudo service tempest-web stop && sudo service tempest-web start)

For a permanent fix, upgrade to Ops man 3.0.29.