truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.14k stars 617 forks source link

Current Heimdall Release Fails to Launch due to permissions issues #7938

Closed etrigan63 closed 1 year ago

etrigan63 commented 1 year ago

App Name

heimdall

SCALE Version

22.12.1

App Version

2.5.5_15.0.1

Application Events

2023-04-11 23:29:58
Back-off restarting failed container
2023-04-11 23:29:47
Started container heimdall
2023-04-11 23:29:46
Add eth0 [172.16.46.195/16] from ix-net
2023-04-11 23:29:46
Container image "tccr.io/truecharts/heimdall:2.5.5@sha256:c429ef13bffdd55f184cf85acef5a002fdf656b5a03a06a7f4bb066fbe16671a" already present on machine
2023-04-11 23:29:46
Created container heimdall
2023-04-11 23:29:45
Successfully assigned ix-heimdall/heimdall-56bb997675-jwv7h to ix-truenas
2023-04-11 23:29:42
Updated LoadBalancer with new IPs: [] -> [192.168.1.95]
2023-04-11 23:29:42
Successfully provisioned volume pvc-1ae0b4e9-5a07-44c9-904b-2d73a785c117
2023-04-11 23:29:42
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
2023-04-11 23:29:41
Job completed
2023-04-11 23:29:41
External provisioner is provisioning volume for claim "ix-heimdall/heimdall-config"
2023-04-11 23:29:41
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2023-04-11 23:29:41
Ensuring load balancer
2023-04-11 23:29:41
Scaled up replica set heimdall-56bb997675 to 1
2023-04-11 23:29:41
Applied LoadBalancer DaemonSet kube-system/svclb-heimdall-08dd14dc
2023-04-11 23:29:41
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
2023-04-11 23:29:41
Created pod: heimdall-56bb997675-jwv7h
2023-04-11 23:29:33
Add eth0 [172.16.46.193/16] from ix-net
2023-04-11 23:29:33
Container image "tccr.io/truecharts/kubectl:v1.26.0@sha256:6bef58bf5b7850021884cf6ea2f32333cbfcd99be79d1fff0d6e5ced1ac044b4" already present on machine
2023-04-11 23:29:33
Created container heimdall-manifests
2023-04-11 23:29:33
Started container heimdall-manifests
2023-04-11 23:29:32
Created pod: heimdall-manifests-8wgvq
2023-04-11 23:29:32
Successfully assigned ix-heimdall/heimdall-manifests-8wgvq to ix-truenas

Application Logs

2023-04-12 04:17:59.883252+00:00[migrations] started
2023-04-12 04:17:59.884913+00:00[migrations] 01-nginx-site-confs-default: skipped
2023-04-12 04:17:59.886128+00:00[migrations] 02-default-location: skipped
2023-04-12 04:17:59.886183+00:00[migrations] done
2023-04-12 04:18:00.543974+00:002023-04-12T04:18:00.543974148Z
2023-04-12 04:18:00.544030+00:00-------------------------------------
2023-04-12 04:18:00.544055+00:00_         ()
2023-04-12 04:18:00.544060+00:00| |  ___   _    __
2023-04-12 04:18:00.544064+00:00| | / __| | |  /  \
2023-04-12 04:18:00.544069+00:00| | \__ \ | | | () |
2023-04-12 04:18:00.544074+00:00|_| |___/ |_|  \__/
2023-04-12 04:18:00.544082+00:002023-04-12T04:18:00.544082291Z
2023-04-12 04:18:00.544086+00:002023-04-12T04:18:00.544086719Z
2023-04-12 04:18:00.544092+00:00Brought to you by linuxserver.io
2023-04-12 04:18:00.544097+00:00-------------------------------------
2023-04-12 04:18:00.544171+00:002023-04-12T04:18:00.544171408Z
2023-04-12 04:18:00.544190+00:00To support LSIO projects visit:
2023-04-12 04:18:00.544203+00:00https://www.linuxserver.io/donate/
2023-04-12 04:18:00.544207+00:00-------------------------------------
2023-04-12 04:18:00.544212+00:00GID/UID
2023-04-12 04:18:00.544215+00:00-------------------------------------
2023-04-12 04:18:00.545888+00:002023-04-12T04:18:00.545888029Z
2023-04-12 04:18:00.545966+00:00User uid:    568
2023-04-12 04:18:00.545975+00:00User gid:    568
2023-04-12 04:18:00.545979+00:00-------------------------------------
2023-04-12 04:18:00.545982+00:002023-04-12T04:18:00.545982356Z
2023-04-12 04:18:00.555424+00:00mkdir: cannot create directory ‘/var/lib/nginx’: Permission denied
2023-04-12 04:18:00.555980+00:00s6-rc: warning: unable to start service init-folders: command exited 1
2023-04-12 04:18:00.556815+00:00/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
2023-04-12 04:18:00.556835+00:00prog: fatal: stopping the container.

Application Configuration

image image image image

Describe the bug

Failure to launch. App stuck at deploying. App Events reports back off failed container. App logs report that there are file permission errors (cannot create directory '/var/lib/nginx'

To Reproduce

  1. Install app from catalog accepting default values for everything.
  2. App spins up and dies.

Expected Behavior

App should have permission to create the folders it needs so it can launch.

Screenshots

Nothing to screen shot.

Additional Context

Same thing happens with the other two versions there.

I've read and agree with the following

PrivatePuffin commented 1 year ago

@stavros-k this should never have passed testse tbh. Same issue as with the part 2 charts.

mhos commented 1 year ago

Same here with defaults. Watching thread.

PrivatePuffin commented 1 year ago

@mhos Please no +1 posts.

shadow7650 commented 1 year ago

Hi I can confirm I am running into the same issues as above, default settings, on TrueNAS-SCALE-22.12.1

sstruke commented 1 year ago

I have the same problem! (TrueNAS-SCALE-22.12.2)

PrivatePuffin commented 1 year ago

@shadow7650 and @sstruke NEVER add +1 comments please.

PrivatePuffin commented 1 year ago

most likely fixed in latest release...