cloudfoundry / cloudfoundry/bosh

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

Open
#2,469 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.1k
Forks
662
Avg merge
5h 25m
Merged PRs (30d)
2

Description

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.`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the deployment log for task 100 and the /usr/local/bin/bosh deployment command, focusing on the failed cloud_controller_ng post-start script while bosh-dns succeeds. Reproduce the failure by configuring TAS for VMs, then identify the cause of the post-start failure and verify that the deployment completes successfully.

Written by the indexing model from the issue text.

Assessment

Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.