** 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 + TEST CASE 1: + 1. sudo apt-get install mcollective-middleware + 2. mcollective is not installed - it should be as this package wraps mcollective and rabbitmq into a single installable unit. + + TEST CASE 2: + 1. sudo apt-get install mcollective-client + 2. sudo mc-find-hosts - will fail with the following error message: + + /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 REGRESSION POTENTIAL: 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 fullfil missing dependencies ---- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs