- From: Ignasi <
>
- To: Антон Баранов <
>
- Cc:
- Subject: [chef-dev] Re: Re: Re: Error downloading cookbooks in Chef 11
- Date: Mon, 26 Aug 2013 17:31:08 +0200
Thanks for the response,
I am not using chef-client, I'm using directly the REST api from Java.
I am the maintainer of jclouds-chef [1], a Java library to access
Chef, and just started testing it against Enterprise Chef and Chef 11.
It used to work with Chef 10 and Hosted Chef, and I am just trying to
figure out if there is something that has changed in the signature
verification that is making it fail now with Chef 11 and Enterprise
Chef.
The signature generation is generic [2] and the same code is used to
sign every request, so I don't understand why I only get failures when
trying to download the contents of a file (and why it only fails in
Chef 11 and Hosted Chef).
I can provide the logs of the generated requests and the obtained
responses, if it helps.
Thanks for your help, it is very much appreciated,
Ignasi
[1]
https://github.com/jclouds/jclouds-chef
[2]
https://github.com/jclouds/jclouds-chef/blob/master/core/src/main/java/org/jclouds/chef/filters/SignedHeaderAuth.java
On 26 August 2013 16:56, Антон Баранов
<
>
wrote:
>
Hello.
>
>
Could you provide debug-log of chef-client?
>
>
>
26.08.2013, в 23:52, Ignasi
>
<
>
>
написал(а):
>
>
> I just added some more cookbooks to my Hosted Chef account, and I get
>
> the same failure.
>
>
>
> Is there anything that has changed in the authentication checks
>
> between Chef 0.10 and Chef 11 and the latest Hosted Chef version? Chef
>
> 0.10 keeps working fine.
>
>
>
>
>
> Thank you,
>
>
>
> Ignasi
>
>
>
> On 26 August 2013 16:10, Ignasi
>
> <
>
>
> wrote:
>
>> Ohai!
>
>>
>
>> I'm getting random failures when using the REST api to download
>
>> cookbooks in Chef 11.0.6.
>
>>
>
>> I am getting the url of each resource, and performing a GET request to
>
>> download its contents, but sometimes (and without a reproducible
>
>> pattern), I get a 403 response saying that the signature is not the
>
>> expected one.
>
>>
>
>> The same code is working fine against Chef 0.10.8 and Enterprise
>
>> (Hosted) Chef, but in Chef 11 the failures appear in different
>
>> resources each time: sometimes a resource is downloaded, sometimes
>
>> downloading the same resource results in a 403 error.
>
>>
>
>> I've taken a look at the chef-server logs (with chef-server-ctl tail),
>
>> but I haven't seen any error or details that could help figuring out
>
>> what could be going on.
>
>>
>
>>
>
>> Is there any known issue about this?
>
>>
>
>> Any help would be much appreciated.
>
>>
>
>>
>
>> Thanks,
>
>>
>
>> Ignasi
>
Archive powered by MHonArc 2.6.16.