Bug 1402698 - Provisioning to VMware from template image fails if Datastore Cluster selected in compute profile.
Summary: Provisioning to VMware from template image fails if Datastore Cluster selecte...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - VMWare
Version: 6.2.4
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-08 08:11 UTC by Ahti
Modified: 2019-08-12 14:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-02 20:57:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ahti 2016-12-08 08:11:47 UTC
Description of problem:
  Provisioning to VMware from template image fails if Datastore Cluster selected in compute profile.


How reproducible:
Very

Steps to Reproduce:
  1. Create VMware compute profile with "Datastore Cluster" selected, you will see "Data Store" select box gets disabled.
  2. Navigate to New host page, select deploy on VMware with created compute profile.
  3. Navigate to "Virtual Machine" tab, you will see both "Datastore cluster" and "Data store" select boxes enabled

Actual results:
Error: Unable to save
Failed to create compute instance: InvalidArgument: A specified parameter was not correct: Datastore outside the pod is specified for a disk to be placed inside the pod.
Host parameters in foreman/production.log contain both "storage_pod" and "datastore" values.


Expected results:
Host creation should succeed. 
I think host parameters should only contain either "storage_pod" or "datastore" values, not both.


Additional info:
  This probably happens because the disabling of "Data Store" select box on compute_profile form is controlled by onChange event on "Datastore cluster" select box and 'ContentLoad' trigger which is triggered in application.js. When this form is called by ajax by the "New host" form that trigger is not triggered and "Data Store" select box remains enabled. 
  If some other "Datastore cluster" is selected and then the original one is reselected the "Data store" select box gets disabled (by the onChange event) and installation succeeds.

Comment 4 Bryan Kearney 2018-08-02 20:57:25 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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