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


Chronological Thread 
  • From: Daniel DeLeo < >
  • To: Michael Vaknin < >
  • Cc: Chef Dev < >
  • Subject: [chef-dev] Re: Problem when downloading Cookbooks from Chef-10 server
  • Date: Thu, 10 Oct 2013 07:26:54 -0700


On Thursday, October 10, 2013 at 3:55 AM, Michael Vaknin wrote:

Hi,

It looks like i had a network problem and it was fixed and i was able to download all the data from the old server.

now i have a problem when i try to upload the data.
all data is uploaded but not the cookbooks.
attached is the log file with the errrors

Looks like more networking issues?

The relevant error is: 

DEBUG: Sending HTTP Request via GET to chef11.anyclipsrv.info:443/environments/qa1
ERROR: Network Error: Connection refused - connect(2)
Check your knife configuration and network settings

This means that either nothing is listening on port 443 of that host, or you have a firewall rule to refuse the connection and send a RST packet.

But earlier in your log, you have:

DEBUG: Sending HTTP Request via GET to chef11.anyclipsrv.info:443/data/anyclip/sqs

…which indicates a successful request was made to that host.

Does this error reproduce on every cookbook upload?


I am able to run commands such knife client list and knife role list but it fails in the cookbook upload so i guess that my knife.rb configuration is correct.
This seems to rule out the possibility that the server stopped running. How is hostname resolution for chef11.anyclipsrv.info configured? DNS? /etc/hosts ?
 

a minor issue on the download is that environment was downloaded to /var/chef/environments and not to transfer-repo folder where all other stuff was downloaded.

Thanks
Michael


-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§