|
Bugzilla – Full Text Bug Listing |
| Summary: | Hawk backend fails to start | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | John Goutbeck <john.goutbeck> |
| Component: | High Availability | Assignee: | SUSE Linux Enterprise High Availability Team <ha-bugs> |
| Status: | CONFIRMED --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aburlakov, bobafetthotmail, dmaiocchi, jbrielmaier, jiri.belka, stemaras |
| Version: | Leap 15.3 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Leap 15.3 | ||
| Whiteboard: | |||
| Found By: | Community User | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
John Goutbeck
2020-07-09 04:16:36 UTC
Installed openSUSE Leap 15.1 set IP zypper in hawk2 zypper in ha-cluster-bootstrap ha-cluster-init I see hawk & hawk-backend are active (runing) rpm -qa | grep railties ruby2.5-rubygem-railties-5_1-5.1.4-lp152.3.3.x86_64 - only 1 railties https://192.168.12.238:7630/ - get certificate error - accept - receive hawk2 login, login & view hawk2 screen great its working -- DVD upgrade with openSUSE Leap 15.2 after upgrade, hawk2 login working I see hawk & hawk-backend are active (runing) and still only 1 ruby2.5-rubygem-railties For now this is the way to get this to work until the repositories are fixed. Hi john thx for your bug. I did released recently an update in this direction, could you be so kind to retest this and let me know? Tia I did a fresh installation of an HA cluster on Leap 15.2 and run exactly into this problem. My Leap 15.2 instance is coming from a online upgrade from a freshly installed Leap 15.1. @John: Do you have a workaround? I did not see on in your posts... Hi all. I have installed on a notebook with win10 and VirtualBox 6.1.32 two Suse 15.3 instances. I did the setup and configuration for a two node cluster with the ha-cluster-bootstrap package. Installation and active cluster without problems. This post was created in 2020, but despite the past time and the software updates that there have been, today I still have exactly the same problem: hawk-backend does not activate and the page to manage the cluster (https://192.168. 1.101:7630 in my case) remains white. I installed the same versions and cluster on another workstation, but the problem remained. I followed all the steps suggested here, reinstalled hawk several times, but it didn't help. The web page for managing and configuring the cluster remains blank. I searched the net and have been on the problem for days, with no solution. What can you suggest to me? Thank you. Hi all. I have made several attempts, but the problem is always the same: hawk-backend does not activate and consequently it is not possible to access the browser interface for the setup of the cluster and related services. No suggestions? It is very strange that after so much time and version updates, this problem continues to arise and above all there is still no solution to fix this serious bug. same issue confirmed on Leap 15.3, 2 years later. Wtf people.
I have a workaround, this seems to be a package dependency issue.
by default hawk2 is installed with ruby2.5-rubygem-sass-rails-5.1 dependency, but hawk-backend fails
● hawk-backend.service - HA Web Konsole Backend
Loaded: loaded (/usr/lib/systemd/system/hawk-backend.service; static)
Active: failed (Result: exit-code) since Fri 2022-04-22 14:50:46 CEST; 994ms ago
Process: 27451 ExecStart=/usr/bin/puma.ruby2.5 -C /usr/share/hawk/config/puma.rb (code=exited, status=1/FAILURE)
Main PID: 27451 (code=exited, status=1/FAILURE)
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/lib64/ruby/gems/2.5.0/gems/puma-4.3.5/lib/puma/configuration.rb:246:in `app'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/lib64/ruby/gems/2.5.0/gems/puma-4.3.5/lib/puma/runner.rb:155:in `load_and_bind'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/lib64/ruby/gems/2.5.0/gems/puma-4.3.5/lib/puma/cluster.rb:413:in `run'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/lib64/ruby/gems/2.5.0/gems/puma-4.3.5/lib/puma/launcher.rb:172:in `run'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/lib64/ruby/gems/2.5.0/gems/puma-4.3.5/lib/puma/cli.rb:80:in `run'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/lib64/ruby/gems/2.5.0/gems/puma-4.3.5/bin/puma:10:in `<top (required)>'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/bin/puma.ruby2.5:23:in `load'
apr 22 14:50:46 susehost1 puma.ruby2.5[27451]: from /usr/bin/puma.ruby2.5:23:in `<main>'
apr 22 14:50:46 susehost1 systemd[1]: hawk-backend.service: Main process exited, code=exited, status=1/FAILURE
apr 22 14:50:46 susehost1 systemd[1]: hawk-backend.service: Failed with result 'exit-code'.
it actually needs ruby2.5-rubygem-sass-rails to work properly.
If you try to uninstall ruby2.5-rubygem-sass-rails-5.1 zypper will try to remove also hawk2 and other stuff, so we need to follow these steps:
install the new package
zypper install ruby2.5-rubygem-sass-rails
remove the old package (should remove ONLY this package)
zypper remove ruby2.5-rubygem-sass-rails-5.1
restart hawk-backend service
systemctl restart hawk-backend
now the web interface is accessible at the IP configured.
IMO hawk2 requires should be tighter:
---%>---
# zypper if --requires hawk2 | grep sass
rubygem(ruby:2.5.0:sass-rails) >= 5.0.1
# zypper --no-refresh se --provides 'rubygem(ruby:2.5.0:sass-rails)>=5.0.1'
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+--------------------------------+---------+------------------+--------+--------------------------------------
i | ruby2.5-rubygem-sass-rails | package | 5.0.7-1.21 | x86_64 | SLE-Product-HA15-SP4-Pool
| ruby2.5-rubygem-sass-rails-5.1 | package | 5.1.0-bp154.1.20 | x86_64 | SUSE-PackageHub-15-SP4-Backports-Pool
Note: For an extended search including not yet activated remote resources please use 'zypper
search-packages'.
---%<---
And an attempt to install hawk2 makes PackageHub packages to be installed (comments inline):
---%>---
# zypper --no-refresh -v in hawk2 [38/1865]
Autorefresh disabled.
Verbosity: 2
Non-option program arguments: 'hawk2'
Initializing Target
Loading repository data...
Reading installed packages...
Selecting 'hawk2-2.6.4+git.1618478653.7272e6b6-3.30.2.x86_64' from repository 'SLE-Product-HA15-SP4-Pool' for installation.
Resolving package dependencies...
Force resolution: No
The following 92 NEW packages are going to be installed:
cluster-glue 1.0.12+v1.git.1587474580.a5fda2bc-3.9.1
corosync 2.4.5-12.7.1
crmsh 4.4.0+20220708.6ed6b56f-150400.3.3.1
crmsh-scripts 4.4.0+20220708.6ed6b56f-150400.3.3.1
csync2 2.0+git.1600444747.83b3644-3.3.1
graphviz 2.48.0-150400.1.165
graphviz-gd 2.48.0-150400.1.8
graphviz-plugins-core 2.48.0-150400.1.165
hawk2 2.6.4+git.1618478653.7272e6b6-3.30.2
hawk-apiserver 0.0.4+git.1604696958.cd5cdf1-5.6.1
libcfg6 2.4.5-12.7.1
libcmap4 2.4.5-12.7.1
libcorosync_common4 2.4.5-12.7.1
libcpg4 2.4.5-12.7.1
libglue2 1.0.12+v1.git.1587474580.a5fda2bc-3.9.1
libgraphviz6 2.48.0-150400.1.165
libgts-0_7-5 0.7.6_p20121130-1.32
libpacemaker3 2.1.2+20211124.ada5c3b36-150400.2.43
libqb100 2.0.4+20211112.a2691b9-150400.2.4
libquorum5 2.4.5-12.7.1
librsync2 1.0.0-1.27
libsam4 2.4.5-12.7.1
libtotem_pg5 2.4.5-12.7.1
libvotequorum8 2.4.5-12.7.1
openssl 1.1.1l-150400.1.5
pacemaker 2.1.2+20211124.ada5c3b36-150400.2.43
pacemaker-cli 2.1.2+20211124.ada5c3b36-150400.2.43
python3-cssselect 1.0.3-150000.3.3.1
python3-lxml 4.7.1-3.7.1
python3-parallax 1.0.6-150200.4.6.1
resource-agents 4.10.0+git40.0f4de473-150400.3.7.1
ruby2.5-rubygem-actioncable-5_1 5.1.4-1.26
ruby2.5-rubygem-actionmailer-5_1 5.1.4-1.26
ruby2.5-rubygem-actionpack-5_1 5.1.4-150000.3.12.1
ruby2.5-rubygem-actionpack-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-actionview-5_1 5.1.4-3.3.1
ruby2.5-rubygem-actionview-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-activejob-5_1 5.1.4-3.3.1
ruby2.5-rubygem-activemodel-5_1 5.1.4-1.26
ruby2.5-rubygem-activerecord-5_1 5.1.4-5.3.3
ruby2.5-rubygem-activesupport-5_1 5.1.4-150000.3.6.1
ruby2.5-rubygem-activesupport-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-arel 8.0.0-1.26
ruby2.5-rubygem-axiom-types 0.1.1-1.28
ruby2.5-rubygem-builder 3.2.3-1.29
ruby2.5-rubygem-bundler 1.16.1-3.3.1
ruby2.5-rubygem-coercible 1.0.0-1.28
ruby2.5-rubygem-concurrent-ruby 1.0.5-1.28
ruby2.5-rubygem-crass 1.0.3-1.19
ruby2.5-rubygem-descendants_tracker 0.0.4-1.28
ruby2.5-rubygem-equalizer 0.0.11-1.28
ruby2.5-rubygem-erubi 1.10.0-150400.1.5
ruby2.5-rubygem-ffi 1.9.18-1.31
ruby2.5-rubygem-gettext 3.2.5-1.17
ruby2.5-rubygem-gettext_i18n_rails 1.8.0-1.28
ruby2.5-rubygem-gettext_i18n_rails_js 1.3.0-1.28
ruby2.5-rubygem-globalid 0.4.1-1.24
ruby2.5-rubygem-i18n 0.9.1-1.21
ruby2.5-rubygem-ice_nine 0.11.2-1.29
ruby2.5-rubygem-js-routes 1.4.1-1.26
ruby2.5-rubygem-kramdown 1.15.0-1.28
ruby2.5-rubygem-locale 2.1.2-1.28
ruby2.5-rubygem-loofah 2.2.2-4.3.1
ruby2.5-rubygem-mail 2.7.1-3.3.1
ruby2.5-rubygem-method_source 0.9.0-1.26
ruby2.5-rubygem-mini_mime 1.0.0-1.17
ruby2.5-rubygem-nio4r 2.1.0-1.28
ruby2.5-rubygem-po_to_json 1.0.1-1.28
ruby2.5-rubygem-puma 4.3.11-150000.3.6.2
ruby2.5-rubygem-rack 2.0.8-150000.3.6.1
ruby2.5-rubygem-rack-test-0_6 0.6.3-1.28
ruby2.5-rubygem-rails-5_1 5.1.4-1.26
ruby2.5-rubygem-rails-dom-testing 2.0.3-1.28
ruby2.5-rubygem-rails-html-sanitizer 1.0.4-2.11
ruby2.5-rubygem-railties-5_1 5.1.4-3.3.1
ruby2.5-rubygem-railties-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-rb-fsevent 0.11.0-150400.1.5
ruby2.5-rubygem-rb-inotify 0.9.10-1.26
ruby2.5-rubygem-sass 3.5.3-1.19
ruby2.5-rubygem-sass-listen 4.0.0-1.26
ruby2.5-rubygem-sass-rails-5.1 5.1.0-bp154.1.20
ruby2.5-rubygem-sprockets 3.7.2-3.3.1
ruby2.5-rubygem-sprockets-rails 3.2.1-1.26
ruby2.5-rubygem-text 1.3.1-1.28
ruby2.5-rubygem-thor 0.20.0-1.27
ruby2.5-rubygem-thread_safe 0.3.6-1.28
ruby2.5-rubygem-tilt 2.0.8-1.27
ruby2.5-rubygem-tzinfo-1.2 1.2.7-bp154.1.19
ruby2.5-rubygem-virtus 1.0.5-1.28
ruby2.5-rubygem-websocket-driver-0_6 0.6.5-1.25
ruby2.5-rubygem-websocket-extensions 0.1.3-1.18
sqlite3 3.36.0-3.12.1
The following 6 packages have no support information from their vendor:
ruby2.5-rubygem-actionpack-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-actionview-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-activesupport-5.2 5.2.3-bp154.1.20
ruby2.5-rubygem-railties-5.2 5.2.3-bp154.1.20
^---+--- this will make hawk fail
ruby2.5-rubygem-sass-rails-5.1 5.1.0-bp154.1.20
^---+--- this will make hawk fail
ruby2.5-rubygem-tzinfo-1.2 1.2.7-bp154.1.19
92 new packages to install.
Overall download size: 9.3 MiB. Already cached: 22.6 MiB. After the operation, additional 84.7 MiB will be used.
---%<---
Just installed openSUSE Leap 15.4 Same Hawk issue that was originally reported of a browser blank screen. --- Followed Alberto Bursi steps to get hawk & hawk-backend working. Thanks Alberto. Now I can browse to Hawk, login. -- Come on SUSE & developers please fix this issue. Maybe my message was ignored because it was private... installing the rails-5.2 should help. Please do zypper in -y ruby2.5-rubygem-rails-5.2 systemctl restart hawk hawk-backend systemctl status hawk hawk-backend |