Bug 1440327
| Summary: | Get IP address automation code not working Azure | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | myoder | |
| Component: | Providers | Assignee: | Ladislav Smola <lsmola> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Milan Falešník <mfalesni> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 5.7.0 | CC: | akaiser, cpelland, jfrey, jhardy, jocarter, lsmola, mkanoor, myoder, obarenbo, simaishi, tfitzger | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1441753 1441754 (view as bug list) | Environment: | ||
| Last Closed: | 2018-03-06 15:24:18 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Inquiry | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | Azure | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1441753, 1441754 | |||
|
Description
myoder
2017-04-07 22:48:39 UTC
I am wondering if the IP address is not coming back during the initial provider refresh that picks up the new VM. They should check if the IP eventually shows up in the UI for that VM. If so the automate method might need to do a retry until the data is available. If not then it would sound like the provider is not returning the data during inventory refresh. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/dc57d4c3b20f375dcd27f5dd4d3d31723134e857 commit dc57d4c3b20f375dcd27f5dd4d3d31723134e857 Author: Ladislav Smola <lsmola> AuthorDate: Wed Apr 12 13:04:07 2017 +0200 Commit: Ladislav Smola <lsmola> CommitDate: Wed Apr 12 13:05:17 2017 +0200 Method for ensuring managers change zone and provider region with CloudManager Method for ensuring managers change zone and provider region with CloudManager, this method needs to be in :before_update in every relevant provider Fixes BZs: https://bugzilla.redhat.com/show_bug.cgi?id=1439268 https://bugzilla.redhat.com/show_bug.cgi?id=1440327 app/models/mixins/has_network_manager_mixin.rb | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) New commit detected on ManageIQ/manageiq-providers-azure/master: https://github.com/ManageIQ/manageiq-providers-azure/commit/34feebe8c43f93c00d02474efcadfc98436ab078 commit 34feebe8c43f93c00d02474efcadfc98436ab078 Author: Ladislav Smola <lsmola> AuthorDate: Wed Apr 12 12:53:31 2017 +0200 Commit: Ladislav Smola <lsmola> CommitDate: Wed Apr 12 12:53:31 2017 +0200 Ensure managers change zone and provider region with CloudManager Ensure managers change zone and provider region with CloudManager Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1440327 app/models/manageiq/providers/azure/cloud_manager.rb | 1 + .../manageiq/providers/azure/cloud_manager_spec.rb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) Verified in 5.9.0.10, after adding the Azure provider I switched zones of it and provisioned a VM. The IP addresses are retrieved. |