Project

General

Profile

Actions

Bug #27782

closed

Datastore config in compute profile not used when creating VMware VMs

Added by Marek Hulán over 5 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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

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.


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #27764: VM tab on create host has storage section missing when provider selected through hostgroupClosedOndřej EzrActions
Actions #1

Updated by Ondřej Ezr over 5 years ago

  • Subject changed from Datastore config in compute profile not used when creating VMware VMs to Datastore config in compute profile not used when creating VMware VMs
  • Status changed from New to Closed
  • Assignee changed from Chris Roberts to Ondřej Ezr
  • Triaged changed from No to Yes
  • Pull request https://github.com/theforeman/foreman/pull/7023 added
  • Fixed in Releases 1.24.0 added

Chris, I am marking this as duplicate of #27764, is that correct?

Actions #2

Updated by Ondřej Ezr over 5 years ago

  • Is duplicate of Bug #27764: VM tab on create host has storage section missing when provider selected through hostgroup added
Actions #3

Updated by Tomer Brisker over 5 years ago

  • Status changed from Closed to Duplicate
  • Fixed in Releases deleted (1.24.0)
Actions

Also available in: Atom PDF