Bug #21922

The memory value (in bytes) loaded from the template causes the host provisioning to fail

Added by Shira Maximov 6 months ago. Updated 6 months ago.

Status:Closed
Priority:Normal
Assigned To:Shira Maximov
Category:Compute resources - oVirt
Target version:-
Difficulty: Bugzilla link:1520382
Found in release: Pull request:https://github.com/theforeman/foreman/pull/5070
Story points-
Velocity based estimate-
Release1.17.0Release relationshipAuto

Description

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

Description of problem: The memory loaded from the template is in bytes (that template has 1 GB or 1024 MB of RAM), this cause the host provisioning to fail.The error while provisioning "Failed to create a compute rhevm1 (RHEV) instance."

*Version-Release number of selected component (if applicable):*Satellite 6.3 snap 27

*How reproducible:*always

Steps to Reproduce:
1. Goto Infrastructure > Compute resources
2. Create a RHEV compute resource
3. Select the created compute resource
4. Select Compute profiles
5. Select a profile
6. select a template

Actual results: The memory value sets in bytes causing the host provisioning to fail.

Expected results: The memory value should set correctly.

*Additional info:*The work around is to visit Virtual Machine tab at host creation stage and correct that value.

Associated revisions

Revision d6df46d1
Added by Shira Maximov 6 months ago

Fixes #21922 - Change memory to Megabytes in compute profile

History

#1 Updated by Shira Maximov 6 months ago

  • Status changed from New to Assigned

#2 Updated by Shira Maximov 6 months ago

  • Assigned To set to Shira Maximov

#3 Updated by The Foreman Bot 6 months ago

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

#4 Updated by Tomer Brisker 6 months ago

  • Release set to 1.17.0

#5 Updated by Shira Maximov 6 months ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF