Project

General

Profile

Bug #28725

Create host using compute_profile the 'image' field under 'OS' tab remain disabled and host create failed as well

Added by Kavita Gaikwad 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

Description of problem:

Create host using compute_profile the 'image' field under 'OS' tab remain disabled and host create failed as well

How reproducible:

Always

Steps to Reproduce:
1. Create CR using AzureRM.
2. Associate compute profile with created CR.
3. Now try to create a host(UI: hosts => Create Host) using this CR and CP .

Actual results:

Under 'Operating system' tab unable to select 'Image' and it by default select any one and this field('Image') shows as disabled.
hence after submit the create_host same failed with error 'undefined method start_with?'

Expected results:

Should be able to select values under 'Image'

Additional info:

Same has been observed for CR GCE and EC2 as well.

Associated revisions

Revision 6bad7d99 (diff)
Added by Kavita Gaikwad 4 months ago

Fixes #28725 - prevent image field from disabling on host form

While creating a host using compute_profile, the image field
under OS tab remain disabled & user won't be able to select
image for provisioning.
With this commit, it prevents this behavior on host form.

History

#1 Updated by Kavita Gaikwad 5 months ago

  • Bugzilla link set to 1789309

#2 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7348 added

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 2.0.0 added

#4 Updated by Kavita Gaikwad 4 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 4 months ago

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

#6 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 1.24.3 added

Also available in: Atom PDF