I’ve just done an initial install of OOD, and for the most part, I have it working.
However, when running an interactive desktop, I’m getting an error when
I click on the ‘My Interactive Sessions’ button on the dashboard.
I’m seeing an ‘Internal Server Error’ with text that starts with:
#<ActionView::Template::Error: (<unknown>): invalid trailing UTF-8 octet at line 1 column 1>
/opt/rh/rh-ruby22/root/usr/share/ruby/psych.rb:370:in `parse'
/opt/rh/rh-ruby22/root/usr/share/ruby/psych.rb:370:in `parse_stream'
/opt/rh/rh-ruby22/root/usr/share/ruby/psych.rb:318:in `parse'
/opt/rh/rh-ruby22/root/usr/share/ruby/psych.rb:284:in `safe_load'
/var/www/ood/apps/sys/dashboard/app/models/batch_connect/session.rb:396:in `connect'
… and many more lines.
In my PUN error log file, I’m seeing similar-
App 9021 stdout: [2018-08-01 15:31:28 -0400 ] INFO "execve =
[{\"SLURM_CONF\"=>\"/etc/slurm/slurm.conf\"}, \"/usr/bin/squeue\",
\"--all\", \"--states=all\", \"--noconvert\", \"-o\",
\"%a\\u001F%A\\u001F%b\\u001F%B\\u001F%c\\u001F%C\\u001F%d\\u001F%D\\u001F%e\\u001F%E\\u001F%f\\u001F%F\\u001F%g\\u001F%G\\u001F%h\\u001F%H\\u001F%i\\u001F%I\\u001F%j\\u001F%J\\u001F%k\\u001F%K\\u001F%l\\u001F%L\\u001F%m\\u001F%M\\u001F%n\\u001F%N\\u001F%o\\u001F%O\\u001F%q\\u001F%P\\u001F%Q\\u001F%r\\u001F%S\\u001F%t\\u001F%T\\u001F%u\\u001F%U\\u001F%v\\u001F%V\\u001F%w\\u001F%W\\u001F%x\\u001F%X\\u001F%y\\u001F%Y\\u001F%z\\u001F%Z\",
\"-j\", \"190\"]"
App 9021 stdout: [2018-08-01 15:31:28 -0400 ] INFO "method=GET
path=/pun/sys/dashboard/batch_connect/sessions format=html
controller=BatchConnect::SessionsController action=index status=500
error='ActionView::Template::Error: (<unknown>): invalid trailing
UTF-8 octet at line 1 column 1' duration=35.72 view=0.00"
App 9021 stdout: [2018-08-01 15:31:28 -0400 ] FATAL
"ActionView::Template::Error ((<unknown>): invalid trailing UTF-8
octet at line 1 column 1):\n 1: <%= session_panel session do %>\n
2: <%= session_view session do %>\n 3: <%\n 4: if
session.running?\n app/models/batch_connect/session.rb:396:in
`connect'\n app/models/batch_connect/session.rb:405:in `to_hash'\n
app/helpers/batch_connect/sessions_helper.rb:3:in `session_panel'\n
app/views/batch_connect/sessions/_panel.html.erb:1:in
`_app_views_batch_connect_sessions__panel_html_erb__2226473861888657584_36164260'\n
app/views/batch_connect/sessions/index.html.erb:37:in
`_app_views_batch_connect_sessions_index_html_erb__2670672794125958996_36346460'"
Source: Originally posted by Kevin M. Hildebrand in the ood-users mailing list.