Project

General

Profile

Bug #27764

VM tab on create host has storage section missing when provider selected through hostgroup

Added by Marek Hulán 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

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)


Related issues

Related to Foreman - Bug #27798: Host form doesn't update properly on hostgroup/taxonomy changeClosed
Has duplicate Foreman - Bug #27782: Datastore config in compute profile not used when creating VMware VMsDuplicate

Associated revisions

Revision 16976e1e (diff)
Added by Ondřej Ezr 3 months ago

Fixes #27764, #27798, #27391 - host form update on change

History

#1 Updated by Ondřej Ezr 3 months ago

  • Related to Bug #27798: Host form doesn't update properly on hostgroup/taxonomy change added

#2 Updated by The Foreman Bot 3 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7023 added

#3 Updated by Ondřej Ezr 3 months ago

  • Related to Bug #27391: Discrepancy in default memory size for virtual machine while provisioning vm added

#4 Updated by Ondřej Ezr 3 months ago

  • Related to deleted (Bug #27391: Discrepancy in default memory size for virtual machine while provisioning vm)

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 1.24.0 added

#6 Updated by Tomer Brisker 3 months ago

  • Subject changed from VM tab on create host has storage section missing when provider selected through hostgroup to VM tab on create host has storage section missing when provider selected through hostgroup
  • Fixed in Releases 1.23.0 added
  • Fixed in Releases deleted (1.24.0)

#7 Updated by Ondřej Ezr 3 months ago

  • Has duplicate Bug #27782: Datastore config in compute profile not used when creating VMware VMs added

#8 Updated by Ondřej Ezr 3 months ago

  • Status changed from Ready For Testing to Closed

#9 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7026 added

#10 Updated by Tomer Brisker 3 months ago

  • Fixed in Releases 1.22.2 added

Also available in: Atom PDF