Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"missing or incomplete nats configuration. Events will not be published" warnings #8921

Open
Sad-Soul-Eater opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@Sad-Soul-Eater
Copy link

Describe the bug

There are next warnings in the log:

WRN missing or incomplete nats configuration. Events will not be published. line=github.com/cs3org/reva/v2@v2.19.5/internal/http/services/dataprovider/dataprovider.go:83 pkg=rhttp service=ocm
WRN missing or incomplete nats configuration. Events will not be published. line=github.com/cs3org/reva/v2@v2.19.5/internal/http/services/dataprovider/dataprovider.go:83 pkg=rhttp service=storage-system

Full log: https://gist.github.com/Sad-Soul-Eater/f26942a8ab736221005f94074752d544

Steps to reproduce

  1. Run ocis in the container

Expected behavior

No warnings

Actual behavior

Warnings exist

Setup

Minimal setup in k8s

deployment.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: &app owncloud
  labels:
    app: *app
spec:
  replicas: 1

  strategy:
    type: Recreate

  selector:
    matchLabels:
      app: *app

  template:
    metadata:
      labels:
        app: *app

    spec:
      automountServiceAccountToken: false
      enableServiceLinks: false

      containers:
        - name: owncloud
          image: owncloud/ocis:5.0.2
          command: [ /bin/sh ]
          args: [ "-c", "ocis init || true; ocis server" ]

          env:
            - name: OCIS_INSECURE
              value: "false"

            - name: OCIS_URL
              value: "https://owncloud.example.com"

            - name: IDM_ADMIN_PASSWORD
              value: "admin"

            - name: OCIS_LOG_LEVEL
              value: "trace"
            - name: OCIS_LOG_PRETTY
              value: "true"

            - name: PROXY_TLS # do not use SSL between Traefik and oCIS
              value: "false"

          ports:
            - name: http
              containerPort: 9200

          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
              drop:
                - all
            privileged: false
            readOnlyRootFilesystem: true
            runAsNonRoot: true
            runAsUser: &user 1000
            runAsGroup: *user
            seccompProfile:
              type: RuntimeDefault

          volumeMounts:
            - name: data
              mountPath: /var/lib/ocis

            - name: tmp
              mountPath: /tmp

      securityContext:
        fsGroup: *user
        fsGroupChangePolicy: "OnRootMismatch"

      volumes:
        - name: data
          emptyDir: { }

        - name: tmp
          emptyDir: { }

Additional context

There is discussion here: https://central.owncloud.org/t/ocis-seems-to-just-hang-after-some-time/45372/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant