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

Error: Job 'nats-tls' not found in release 'nats' #1149

Closed
patrickcrocker opened this issue Dec 20, 2023 · 2 comments
Closed

Error: Job 'nats-tls' not found in release 'nats' #1149

patrickcrocker opened this issue Dec 20, 2023 · 2 comments

Comments

@patrickcrocker
Copy link

What is this issue about?

Completely new install of cf-deployment v35.2.0 fails with:
Error: Job 'nats-tls' not found in release 'nats'

What version of cf-deployment are you using?

cf-deployment v35.2.0

Please include the bosh deploy... command, including all the operations files (plus any experimental operation files you're using):

$ bosh -d cf deploy \
    -v system_domain=system.example.com \
    cf-deployment.yml

Please provide output that helps describe the issue:

$ git clone https://github.com/cloudfoundry/cf-deployment.git
Cloning into 'cf-deployment'...
<omitted for brevity...>

$ cd cf-deployment/

$ git checkout v35.2.0
Note: switching to 'v35.2.0'.

<omitted for brevity...>

HEAD is now at 4ec18551 Update cf-deployment manifest version to v35.2.0

$ bosh --version
version 7.5.1

Succeeded

$ bosh env
Using environment '172.16.1.2' as client 'admin'

Name               bosh
UUID               fd79bdf0-b8bd-4a63-b446-8349d552c3a6
Version            280.0.12 (00000000)
Director Stemcell  ubuntu-22.04.1/1.329
CPI                vsphere_cpi
Features           config_server: enabled
                   local_dns: enabled
                   power_dns: disabled
                   snapshots: disabled
User               admin

Succeeded

$ bosh -d cf deploy -v system_domain=system.example.com cf-deployment.yml -n
Using environment '172.16.1.2' as client 'admin'

Using deployment 'cf'

Release 'cf-smoke-tests/42.0.118' already exists.

<omitted for brevity...>

+ manifest_version: v35.2.0

+ name: cf
Task 10112

Task 10112 | 16:34:11 | Error: Job 'nats-tls' not found in release 'nats'

Task 10112 Started  Wed Dec 20 16:34:11 UTC 2023
Task 10112 Finished Wed Dec 20 16:34:11 UTC 2023
Task 10112 Duration 00:00:00
Task 10112 error

Updating deployment:
  Expected task '10112' to succeed but state is 'error'

Exit code 1

What IaaS is this issue occurring on?

vSphere

  • ESXi 6.7.0 Update 3 (Build 15160138)
  • vCenter 6.7.0 (Build 17713310)

Is there anything else unique or special about your setup?

N/A

Tag your pair, your PM, and/or team!

N/A

@jochenehret
Copy link
Contributor

cf-deployment v35.2.0 uses nats-release v56.14.0 which has a "nats-tls" job:
https://github.com/cloudfoundry/nats-release/blob/v56.14.0/jobs/nats-tls
Can you check with bosh releases which releases are available/in use? You can try bosh upload-release --fix to re-upload the release and fix missing jobs.

@patrickcrocker
Copy link
Author

bosh releases showed a lot of unused releases so I ran a bosh clean-up --all and now things are resolved.

Appreciate the help and I learned something new today 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants