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
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.
https://github.com/ManageIQ/manageiq/pull/9282
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