Error 100: The object[s] were missing these properties: #<Set: {"snapshot"}>

114 views
Skip to first unread message

Clete Penrod

unread,
Jun 11, 2013, 1:43:18 PM6/11/13
to bosh-...@cloudfoundry.org
I am trying to deploy with bosh to vsphere, but getting the following errors:
...
Compiling packages
  gorouter/6: The object[s] <[Vim.VirtualMachine] vm-90119>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
. (00:04:15)
  cloud_controller_ng/8: The object[s] <[Vim.VirtualMachine] vm-90118>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
. (00:04:15)
  uaa/8: The object[s] <[Vim.VirtualMachine] vm-90120>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
. (00:04:15)
  custom_service_gateway/2: The object[s] <[Vim.VirtualMachine] vm-90120>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
. (00:04:15)
  health_manager_next/8: The object[s] <[Vim.VirtualMachine] vm-90118>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
. (00:04:15)
Error                   5/5 00:04:15

Error 100: The object[s] <[Vim.VirtualMachine] vm-90119>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
...

D, [2013-06-10T20:38:20.190863 #15693] [0x2a637fc] DEBUG -- : Worker thread raised exception: The object[s] <[Vim.VirtualMachine] vm-90120>
 should have the following properties: ["config.hardware.device", "snapshot"]
, but they were missing these: #<Set: {"snapshot"}>
. - /var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_vsphere_cpi-0.6.0/lib/cloud/vsphere/client.rb:81:in `block in get_properties'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_vsphere_cpi-0.6.0/lib/cloud/vsphere/client.rb:65:in `each'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_vsphere_cpi-0.6.0/lib/cloud/vsphere/client.rb:65:in `get_properties'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_vsphere_cpi-0.6.0/lib/cloud/vsphere/cloud.rb:177:in `block in create_vm'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_formatter.rb:46:in `with_thread_name'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_vsphere_cpi-0.6.0/lib/cloud/vsphere/cloud.rb:150:in `create_vm'
/var/vcap/packages/director/bosh/director/lib/director/vm_creator.rb:33:in `create'
/var/vcap/packages/director/bosh/director/lib/director/vm_creator.rb:10:in `create'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:314:in `prepare_vm'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:227:in `block in compile_package'
/var/vcap/packages/director/bosh/director/lib/director/lock_helper.rb:89:in `block in with_compile_lock'
/var/vcap/packages/director/bosh/director/lib/director/lock.rb:58:in `lock'
/var/vcap/packages/director/bosh/director/lib/director/lock_helper.rb:88:in `with_compile_lock'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:220:in `compile_package'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:208:in `block (2 levels) in process_task'
/var/vcap/packages/director/bosh/director/lib/director/event_log.rb:58:in `track'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:206:in `block in process_task'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_formatter.rb:46:in `with_thread_name'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:202:in `process_task'
/var/vcap/packages/director/bosh/director/lib/director/package_compiler.rb:179:in `block (4 levels) in compile_packages'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_pool.rb:83:in `call'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_pool.rb:83:in `block (2 levels) in create_thread'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_pool.rb:67:in `loop'
/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/bosh_common-0.5.4/lib/common/thread_pool.rb:67:in `block in create_thread'
...

Any ideas why vSphere would not be returning this property?

I've attached the output from bosh task last --cpi. 

Clete Penrod

unread,
Jun 11, 2013, 1:47:08 PM6/11/13
to bosh-...@cloudfoundry.org


Output from bosh task last --cpi 
bosh_task_last_cpi.txt

Gabrielle Sweda

unread,
Jun 11, 2013, 8:21:26 PM6/11/13
to bosh-...@cloudfoundry.org
Can you post a cleaned up copy of your manifest (remove your passwords, etc)?

gabi

Clete Penrod

unread,
Jun 12, 2013, 12:21:43 PM6/12/13
to bosh-...@cloudfoundry.org
cloudfoundry manifest. 
cloudfoundry_mainifest.yml

Gabrielle Sweda

unread,
Jun 14, 2013, 5:30:04 PM6/14/13
to bosh-...@cloudfoundry.org


On Wednesday, June 12, 2013, Clete Penrod wrote:
cloudfoundry manifest. 

Clete Penrod

unread,
Jun 18, 2013, 11:58:17 AM6/18/13
to bosh-...@cloudfoundry.org
The snapshot that is missing is the one created on the datastore when the stemcell is uploaded and the vm template is created. To correct this, delete the stemcell, then upload it again. 

Gabrielle Sweda

unread,
Jun 18, 2013, 6:34:13 PM6/18/13
to bosh-...@cloudfoundry.org
Clete, thanks for posting!  Sorry I wasn't able to figure out your problem, but I'm glad to hear you found the solution!
Reply all
Reply to author
Forward
0 new messages