Closed dark-mango-bot closed 1 month ago
Can you verify if the RabbitMQ container have started successfully?
Additionally, please check if the AMQP_URL
in the app-vars ConfigMap is empty
Hi @akshat5302,
Thanks for helping. I cannot find AMQP_URL in the configmap and I do not beleive rabbitmq containers are present.
For context here is my generated manifest file:
apiVersion: v1
automountServiceAccountToken: true
kind: ServiceAccount
metadata:
name: plane-srv-account
namespace: plane
---
apiVersion: v1
data:
CORS_ALLOWED_ORIGINS: http://plane.site.com,https://plane.site.com
DATABASE_URL: postgresql://plane:plane@plane-pgdb.plane.svc.cluster.local/plane
DEBUG: "0"
DOCKERIZED: "1"
GUNICORN_WORKERS: "1"
REDIS_URL: redis://plane-redis.plane.svc.cluster.local:6379/
SENTRY_DSN: ""
SENTRY_ENVIRONMENT: ""
WEB_URL: http://plane.site.com
kind: ConfigMap
metadata:
name: plane-app-vars
namespace: plane
---
apiVersion: v1
data:
AWS_ACCESS_KEY_ID: admin
AWS_S3_BUCKET_NAME: uploads
AWS_S3_ENDPOINT_URL: http://plane-minio:9000
FILE_SIZE_LIMIT: "5242880"
MINIO_ROOT_USER: admin
USE_MINIO: "1"
kind: ConfigMap
metadata:
name: plane-doc-store-vars
namespace: plane
---
apiVersion: v1
data:
POSTGRES_DB: plane
POSTGRES_USER: plane
kind: ConfigMap
metadata:
name: plane-pgdb-vars
namespace: plane
---
apiVersion: v1
data:
SECRET_KEY: NjBncDBieWZ6MmR2ZmZhNDVjeGwyMHAxc2N5OXhicGY2ZDhjNXkwZ2VlamdreXAxYjU=
kind: Secret
metadata:
name: plane-app-secrets
namespace: plane
type: Opaque
---
apiVersion: v1
data:
AWS_SECRET_ACCESS_KEY: cGFzc3dvcmQ=
MINIO_ROOT_PASSWORD: cGFzc3dvcmQ=
kind: Secret
metadata:
name: plane-doc-store-secrets
namespace: plane
type: Opaque
---
apiVersion: v1
data:
POSTGRES_PASSWORD: cGxhbmU=
kind: Secret
metadata:
name: plane-pgdb-secrets
namespace: plane
type: Opaque
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-admin
name: plane-admin
namespace: plane
spec:
clusterIP: None
ports:
- name: admin-3000
port: 3000
protocol: TCP
targetPort: 3000
selector:
app.name: plane-plane-admin
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-api
name: plane-api
namespace: plane
spec:
clusterIP: None
ports:
- name: api-8000
port: 8000
protocol: TCP
targetPort: 8000
selector:
app.name: plane-plane-api
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-minio
name: plane-minio
namespace: plane
spec:
clusterIP: None
ports:
- name: minio-api-9000
port: 9000
protocol: TCP
targetPort: 9000
- name: minio-console-9090
port: 9090
protocol: TCP
targetPort: 9090
selector:
app.name: plane-plane-minio
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-pgdb
name: plane-pgdb
namespace: plane
spec:
clusterIP: None
ports:
- name: pg-5432
port: 5432
protocol: TCP
targetPort: 5432
selector:
app.name: plane-plane-pgdb
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-redis
name: plane-redis
namespace: plane
spec:
clusterIP: None
ports:
- name: redis-6379
port: 6379
protocol: TCP
targetPort: 6379
selector:
app.name: plane-plane-redis
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-space
name: plane-space
namespace: plane
spec:
clusterIP: None
ports:
- name: space-3000
port: 3000
protocol: TCP
targetPort: 3000
selector:
app.name: plane-plane-space
---
apiVersion: v1
kind: Service
metadata:
labels:
app.name: plane-plane-web
name: plane-web
namespace: plane
spec:
clusterIP: None
ports:
- name: web-3000
port: 3000
protocol: TCP
targetPort: 3000
selector:
app.name: plane-plane-web
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plane-admin-wl
namespace: plane
spec:
replicas: 1
selector:
matchLabels:
app.name: plane-plane-admin
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.759920979 +0100 BST m=+0.449005481
labels:
app.name: plane-plane-admin
namespace: plane
spec:
containers:
- args:
- admin/server.js
- admin
command:
- node
image: makeplane/plane-admin:stable
imagePullPolicy: Always
name: plane-admin
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 50m
memory: 50Mi
stdin: true
tty: true
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plane-api-wl
namespace: plane
spec:
replicas: 1
selector:
matchLabels:
app.name: plane-plane-api
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.75990846 +0100 BST m=+0.448992963
labels:
app.name: plane-plane-api
namespace: plane
spec:
containers:
- command:
- ./bin/docker-entrypoint-api.sh
envFrom:
- configMapRef:
name: plane-app-vars
optional: false
- secretRef:
name: plane-app-secrets
optional: false
- configMapRef:
name: plane-doc-store-vars
optional: false
- secretRef:
name: plane-doc-store-secrets
optional: false
image: makeplane/plane-backend:stable
imagePullPolicy: Always
name: plane-api
readinessProbe:
failureThreshold: 30
httpGet:
path: /
port: 8000
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 50m
memory: 50Mi
stdin: true
tty: true
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plane-beat-worker-wl
namespace: plane
spec:
replicas: 1
selector:
matchLabels:
app.name: plane-plane-beat-worker
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.759895764 +0100 BST m=+0.448980266
labels:
app.name: plane-plane-beat-worker
namespace: plane
spec:
containers:
- command:
- ./bin/docker-entrypoint-beat.sh
envFrom:
- configMapRef:
name: plane-app-vars
optional: false
- secretRef:
name: plane-app-secrets
optional: false
- configMapRef:
name: plane-doc-store-vars
optional: false
- secretRef:
name: plane-doc-store-secrets
optional: false
image: makeplane/plane-backend:stable
imagePullPolicy: Always
name: plane-beat-worker
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 50m
memory: 50Mi
stdin: true
tty: true
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plane-space-wl
namespace: plane
spec:
replicas: 1
selector:
matchLabels:
app.name: plane-plane-space
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.759837654 +0100 BST m=+0.448922156
labels:
app.name: plane-plane-space
namespace: plane
spec:
containers:
- args:
- space/server.js
- space
command:
- node
image: makeplane/plane-space:stable
imagePullPolicy: Always
name: plane-space
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 50m
memory: 50Mi
stdin: true
tty: true
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plane-web-wl
namespace: plane
spec:
replicas: 1
selector:
matchLabels:
app.name: plane-plane-web
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.759825252 +0100 BST m=+0.448909755
labels:
app.name: plane-plane-web
namespace: plane
spec:
containers:
- args:
- web/server.js
- web
command:
- node
image: makeplane/plane-frontend:stable
imagePullPolicy: Always
name: plane-web
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 50m
memory: 50Mi
stdin: true
tty: true
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: plane-worker-wl
namespace: plane
spec:
replicas: 1
selector:
matchLabels:
app.name: plane-plane-worker
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.759787198 +0100 BST m=+0.448871712
labels:
app.name: plane-plane-worker
namespace: plane
spec:
containers:
- command:
- ./bin/docker-entrypoint-worker.sh
envFrom:
- configMapRef:
name: plane-app-vars
optional: false
- secretRef:
name: plane-app-secrets
optional: false
- configMapRef:
name: plane-doc-store-vars
optional: false
- secretRef:
name: plane-doc-store-secrets
optional: false
image: makeplane/plane-backend:stable
imagePullPolicy: Always
name: plane-worker
resources:
limits:
cpu: 500m
memory: 1000Mi
requests:
cpu: 50m
memory: 50Mi
stdin: true
tty: true
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: plane-minio-wl
namespace: plane
spec:
selector:
matchLabels:
app.name: plane-plane-minio
serviceName: plane-minio
template:
metadata:
labels:
app.name: plane-plane-minio
spec:
containers:
- args:
- server
- /data
- --console-address
- :9090
envFrom:
- configMapRef:
name: plane-doc-store-vars
optional: false
- secretRef:
name: plane-doc-store-secrets
optional: false
image: minio/minio:latest
imagePullPolicy: IfNotPresent
name: plane-minio
stdin: true
tty: true
volumeMounts:
- mountPath: /data
name: pvc-plane-minio-vol
subPath: ""
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: pvc-plane-minio-vol
namespace: plane
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: longhorn
volumeMode: Filesystem
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: plane-pgdb-wl
namespace: plane
spec:
selector:
matchLabels:
app.name: plane-plane-pgdb
serviceName: plane-pgdb
template:
metadata:
labels:
app.name: plane-plane-pgdb
spec:
containers:
- env:
- name: PGDATA
value: /var/lib/postgresql/data/plane
envFrom:
- configMapRef:
name: plane-pgdb-vars
optional: false
- secretRef:
name: plane-pgdb-secrets
optional: false
image: postgres:15.5-alpine
imagePullPolicy: IfNotPresent
name: plane-pgdb
stdin: true
tty: true
volumeMounts:
- mountPath: /var/lib/postgresql/data
name: pvc-plane-pgdb-vol
subPath: ""
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: pvc-plane-pgdb-vol
namespace: plane
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: longhorn
volumeMode: Filesystem
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: plane-redis-wl
namespace: plane
spec:
selector:
matchLabels:
app.name: plane-plane-redis
serviceName: plane-redis
template:
metadata:
labels:
app.name: plane-plane-redis
spec:
containers:
- image: valkey/valkey:7.2.5-alpine
imagePullPolicy: IfNotPresent
name: plane-redis
stdin: true
tty: true
volumeMounts:
- mountPath: /data
name: pvc-plane-redis-vol
subPath: ""
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: pvc-plane-redis-vol
namespace: plane
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
storageClassName: longhorn
volumeMode: Filesystem
---
apiVersion: batch/v1
kind: Job
metadata:
name: plane-api-migrate-1
namespace: plane
spec:
backoffLimit: 3
template:
metadata:
annotations:
timestamp: 2024-10-16 12:18:40.75988779 +0100 BST m=+0.448972293
labels:
app.name: plane-plane-api-migrate
spec:
containers:
- command:
- ./bin/docker-entrypoint-migrator.sh
envFrom:
- configMapRef:
name: plane-app-vars
optional: false
- secretRef:
name: plane-app-secrets
optional: false
- configMapRef:
name: plane-doc-store-vars
optional: false
- secretRef:
name: plane-doc-store-secrets
optional: false
image: makeplane/plane-backend:stable
imagePullPolicy: Always
name: plane-api-migrate
restartPolicy: OnFailure
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
---
apiVersion: batch/v1
kind: Job
metadata:
name: plane-minio-bucket
namespace: plane
spec:
backoffLimit: 6
completionMode: NonIndexed
template:
metadata:
namespace: plane
spec:
containers:
- args:
- -c
- /usr/bin/mc config host add plane-app-minio http://plane-minio.plane.svc.cluster.local:9000
"$AWS_ACCESS_KEY_ID" "$AWS_SECRET_ACCESS_KEY"; /usr/bin/mc mb plane-app-minio/$AWS_S3_BUCKET_NAME; /usr/bin/mc
anonymous set download plane-app-minio/$AWS_S3_BUCKET_NAME; exit 0;
command:
- /bin/sh
envFrom:
- configMapRef:
name: plane-doc-store-vars
optional: false
- secretRef:
name: plane-doc-store-secrets
optional: false
image: minio/mc
imagePullPolicy: IfNotPresent
name: plane-minio-bucket
initContainers:
- command:
- sh
- -c
- until nslookup plane-minio.plane.svc.cluster.local; do echo
waiting for plane-minio; sleep 2; done
image: busybox
name: init
restartPolicy: OnFailure
serviceAccount: plane-srv-account
serviceAccountName: plane-srv-account
terminationGracePeriodSeconds: 120
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 5m
name: plane-ingress
namespace: plane
spec:
ingressClassName: traefix
rules:
- host: plane.site.com
http:
paths:
- backend:
service:
name: plane-web
port:
number: 3000
path: /
pathType: Prefix
- backend:
service:
name: plane-api
port:
number: 8000
path: /api
pathType: Prefix
- backend:
service:
name: plane-api
port:
number: 8000
path: /auth
pathType: Prefix
- backend:
service:
name: plane-space
port:
number: 3000
path: /spaces
pathType: Prefix
- backend:
service:
name: plane-admin
port:
number: 3000
path: /god-mode
pathType: Prefix
- backend:
service:
name: plane-minio
port:
number: 9000
path: /uploads
pathType: Prefix
- host: plane-minio.site.com
http:
paths:
- backend:
service:
name: plane-minio
port:
number: 9090
path: /
pathType: Prefix
Please run the Helm upgrade command with the previous set values : For example:-
helm upgrade plane-app makeplane/plane-ce \
--set planeVersion=stable \
--set ingress.appHost="plane.example.com" \
--set ingress.minioHost="plane-minio.example.com" \
--set ingress.rabbitmqHost= .... \
--set ingress.ingressClass=nginx \
--set postgres.storageClass= ....\
--set redis.storageClass=.... \
--set minio.storageClass=.... \
--set rabbitmq.storageClass= .... \
--timeout 10m \
--wait \
--wait-for-jobs
I confirm that adding RabbitMQ
config to my plane.yml
solves the problem. This is what I have:
rabbitmq:
local_setup: false
external_rabbitmq_url: amqp://user:pass@rabbit-app-rabbitmq.infra:5672
Thanks for your help. The issue has been resolved
Is there an existing issue for this?
Current behavior
Hi All,
I'm trying to get started with your helm chart(1.0.26) but I am running into an issue with the API deployment stuck in a crash loop.
I have installed plane using my helm
values.yml
:The API's job completes and db migration is successful. Despite this I get the following errror:
I am still able to access
plane.site.com
and I am met with the plane login screen. I am unable to access god mode as I get a api failed error.What I expect is to be able to get started and create my initial accont so I can start using plane. Could you provide some assistance?
Steps to reproduce
Environment
Production
Browser
None
Variant
Self-hosted
Version
0.23.0