50onRed / chef-server-rds

Chef Server backed by Amazons RDS Postgresql
Apache License 2.0
1 stars 1 forks source link

Error "Could not locate chef-server package matching version latest for node" on my Ubuntu box. #1

Open ngocthanhit opened 10 years ago

ngocthanhit commented 10 years ago

Hi there,

I tried to bootstrap an ec2 instance on my chef client but it show this issue:

Could not locate chef-server package matching version '' for node.

Cookbook Trace:

/var/chef/cache/cookbooks/chef-server-rds/recipes/default.rb:61:in `from_file'

Relevant File Content:

/var/chef/cache/cookbooks/chef-server-rds/recipes/default.rb:

54: node['chef-server']['nightlies'] 55: ) 56: unless omnibus_package 57: err_msg = 'Could not locate chef-server' 58: err_msg << ' pre-release' if node['chef-server']['prereleases'] 59: err_msg << ' nightly' if node['chef-server']['nightlies'] 60: err_msg << " package matching version '#{node['chef-server']['version']}' for node." 61>> fail err_msg

62: end

Do anyone face with problems ?

Thanks

bradleywangia commented 10 years ago

What environment are you running this on? OS version.

ngocthanhit commented 10 years ago

Hi Brad, Thank you so much for your reply. here is the client which i ran the command line for chef: $ knife bootstrap 10.0.22... --ssh-user ubuntu --sudo --identity-file ... --environment ... --node-name pgdb-dev --run-list 'role[chef-server-rds]' This client running : Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Chef-server: we are using chef-server from 'https://api.opscode.com/' Destination instance for chef: Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04

Hope you can help me solve out this issue.

Best regards

Thanh Truong

bradleywangia commented 10 years ago

This error is from an open issue in the omnibus cookbook that's used to install chef

https://github.com/opscode-cookbooks/chef-server/issues/48

Try installing on a Ubuntu 12.04 host

On Monday, September 22, 2014, Thanh Truong <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:

Hi Brad, Thank you so much for your reply. here is the client which i ran the command line for chef: $ knife bootstrap 10.0.22... --ssh-user ubuntu --sudo --identity-file ... --environment ... --node-name pgdb-dev --run-list 'role[chef-server-rds]' This client running : Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Chef-server: we are using chef-server from 'https://api.opscode.com/' Destination instance for chef: Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04

Hope you can help me solve out this issue.

Best regards

Thanh Truong

— Reply to this email directly or view it on GitHub https://github.com/50onRed/chef-server-rds/issues/1#issuecomment-56471733 .

ngocthanhit commented 10 years ago

Thanks Brad, i will change to use Ubuntu 12.04 host.

Thanh.