Bug 48348

Summary: Не запускается opennebula-sunstone.service
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: opennebula-sunstoneAssignee: Alexey Shabalin <shaba>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: osmolovskayaaa, thatman, zurabishvilinn
Version: unstable   
Hardware: x86_64   
OS: Linux   
See Also: https://bugzilla.altlinux.org/show_bug.cgi?id=51726

Description Alexander Makeenkov 2023-11-07 11:02:22 MSK
Версия пакета:
6.6.1.1-alt1

Шаги воспроизведения:
# apt-get install opennebula-server opennebula-sunstone
# systemctl start opennebula (см. https://bugzilla.altlinux.org/48347)
# systemctl start opennebula-sunstone

Получаемый результат:
systemd[1]: Started opennebula-sunstone.service - OpenNebula Web UI Server.
opennebula-sunstone[13351]: WARNING: Nokogiri was built against libxml version 2.10.3, but has dynamically loaded 2.10.4
opennebula-sunstone[13351]: --------------------------------------
opennebula-sunstone[13351]:          Server configuration
opennebula-sunstone[13351]: --------------------------------------
opennebula-sunstone[13351]: {:tmpdir=>"/var/tmp",
opennebula-sunstone[13351]:  :one_xmlrpc=>"http://localhost:2633/RPC2",
opennebula-sunstone[13351]:  :one_xmlrpc_timeout=>60,
opennebula-sunstone[13351]:  :subscriber_endpoint=>"tcp://localhost:2101",
opennebula-sunstone[13351]:  :host=>"0.0.0.0",
opennebula-sunstone[13351]:  :port=>9869,
opennebula-sunstone[13351]:  :sessions=>"memory",
opennebula-sunstone[13351]:  :memcache_host=>"localhost",
opennebula-sunstone[13351]:  :memcache_port=>11211,
opennebula-sunstone[13351]:  :memcache_namespace=>"opennebula.sunstone",
opennebula-sunstone[13351]:  :env=>"prod",
opennebula-sunstone[13351]:  :log=>{:level=>3, :system=>"file"},
opennebula-sunstone[13351]:  :auth=>"opennebula",
opennebula-sunstone[13351]:  :core_auth=>"cipher",
opennebula-sunstone[13351]:  :two_factor_auth_issuer=>"opennebula",
opennebula-sunstone[13351]:  :webauthn_origin=>"http://localhost:9869",
opennebula-sunstone[13351]:  :webauthn_rpname=>"OpenNebula Cloud",
opennebula-sunstone[13351]:  :webauthn_timeout=>60000,
opennebula-sunstone[13351]:  :vnc_proxy_port=>29876,
opennebula-sunstone[13351]:  :vnc_proxy_support_wss=>false,
opennebula-sunstone[13351]:  :vnc_proxy_cert=>nil,
opennebula-sunstone[13351]:  :vnc_proxy_key=>nil,
opennebula-sunstone[13351]:  :vnc_proxy_ipv6=>false,
opennebula-sunstone[13351]:  :vnc_request_password=>false,
opennebula-sunstone[13351]:  :allow_vnc_federation=>false,
opennebula-sunstone[13351]:  :keep_me_logged=>true,
opennebula-sunstone[13351]:  :lang=>"en_US",
opennebula-sunstone[13351]:  :table_order=>"desc",
opennebula-sunstone[13351]:  :mode=>"mixed",
opennebula-sunstone[13351]:  :get_extended_vm_info=>false,
opennebula-sunstone[13351]:  :get_extended_vm_monitoring=>false,
opennebula-sunstone[13351]:  :paginate=>"[[6, 12, 36, 72], [6, 12, 36, 72]]",
opennebula-sunstone[13351]:  :leases=>
opennebula-sunstone[13351]:   {"suspend"=>
opennebula-sunstone[13351]:     {"time"=>"+1209600",
opennebula-sunstone[13351]:      "color"=>"#000000",
opennebula-sunstone[13351]:      "warning"=>{"time"=>"-86400", "color"=>"#085aef"}},
opennebula-sunstone[13351]:    "terminate"=>
opennebula-sunstone[13351]:     {"time"=>"+1209600",
opennebula-sunstone[13351]:      "color"=>"#e1ef08",
opennebula-sunstone[13351]:      "warning"=>{"time"=>"-86400", "color"=>"#ef2808"}}},
opennebula-sunstone[13351]:  :disable_guacamole_info_header=>false,
opennebula-sunstone[13351]:  :threshold_min=>0,
opennebula-sunstone[13351]:  :threshold_low=>33,
opennebula-sunstone[13351]:  :threshold_high=>66,
opennebula-sunstone[13351]:  :support_fs=>["ext4", "ext3", "ext2", "xfs"],
opennebula-sunstone[13351]:  :oneflow_server=>"http://localhost:2474/",
opennebula-sunstone[13351]:  :routes=>["oneflow", "vcenter", "support", "nsx"],
opennebula-sunstone[13351]:  :webauthn_avail=>true,
opennebula-sunstone[13351]:  :session_expire_time=>3600}
opennebula-sunstone[13351]: --------------------------------------
systemd[1]: opennebula-sunstone.service: Main process exited, code=exited, status=255/EXCEPTION
systemd[1]: opennebula-sunstone.service: Failed with result 'exit-code'.

В логах /var/log/one/sunstone.log только такие сообщения:
Tue Nov 07 10:53:22 2023 [E]: Unknown alias: provisionactions

В p10 на версии 6.2.0.1-alt4.1 не воспроизводится. Ошибка "Unknown alias: provisionactions" в логах не появляется.
Comment 1 Alexey Shabalin 2023-11-13 19:22:34 MSK
есть возможность протестировать #334114?
Comment 2 Alexander Makeenkov 2023-11-13 19:54:38 MSK
(Ответ для Alexey Shabalin на комментарий #1)
> есть возможность протестировать #334114?

Да, завтра попробую.
Comment 3 Alexander Makeenkov 2023-11-14 09:11:58 MSK
(Ответ для Alexey Shabalin на комментарий #1)
> есть возможность протестировать #334114?

Ошибка запуска opennebula-sunstone осталась:

# rpm -q opennebula-sunstone && cat /var/log/one/sunstone.log 
opennebula-sunstone-6.6.1.1-alt2.noarch
# Logfile created on 2023-11-14 09:10:05 +0300 by logger.rb/v1.5.0
Tue Nov 14 09:10:05 2023 [E]: Unknown alias: provisionactions
Tue Nov 14 09:10:14 2023 [E]: Unknown alias: provisionactions
Tue Nov 14 09:10:22 2023 [E]: Unknown alias: provisionactions
Comment 4 Osmolovskaya Anastasia 2024-06-28 10:11:57 MSK
Актуально для версии пакета: 6.6.1.1-alt2
Comment 5 Nikolai Zurabishvili 2024-10-15 17:51:13 MSK
В 6.6.1.1-alt2 лог выглядит теперь так 

# cat /var/log/one/sunstone.log 
# Logfile created on 2024-10-15 17:24:45 +0300 by logger.rb/v1.6.0
Tue Oct 15 17:24:45 2024 [E]: Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`.
Tue Oct 15 17:24:52 2024 [E]: Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`.
Tue Oct 15 17:24:58 2024 [E]: Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`.alhost-20241011 ~]