Project

General

Profile

Bug #23916

Create Host -> RHEV Image: Incorrect CPU cores count filled when using APIv4

Added by Ori Rabin 6 months ago. Updated 2 months ago.

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

Description

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

Description of problem:
In a host creation form, when I select a RHEV CR that uses APIv4 and select some image in the OS tab, I get incorrect number (1) in Cores field in the VM tab. This does not happen with APIv3. I guess this is caused by actually using processor count instead of core count.

Version-Release number of selected component (if applicable):
Sat 6.4 snap 7

How reproducible:
Deterministic

Steps to Reproduce:
1. Have a Sat, RHEV with some template with cpu_count!=cores!=1, this RHEV added to Sat (with apiv4==true) and Image assigned to it, using that template
2. Hosts -> Create Host
3. Select RHEV as provider, go to OS tab, select arch + OS, select Image Based
4. Select the image, go to VM tab

Actual results:
Cores==1

Expected results:
Cores should be number of cores set in the template


Related issues

Related to Foreman - Bug #22117: Add support for specifying number for sockets for oVirtClosed
Related to Foreman - Tracker #19568: Migrate to oVirt APIv4 APINew2017-05-16

Has duplicate Foreman - Bug #23915: Create Host -> RHEV Image: Incorrect CPU cores count filled when using APIv4Duplicate2018-06-13

History

#1 Updated by Ori Rabin 6 months ago

  • Assignee set to Ori Rabin
  • Status changed from New to Assigned

#2 Updated by Ori Rabin 6 months ago

  • Related to Bug #22117: Add support for specifying number for sockets for oVirt added

#3 Updated by Ori Rabin 6 months ago

  • Assignee changed from Ori Rabin to Shira Maximov

#4 Updated by Ori Rabin 6 months ago

  • Has duplicate Bug #23915: Create Host -> RHEV Image: Incorrect CPU cores count filled when using APIv4 added

#5 Updated by Ori Rabin 6 months ago

#6 Updated by Shira Maximov 5 months ago

  • Triaged set to No
  • Pull request https://github.com/abenari/rbovirt/pull/125 added

#7 Updated by Ivan Necas 5 months ago

  • Target version set to 1.18.1

Proposing for 1.18.1, as this makes the usage of ovirt integration quite unfriendly.

#8 Updated by Ivan Necas 5 months ago

the fix was released in rbovirt 0.1.7

#9 Updated by Ivan Necas 5 months ago

  • Status changed from Assigned to Closed

#11 Updated by Tomer Brisker 2 months ago

  • Fixed in Releases 1.20.0 added

Also available in: Atom PDF