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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreleased regression resulting from the default data_dir now being required #19695

Closed
jszwedko opened this issue Jan 23, 2024 · 1 comment
Closed
Labels
domain: config Anything related to configuring Vector type: bug A code related bug.

Comments

@jszwedko
Copy link
Member

A note for the community

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

In master as of 53f97c1, Vector now requires a data directory where-as in the last release, v0.35.0, it does not. Trying to run Vector with a config not requiring a data directory, without the default data directory location existing (/var/lib/vector) results in Vector failing to start-up due to not being able to lock the data directory.

Configuration

sources:
  source0:
    type: demo_logs
    format: json
    interval: 1.0
sinks:
  sink0:
    type: blackhole
    inputs:
    - source0

Version

vector 0.36.0-custom-53f97c1c61 (aarch64-apple-darwin debug=full)

Debug Output

2024-01-23T22:12:30.385623Z  INFO vector::app: Log level is enabled. level="info"
2024-01-23T22:12:30.388729Z  INFO vector::app: Loading configs. paths=["/tmp/tmp.yaml"]
2024-01-23T22:12:30.398489Z ERROR vector::cli: Configuration error. error=No such file or directory (os error 2)
Error: command: "cargo" "run" "--no-default-features" "--features" "sinks-blackhole,sources-demo_logs" "--" "--config" "/tmp/tmp.yaml"
  failed with exit code: 78

Example Data

No response

Additional Context

No response

References

This is likely to have been introduced by #19595

@jszwedko jszwedko added type: bug A code related bug. domain: config Anything related to configuring Vector labels Jan 23, 2024
@jszwedko jszwedko added this to the Vector v0.36.0 milestone Jan 23, 2024
@jszwedko
Copy link
Member Author

Closed by #19701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: config Anything related to configuring Vector type: bug A code related bug.
Projects
None yet
Development

No branches or pull requests

1 participant