"project.resources.url" not supporting "Authorization"
Reported by Marcello de Sousa | July 21st, 2011 @ 02:48 AM
"project.resources.url" doesn't seem to support Authorization like:
project.resources.url = http://admin:passwd@myservername/myresourcetest.yaml
And when you click on "Update Nodes for project" you get the
ERROR:
"Error updating node resources file for project examples: HTTP
Authorization failure"
Troubleshooting:
With Curl:
$ curl -u admin:passwd "http://192.168.222.111/hosts/myresourcetest.yaml"
The request is:
GET /hosts/myresourcetest.yaml HTTP/1.1
Authorization: Basic YWRtaW46Y3hhbmdlbWU=
User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu)...
Host: 192.168.222.111
Accept: */*
And from Rundeck, with the following setting:
project.resources.url = http://admin:passwd@192.168.222.111/hosts/myresourcetest.yaml
The request is:
GET /hosts/myresourcetest.yaml HTTP/1.1
User-Agent: Java/1.6.0_20
Host: 192.168.222.111
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
If-Modified-Since: Wed, 20 Jul 2011 14:04:54 GMT
So as you can see Rundeck it doesn't send the "Authorization" header in the HTTP request.
Comments and changes to this ticket
-
Alex-SF July 21st, 2011 @ 06:46 AM
- Tag set to enhancement
- Milestone set to Rundeck 1.4
- Milestone order changed from 77 to 0
Related: #395.
-
Greg Schueler July 21st, 2011 @ 04:52 PM
- State changed from new to duplicate
- Milestone cleared.
this is already done in run deck 1.3 , see #237
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues