Pivotal Knowledge Base

Follow

BOSH deployment fails with "This manifest references director with UUID ignore" error message

Environment

Product Version
Pivotal Cloud Foundry (PCF) 1.6.x, 1.7.*

Symptom

When trying to run bosh deployment <deployment manifest>, you get the following error message:

ubuntu@pivotal-ops-manager:~$ bosh deployment /var/tempest/workspaces/default/deployments/cf-2c3ea6cf6f11d78615c3.yml

This manifest references director with UUID ignore.
You've never targeted it before.
Please find your director IP or hostname and target it first.
Cause

The cause is the director_uuid field in the deployment manifest file doesn't have the uuid as expected.

ubuntu@pivotal-ops-manager:/var/tempest/workspaces/default/deployments$ grep 'uuid' cf-2c3ea6cf6f11d78615c3.yml
director_uuid: ignore

Resolution

Run bosh status --uuid to get the BOSH director's current uuid. Backup and then edit the deployment manifest file. Change the current value to the uuid value. Then bosh deployment <deployment manifest> works.

ubuntu@pivotal-ops-manager:/var/tempest/workspaces/default/deployments$ bosh status --uuid
751d0e08-fe1f-4dc1-9575-d8ecc1eb8d4c
ubuntu@pivotal-ops-manager:/var/tempest/workspaces/default/deployments$ sudo cp -p cf-2c3ea6cf6f11d78615c3.yml cf-2c3ea6cf6f11d78615c3.yml.bak
ubuntu@pivotal-ops-manager:/var/tempest/workspaces/default/deployments$ sudo vi cf-2c3ea6cf6f11d78615c3.yml
ubuntu@pivotal-ops-manager:/var/tempest/workspaces/default/deployments$ grep 'uuid' cf-2c3ea6cf6f11d78615c3.yml
director_uuid: 751d0e08-fe1f-4dc1-9575-d8ecc1eb8d4c
ubuntu@pivotal-ops-manager:/var/tempest/workspaces/default/deployments$ bosh deployment cf-2c3ea6cf6f11d78615c3.yml
Deployment set to '/var/tempest/workspaces/default/deployments/cf-2c3ea6cf6f11d78615c3.yml'

 

Comments

Powered by Zendesk