Bug 1380746 - Can't add EC2 provider because of undefined variable or method when validating
Summary: Can't add EC2 provider because of undefined variable or method when validating
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: GA
: 5.7.0
Assignee: Marcel Hild
QA Contact: Matouš Mojžíš
URL:
Whiteboard: provider:ec2
: 1382310 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-30 13:11 UTC by Matouš Mojžíš
Modified: 2016-11-07 13:46 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 13:46:52 UTC
Category: ---
Cloudforms Team: AWS
Target Upstream Version:


Attachments (Terms of Use)
ec2 provider validation (73.21 KB, image/png)
2016-09-30 13:11 UTC, Matouš Mojžíš
no flags Details

Description Matouš Mojžíš 2016-09-30 13:11:24 UTC
Created attachment 1206256 [details]
ec2 provider validation

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1.Add an ec2 provider
2.
3.

Actual results:
[----] I, [2016-09-30T09:09:28.653159 #12847:18751a8]  INFO -- : MIQ(ManageIQ::Providers::Amazon::CloudManager#with_provider_connection) Connecting through ManageIQ::Providers::Amazon::CloudManager: [ec2-sao]
[----] E, [2016-09-30T09:09:28.653860 #12847:18751a8] ERROR -- : MIQ(ManageIQ::Providers::Amazon::CloudManager#verify_credentials) Error Class=NameError, Message=undefined local variable or method `http_proxy_uri' for #<ManageIQ::Providers::Amazon::CloudManager:0x00000016271788>
[----] W, [2016-09-30T09:09:28.653952 #12847:18751a8]  WARN -- : MIQ(ManageIQ::Providers::Amazon::CloudManager#authentication_check_no_validation) type: ["default"] for [] [ec2-sao] Validation failed: error, Unexpected response returned from system: undefined local variable or method `http_proxy_uri' for #<ManageIQ::Providers::Amazon::CloudManager:0x00000016271788>
[----] E, [2016-09-30T09:09:28.654070 #12847:18751a8] ERROR -- : MIQ(ems_cloud_controller-create): Credential validation was not successful: Unexpected response returned from system: undefined local variable or method `http_proxy_uri' for #<ManageIQ::Providers::Amazon::CloudManager:0x00000016271788>


Expected results:


Additional info:

Comment 3 Matouš Mojžíš 2016-10-06 11:55:25 UTC
*** Bug 1382310 has been marked as a duplicate of this bug. ***

Comment 6 Marcel Hild 2016-10-07 07:17:53 UTC
This is due to https://github.com/ManageIQ/manageiq-providers-amazon/pull/27 being merged earlier to euwe than https://github.com/ManageIQ/manageiq/pull/10368 being backported. Should be fixed in any build later than 16-09-30.

Comment 8 Greg Blomquist 2016-11-03 14:52:40 UTC
Marcel, should this just be moved to ON_QA, then? Or, at least POST?

Comment 10 Marcel Hild 2016-11-07 08:03:03 UTC
@Matouš, could you please verify that this is no longer an issue?
As I pointed out, I believe this was an intermittent issue.

Comment 11 Matouš Mojžíš 2016-11-07 11:01:01 UTC
Yes, it works on beta2.1 version.


Note You need to log in before you can comment on or make changes to this bug.