Bug 773445 - audrey client fails if endpoint has upper case letter
Summary: audrey client fails if endpoint has upper case letter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-audrey-agent
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Dan Radez
QA Contact: dgao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 20:54 UTC by dgao
Modified: 2012-08-30 17:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:16:06 UTC


Attachments (Terms of Use)

Description dgao 2012-01-11 20:54:17 UTC
[dgao@zhongyong client]$ ./cs-client -e https://cloudEngine-audrey.usersys.redhat.com -k 6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c  -s 7nQIPMrwnhTibK3b0dRsLGvm6Ry3DCFsMCgTtWw8gd6d get configs 6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c
HTTP Status: 401
Body:
Not Authorized


[dgao@zhongyong client]$ ./cs-client -e https://cloudengine-audrey.usersys.redhat.com -k 6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c  -s 7nQIPMrwnhTibK3b0dRsLGvm6Ry3DCFsMCgTtWw8gd6d get configs 6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c
HTTP Status: 200
Body:
|service|proxy1|parameters|proxy_server_1_param_2&Yg==|proxy_server_1_param_3&Yw==|proxy_server_1_param_1&YQ==|service|proxy2|parameters|proxy_server_1_param_2&ZWU=|proxy_server_1_param_1&ZA==|




configserver log


GET /configs/1/6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=71690738&oauth_timestamp=1326315243&oauth_consumer_key=6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_signature=QOzLbOC5L0iwq1fYfMeQhe%2FuMIs%3D HTTP/1.1
Host: localhost:4567
accept-encoding: gzip, deflate
accept: text/plain
user-agent: Python-httplib2/$Rev$
X_FORWARDED_PROTO: https
X-Forwarded-For: 10.11.230.249
X-Forwarded-Host: cloudengine-audrey.usersys.redhat.com
X-Forwarded-Server: 127.0.0.1
Connection: Keep-Alive

10.11.230.249 - - [11/Jan/2012 15:53:21] "GET /configs/1/6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=71690738&oauth_timestamp=1326315243&oauth_consumer_key=6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_signature=QOzLbOC5L0iwq1fYfMeQhe%2FuMIs%3D HTTP/1.1" 401 15 0.0079
HTTP/1.1 401 Unauthorized
Content-Type: text/html;charset=utf-8
Content-Length: 15
Connection: keep-alive
Server: thin 1.2.11 codename Bat-Shit Crazy

Not Authorized
GET /configs/1/6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=21383090&oauth_timestamp=1326315255&oauth_consumer_key=6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_signature=tYRlRwtsnDSagUHXYLRrGaNk%2F8M%3D HTTP/1.1
Host: localhost:4567
accept-encoding: gzip, deflate
accept: text/plain
user-agent: Python-httplib2/$Rev$
X_FORWARDED_PROTO: https
X-Forwarded-For: 10.11.230.249
X-Forwarded-Host: cloudengine-audrey.usersys.redhat.com
X-Forwarded-Server: 127.0.0.1
Connection: Keep-Alive

10.11.230.249 - - [11/Jan/2012 15:53:33] "GET /configs/1/6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=21383090&oauth_timestamp=1326315255&oauth_consumer_key=6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_signature=tYRlRwtsnDSagUHXYLRrGaNk%2F8M%3D HTTP/1.1" 200 193 0.0083
HTTP/1.1 200 OK
Content-Type: text/plain;charset=utf-8
Content-Length: 193
Connection: keep-alive
Server: thin 1.2.11 codename Bat-Shit Crazy

|service|proxy1|parameters|proxy_server_1_param_2&Yg==|proxy_server_1_param_3&Yw==|proxy_server_1_param_1&YQ==|service|proxy2|parameters|proxy_server_1_param_2&ZWU=|proxy_server_1_param_1&ZA==|

Comment 1 Dan Radez 2012-01-12 15:03:32 UTC
fixed in ba976441b105f0d2b2fac1a3d19f19c343d04dac

Comment 2 wes hayutin 2012-01-12 16:13:59 UTC
bugs in verified or on_qa moving off tracker

Comment 3 dgao 2012-01-12 21:16:46 UTC
Verified

[root@10-16-120-247 ~]# audrey -e https://cloudEngine-audrey.usersys.redhat.com -k 6b173ee4-3c8b-11e1-a92c-5cf3fc1c818c 
oAuth Secret: 7nQIPMrwnhTibK3b0dRsLGvm6Ry3DCFsMCgTtWw8gd6d

[root@10-16-120-247 ~]# 
[root@10-16-120-247 ~]# echo $?
0
[root@10-16-120-247 ~]# rpm -q aeolus-audrey-agent
aeolus-audrey-agent-0.4.3-1.el6.noarch

Comment 4 James Laska 2012-02-10 14:09:32 UTC
Reassigning to proper 'aeolus-audrey-agent' component.


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