Bug 698357

Summary: translate hook refers to ec_gahp instead of ec2_gahp, blocking ec2_gahp execution
Product: Red Hat Enterprise MRG Reporter: Luigi Toscano <ltoscano>
Component: condor-ec2-enhanced-hooksAssignee: Robert Rati <rrati>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: high Docs Contact:
Priority: high    
Version: DevelopmentCC: iboverma, matt
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-ec2-enhanced-hooks-1.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 14:10:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 679553    

Description Luigi Toscano 2011-04-20 17:48:29 UTC
Description of problem:
A typo in translate hooks prevents ec2_gahp from being used ('ec_gahp' is never found).

Version-Release number of selected component (if applicable):
condor-ec2-enhanced-hooks-1.1-3

Comment 1 Robert Rati 2011-04-26 20:36:39 UTC
Fixed and enhanced the check.  It now looks up EC2_GAHP in condor's config and verifies the file exists before setting the resource type to ec2.

This uncovered a number of other issues with the ec2e and the ec2_gahp, mostly resulting from the fact that the ec2_gahp uses EC2_* attributes and doesn't recognize the AMAZON_* attributes.

Fixed on master

Comment 2 Luigi Toscano 2011-05-17 17:06:28 UTC
Fix applied. Verified on RHEL5.6/6.1, i386/x86_64.
condor-ec2-enhanced-hooks-1.2-1