Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admin node installation issue #1819

Open
tsipa opened this issue May 29, 2013 · 4 comments
Open

admin node installation issue #1819

tsipa opened this issue May 29, 2013 · 4 comments

Comments

@tsipa
Copy link
Contributor

tsipa commented May 29, 2013

if /tftpboot/ubuntu_dvd/extra/install will be called few times it rename rack into something like rack-deb-deb-deb-deb-deb-deb and chef-server wiil fail with message like
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- rack-deb-deb-deb-deb-deb-deb (LoadError)

sed -i -e "s/rack/rack-deb/g" /usr/lib/ruby/vendor_ruby/thin.rb

that hack should be eleminated in some way at least
sed -e "s/rack[^-]/rack-deb/g" /usr/lib/ruby/vendor_ruby/thin.rb
will be enought.

@dpaterson
Copy link
Contributor

I saw something similar happen yesterday but I did a dev fetch/sync last night and that iso installed and discovered nodes no problem. When was the last time you updated your codebase?

From: tsipa [mailto:notifications@github.com]
Sent: Wednesday, May 29, 2013 11:31 AM
To: crowbar/crowbar
Subject: [crowbar] admin node installation issue (#1819)

if /tftpboot/ubuntu_dvd/extra/install will be called few times it rename rack into something like rack-deb-deb-deb-deb-deb-deb and chef-server wiil fail with message like
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- rack-deb-deb-deb-deb-deb-deb (LoadError)

sed -i -e "s/rack/rack-deb/g" /usr/lib/ruby/vendor_ruby/thin.rb

that hack should be eleminated in some way at least
sed -e "s/rack[^-]/rack-deb/g" /usr/lib/ruby/vendor_ruby/thin.rb
will be enought.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1819.

@tsipa
Copy link
Contributor Author

tsipa commented Jun 4, 2013

Last time i saw issue was 30.05.2013. According to code analyse the issue is still present.

@ociuhandu
Copy link

I've found the same issue in my build from last night (pebbles branch, build 3918). I've tried to install it, had a small error and run the /tftpboot/ubuntu_dvd/extra/install again after fixing the error (in locales/en.yml). Now the whole node fails with /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- rack-deb-deb (LoadError)

@tsipa
Copy link
Contributor Author

tsipa commented Jul 23, 2013

well, okay, i'l push fix for today or tomorrow maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants