Bug #27764
closedVM tab on create host has storage section missing when provider selected through hostgroup
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1724780
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. Create a Hostgroup , add deploy by as Vmware compute resource
2. Create a Host , using the hostgroup, Vmware would be set
3. Go to Virtual Machine tab
Actual results:
No storage section , and cannot fetch resource pool
Expected results:
There should be a storage section and resource pool should be populated aganist selected Cluster
Additional info:
Remove the Vmware provider in create host wizard and re-select
Screenshot has firefox error
Chrome error:
3vmware.js:59 Uncaught TypeError: Cannot read property 'datastoresUrl' of undefined
at vmware.js:59
at Object.dispatch (index.js:8)
at Object.t.onClusterChange (vmware.js:11)
at HTMLSelectElement.onchange (new:1)
at Object.trigger (jquery.js:7813)
at HTMLSelectElement.<anonymous> (jquery.js:7875)
at Function.each (jquery.js:365)
at m.fn.init.each (jquery.js:137)
at m.fn.init.trigger (jquery.js:7874)
at r.triggerChange (select2.js:1168)