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(backup): Only close archive entries with data #607

Merged
merged 1 commit into from
Jul 18, 2017

Conversation

lwander
Copy link
Member

@lwander lwander commented Jul 18, 2017

Several users have now seen the backup controller fail to create a tar archive due to unclosed entries with fairly simply hal config directories. I haven't been able to reproduce this error, but my best guess is that archive entries created for any directory are causing grief for their local tar archiver. Reading the spec it could (?) be interpreted that only entries with data can be closed.

@lwander
Copy link
Member Author

lwander commented Jul 18, 2017

Also possible: A HalException was thrown during the tar operation, causing the archive to be closed prematurely. I've added logging to catch this

@lwander lwander force-pushed the only-close-archives-with-data branch from 5f32a20 to d4cb341 Compare July 18, 2017 14:04
@lwander lwander force-pushed the only-close-archives-with-data branch from d4cb341 to a574d8e Compare July 18, 2017 14:07
@lwander lwander merged commit 81124cb into spinnaker:master Jul 18, 2017
@lwander lwander deleted the only-close-archives-with-data branch July 18, 2017 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants