Details
-
Type:
Bug
-
Status:
Confirmed
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 10.16.2
-
Fix Version/s: None
-
Component/s: Chef Client, Knife
-
Environment:
Any!

Description
When using knife behind a proxy (or anywhere that you use a proxy and the Chef::CookbookUploader class) we fail to configure the proxy settings for RestClient. This causes the first stage of the cookbook upload command to complete (it uses the normal Chef::REST route) but the first files to S3 to fail due to the bad proxy.
Fix is to set the RestClient.proxy before making the RestClient::Resource object in Chef::CookbookUploader.
Activity
Daniel DeLeo
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 0.10.2 [ 10203 ] | |
| Fix Version/s | 0.10.0 [ 10081 ] |
Bryan McLellan [Opscode]
made changes -
| Assignee | Seth Chisamore [ schisamo ] |
Jeff Sussna
made changes -
| Comment |
[ As I mentioned in the dup ticket, the workaround isn't working for me. I know I have the proxy setting correct, since the same proxy value works for git clone and gem install. I'm running knife 0.10.0 and ruby 1.9.2p180, under MINGW32 on Windows XP SP3.
] |
Bryan McLellan [Opscode]
made changes -
| Fix Version/s | 0.10.4 [ 10400 ] | |
| Fix Version/s | 0.10.2 [ 10203 ] |
Bryan McLellan [Opscode]
made changes -
| Fix Version/s | 0.10.4 [ 10400 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | jira [ 13273 ] | New OSS [ 17467 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 17467 ] | OSS: Product Management [ 25097 ] |
Jeff Anderson
made changes -
| Status | Open [ 1 ] | Confirmed [ 10001 ] |
| Affects Version/s | 10.16.2 [ 11006 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
762d 19h 27m | 1 | Jeff Anderson | Friday 3:57 PM |
You can work around this by adding the following to your config file:
require 'rest-client'
RestClient.proxy = "yourproxy"