Bug 749840

Summary: ASError during audrey client execution on ec2 client
Product: [Retired] CloudForms Cloud Engine Reporter: dgao
Component: aeolus-audrey-agentAssignee: Dan Radez <dradez>
Status: CLOSED CURRENTRELEASE QA Contact: dgao
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: gblomqui, whayutin
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 17:13:51 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: 749683    
Attachments:
Description Flags
Error in ec2 console none

Description dgao 2011-10-28 17:06:16 UTC
Created attachment 530695 [details]
Error in ec2 console

The following error was encountered during a deployment of an ec2 instance w/
audrey client trying to execute.

Comment 1 Greg Blomquist 2011-10-28 18:07:43 UTC
Pushed srpm for eggs to build/push

Comment 2 Greg Blomquist 2011-10-28 18:25:19 UTC
More specificity please!

Dan Radez patched the aeolus-audrey_startup RPM to include defensive code that will now handle both base64encoded and base64decoded user_data in EC2.

The new RPM version is: aeolus-audrey_startup-0.3.1-4

Comment 3 Greg Blomquist 2011-10-28 19:48:41 UTC
Patched audrey_client to "strip" any whitespace from the user_data instead of reading "-1" characters from user_data.

The new RPM version is: aeolus-audrey_startup-0.3.1-5

Comment 4 dgao 2011-10-28 20:17:03 UTC
Patches are good! Executable are able to run on ec2 instances.



pwd ***   ***   ***   ***   ***   ***
/var/audrey/tooling/user/proxy1

args ***   ***   ***   ***   ***   ***

printenv ***   ***   ***   ***   ***   ***
AUDREY_VAR_proxy1_proxy_server_1_param_1=a
AUDREY_VAR_proxy1_proxy_server_1_param_2=b
AUDREY_VAR_proxy1_proxy_server_1_param_3=c
AUDREY_VAR_proxy2_proxy_server_1_param_1=d
AUDREY_VAR_proxy2_proxy_server_1_param_2=e

        <<< End Output
2011-10-28 16:13:28,136 - INFO    : audrey:635 Execute Tooling command: /var/audrey/tooling/user/proxy2/start
2011-10-28 16:13:28,137 - INFO    : audrey:635 return code: 0
2011-10-28 16:13:28,137 - INFO    : audrey:635

Comment 5 James Laska 2012-02-10 14:10:04 UTC
Reassigning to proper 'aeolus-audrey-agent' component.