Bug 1375225 - Google provisioning not running pre and post methods.
Summary: Google provisioning not running pre and post methods.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.7.0
Assignee: William Fitzgerald
QA Contact: Dmitry Misharov
URL:
Whiteboard: automate
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-12 13:56 UTC by William Fitzgerald
Modified: 2017-01-04 13:00 UTC (History)
6 users (show)

Fixed In Version: 5.7.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-04 13:00:21 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Description William Fitzgerald 2016-09-12 13:56:35 UTC
Description of problem:

When provisioning for Azure, the pre and post methods are missing.


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


How reproducible:
100%

Steps to Reproduce:
1.  Provision a VM using Google provider
2.
3.

Actual results:
Pre_provision and Post_provision methods are missing


Expected results:
Pre_provision and Post_provision methods should run.

Additional info:
These methods are vendor specific and Google is missing.   Google needs the generic methods and they are missing also. The schema needs to be updated to call the generic methods when the provider is Google.  

Please assign to wfitzger

Comment 4 CFME Bot 2016-09-13 22:51:06 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/22b4d4a8b2e4556073132c57c48b3f8663c5ac41

commit 22b4d4a8b2e4556073132c57c48b3f8663c5ac41
Author:     william fitzgerald <wfitzger>
AuthorDate: Mon Sep 12 15:57:23 2016 -0400
Commit:     william fitzgerald <wfitzger>
CommitDate: Mon Sep 12 15:57:23 2016 -0400

    Automate - Added Google pre and post provisioning.
    
    Added relationship and method fields for Google.
    
    Configured Google for generic pre and post provisioning methods.
    
    http://talk.manageiq.org/t/azure-and-amazon-vm-post-provisioning/1691
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375225

 .../StateMachines/Methods.class/__class__.yaml     | 40 ++++++++++++++++++++++
 .../StateMachines/Methods.class/postprovision.yaml |  2 ++
 .../StateMachines/Methods.class/preprovision.yaml  |  2 ++
 3 files changed, 44 insertions(+)

Comment 5 Dmitry Misharov 2016-10-10 11:35:23 UTC
Verified in 5.7.0.4-alpha1.20161005153002_cfc8a23. Pre_provision and Post_provision methods work for GCE instances.

Comment 7 errata-xmlrpc 2017-01-04 13:00:21 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/RHBA-2017-0012.html


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