Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Multiple flux instances pointing to the same repo can fail writability check due to shared flux-write-check tag #2683

Closed
maximmold opened this issue Dec 11, 2019 · 0 comments · Fixed by #2684
Labels

Comments

@maximmold
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behaviour:
0. Configure multiple flux instances pointing to the same github repo at different branches

  1. When there is latency talking to github, errors are seeing in the logs and the changes to the helm charts cannot be applied.

Expected behavior
Multiple flux instances pointing to the same github repo at different branches shouldn't use the same flux-write-check tag to check writability since the github commands can fail when the tag unexpectedly points to a different commit id.

Logs
flux-write-check -> flux-write-check (cannot lock ref 'refs/tags/flux-write-check': is at 4dbd5cc088259f4e21c7847ca0ea3f2adf62d476 but expected 9043c404310bf76b963b8fb8ddc786e92f9f1c61)\nerror: failed to push some refs to '[email protected]:EPMO/bip-pacman-config.git'\n"

Additional context
Add any other context about the problem here, e.g

  • Flux version: 1.15.0
@maximmold maximmold added blocked-needs-validation Issue is waiting to be validated before we can proceed bug labels Dec 11, 2019
@hiddeco hiddeco removed the blocked-needs-validation Issue is waiting to be validated before we can proceed label Dec 11, 2019
@hiddeco hiddeco self-assigned this Dec 11, 2019
@hiddeco hiddeco removed their assignment Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants