Bug #3688
closedCan't edit VMware host after adding raw disk
Description
When i click edit host after i added a raw disk through Vsphere, i get the following error:
undefined method `thinProvisioned' for #<RbVmomi::VIM::VirtualDiskRawDiskMappingVer1BackingInfo:0x00000007d2adc8>
full trace:
NoMethodError
undefined method `thinProvisioned' for #<RbVmomi::VIM::VirtualDiskRawDiskMappingVer1BackingInfo:0x00000007d2adc8>
app/views/compute_resources_vms/form/_vmware.html.erb:26:in `block in app_views_compute_resources_vms_form_vmware_html_erb___3629224447530518198_64961900'
app/views/compute_resources_vms/form/_vmware.html.erb:26:in `_app_views_compute_resources_vms_form__vmware_html_erb___3629224447530518198_64961900'
app/views/hosts/_compute.html.erb:4:in `block in app_views_hosts_compute_html_erb__3886529712672857927_69818491889200'
app/views/hosts/_compute.html.erb:1:in `_app_views_hosts__compute_html_erb__3886529712672857927_69818491889200'
app/views/hosts/_unattended.html.erb:2:in `_app_views_hosts__unattended_html_erb___2264624007407781015_69818497948800'
app/views/hosts/_form.html.erb:79:in `block (2 levels) in app_views_hosts_form_html_erb__3269122963774744318_64173640'
app/helpers/layout_helper.rb:205:in `form_for'
app/views/hosts/_form.html.erb:7:in `block in app_views_hosts_form_html_erb__3269122963774744318_64173640'
app/models/taxonomy.rb:55:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:143:in `as_location'
app/models/taxonomy.rb:54:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:108:in `as_org'
app/models/taxonomy.rb:53:in `as_taxonomy'
app/views/hosts/_form.html.erb:5:in `_app_views_hosts__form_html_erb__3269122963774744318_64173640'
app/views/hosts/edit.html.erb:7:in `_app_views_hosts_edit_html_erb___3698344318763456407_64122560'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'