Project

General

Profile

Bug #30492

RHV compute profiles using VM templates always enable (and re-enable) the "Highly Available" bit regardless of setup on RHV side

Added by yifat makias 9 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1812182

Description of problem:
Any RHV Compute Profile created on a Satellite 6.7 will check the Highly Available box by default, even if the selected VM template has HA disabled on RHV side.

Version-Release number of selected component (if applicable):
Satellite 6.7 beta
foreman-1.24.1.1-1.el7sat.noarch
tfm-rubygem-rbovirt-0.1.7-2.el7sat.noarch
tfm-rubygem-fog-ovirt-1.2.0-1.el7sat.noarch
foreman-ovirt-1.24.1.1-1.el7sat.noarch
tfm-rubygem-ovirt-engine-sdk-4.2.3-3.el7sat.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Browse to Infrastructure > Compute Profiles > Create Compute Profile
2. Link the Compute Profile to a RHV Compute Resource and add to the Compute Profile any options you wish, selecting any template (but Blank) on the Template drop-down.
3. Un-check the Highly Available box.
3. Click the Submit button.
4. Edit the Compute Profile once again.

Actual results:
The Highly Available checkbox is selected.
When creating a host using this Compute Profile, the Highly Available box on said host will be checked by default every single time.

Expected results:
The HA bit should be defined by RHV and queried by Satelite, so Satellite should honor the setup on RHV side.
In addition, once the Satellite admin disables the Highly Available box this setting should be honored throughout Satellite, which includes while creating a host using said Compute Profile.

Associated revisions

Revision 408906e4 (diff)
Added by yifat makias 8 months ago

Fixes #30492 - Fixed bug in Highly Available checkbox in ovirt cp

History

#1 Updated by yifat makias 9 months ago

  • Assignee set to yifat makias
  • Status changed from New to Assigned
  • Subject changed from RHV compute profiles using VM templates always enable (and re-enable) the "Highly Available" bit regardless of setup on RHV side to RHV compute profiles using VM templates always enable (and re-enable) the "Highly Available" bit regardless of setup on RHV side

#2 Updated by The Foreman Bot 9 months ago

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

#3 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases 2.3.0 added

#4 Updated by yifat makias 8 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 7 months ago

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

Also available in: Atom PDF