Bug 1375330

Summary: Azure provisioning missing pre and post methods.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: William Fitzgerald <wfitzger>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, gmccullo, jhardy, mkanoor, obarenbo, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1375221 Environment:
Last Closed: 2016-10-04 14:37:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1375221    
Bug Blocks:    

Comment 2 CFME Bot 2016-09-12 18:01:04 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/070847f4604379d0b21c9f82cbb117fb71a14c2e

commit 070847f4604379d0b21c9f82cbb117fb71a14c2e
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Sep 12 13:48:20 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Sep 12 13:56:12 2016 -0400

    Merge pull request #11149 from billfitzgerald0120/azure_post_provision
    
    Automate - Added Azure pre and post provisioning.
    (cherry picked from commit 615f573da9cdcad0ca7a8e60018f811e7cbb780b)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375330

 .../StateMachines/Methods.class/__class__.yaml     | 40 ++++++++++++++++++++++
 .../Methods.class/__methods__/postprovision.rb     |  8 +++++
 .../Methods.class/__methods__/postprovision.yaml   | 12 +++++++
 .../Methods.class/__methods__/preprovision.rb      |  8 +++++
 .../Methods.class/__methods__/preprovision.yaml    | 12 +++++++
 .../StateMachines/Methods.class/postprovision.yaml |  2 ++
 .../StateMachines/Methods.class/preprovision.yaml  |  2 ++
 7 files changed, 84 insertions(+)
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/__methods__/postprovision.rb
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/__methods__/postprovision.yaml
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/__methods__/preprovision.rb
 create mode 100644 db/fixtures/ae_datastore/ManageIQ/Cloud/VM/Provisioning/StateMachines/Methods.class/__methods__/preprovision.yaml

Comment 3 Milan Falešník 2016-09-23 08:12:49 UTC
Verified in 5.6.2.0, I can see the methods added and they get executed during provisioning.

Comment 5 errata-xmlrpc 2016-10-04 14:37:07 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-1996.html