Bug 37837

Summary: Не запускается сервис pcsd
Product: Sisyphus Reporter: Alexander Makeenkov <amakeenk>
Component: pcsAssignee: nbr <nbr>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: antohami, cas, cow, evg, george, grenka, imz, kotopesutility, lav, led, majioa, mike, nbr, pav, qa_viy, rider, sem, shaba, sin, slev, stalker, toni, vitty, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexander Makeenkov 2020-01-16 10:30:10 MSK
Версия: pcs-0.10.3-alt1.1
Система: ALT Server x86_64

Установленные пакеты: pcs python3-module-pcs python3-module-snmp ruby-pcsd

Не удаётся запустить сервис pcsd:

# systemctl start pcsd
Job for pcsd.service failed because the control process exited with error code.
See "systemctl status pcsd.service" and "journalctl -xe" for details.

# journalctl -f
янв 16 10:20:19 hosta systemd[1]: Starting PCS GUI and remote configuration interface...
янв 16 10:20:19 hosta systemd[1]: pcsd.service: Main process exited, code=exited, status=1/FAILURE
янв 16 10:20:19 hosta systemd[1]: pcsd.service: Failed with result 'exit-code'.
янв 16 10:20:19 hosta systemd[1]: Failed to start PCS GUI and remote configuration interface.

В логах /var/log/pcsd/pcsd.log при этом появляются следующие ошибки:

# cat /var/log/pcsd/pcsd.log
E, [2020-01-16T10:20:19.420 #00000]    ERROR -- : Ruby handlers entrypoint '/usr/lib/ruby/site_ruby/pcsd/sinatra_cmdline_wrapper.rb' does not exist
E, [2020-01-16T10:20:19.420 #00000]    ERROR -- : Directory with web UI assets '/usr/lib/ruby/site_ruby/pcsd/public' does not exist
Comment 1 Repository Robot 2020-03-19 14:46:57 MSK
pcs-1:0.10.5-alt1 -> sisyphus:

 Wed Mar 18 2020 Pavel Skrylev <majioa@altlinux> 1:0.10.5-alt1
 - ^ 0.10.4 -> 0.10.5 (closes #36898)
 - fixed ! pcsd start (closes #37837)
 - fixed ! license according to SPDX and licenses in some files