[Bug 884908] Re: Package dependencies need work

Marc Cluet 884908 at bugs.launchpad.net
Wed Nov 23 16:03:03 UTC 2011


** Description changed:

+ ---- SRU Justification (Marc Cluet) ----
+ 
+ TEST CASE:
+ 1. Install mcollective-middleware, it won't install mcollective
+ 2. Install mcollective-clients, some of the plugins will fail due to the lack of rubygems, libsystemu-ruby or ruby-json
+ 
+ REGRESSION POTENTIAL:
+ It's just adding dependencies, regression potential almost 0.
+ 
+ COURSE OF ACTION FOR ONEIRIC:
+ Add the missing dependencies.
+ 
+ 1. Add mcollective in mcollective-middleware package so it installs the missing daemon
+ 2. Add rubygems, libsystemu-ruby or ruby-json on mcollective-clients package in order to 
+ 
+ ---- SRU Justification ----
+ 
  This is actually a bug report for mcollective, mcollective-middleware
  and mcollective-client.
  
  The package dependencies need to be looked at because as they stand now
  on Ubuntu 11.10 oneiric, they are not correct.
  
  What I have discovered so far is:
  
  mcollective-middleware need to depend on mcollective, otherwise the
  directory /etc/mcollective is not created.
  
  At least mcollective-client needs to depends on 'rubygems'. Without it you receive the following:
  $ mc-find-hosts
  /usr/lib/ruby/1.8/mcollective.rb:1:in `require': no such file to load -- rubygems (LoadError)
      from /usr/lib/ruby/1.8/mcollective.rb:1
      from /usr/sbin/mc-find-hosts:3:in `require'
      from /usr/sbin/mc-find-hosts:3
  
  I believe mcollective-middleware also needs to depend on rubygems,
  because the above error was replaced with "silence" after installing
  rubygems. Once I restarted the mcollective service, silence was replaced
  with the correct functionality.
  
  Please let me know if you need more information.
  
  Peter
- 
- ---- SRU Justification (Marc Cluet) ---
- 
- TEST CASE:
- 1. Install mcollective-middleware, it won't install mcollective
- 2. Install mcollective-clients, some of the plugins will fail due to the lack of rubygems, libsystemu-ruby or ruby-json
- 
- Regression potential:
- It's just adding dependencies, regression potential almost 0.
- 
- Course of action for oneiric:
- Add the missing dependencies.

** Description changed:

  ---- SRU Justification (Marc Cluet) ----
  
  TEST CASE:
  1. Install mcollective-middleware, it won't install mcollective
  2. Install mcollective-clients, some of the plugins will fail due to the lack of rubygems, libsystemu-ruby or ruby-json
  
  REGRESSION POTENTIAL:
- It's just adding dependencies, regression potential almost 0.
+ It's just adding missing dependencies, regression potential almost 0 since we don't incur in any other changes.
  
  COURSE OF ACTION FOR ONEIRIC:
  Add the missing dependencies.
  
  1. Add mcollective in mcollective-middleware package so it installs the missing daemon
- 2. Add rubygems, libsystemu-ruby or ruby-json on mcollective-clients package in order to 
+ 2. Add rubygems, libsystemu-ruby or ruby-json on mcollective-clients package in order to
  
  ---- SRU Justification ----
  
  This is actually a bug report for mcollective, mcollective-middleware
  and mcollective-client.
  
  The package dependencies need to be looked at because as they stand now
  on Ubuntu 11.10 oneiric, they are not correct.
  
  What I have discovered so far is:
  
  mcollective-middleware need to depend on mcollective, otherwise the
  directory /etc/mcollective is not created.
  
  At least mcollective-client needs to depends on 'rubygems'. Without it you receive the following:
  $ mc-find-hosts
  /usr/lib/ruby/1.8/mcollective.rb:1:in `require': no such file to load -- rubygems (LoadError)
      from /usr/lib/ruby/1.8/mcollective.rb:1
      from /usr/sbin/mc-find-hosts:3:in `require'
      from /usr/sbin/mc-find-hosts:3
  
  I believe mcollective-middleware also needs to depend on rubygems,
  because the above error was replaced with "silence" after installing
  rubygems. Once I restarted the mcollective service, silence was replaced
  with the correct functionality.
  
  Please let me know if you need more information.
  
  Peter

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mcollective in Ubuntu.
https://bugs.launchpad.net/bugs/884908

Title:
  Package dependencies need work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mcollective/+bug/884908/+subscriptions



More information about the Ubuntu-server-bugs mailing list