Chef-server 10.14 gem appears to be broken


#1

root@pdxchef02v:/usr/local/bin# gem install chef-server
Successfully installed chef-server-10.14.0
1 gem installed
Installing ri documentation for chef-server-10.14.0…
Installing RDoc documentation for chef-server-10.14.0…
root@pdxchef02v:/usr/local/bin# chef-server
chef-server: command not found
root@pdxchef02v:/usr/local/bin#

If I search the system for chef-server after doing a chef-solo install all I get is a bunch of broken links to the actual binary. If I specify the 10.12.0 version of the gem it installs without any problems.

Tim Smith

Operations Engineer, SaaS Operations

M: +1 707.738.8132

TW: @tas50

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo


#2

On Sat, Sep 8, 2012 at 11:38 PM, Tim Smith Tim.Smith@webtrends.com wrote:

root@pdxchef02v:/usr/local/bin# gem install chef-server
Successfully installed chef-server-10.14.0
1 gem installed
Installing ri documentation for chef-server-10.14.0…
Installing RDoc documentation for chef-server-10.14.0…
root@pdxchef02v:/usr/local/bin# chef-server
chef-server: command not found
root@pdxchef02v:/usr/local/bin#

If I search the system for chef-server after doing a chef-solo install
all I get is a bunch of broken links to the actual binary. If I specify
the 10.12.0 version of the gem it installs without any problems.

What’s your ruby environment like? Are you using anything fancy like
rvm/rbenv? Do you have rubygems installed from source? Is it installed more
than once?

What version of ‘chef-server-api’ is installed? That is where the binary is
(chef-server is just a meta-package).

$ gem contents chef-server-api | grep bin
/usr/lib/ruby/gems/1.8/gems/chef-server-api-10.14.0/bin/chef-server

Bryan


#3

The environment was a stock Precise setup without any changes. I just used chef-solo to do a server install and everything but the server actually installed. I’ve since backed out 10.14 and just used 10.12 so I don’t have much information to give you

Tim Smith

Operations Engineer, SaaS Operations

M: +1 707.738.8132

TW: @tas50

webtrendshttp://www.webtrends.com/

Real-Time Relevance. Remarkable ROI.™

London | Portland | San Francisco | Melbourne | Tokyo

From: Bryan McLellan <btm@loftninjas.orgmailto:btm@loftninjas.org>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Monday, September 10, 2012 2:52 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Chef-server 10.14 gem appears to be broken

On Sat, Sep 8, 2012 at 11:38 PM, Tim Smith <Tim.Smith@webtrends.commailto:Tim.Smith@webtrends.com> wrote:
root@pdxchef02v:/usr/local/bin# gem install chef-server
Successfully installed chef-server-10.14.0
1 gem installed
Installing ri documentation for chef-server-10.14.0…
Installing RDoc documentation for chef-server-10.14.0…
root@pdxchef02v:/usr/local/bin# chef-server
chef-server: command not found
root@pdxchef02v:/usr/local/bin#

If I search the system for chef-server after doing a chef-solo install all I get is a bunch of broken links to the actual binary. If I specify the 10.12.0 version of the gem it installs without any problems.

What’s your ruby environment like? Are you using anything fancy like rvm/rbenv? Do you have rubygems installed from source? Is it installed more than once?

What version of ‘chef-server-api’ is installed? That is where the binary is (chef-server is just a meta-package).

$ gem contents chef-server-api | grep bin
/usr/lib/ruby/gems/1.8/gems/chef-server-api-10.14.0/bin/chef-server

Bryan


#4

Tim,

Any chance the files were installed in /usr/local/bin?

I reported a bug with the chef-server::rubygems-install recipe under Precise last week that was leaving me in the same state (albeit with Chef Server 10.12.0):

http://tickets.opscode.com/browse/COOK-1612


Kevin Yank
Chief Technology Officer, Avalanche Technology Group / AVG (AU/NZ) Pty Ltd

2/101 Tulip Street, Sandringham Victoria 3191 Australia
ph: +61 3 9581 0806

On 11/09/2012, at 8:02 AM, Tim Smith Tim.Smith@Webtrends.com
wrote:

The environment was a stock Precise setup without any changes. I just used chef-solo to do a server install and everything but the server actually installed. I’ve since backed out 10.14 and just used 10.12 so I don’t have much information to give you

Tim Smith
Operations Engineer, SaaS Operations
M: +1 707.738.8132
TW: @tas50
webtrends
Real-Time Relevance. Remarkable ROI.™
London | Portland | San Francisco | Melbourne | Tokyo

From: Bryan McLellan btm@loftninjas.org
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Monday, September 10, 2012 2:52 PM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Chef-server 10.14 gem appears to be broken

On Sat, Sep 8, 2012 at 11:38 PM, Tim Smith Tim.Smith@webtrends.com wrote:
root@pdxchef02v:/usr/local/bin# gem install chef-server
Successfully installed chef-server-10.14.0
1 gem installed
Installing ri documentation for chef-server-10.14.0…
Installing RDoc documentation for chef-server-10.14.0…
root@pdxchef02v:/usr/local/bin# chef-server
chef-server: command not found
root@pdxchef02v:/usr/local/bin#

If I search the system for chef-server after doing a chef-solo install all I get is a bunch of broken links to the actual binary. If I specify the 10.12.0 version of the gem it installs without any problems.

What’s your ruby environment like? Are you using anything fancy like rvm/rbenv? Do you have rubygems installed from source? Is it installed more than once?

What version of ‘chef-server-api’ is installed? That is where the binary is (chef-server is just a meta-package).

$ gem contents chef-server-api | grep bin
/usr/lib/ruby/gems/1.8/gems/chef-server-api-10.14.0/bin/chef-server

Bryan