[Pacemaker] Hawk error

Carlos Xavier cbastos at connection.com.br
Wed Mar 2 21:37:25 UTC 2016


Hi.

I'm starting a new cluster on a OpenSuse 13.2, with the following packages installed:

hawk-0.7.0+git.1409894131.1344649-2.2.x86_64
hawk-templates-0.7.0+git.1409894131.1344649-2.2.x86_64
pacemaker-1.1.12.git20140904.266d5c2-1.5.x86_64
libpacemaker3-1.1.12.git20140904.266d5c2-1.5.x86_64
pacemaker-remote-1.1.12.git20140904.266d5c2-1.5.x86_64
pacemaker-cli-1.1.12.git20140904.266d5c2-1.5.x86_64
corosync-2.3.4-1.2.x86_64
libcorosync4-2.3.4-1.2.x86_64

When I did the installation of the system I installed hawk and it installed all the packages, including pacemaker and corosync.
At this time I got this simple configuration on the cluster:

node 1: rjgw-01
node 2: rjgw-02
primitive resIPMI-1 stonith:external/ipmi \
        params hostname=rjgw-01 ipaddr=172.31.0.246 userid=root passwd=genese interface=lan \
        op monitor interval=600 timeout=240 \
        meta target-role=Started
primitive resIPMI-2 stonith:external/ipmi \
        params hostname=rjgw-02 ipaddr=172.31.0.247 userid=root passwd=genese interface=lan \
        op monitor interval=600 timeout=240 \
        meta target-role=Started
location locIPMI-1 resIPMI-1 -inf: rjgw-01
location locIPMI-2 resIPMI-2 -inf: rjgw-02
property cib-bootstrap-options: \
        dc-version=1.1.12-1.1.12.git20140904.266d5c2 \
        cluster-infrastructure=corosync \
        last-lrm-refresh=1456949266 \
        no-quorum-policy=ignore \
        cluster-name=cluster_web
# vim: set filetype=pcmk:


I enabled the Hawk on the system and started it. When I tried to access the hawk interface it gave me the error 
500 - Internal Server Error

I verified the status of the program and got the messages below:

rjgw-01:~ # systemctl -l status hawk
hawk.service - HA Web Konsole (hawk)
   Loaded: loaded (/usr/lib/systemd/system/hawk.service; enabled)
   Active: active (running) since Wed 2016-03-02 18:28:21 BRT; 5s ago
  Process: 3130 ExecStartPre=/usr/sbin/lighttpd -t -f /srv/www/hawk/config/lighttpd.conf (code=exited, status=0/SUCCESS)
  Process: 3126 ExecStartPre=/srv/www/hawk/script/generate-ssl-cert (code=exited, status=0/SUCCESS)
 Main PID: 3132 (lighttpd)
   CGroup: /system.slice/hawk.service
           ââ3132 /usr/sbin/lighttpd -D -f /srv/www/hawk/config/lighttpd.conf

Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/gems/2.1.0/gems/railties-3.2.17/lib/rails/initializable.rb:30:in `run'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/gems/2.1.0/gems/railties-3.2.17/lib/rails/initializable.rb:55:in `block
in run_initializers'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/gems/2.1.0/gems/railties-3.2.17/lib/rails/initializable.rb:54:in `each'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/gems/2.1.0/gems/railties-3.2.17/lib/rails/initializable.rb:54:in
`run_initializers'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/gems/2.1.0/gems/railties-3.2.17/lib/rails/application.rb:136:in
`initialize!'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/gems/2.1.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in
`method_missing'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /srv/www/hawk/config/environment.rb:5:in `<top (required)>'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /usr/lib64/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Mar 02 18:28:22 rjgw-01 lighttpd[3132]: from /srv/www/hawk/public/dispatch.fcgi:8:in `<main>'

I have used Hawk on other cluster and never got those errors.

Am I missing something?
Please, can you help me to fix this issue?

Best Regards,
Carlos Xavier.





More information about the Pacemaker mailing list