Uploaded image for project: 'MCollective'
  1. MCollective
  2. MCO-139

fails to run on debian/ubuntu with ruby 1.9

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • MCO 2.4.0
    • Platform
    • Debian Wheezy or Ubuntu 13.04 or later

    • Critical

    Description

      Current debian packags install mcollective in /usr/lib/ruby1.8. This works fine as long as /usr/bin/ruby is ruby 1.8.

      Starting with debian-wheezy and ubuntu-quantal (both due soon), the default ruby version is 1.9. When installing the packages from apt.puppetlabs.com on these systems, mcollective fails to start, which corrupts dpkg consistency:

      Unpacking mcollective-common (from .../mcollective-common_2.2.0-2_all.deb) ...
      Selecting previously unselected package mcollective.
      Unpacking mcollective (from .../mcollective_2.2.0-2_all.deb) ...
      Setting up mcollective-common (2.2.0-2) ...
      Setting up mcollective (2.2.0-2) ...
      Starting daemon: mcollective
      /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file – mcollective (LoadError)
      from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from /usr/sbin/mcollectived:3:in `<main>'
      invoke-rc.d: initscript mcollective, action "start" failed.
      dpkg: error processing mcollective (--configure):
      subprocess installed post-installation script returned error exit status 1
      configured to not write apport reports
      Errors were encountered while processing:
      mcollective
      E: Sub-process /usr/bin/dpkg returned an error code (1)

      the bug has been fixed in source code but no updated stable release has been made so packages on apt.puppetlabs.com remain broken out of the box

      Old Ticket - http://projects.puppetlabs.com/issues/16572

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anthonysomerset Anthony Somerset
              Erik Dasher Erik Dasher
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support