[chef] Re: Re: Knife ignoring dependencies


Chronological Thread 
  • From: Steven Barre < >
  • To:
  • Subject: [chef] Re: Re: Knife ignoring dependencies
  • Date: Wed, 01 May 2013 11:19:27 -0700
  • Organization: Real Estate Webmasters

# knife cookbook upload rew_idxdb -VV
DEBUG: Signing the request as steven
DEBUG: Sending HTTP Request via GET to chef.dfw.rewhosting.com:443/cookbooks
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: nginx/1.2.3
DEBUG: date: Wed, 01 May 2013 18:08:57 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: decompressing gzip response
DEBUG: No chefignore file found at /home/stack/chef-repo/cookbooks/chefignore no files will be ignored
Uploading rew_idxdb      [0.1.0]
INFO: Validating ruby files
DEBUG: Ruby file /home/stack/chef-repo/cookbooks/rew_idxdb/recipes/git_cron.rb is unchanged, skipping syntax check
DEBUG: Ruby file /home/stack/chef-repo/cookbooks/rew_idxdb/recipes/default.rb is unchanged, skipping syntax check
DEBUG: Testing /home/stack/chef-repo/cookbooks/rew_idxdb/metadata.rb for syntax errors...
Syntax OK
INFO: Validating templates
DEBUG: Template /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/idx-cron-update.erb is unchanged, skipping syntax check
DEBUG: Template /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/idx_cron-crontab.txt.erb is unchanged, skipping syntax check
DEBUG: Template /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/user-gitconfig.erb is unchanged, skipping syntax check
DEBUG: Template /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/post-receive-hook.erb is unchanged, skipping syntax check
INFO: Syntax OK
INFO: Saving rew_idxdb
DEBUG: Signing the request as steven
DEBUG: Sending HTTP Request via POST to chef.dfw.rewhosting.com:443/sandboxes
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 201 Created
DEBUG: server: nginx/1.2.3
DEBUG: date: Wed, 01 May 2013 18:08:57 GMT
DEBUG: content-type: application/json
DEBUG: content-length: 936
DEBUG: connection: close
DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6
DEBUG: location: http://com.rewhosting.dfw.chef:80/sandboxes/000000000000dd02430bc29ce30edf0f
DEBUG: ---- End HTTP Status/Header Data ----
INFO: Uploading files
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/CHANGELOG.md has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/recipes/default.rb has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/recipes/git_cron.rb has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/user-gitconfig.erb has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/README.md has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/post-receive-hook.erb has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/idx_cron-crontab.txt.erb has not changed
DEBUG: /home/stack/chef-repo/cookbooks/rew_idxdb/templates/default/idx-cron-update.erb has not changed
INFO: Uploading /home/stack/chef-repo/cookbooks/rew_idxdb/metadata.rb (checksum hex = 7a2ef443c02cc189402ed830a65f7113) to https://chef.dfw.rewhosting.com:443/bookshelf/organization-00000000000000000000000000000000/checksum-7a2ef443c02cc189402ed830a65f7113?AWSAccessKeyId=55fa7e2a798dcc55a0e7f8cb51b5fc5aab4bd1a8&Expires=1367432637&Signature=BeZjZDN7UnFS2jEGZQJYoUo%2BeLg%3D
DEBUG: Committing sandbox
DEBUG: Signing the request as steven
DEBUG: Sending HTTP Request via PUT to chef.dfw.rewhosting.com:443/sandboxes/0000000000003f7b02efa091a8ceb77c
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: nginx/1.2.3
DEBUG: date: Wed, 01 May 2013 18:08:57 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: decompressing gzip response
DEBUG: Signing the request as steven
DEBUG: Sending HTTP Request via PUT to chef.dfw.rewhosting.com:443/cookbooks/rew_idxdb/0.1.0
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 200 OK
DEBUG: server: nginx/1.2.3
DEBUG: date: Wed, 01 May 2013 18:08:57 GMT
DEBUG: content-type: application/json
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: x-ops-api-info: flavor=osc;version=11.0.2;erchef=1.2.6
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: decompressing gzip response
INFO: Upload complete!
Uploaded 1 cookbook.


=================================================
Steven Barre, RHCE, ZCE, MCP

 
 ">
 

Systems Administrator / Programmer
Real Estate Webmasters - 250-753-9893
==================================================
On 2013-05-01 09:56, Daniel DeLeo wrote:
" type="cite">

On Monday, April 29, 2013 at 5:30 PM, Steven Barre wrote:

My knife seems to not be alerting about missing dependencies?

# grep depends cookbooks/rew_idxdb/metadata.rb
depends 'apache2'
# knife cookbook upload rew_idxdb
Uploading rew_idxdb [0.1.0]
Uploaded 1 cookbook.

This is a fresh setup, so none on the dependencies exist on the server
already.

Normally I get an error like

ERROR: Cookbook rew_idxdb depends on cookbook 'apache2' version '>= 0.0.0',
ERROR: which is not currently being uploaded and cannot be found on the
server.

Why am I not getting this error now?
Can you run this with -VV and share the results?


-- 
Daniel DeLeo
 

--
=================================================
Steven Barre, RHCE, ZCE, MCP

Systems Administrator / Programmer
Real Estate Webmasters - 250-753-9893
==================================================





Archive powered by MHonArc 2.6.16.

§