Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 of 2 post-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: bosh-dns. #2469

Open
swahaj12 opened this issue Sep 15, 2023 · 1 comment

Comments

@swahaj12
Copy link

Describe the bug
Error: Action Failed get_task: Task a0441a9e-5ed0-4fb2-63ab-bfa2efa24676 result: 1 of 2 post-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: bosh-dns.

To Reproduce
Steps to reproduce the behavior (example):

  1. Configuring TAS for VMs

Logs
`+ name: cf-a872810a050521211756
Task 100
Task 100 | 21:30:27 | Preparing deployment: Preparing deployment (00:00:08)
Task 100 | 21:30:35 | Preparing deployment: Rendering templates (00:00:36)
Task 100 | 21:31:13 | Preparing package compilation: Finding packages to compile (00:00:01)
Task 100 | 21:31:15 | Updating instance cloud_controller: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:18 | L executing pre-stop: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:18 | L executing drain: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:22 | L stopping jobs: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:48 | L executing post-stop: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:51 | L installing packages: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:55 | L configuring jobs: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:31:55 | L executing pre-start: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:32:37 | L starting jobs: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary)
Task 100 | 21:33:08 | L executing post-start: cloud_controller/35880072-e604-4304-a41a-078d06886dfd (0) (canary) (00:02:13)
Updating deployment:
Expected task '100' to succeed but state is 'error'
L Error: Action Failed get_task: Task a0441a9e-5ed0-4fb2-63ab-bfa2efa24676 result: 1 of 2 post-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: bosh-dns.
Task 100 | 21:33:28 | Error: Action Failed get_task: Task a0441a9e-5ed0-4fb2-63ab-bfa2efa24676 result: 1 of 2 post-start scripts failed. Failed Jobs: cloud_controller_ng. Successful Jobs: bosh-dns.

Task 100 Started Fri Sep 15 21:30:27 UTC 2023
Task 100 Finished Fri Sep 15 21:33:28 UTC 2023
Task 100 Duration 00:03:01
Task 100 error
Exit code 1
===== 2023-09-15 21:33:29 UTC Finished "/usr/local/bin/bosh --no-color --non-interactive --tty --environment=10.0.16.5 --deployment=cf-a872810a050521211756 deploy --no-redact /var/tempest/workspaces/default/deployments/cf-a872810a050521211756.yml"; Duration: 229s; Exit Status: 1
Exited with 1.`

@ramonskie
Copy link
Contributor

try to retrieve the cloud_controller_ng logs
either with
bosh logs -d PLACE_YOUR_DEPLOYMENT_NAME_HERE cloud_controller/0
or

bosh ssh -d PLACE_YOUR_DEPLOYMENT_NAME_HERE cloud_controller/0
sudo su
find logs in  /var/vcap/sys/logs/cloud_controller_ng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending Review | Discussion
Development

No branches or pull requests

2 participants