-
Notifications
You must be signed in to change notification settings - Fork 290
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
[FLOC-4552] Harden EBS tag parsing #2974
Conversation
If there is a volume in EBS with a tag key of `flocker-dataset-id` but the value is not a valid UUID, any Flocker agent connected to that account will throw an exception during iteration and will be unusable. The change here catches bad values and makes them process as just another volume that's not part of the asking cluster rather than throwing the mentioned exceptions.
…-4552-harden_ebs_tag_parsing
Well that went badly. |
@sgnn7 Please review the changes in the branch and leave comments and / or a LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes: https://clusterhq.atlassian.net/browse/FLOC-4552
Based on #2973 with some extra logging and unit tests.
Thanks to @sgnn7 for reporting this issue and providing a patch.