Ok, I tried that cluster config file, and it appears to be launching an EC2 instance. It looks like we get past the sbatch command, but now squeue might be failing with a similar issue.
/var/log/ondemand-nginx/Admin/error.log
:
App 554822 output: [2023-10-04 19:19:01 +0000 ] INFO "execve = [{}, \"/bin/squeue\", \"--all\", \"--states=all\", \"--noconvert\", \"-o\", \"\\u001E%a\\u001F%A\\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\\u001F%b\", \"-j\", \"4\", \"-M\", \"imaging-poc\"]"
App 554822 output: [2023-10-04 19:19:01 +0000 ] ERROR "squeue: error: No cluster 'imaging-poc' known by database.\nsqueue: error: 'imaging-poc' can't be reached now, or it is an invalid entry for --cluster. Use 'sacctmgr list clusters' to see available clusters."
App 554822 output: [2023-10-04 19:19:01 +0000 ] INFO "execve = [{}, \"/bin/squeue\", \"--all\", \"--states=all\", \"--noconvert\", \"-o\", \"\\u001E%a\\u001F%A\\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\\u001F%b\", \"-j\", \"3\", \"-M\", \"imaging-poc\"]"
App 554822 output: [2023-10-04 19:19:01 +0000 ] ERROR "squeue: error: No cluster 'imaging-poc' known by database.\nsqueue: error: 'imaging-poc' can't be reached now, or it is an invalid entry for --cluster. Use 'sacctmgr list clusters' to see available clusters."
App 554822 output: [2023-10-04 19:19:01 +0000 ] INFO "method=GET path=/pun/sys/dashboard/batch_connect/sessions.js format=js controller=BatchConnect::SessionsController action=index status=200 duration=184.39 view=3.80"
I think this might be a red herring though, because the desktop EC2 instance starts up, although it eventually fails with the mate
desktop with these logs:
Setting VNC password...
Starting VNC server...
Desktop 'TurboVNC: desktop-dy-desktop-cr-1:1 (Admin)' started on display desktop-dy-desktop-cr-1:1
Log file is vnc.log
Successfully started VNC server on desktop-dy-desktop-cr-1:5901...
Script starting...
Starting websocket server...
WebSocket server settings:
- Listen on :50479
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
cmdTrace.c(713):ERROR:104: 'restore' is an unrecognized subcommand
cmdModule.c(411):ERROR:104: 'restore' is an unrecognized subcommand
Launching desktop 'mate'...
No such schema “org.mate.screensaver”
cat: /etc/xdg/autostart/gnome-keyring-gpg.desktop: No such file or directory
cat: /etc/xdg/autostart/mate-volume-control-applet.desktop: No such file or directory
cat: /etc/xdg/autostart/pulseaudio.desktop: No such file or directory
cat: /etc/xdg/autostart/rhsm-icon.desktop: No such file or directory
cat: /etc/xdg/autostart/spice-vdagent.desktop: No such file or directory
cat: /etc/xdg/autostart/xfce4-power-manager.desktop: No such file or directory
mate-session[6055]: WARNING: Could not parse desktop file /shared/home/Admin/.config/autostart/rhsm-icon.desktop: Key file does not start with a group
mate-session[6055]: GLib-GObject-CRITICAL: object GsmAutostartApp 0xf230b0 finalized while still in-construction
mate-session[6055]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[6055]: WARNING: could not read /shared/home/Admin/.config/autostart/rhsm-icon.desktop
mate-session[6055]: WARNING: Could not parse desktop file /shared/home/Admin/.config/autostart/xfce4-power-manager.desktop: Key file does not start with a group
mate-session[6055]: GLib-GObject-CRITICAL: object GsmAutostartApp 0xf23230 finalized while still in-construction
mate-session[6055]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[6055]: WARNING: could not read /shared/home/Admin/.config/autostart/xfce4-power-manager.desktop
mate-session[6055]: WARNING: Could not parse desktop file /shared/home/Admin/.config/autostart/spice-vdagent.desktop: Key file does not start with a group
mate-session[6055]: GLib-GObject-CRITICAL: object GsmAutostartApp 0xf232f0 finalized while still in-construction
mate-session[6055]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[6055]: WARNING: could not read /shared/home/Admin/.config/autostart/spice-vdagent.desktop
mate-session[6055]: WARNING: Could not parse desktop file /shared/home/Admin/.config/autostart/mate-volume-control-applet.desktop: Key file does not start with a group
mate-session[6055]: GLib-GObject-CRITICAL: object GsmAutostartApp 0xf23530 finalized while still in-construction
mate-session[6055]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[6055]: WARNING: could not read /shared/home/Admin/.config/autostart/mate-volume-control-applet.desktop
mate-session[6055]: WARNING: Could not parse desktop file /shared/home/Admin/.config/autostart/pulseaudio.desktop: Key file does not start with a group
mate-session[6055]: GLib-GObject-CRITICAL: object GsmAutostartApp 0xf235f0 finalized while still in-construction
mate-session[6055]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[6055]: WARNING: could not read /shared/home/Admin/.config/autostart/pulseaudio.desktop
mate-session[6055]: WARNING: Could not parse desktop file /shared/home/Admin/.config/autostart/gnome-keyring-gpg.desktop: Key file does not start with a group
mate-session[6055]: GLib-GObject-CRITICAL: object GsmAutostartApp 0xf235f0 finalized while still in-construction
mate-session[6055]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[6055]: WARNING: could not read /shared/home/Admin/.config/autostart/gnome-keyring-gpg.desktop
mate-session[6055]: EggSMClient-WARNING: Invalid Version string '2023.0.15487' in /etc/xdg/autostart/dcvagentlauncher.desktop
mate-session[6055]: WARNING: Unable to find provider '' of required component 'dock'
Window manager warning: Failed to load theme "Menta": Failed to find a valid file for theme Menta
Window manager warning: Failed to load theme "Simple": Failed to find a valid file for theme Simple
Window manager warning: Failed to load theme "Default": Failed to find a valid file for theme Default
Window manager warning: Failed to load theme "Emacs": Failed to find a valid file for theme Emacs
Window manager warning: Failed to load theme "Raleigh": Failed to find a valid file for theme Raleigh
mate-session[6055]: CRITICAL: gsm_systemd_set_session_idle: assertion 'session_path != NULL' failed
If I wanted to use xfce
, what would I set in my desktop app config? I could be wrong, but I think the documentation only shows an example for v1. Is this the way?
v2:
attributes:
desktop: xfce
...
I really appreciate you helping me out, I’ve been working on this for almost two weeks now. You’ve been so helpful for me learning OOD and Slurm!