← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1580035] Re: pcsd does not start due to missing ruby gem orderedhash

 

** Also affects: pcs (Ubuntu Zesty)
   Importance: Medium
     Assignee: Rafael David Tinoco (inaddy)
       Status: Confirmed

** Also affects: pcs (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: pcs (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1580035

Title:
  pcsd does not start due to missing ruby gem orderedhash

Status in pcs package in Ubuntu:
  Confirmed
Status in pcs source package in Xenial:
  New
Status in pcs source package in Yakkety:
  New
Status in pcs source package in Zesty:
  Confirmed
Status in pcs package in Debian:
  Fix Released

Bug description:
  [Impact]

   * PCS doesn't work without gem not included in distro.

  [Test Case]

   * Install PCS in Xenial and check errors.

  [Regression Potential]

   * None since the tool doesn't work.

  [Other Info]
   
   * Fixing LP: #1580035 in SRU for LP: #1640919.

  [Original Description]

  Greetings,

  after the first installation of pcs on a freshly installed Ubuntu
  16.04 minimal the pcsd cannot start because of a missing gem.

  ----------------->%-----------------
  lsb_release -rd
  Description:    Ubuntu 16.04 LTS
  Release:        16.04
  -----------------%<-----------------
  apt-cache policy pcs
  pcs:
    Installed: 0.9.149-1
    Candidate: 0.9.149-1
    Version table:
   *** 0.9.149-1 500
          500 http://mirror.hetzner.de/ubuntu/packages xenial/universe amd64 Packages
          500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
          100 /var/lib/dpkg/status
  ----------------->%-----------------

  ----------------->%-----------------
  root@Ubuntu-1604-xenial-64-minimal ~ # journalctl -u pcsd
  -- Logs begin at Tue 2016-05-10 08:12:21 CEST, end at Tue 2016-05-10 08:20:02 CEST. --
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal systemd[1]: Started PCS GUI and remote configuration interface.
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]: /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- orderedhash (LoadError)
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/share/pcsd/config.rb:2:in `<top (required)>'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/share/pcsd/pcs.rb:12:in `<top (required)>'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal ruby[11517]:         from /usr/share/pcsd/ssl.rb:7:in `<main>'
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal systemd[1]: pcsd.service: Main process exited, code=exited, status=1/FAILURE
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal systemd[1]: pcsd.service: Unit entered failed state.
  May 10 08:15:28 Ubuntu-1604-xenial-64-minimal systemd[1]: pcsd.service: Failed with result 'exit-code'.
  -----------------%<-----------------

  After installing the gem manually it runs fine:
  ----------------->%-----------------
  root@Ubuntu-1604-xenial-64-minimal ~ # gem install orderedhash
  Fetching: orderedhash-0.0.6.gem (100%)
  Successfully installed orderedhash-0.0.6
  Parsing documentation for orderedhash-0.0.6
  Installing ri documentation for orderedhash-0.0.6
  Done installing documentation for orderedhash after 0 seconds
  1 gem installed
  root@Ubuntu-1604-xenial-64-minimal ~ # systemctl restart pcsd.service
  root@Ubuntu-1604-xenial-64-minimal ~ # systemctl status pcsd.service
  â pcsd.service - PCS GUI and remote configuration interface
     Loaded: loaded (/lib/systemd/system/pcsd.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2016-05-10 08:21:07 CEST; 4s ago
   Main PID: 11607 (ruby)
      Tasks: 4 (limit: 512)
     CGroup: /system.slice/pcsd.service
             ââ11607 /usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb & > /dev/null &

  May 10 08:21:07 Ubuntu-1604-xenial-64-minimal systemd[1]: Started PCS GUI and remote configuration interface.
  -----------------%<-----------------

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