sentry-kubernetes / charts

Easily deploy Sentry on your Kubernetes Cluster
MIT License
1.09k stars 516 forks source link

No account create after install #1582

Closed aidenpearce001 closed 2 weeks ago

aidenpearce001 commented 3 weeks ago

Issue submitter TODO list

Describe the bug (actual behavior)

I've searched for an already existing issues here After install the sentry i cant login with user.email and user.password that i provide in values.yaml

Expected behavior

Login to sentry web success

values.yaml

user: create: true email: admin@sentry.local password: admin

ingress: enabled: true ingressClassName: nginx # Updated to use the new field instead of annotation regexPathStyle: nginx annotations: nginx.ingress.kubernetes.io/use-regex: "true" hostname: sentry.yitec.dev paths:

service: type: ClusterIP externalPort: 9000 annotations: {}

hooks: enabled: true removeOnSuccess: true activeDeadlineSeconds: 1000

snuba: api: replicas: 1 consumer: replicas: 1 issueOccurrenceConsumer: replicas: 1 outcomesConsumer: replicas: 1 profilingFunctionsConsumer: replicas: 1 profilingProfilesConsumer: replicas: 1 replacer: replicas: 1 replaysConsumer: replicas: 1 sessionsConsumer: replicas: 1 subscriptionConsumerEvents: replicas: 1 subscriptionConsumerSessions: replicas: 1 subscriptionConsumerTransactions: replicas: 1 transactionsConsumer: replicas: 1 memcached: replicaCount: 1 rabbitmq: replicaCount: 1 symbolicator: replicas: 1

sentry: singleOrganization: false worker: replicas: 1 ingestConsumer: replicas: 1 ingestMetricsConsumerPerf: replicas: 1 ingestMetricsConsumerRh: replicas: 1 ingestMonitors: replicas: 1 resources: limits: cpu: 2048m memory: 8192Mi requests: cpu: 512m memory: 1024Mi

clickhouse: clickhouse: replicas: "1" tabix: replicas: "1"

kafka: replicaCount: 3 zookeeper: replicaCount: 1 zookeeper: replicaCount: 3

externalPostgresql: host: postgresql.database.svc.cluster.local port: 5432 username: postgres database: sentrydb

Helm chart version

version.BuildInfo{Version:"v3.16.2", GitCommit:"13654a52f7c70a143b1dd51416d633e1071faffb", GitTreeState:"clean", GoVersion:"go1.22.7"}

Steps to reproduce

helm upgrade --install sentry sentry/sentry -f sentry/value.yml --namespace sentry --create-namespace --wait --timeout=1000s \ --set externalPostgresql.password=postgres

Screenshots

No response

Logs

No response

Additional context

also after install i got snuba-migration pod ERROR and no logs coalesce.go:237: warning: skipped value for kafka.config: Not a table. Error: failed post-install: 1 error occurred:

aidenpearce001 commented 2 weeks ago

I have found a way, i set no user on value and create by exec into sentry-web pod

SENTRY_WEB=$(kubectl get pods -n sentry | grep web | awk '{print $1}' | head -n 1)

kubectl exec -it $SENTRY_WEB -n sentry -- sentry createuser --email admin@sentry.local --password your-password