Skip to content

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

@shawnweeks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions