Bug 1378116 - [RFE] Cluster selection when deploying a vm on VMWare
Summary: [RFE] Cluster selection when deploying a vm on VMWare
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: GA
: 5.6.3
Assignee: Adam Grare
QA Contact: Satyajit Bulage
URL:
Whiteboard:
Depends On: 1377975
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-21 13:53 UTC by Chris Pelland
Modified: 2022-07-09 07:59 UTC (History)
13 users (show)

Fixed In Version: 5.6.3.0
Doc Type: Enhancement
Doc Text:
There was a feature request to be able to provision a virtual machine without specifying a host but validating a cluster. This release of CloudForms validates if either a host or cluster is selected when provisioning on VMware.
Clone Of: 1377975
Environment:
Last Closed: 2016-11-30 19:54:32 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2839 0 normal SHIPPED_LIVE Important: CFME 5.6.3 security, bug fix, and enhancement update 2016-12-01 00:51:49 UTC

Comment 1 Adam Grare 2016-10-11 13:20:09 UTC
https://github.com/ManageIQ/manageiq/pull/11437 and https://github.com/ManageIQ/manageiq/pull/11665 have been backported to darga

Comment 2 CFME Bot 2016-10-11 13:21:16 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/a6a212a019cb8191c022dbe97d6496aa20fd482e

commit a6a212a019cb8191c022dbe97d6496aa20fd482e
Author:     Brandon Dunne <brandondunne>
AuthorDate: Tue Sep 27 14:53:16 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Oct 11 09:16:24 2016 -0400

    Merge pull request #11437 from agrare/vmware_infra_provision_no_host
    
    Allow VMware provision without needing to specify a host
    (cherry picked from commit de4f24f31c66681066a0b85931653d872818c4ab)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1378116

 .../vmware/infra_manager/provision/cloning.rb      | 27 +++++++---
 .../provision/configuration/network.rb             | 61 ++++++++++------------
 .../vmware/infra_manager/provision/placement.rb    | 31 ++++++++---
 .../infra_manager/provision/state_machine.rb       |  5 +-
 .../infra_manager/provision/placement_spec.rb      | 14 +++--
 .../vmware/infra_manager/provision_spec.rb         | 35 ++++++++++++-
 6 files changed, 122 insertions(+), 51 deletions(-)

Comment 3 CFME Bot 2016-10-11 13:21:23 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/8263d1b798be931ce5bc53ee6015dd2b26538a05

commit 8263d1b798be931ce5bc53ee6015dd2b26538a05
Author:     Brandon Dunne <brandondunne>
AuthorDate: Wed Oct 5 09:54:44 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Oct 11 09:17:58 2016 -0400

    Merge pull request #11665 from agrare/vmware_infra_provisioning_cluster_validation
    
    Validate either a host or cluster is selected when provisioning on VMware
    (cherry picked from commit 5ef33b185bfc6f961089595ef5ab4b142efcc45c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1378116

 .../providers/vmware/infra_manager/provision_workflow.rb  |  2 ++
 .../provision_workflow/dialog_field_validation.rb         | 15 +++++++++++++++
 .../miq_provision_vmware_dialogs_template.yaml            |  4 ++--
 3 files changed, 19 insertions(+), 2 deletions(-)
 create mode 100644 app/models/manageiq/providers/vmware/infra_manager/provision_workflow/dialog_field_validation.rb

Comment 4 Satyajit Bulage 2016-11-23 08:22:17 UTC
Successfully provisioned a VM, by selecting only cluster field from Environment. It never gives any error for Host selection as Host Selection was done by Vmware.

Verified Version:- 5.6.3.1.20161121165709_0acddf6

Comment 6 errata-xmlrpc 2016-11-30 19:54:32 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://rhn.redhat.com/errata/RHSA-2016-2839.html


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