Bug 1625118

Summary: Cannot provision VMs in GCE provider.
Product: Red Hat CloudForms Management Engine Reporter: Jaroslav Henner <jhenner>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED NOTABUG QA Contact: Jad Haj Yahya <jhajyahy>
Severity: high Docs Contact:
Priority: high    
Version: 5.10.0CC: dberger, dmetzger, gblomqui, hkataria, jfrey, jhardy, jhenner, lavenel, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-13 10:55:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: GCE Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1619744    

Description Jaroslav Henner 2018-09-04 07:37:28 UTC
Description of problem:
After adding the GCE provider, there are red crosses all over the place in the provider dashboard and after clicking on instances I cannot provision a VM because the buttons are disabled.

Version-Release number of selected component (if applicable):
Version 5.10.0.14.20180831154906_2f9a1dd 

How reproducible:
3/3

Steps to Reproduce:
1. Add GCE provider
2. Try provisioning VM
3.

Actual results:
All buttons disabled. One cannot do anything with the VMs.

Expected results:
Able to provision VM

Additional info:

Comment 2 Tomas Coufal 2018-09-10 17:39:53 UTC
Hi,

The "red crossess" are caused by an UI glitch: there's already a bug for that particular issue (https://bugzilla.redhat.com/show_bug.cgi?id=1626427)

There are multiple ways to provision an instance:

A)
  1) Provider summary screen/dashboard -> Images
  2) Select desired image 
  3) Lifecycle -> Provision Instance using this Image
  4) EMPTY PAGE (a MiqRequest should be rendered)
B)
  1) Provider summary screen/dashboard -> Instances
  2) Lifecycle -> Provision VM
  3) DISABLED BUTTON

Sounds like an UI issue to me. Reassigning.

Comment 3 Daniel Berger 2018-09-14 18:44:28 UTC
I cannot duplicate on the latest downstream version (5.10.0.14). Using both approaches that Tom mentioned, the selection options are enabled and I can see the expected screens/forms afterwards. Maybe it was fixed?

Jaroslav or Tom, can you try the latest downstream version and see if it works?

Comment 9 Jaroslav Henner 2018-10-19 08:47:37 UTC
I tried to add the provider in Version 5.10.0.20.20181016163900_fe677b4 by hand (instead of letting our tests to add it) and I failed to Verify the creds.

When adding to  Version 5.9.5.2.20181015201954_5f1530c  I succeed. The 5.10 GCE addition is broken.

Comment 12 Jaroslav Henner 2018-12-13 10:55:00 UTC
Sorry, I didn't have access to the GCE for couple of weeks. It seems our permissions in GCE were not right. That's probably why there were problems.