Skip to content

Error after logging into Open OnDemand #143

@ryanrath

Description

@ryanrath

So I'm going through all the tutorials on my M1 and I've run into an issue on the Login to OnDemand website https://github.com/ubccr/hpc-toolset-tutorial/blob/master/coldfront/README.md#login-to-ondemand-website . Specifically after I login successfully I'm presented with the following ( URL is: https://localhost:3443/pun/sys/dashboard ) :

Error -- nginx: [emerg] unknown directive "passenger_preload_bundler" in /var/lib/ondemand-nginx/config/puns/cgray.conf:48

Here are the logs from the ondemand container:

~/s/c/h/ryanrath ❯❯❯ docker logs -f ondemand                                                                                                                                                           ✘ 1 master ✭ ◼
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connection refused.
-- Waiting for frontend ssh to become active ...
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connection refused.
-- Waiting for frontend ssh to become active ...
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connection refused.
-- Waiting for frontend ssh to become active ...
Ncat: Version 7.70 ( https://nmap.org/ncat )
Ncat: Connected to 192.168.112.9:22.
Ncat: 0 bytes sent, 0 bytes received in 0.00 seconds.
---> Cleaning NGINX ...
---> Populating /etc/ssh/ssh_known_hosts from frontend for ondemand...
# frontend:22 SSH-2.0-OpenSSH_8.0
# frontend:22 SSH-2.0-OpenSSH_8.0
# frontend:22 SSH-2.0-OpenSSH_8.0
---> Starting SSSD on ondemand ...
---> Starting the MUNGE Authentication service (munged) on ondemand ...
---> Starting sshd on ondemand...
---> Running update ood portal...
(2022-07-08 18:37:49): [sssd] [server_setup] (0x1f7c0): Starting with debug level = 0x0070
(2022-07-08 18:37:49): [be[implicit_files]] [server_setup] (0x1f7c0): Starting with debug level = 0x0070
(2022-07-08 18:37:49): [be[default]] [server_setup] (0x1f7c0): Starting with debug level = 0x0070
(2022-07-08 18:37:49): [nss] [server_setup] (0x1f7c0): Starting with debug level = 0x0070
(2022-07-08 18:37:49): [pam] [server_setup] (0x1f7c0): Starting with debug level = 0x0070
cp -p /etc/pki/tls/certs/localhost.crt /etc/ood/dex/localhost.crt
chown ondemand-dex:ondemand-dex /etc/ood/dex/localhost.crt
cp -p /etc/pki/tls/private/localhost.key /etc/ood/dex/localhost.key
chown ondemand-dex:ondemand-dex /etc/ood/dex/localhost.key
No change in Apache config.
mv /etc/ood/dex/config.yaml /etc/ood/dex/config.yaml.20220708T183749
mv /tmp/dex_config20220708-38-au9wbu /etc/ood/dex/config.yaml
chown ondemand-dex:ondemand-dex /etc/ood/dex/config.yaml
chmod 600 /etc/ood/dex/config.yaml
Backing up previous Dex config to: '/etc/ood/dex/config.yaml.20220708T183749'
Generating new Dex config at: /etc/ood/dex/config.yaml
Completed successfully!

Restart the ondemand-dex service now.

Suggested command:
    sudo systemctl restart ondemand-dex.service

---> Starting ondemand-dex...
---> Starting ondemand httpd24...
[Fri Jul 08 18:37:49.929088 2022] [so:warn] [pid 60:tid 281472875155472] AH01574: module ssl_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.112.11. Set the 'ServerName' directive globally to suppress this message
time="2022-07-08T18:37:49Z" level=info msg="Dex Version: , Go Version: go1.17.10, Go OS/ARCH: linux arm64"
time="2022-07-08T18:37:49Z" level=info msg="config issuer: https://localhost:5554"
time="2022-07-08T18:37:49Z" level=info msg="config storage: sqlite3"
time="2022-07-08T18:37:49Z" level=info msg="config static client: OnDemand"
time="2022-07-08T18:37:49Z" level=info msg="config connector: ldap"
time="2022-07-08T18:37:49Z" level=info msg="config skipping approval screen"
time="2022-07-08T18:37:49Z" level=info msg="config refresh tokens rotation enabled: true"
time="2022-07-08T18:37:49Z" level=info msg="keys expired, rotating"
time="2022-07-08T18:37:50Z" level=info msg="keys rotated, next rotation: 2022-07-09 00:37:50.180941796 +0000 UTC"
time="2022-07-08T18:37:50Z" level=info msg="listening (telemetry) on 0.0.0.0:5558"
time="2022-07-08T18:37:50Z" level=info msg="listening (http) on 0.0.0.0:5556"
time="2022-07-08T18:37:50Z" level=info msg="listening (https) on 0.0.0.0:5554"
2022/07/08 19:02:38 http: TLS handshake error from 192.168.112.1:58552: remote error: tls: unknown certificate
time="2022-07-08T19:02:45Z" level=info msg="performing ldap search ou=People,dc=example,dc=org sub (&(objectClass=posixAccount)(uid=cgray))"
time="2022-07-08T19:02:45Z" level=info msg="username \"cgray\" mapped to entry cn=cgray,ou=People,dc=example,dc=org"
time="2022-07-08T19:02:45Z" level=info msg="performing ldap search ou=Groups,dc=example,dc=org sub (&(objectClass=posixGroup)(member=cn=cgray,ou=People,dc=example,dc=org))"
time="2022-07-08T19:02:45Z" level=info msg="login successful: connector \"ldap\", username=\"Carl Grey\", preferred_username=\"cgray\", email=\"cgray@example.com\", groups=[\"cgray\"]"

Please let me know if you need any additional information.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions