Skip to content

WRN missing or incomplete nats configuration. Events will not be published. #2428

Closed

Description

@shawnweeks

Describe the bug

It appears the storage-system and ocm services do not correctly setup the nats connection leading to the error WRN missing or incomplete nats configuration. Events will not be published. in the logs. Not sure if this behavior is intentional or not but in comparison the storage-users service does correctly set everything. Based on testing it's not setting the configuration nats_address that get's passed to reva before starting.

Steps to reproduce

# Clone main branch
make generate

make -C opencloud build

export OC_INSECURE=true
export OC_LOG_LEVEL=warn
export OC_LOG_COLOR=true
export OC_LOG_PRETTY=true
opencloud/bin/opencloud init || true && opencloud/bin/opencloud server

# Notice error in logs

Expected behavior

The system-storage and ocm services should either not use nats or they should correctly setup the connection

Actual behavior

Error shown in logs

Setup

See steps to reproduce above. All testing was done on Debian 13

Additional context

Add any other context about the problem here.

Activity

  1. Mayurifag commented on Apr 28, 2026

    @Mayurifag

    I have the same problem. As I dont need that function, I disabled Mesh OC_EXCLUDE_RUN_SERVICES: "ocm", so that help to make warning go away, but thats not the solution.

  2. rhafer commented on Jun 25, 2026

    @rhafer
    Member

    @shawnweeks As you build from source from the main branch you might have just been unlucky and run into a bug that slipped into main between different releases.
    Please retry with the latest release and re-open if the bug appears there as well.

  3. moved this from Qualification to Done in OpenCloud Team Boardon Jun 25, 2026
  4. erikboberg commented on Jul 31, 2026

    @erikboberg

    I get the same warnings: "WRN missing or incomplete nats configuration. Events will not be published.". I want OCM to be enabled because I am trying to implement federation.

  5. lazyzyf commented on Aug 9, 2026

    @lazyzyf

    I have the same problem using the latest container image, what's the final solution?

  6. Mayurifag commented on Aug 10, 2026

    @Mayurifag

    I guess issue has to be reopened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions