When running a number of BOSH commands for Pivotal Cloud Foundry 1.8 and above this kinds of errors are seen.
When running a BOSH command, for example "bosh deploy"
or "bosh vms",
you see output like the following:
Started creating bound missing vms Started creating bound missing vms > nfs_server-partition-7de780fa633485ce031d/0 Started creating bound missing vms > router-partition-7de780fa633485ce031d/0 Started creating bound missing vms > mysql_proxy-partition-7de780fa633485ce031d/0 Started creating bound missing vms > ccdb-partition-7de780fa633485ce031d/0 Started creating bound missing vms > uaadb-partition-7de780fa633485ce031d/0 Started creating bound missing vms > consoledb-partition-7de780fa633485ce031d/0 Done creating bound missing vms > ccdb-partition-7de780fa633485ce031d/0 (00:00:42) Done creating bound missing vms > consoledb-partition-7de780fa633485ce031d/0 (00:00:47) Done creating bound missing vms > router-partition-7de780fa633485ce031d/0 (00:00:47) Failed creating bound missing vms > mysql_proxy-partition-7de780fa633485ce031d/0: The object[s] '<[Vim.VirtualMachine] vm-5521>' should have the following properties: ["snapshot"] , but they were missing these: #<Set: {"snapshot"}> . (00:04:26) Failed creating bound missing vms > uaadb-partition-7de780fa633485ce031d/0: The object[s] '<[Vim.VirtualMachine] vm-5521>' should have the following properties: ["snapshot"] , but they were missing these: #<Set: {"snapshot"}> . (00:04:26) Failed creating bound missing vms > nfs_server-partition-7de780fa633485ce031d/0: The object[s] '<[Vim.VirtualMachine] vm-5473>' should have the following properties: ["snapshot"] , but they were missing these: #<Set: {"snapshot"}>
Note that The object[s] '<[Vim.VirtualMachine] vm-5521>' should have the following properties: ["snapshot"], but they were missing these: #<Set: {"snapshot"}>
Error here. These were observed when running both "bosh deploy"
or "bosh vms"
in this environment.
The resolution to this problem is by doing the following:
1. Run "bosh deployments"
to get the stemcell number for the cf-release bosh deployment.
2. Download that version of the stemcell from Pivotal Network.
3. Run "bosh upload-stemcell <stemcell-location> --fix"
4. Run "bosh deploy"
or Apply Changes in Ops Manager
, which then completed successfully without the "snapshot" issue.
It's very important that when re-uploading the Stemcell, you download the same version of the Stemcell that was being used in the environment prior to these errors. If ever in doubt, running "bosh deployments"
will tell you the Stemcell version for each deployment that BOSH knows about.
In some cases, the above resolution may not be possible. This could happen, for example, if your Director is not operational perhaps due to the error you're encountering. For that situation, you can use the following alternative instructions.