[Debian-ha-maintainers] Bug#818760: pcsd is failing to start

Alex Damb theice at inbox.ru
Sun Mar 20 13:50:42 UTC 2016


Package: pcs
Version: 0.9.149-1

When starting pcsd, it failing to start due to missing ruby lib called orderedhash

# service pcsd start
# service pcsd status
● pcsd.service - PCS GUI and remote configuration interface
Loaded: loaded (/lib/systemd/system/pcsd.service; enabled)
Active: failed (Result: exit-code) since Вс 2016-03-20 21:18:25 IRKT; 5min ago
Process: 4896 ExecStart=/usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb & > /dev/null & (code=exited, status=1/FAILURE)
Main PID: 4896 (code=exited, status=1/FAILURE)
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/share/pcsd/config.rb:2:in `<top (required)>'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/share/pcsd/pcs.rb:12:in `<top (required)>'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
мар 20 21:18:25 olimpclm0 ruby[4896]: from /usr/share/pcsd/ssl.rb:7:in `<main>'
# /usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- orderedhash (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'
from /usr/share/pcsd/config.rb:2:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/backports/std_lib.rb:9:in `require_with_backports'
from /usr/share/pcsd/pcs.rb:12:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/share/pcsd/ssl.rb:7:in `<main>'
The problem solves when orderedhash is intalled:
# 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

# service pcsd start
# service pcsd status
● pcsd.service - PCS GUI and remote configuration interface
Loaded: loaded (/lib/systemd/system/pcsd.service; enabled)
Active: active (running) since Вс 2016-03-20 21:23:31 IRKT; 1s ago
Main PID: 4944 (ruby)
CGroup: /system.slice/pcsd.service
└─4944 /usr/bin/ruby -C/var/lib/pcsd -I/usr/share/pcsd -- /usr/share/pcsd/ssl.rb & > /dev/null &

I suggest that dependency on orderedhash will be added to pcs package.

I am using GNU/Debian Jessie with pcs from stretch: 
# apt-cache showpkg pcs
Package: pcs
Versions: 
0.9.149-1 (/var/lib/apt/lists/mirror.yandex.ru_debian_dists_stretch_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language: 
File: /var/lib/apt/lists/mirror.yandex.ru_debian_dists_stretch_main_binary-amd64_Packages
MD5: c0a6a66cfb51ad928cea3b9db4755d69
Description Language: en
File: /var/lib/apt/lists/mirror.yandex.ru_debian_dists_stretch_main_i18n_Translation-en
MD5: c0a6a66cfb51ad928cea3b9db4755d69

Reverse Depends: 
pacemaker,pcs
pacemaker,pcs
Dependencies: 
0.9.149-1 - python:any (3 2.8) python:any (2 2.7.5-5~) init-system-helpers (2 1.18~) fonts-liberation (0 (null)) python2.7 (2 2.7.9) ruby (0 (null)) ruby-backports (0 (null)) ruby-eventmachine (0 (null)) ruby-highline (0 (null)) ruby-json (0 (null)) ruby-multi-json (0 (null)) ruby-open4 (0 (null)) ruby-rack (0 (null)) ruby-rack-protection (0 (null)) ruby-rack-test (0 (null)) ruby-rpam-ruby19 (0 (null)) ruby-sinatra (0 (null)) ruby-sinatra-contrib (0 (null)) ruby-thor (0 (null)) ruby-tilt (0 (null)) rubygems-integration (0 (null)) pacemaker (2 1.1.12) python-pcs (0 (null)) pacemaker (3 1.1.12) pacemaker (3 1.1.12) 
Provides: 
0.9.149-1 - 
Reverse Provides:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20160320/09b9f2b0/attachment.html>


More information about the Debian-ha-maintainers mailing list