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 1748431 - Datastore config in compute profile not used when creating VMware VMs
Summary: Datastore config in compute profile not used when creating VMware VMs
Keywords:
Status: CLOSED DUPLICATE of bug 1724780
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - VMWare
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.6.0
Assignee: Ondřej Ezr
QA Contact: Perry Gagne
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 14:53 UTC by Perry Gagne
Modified: 2019-09-12 16:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-12 16:29:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27782 0 Normal Duplicate Datastore config in compute profile not used when creating VMware VMs 2021-02-11 21:46:28 UTC

Description Perry Gagne 2019-09-03 14:53:05 UTC
Created attachment 1611200 [details]
foreman debug

Description of problem:
When I specified Datastore config in compute profile it is not used when creating a VMware VM. 

Version-Release number of selected component (if applicable): 6.6 snap 18


How reproducible:


Steps to Reproduce:
1. Create compute resource for vcenter
2. Create Compute profile tied to a Datastore (mine happened to be a local esxi datastore). 
3. Create host group with compute profile (dont think this is required)
4. Create VM with hostgroup

Actual results:
Storage config does not appear in "Virtual Machine" tab and when the I press submit the following error occurs:
Failed to create a compute toledovcenter (VMware) instance toby-lutkins.vmdomain.com: InvalidDatastorePath: Invalid datastore path '[datastore1]'.

Expected results:
VM is created on data store. 

Additional info:
Screen recording here
https://drive.google.com/file/d/1gFdgUWM3r0nvW33pZE_cCkRB1ESfj0Sn/view?usp=sharing

Also, I created a host manually and specified the datastore in the "VM" tab directly and I was able to create the VM.

Comment 4 Marek Hulan 2019-09-04 15:08:35 UTC
Created redmine issue https://projects.theforeman.org/issues/27782 from this bug

Comment 5 Bryan Kearney 2019-09-06 00:01:43 UTC
Upstream bug assigned to chrobert

Comment 6 Bryan Kearney 2019-09-09 16:01:51 UTC
Upstream bug assigned to oezr

Comment 7 Bryan Kearney 2019-09-09 16:01:52 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27782 has been resolved.

Comment 9 Justin Sherrill 2019-09-12 16:29:32 UTC
Upstream issue was closed as a duplicate of 27764

which is assigned to bz 1724780.  Closing this as a duplicate too.

*** This bug has been marked as a duplicate of bug 1724780 ***


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