pcsd service fails to start upon boot

Solution In Progress - Updated -

Issue

When using the PCSD_BIND_ADDR in /etc/sysconfig/pcsd and network comes up later than pcsd service, it throws an error like the following:

[2018-10-10 12:41:17] INFO  WEBrick 1.3.1
I, [2018-10-10T12:41:17.419138 #4390]  INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name
[2018-10-10 12:41:17] INFO  ruby 2.0.0 (2015-12-16) [x86_64-linux]
I, [2018-10-10T12:41:17.419595 #4390]  INFO -- : CIB USER: hacluster, groups:
[2018-10-10 12:41:17] WARN  TCPServer Error: Cannot assign requested address - bind(2)
/usr/share/ruby/webrick/utils.rb:85:in `initialize': Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL)
        from /usr/share/ruby/webrick/utils.rb:85:in `new'
        from /usr/share/ruby/webrick/utils.rb:85:in `block in create_listeners'
        from /usr/share/ruby/webrick/utils.rb:82:in `each'
        from /usr/share/ruby/webrick/utils.rb:82:in `create_listeners'
        from /usr/share/ruby/webrick/ssl.rb:152:in `listen'
        from /usr/share/ruby/webrick/server.rb:113:in `initialize'
        from /usr/share/ruby/webrick/httpserver.rb:45:in `initialize'
        from /usr/lib/pcsd/vendor/bundle/ruby/gems/rack-1.6.4/lib/rack/handler/webrick.rb:31:in `new'
        from /usr/lib/pcsd/vendor/bundle/ruby/gems/rack-1.6.4/lib/rack/handler/webrick.rb:31:in `run'
        from /usr/lib/pcsd/ssl.rb:69:in `run_server'
        from /usr/lib/pcsd/ssl.rb:160:in `<top (required)>'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /usr/lib/pcsd/pcsd:14:in `<main>'

Manual starting the service after boot works fine, since the IP address is available then.

Environment

  • Red Hat Enterprise Linux Server 7 (with the High Availability Add On)
  • pacemaker

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content