[OOD-users] Underlying home directory changes

Nicklas, Jeremy jnicklas at osc.edu
Tue Oct 10 11:13:42 EDT 2017


Hi Kevin,

Thanks for the stack trace that helps a lot. Walking through the code it seems there is a bug in the Software Collections rh-ruby22 package that you discovered. Although this bug exists, your installation of Open OnDemand should still work assuming:

- you restarted the per-user NGINX process after you changed all the home directories (try restarting your PUN, or the nuclear option restarting the whole machine)
- from the OnDemand host machine expanding the "~" gives the correct full path to your home directory

Could you confirm these?

Jeremy Nicklas
Web and Interface App Engineer
Ohio Supercomputer Center (OSC)<https://osc.edu/>
A member of the Ohio Technology Consortium<https://oh-tech.org/>
1224 Kinnear Road, Columbus, Ohio 43212
Office: (614) 292-6739<tel:+16142926739> • Mobile: (614) 316-6428<tel:+16143166428> • Fax: (614) 292-7168<tel:+16142927168>
jnicklas at osc.edu<mailto:jnicklas at osc.edu>

Learn more about OSC at https://osc.edu<https://osc.edu/>
________________________________
From: OOD-users [ood-users-bounces+jnicklas=osc.edu at lists.osc.edu] on behalf of Kevin Manalo [kmanalo at jhu.edu]
Sent: Tuesday, October 10, 2017 10:52 AM
To: User support maiing list for Open OnDemand
Subject: Re: [OOD-users] Underlying home directory changes

I will try an update if you recommend that first (https://osc.github.io/ood-documentation/master/updating/update-infrastructure.html)
Thanks,
Kevin

From: OOD-users <ood-users-bounces at lists.osc.edu> on behalf of Kevin Manalo <kmanalo at jhu.edu>
Reply-To: User support maiing list for Open OnDemand <ood-users at lists.osc.edu>
Date: Tuesday, October 10, 2017 at 10:41 AM
To: User support maiing list for Open OnDemand <ood-users at lists.osc.edu>
Subject: [OOD-users] Underlying home directory changes

Hi all,

We have an existing OnDemand setup (based on 1.0), but recently we changed some of the backing $HOME locations (moved file mounts, etc. e.g. /home changed to /newhome-1)

This seems to generate these errors, which you may have experience with parsing (at least the Ruby part).

[ 2017-10-10 10:11:35.2900 82580/7fd369e78700 Pool2/Implementation.cpp:287 ]: Could not spawn process for application /var/www/ood/apps/sys/dashboard: An error occured while starting the web application.
  Error ID: 452c99be
  Message from application: undefined method `+' for nil:NilClass (NoMethodError)
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/path_support.rb:78:in `path='
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/path_support.rb:34:in `initialize'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems.rb:332:in `new'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems.rb:332:in `paths'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems.rb:355:in `path'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/specification.rb:870:in `dirs'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/specification.rb:748:in `stubs'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/specification.rb:936:in `find_inactive_by_path'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems.rb:187:in `try_activate'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require'
  /opt/rh/rh-passenger40/root/usr/share/passenger/phusion_passenger/native_support.rb:389:in `load_native_extension'
  /opt/rh/rh-passenger40/root/usr/share/passenger/phusion_passenger/native_support.rb:116:in `load_from_load_path'
  /opt/rh/rh-passenger40/root/usr/share/passenger/phusion_passenger/native_support.rb:37:in `try_load'
  /opt/rh/rh-passenger40/root/usr/share/passenger/phusion_passenger/native_support.rb:47:in `start'
  /opt/rh/rh-passenger40/root/usr/share/passenger/phusion_passenger/native_support.rb:405:in `<top (required)>'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
  /opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
  /opt/rh/rh-passenger40/root/usr/share/passenger/phusion_passenger.rb:237:in `require_passenger_lib'
  /opt/rh/rh-passenger40/root/usr/share/passenger/helper-scripts/rack-loader.rb:73:in `init_passenger'
  /opt/rh/rh-passenger40/root/usr/share/passenger/helper-scripts/rack-loader.rb:126:in `<module:App>'
  /opt/rh/rh-passenger40/root/usr/share/passenger/helper-scripts/rack-loader.rb:27:in `<module:PhusionPassenger>'
  /opt/rh/rh-passenger40/root/usr/share/passenger/helper-scripts/rack-loader.rb:26:in `<main>'

Any recommendations what I should try next?

--
Kevin Manalo, Ph.D.
Senior Software Engineer
Maryland Advanced Research Computing Center (MARCC)
Johns Hopkins University
kmanalo at jhu.edu<mailto:kmanalo at jhu.edu> | 410-516-7392

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ood-users/attachments/20171010/0abef91e/attachment-0001.html>


More information about the OOD-users mailing list