Bug 48347 - syntax error, unexpected CBRACKET, expecting VARIABLE at line 96
Summary: syntax error, unexpected CBRACKET, expecting VARIABLE at line 96
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: opennebula (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-07 10:33 MSK by Alexander Makeenkov
Modified: 2023-11-07 10:33 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2023-11-07 10:33:23 MSK
Версия пакета:
6.6.1.1-alt1

Шаги воспроизведения:
# apt-get install opennebula-server opennebula-sunstone
# systemctl start opennebula

Получаемый результат:
systemd[1]: Starting opennebula.service - OpenNebula Cloud Controller Daemon...
opennebula[12843]: Error while parsing configuration file:
opennebula[12843]: syntax error, unexpected CBRACKET, expecting VARIABLE at line 96, columns 3547:3550
opennebula[12843]: Could not load nebula configuration file.
systemd[1]: opennebula.service: Main process exited, code=exited, status=255/EXCEPTION
opennebula[12847]: /usr/share/one/follower_cleanup:9:in `read': No such file or directory @ rb_sysopen - /var/lib/one/config (Errno::ENOENT)
opennebula[12847]:         from /usr/share/one/follower_cleanup:9:in `<main>'
systemd[1]: opennebula.service: Control process exited, code=exited, status=1/FAILURE
systemd[1]: opennebula.service: Failed with result 'exit-code'.
systemd[1]: Failed to start opennebula.service - OpenNebula Cloud Controller Daemon.

Содержимое 96 строки и рядом в файле /etc/one/oned.conf:
  90   │ VNC_PORTS = [
  91   │     START    = 5900,
  92   │     # RESERVED = "32768:65536"
  93   │     # RESERVED = "6800, 6801, 6810:6820, 9869"
  94   │ ]
  95   │ 
  96   │ #*******************************************************************************
  97   │ # Server network and connection
  98   │ #-------------------------------------------------------------------------------
  99   │ #  PORT: Port where oned will listen for xmlrpc calls.

Решение: убрать запятую из строки "START    = 5900,"