Bug 1375221
| Summary: | Azure provisioning missing pre and post methods. | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | William Fitzgerald <wfitzger> | |
| Component: | Automate | Assignee: | William Fitzgerald <wfitzger> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Milan Falešník <mfalesni> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.7.0 | CC: | cpelland, gmccullo, jhardy, mfalesni, mkanoor, obarenbo, simaishi, tfitzger | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.7.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.7.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1375330 (view as bug list) | Environment: | ||
| Last Closed: | 2017-01-11 20:15:56 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | Azure | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1375330 | |||
| 
 
        
          Description
        
        
          William Fitzgerald
        
        
        
        
        
          2016-09-12 13:49:23 UTC
        
       
      
      
      
    New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/31023515e8058771621b605d04bf854a97ab497d commit 31023515e8058771621b605d04bf854a97ab497d Author: william fitzgerald <wfitzger> AuthorDate: Fri Sep 9 10:07:27 2016 -0400 Commit: william fitzgerald <wfitzger> CommitDate: Mon Sep 12 12:11:10 2016 -0400 Automate - Added Azure pre and post provisioning. Added relationship and method fields for azure. Added generic pre and post provisioning methods. https://bugzilla.redhat.com/show_bug.cgi?id=1375221 http://talk.manageiq.org/t/azure-and-amazon-vm-post-provisioning/1691 .../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 Verified in 5.7.0.1. The methods are present and get called during provisioning. Due to the state of our Azure subscription I could not test the post provisioning method, but since I tested it on 5.6.2.1 and knowledge of automate engine, I assume that one is all right too.  |