Bug 1506667
| Summary: | [REGRESSION][AZURE]Can't provision VM from private image | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Leo Khomenko <lkhomenk> | |
| Component: | Providers | Assignee: | Nick LaMuro <nlamuro> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.9.0 | CC: | bsorota, gblomqui, jfrey, jhardy, nlamuro, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.10.0 | Flags: | lkhomenk:
automate_bug+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | azure:provision:regression | |||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1509389 1509391 (view as bug list) | Environment: | ||
| Last Closed: | 2018-06-21 20:53:35 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | Azure | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1509389, 1509391 | |||
|
Description
Leo Khomenko
2017-10-26 14:08:42 UTC
Hi Nick Looks like this bug crept in with PR https://github.com/ManageIQ/azure-armrest/pull/319 See line: https://github.com/ManageIQ/azure-armrest/blob/master/lib/azure/armrest/storage_account_service.rb#L190 A second argument is being passed to the "list" method but that method only takes 1. Can this boolean just be removed? So the line above would become: storage_accounts = list(group) Yes, removing the boolean would have been one option, since we were just targeting the `list_all_private_images` in the PR mentioned. That said, the code for updating that method to support the savings from #319 was not that hard to do, and I did just that: https://github.com/ManageIQ/azure-armrest/pull/345 We can choose either solution, really, just this one moves us closer to using this mechanism in more places. Hi Nick Assigning to you since you already fixed it. Bronagh https://github.com/ManageIQ/azure-armrest/pull/345 merged, waiting for it to be merged into a gem release and shipped in a MIQ/CFME build. Fixed in version 0.9.2 of the azure-armrest gem PR to bump azure-armrest version: https://github.com/ManageIQ/manageiq-providers-azure/pull/154 |