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

Fixing rsyslog-server role. #1096

Merged
merged 2 commits into from
Jan 24, 2022
Merged

Fixing rsyslog-server role. #1096

merged 2 commits into from
Jan 24, 2022

Conversation

mkunin-work
Copy link
Contributor

The role didn't create the directory for storing the client's logs.

In addition, I added an additional variable for the logs location: rsyslog_log_file_path.

The role didn't create the directory for storing the client's logs.

In addition, I added an additional variable for the logs location: `rsyslog_log_file_path`.
1. The `molecule init` command has not a correct parameter. Instead of `--driver`, it should be `--driver-name`.

2. It is necessary to install  `community.docker` Ansible Galaxy collection. It is not mentioned in any place. However, without this collection, it is not possible to work with molecule.
Copy link
Collaborator

@ajdecon ajdecon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkunin-nvidia : Overall this PR looks fine to me, and I'll approve. Can't hurt to create this explicitly.

However, I'm curious where you've seen this fail? I know that we see this role succeed consistently in Jenkins tests, and the required directory is created. (I think rsyslog does this automatically.)

Sample output from a successful Jenkins test of the existing role here: https://gist.github.com/ajdecon/3fcbc1315c7c695c5aab429793f4be2e

@mkunin-work
Copy link
Contributor Author

mkunin-work commented Jan 24, 2022

@ajdecon I saw this in one of the recent customers. The folders inside are created but not the /var/log/deepops-hosts.

@ajdecon ajdecon merged commit 63ed508 into NVIDIA:master Jan 24, 2022
@ajdecon ajdecon mentioned this pull request Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants