Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1314352 - Selecting multiple cores per socket not working against vmware provider (image cloning)
Summary: Selecting multiple cores per socket not working against vmware provider (imag...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources
Version: 6.1.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Kedar Bidarkar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1315288
TreeView+ depends on / blocked
 
Reported: 2016-03-03 12:40 UTC by Dmitry Zhukovski
Modified: 2020-01-17 15:40 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-fog-vsphere-0.6.3-1,foreman-1.11.0.30-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1315288 (view as bug list)
Environment:
Last Closed: 2016-07-27 11:03:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
A patch against fog rebased to forg 1.24.1 (sat 6.1) (1.73 KB, patch)
2016-03-04 16:08 UTC, Ivan Necas
no flags Details | Diff
cores per socket does get updated (102.97 KB, image/png)
2016-05-27 20:58 UTC, Kedar Bidarkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14038 0 None None None 2016-04-26 17:06:37 UTC

Description Dmitry Zhukovski 2016-03-03 12:40:34 UTC
Description of problem:
Selecting multiple cores per socket not working against vmware provider (image cloning)

Version-Release number of selected component (if applicable):
sat6.1.7

How reproducible:
always

Steps to Reproduce:
1. Defaine new VNware ESX host from the image. 
2. Assign different to default=1 value to Cores per Socket.
3. Create a host

Actual results:
Deployed machine shows "Cores per socket" = 1

Expected results:
Deployed machine shows "Cores per socket" given value as well as machine resizes on several sockets in Vmware cluster


Additional info:

Comment 2 Ivan Necas 2016-03-03 12:54:09 UTC
Created redmine issue http://projects.theforeman.org/issues/14038 from this bug

Comment 3 Bryan Kearney 2016-03-03 13:13:13 UTC
Upstream bug assigned to inecas

Comment 8 Ivan Necas 2016-03-04 16:03:05 UTC
After digging a bit deeper I've found the needed part on the fog part and opened a PR there: https://github.com/fog/fog-vsphere/pull/29

Comment 9 Ivan Necas 2016-03-04 16:08:22 UTC
Created attachment 1133206 [details]
A patch against fog rebased to forg 1.24.1 (sat 6.1)

Additional patch to the foreman's on fog side to support setting the cores per socket setting.

To apply (when not patching the rpm):

```
cd /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.24.1/
git init; git add .; git commit -m 'original' # optional just to track the changes
patch -p1 < numcorespersocket.patch
```

Comment 12 Bryan Kearney 2016-03-30 10:13:44 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14038 has been closed
-------------
Ivan Necas
Applied in changeset commit:17c277d5733cf4b814f3d5b357269f38bafcfa8f.

Comment 13 Kedar Bidarkar 2016-05-23 14:55:18 UTC
Tested with sat62-snap12.1 

Had selected the below options for the VM Tab :

Cpus: 2
Cores per socket: 2

After submitting the page found the below stuff,

Cpus: 2
Cores per socket: 1





~]# rpm -qav tfm-rubygem-fog-vsphere
tfm-rubygem-fog-vsphere-0.6.3-1.el7sat.noarch

Comment 16 Kedar Bidarkar 2016-05-27 20:58:42 UTC
Created attachment 1162543 [details]
cores per socket does get updated

VERIFIED with sat62-snap(GA)-13.1

Comment 17 Bryan Kearney 2016-07-27 11:03:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


Note You need to log in before you can comment on or make changes to this bug.