[chef-dev] Re: Problem when downloading Cookbooks from Chef-10 server


Chronological Thread 
  • From: Michael Vaknin < >
  • To: Daniel DeLeo < >
  • Cc: Chef Dev < >
  • Subject: [chef-dev] Re: Problem when downloading Cookbooks from Chef-10 server
  • Date: Tue, 15 Oct 2013 08:43:17 +0300

Ok,
so i have a config file chef-server.rb 

bookshelf['url'] = "chef11.anyclipsrv.info"
bookshelf['listen'] = "chef11.anyclipsrv.info"
bookshelf['vip'] = "chef11.anyclipsrv.info"
bookshelf['port'] = 443
lb['api_fqdn'] = "chef11.anyclipsrv.info"

i run chef-server-ctl reconfigure

now when i try to upload i get this errors

INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Saving AnyClip
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 1/5 in 4s
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Saving AnyClip-wordpress
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Saving ant
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 1/5 in 3s
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 1/5 in 4s
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Saving anyclip_newrelic
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Saving apache2
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 1/5 in 3s
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 1/5 in 4s
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 2/5 in 8s
INFO: HTTP Request Returned 500 Internal Server Error: internal service error
ERROR: Server returned error for https://chef11.anyclipsrv.info/sandboxes, retrying 2/5 in 8s


Thanks
Michael



On Mon, Oct 14, 2013 at 11:30 PM, Daniel DeLeo < " target="_blank"> > wrote:
Sorry for the reply fail in the previous message :(

On Monday, October 14, 2013 at 1:21 PM, Daniel DeLeo wrote:


On Sunday, October 13, 2013 at 3:54 AM, Michael Vaknin wrote:

Hello Daniel,
i am not able to load any cookbook i get the same error.
if you look at the logs you can see something strange it is trying to load to https://localhost:443 and i do not understand why.
Responses from the server contain URLs to other resources, exactly like a normal web page does. Currently, the hostname of the server is determined when you run `chef-server-ctl reconfigure`, and this hostname is used when creating URLs in responses. Most API operations ignore these URLs, but for cookbook operations, the workstation uses them to upload/download individual files from cookbooks. You can customize the URL that is handed out with the `lb['api_fqdn'] = "chef.example.com"` setting in /etc/chef-server/chef-server.rb More info on chef server configurables is here: http://docs.opscode.com/config_rb_chef_server.html
 
 

Thanks
Michael



-- 
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§