Bug 1337646
| Summary: | Service : Not able to provision more than certain number of VM's for Google Compute Engine | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Shveta <sshveta> | ||||
| Component: | Provisioning | Assignee: | Lucy Fu <lufu> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.6.0 | CC: | gblomqui, gmccullo, hkataria, jfrey, jhardy, mpovolny, obarenbo, simaishi | ||||
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
| Target Release: | 5.7.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | provisioning | ||||||
| Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1359785 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-01-11 19:58:49 UTC | Type: | Bug | ||||
| 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: | |||||||
| Bug Blocks: | 1359785 | ||||||
| Attachments: |
|
||||||
Adam, seems like I saw something for this already from Joe @ Google. Does this sound familiar? Upstream issue - https://github.com/ManageIQ/manageiq/issues/8427 Yes, he opened an issue upstream. https://github.com/ManageIQ/manageiq/issues/8427 I tried same on Vsphere , request succeeded. Shveta, have you set up billing account? Can you provision 1 instance on this GCE account? Can you create an instance from https://console.cloud.google.com/? Lucy - Based on the comments in the git issue (See https://github.com/ManageIQ/manageiq/issues/8427#issuecomment-221385014) this does not appear to be a GCE specific issue. Please work with Shveta to track down the root cause. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/4016b228703de3ee36197efaadf539b3e5558b50 commit 4016b228703de3ee36197efaadf539b3e5558b50 Author: Lucy Fu <lufu> AuthorDate: Fri Jun 17 18:06:46 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Mon Jun 20 09:53:11 2016 -0400 Set pending as the default state for MiqRequestTask. The state of MiqRequest should not be used as the default state for tasks. With multiple provisioning, the miq_request.state may have changed from pending to active before all tasks are created that would throw an RunTime error and kill the subsequent tasks. https://bugzilla.redhat.com/show_bug.cgi?id=1337646 app/models/miq_request.rb | 3 +-- app/models/miq_request_task.rb | 1 + spec/models/miq_request_spec.rb | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) Fixed. Verified in 5.7.0.0.20160906172503_12f65cb |
Created attachment 1159587 [details] automation logs Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Tried on GCE provider , provisioned 15 VM's 2. request failed with error in logs "invoking [on_error] method=[update_provision_status(status => '[Fog::Errors::Error]: Project cfme-tests cannot accept requests to insert while in an inactive billing state. Billing state may take several minutes to update.')] " 3. Actual results: Expected results: Additional info:Logs are attached. Build : 5.6.0.7-beta2.6.20160516171555_b1be31f