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

fix!: remove extra argument from redact_config_dir call #67

Closed
wants to merge 1 commit into from

Conversation

jackhodgkiss
Copy link
Contributor

@jackhodgkiss jackhodgkiss commented Oct 3, 2024

Encountered an issue whereby config-diff was reporting changes to various files not replaced to the PR in question. Changes included vaulted files like Ceph keyrings but also contents of passwords.yml like rabbitmq-key.

The change proposed was d41d8cd98f00b204e9800998ecf8427e across various files which is the MD5 of an empty string.

The problem is not consistent and doesn't occur very often and when it does the files it impacts varries each time.

An unproven theory is that due to the combination of parallel config, automatic secret discovery and the incorrect extra argument $target_kayobe_config_dir in redact_config_dir call means that sometimes it MD5 files that don't exist due to https://github.com/stackhpc/kayobe-automation/blob/main/scripts/config-diff.sh#L120

The above problem hasn't been fixed with this PR. MD5 hash of empty files are still happening.

Regardless this extra argument is unwanted and should be removed.

@jackhodgkiss jackhodgkiss added the bug Something isn't working label Oct 3, 2024
@jackhodgkiss jackhodgkiss self-assigned this Oct 3, 2024
@jackhodgkiss jackhodgkiss requested a review from a team as a code owner October 3, 2024 11:12
@jackhodgkiss jackhodgkiss marked this pull request as draft October 3, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant