-
Notifications
You must be signed in to change notification settings - Fork 166
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
src/cosalib/aliyun.py: save replication progress in meta.json #3839
Conversation
Previously meta.json would only be written if replication was successful in all regions. If there were any errors during replication meta.json would not be written. Subsequent replication runs would start over from scratch which would not be a problem except Aliyun will error out if there is already an image with the same name. Re-running the operation on the same build was not possible without deleting the images before hand. Lets write meta.json after every region replication so we can keep track of the replicated regions and allow re-runs.
/test rhcos |
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.
I don't understand the patch, it just appears to be 3 comments lines added. Is it on purpose ?
Python indentation is hard to see sometimes :)
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
/test rhcos |
@mike-nguyen: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Looks like openshift/os#1551 for CI issues |
Hmm, it looks like this and coreos/fedora-coreos-pipeline#1017 are trying to address #3634. But I think the proper fix is to make Right now for example, if the Publish step fails in the pipeline, we're still in a situation where we have missing data in The bit in |
Thanks! I missed that there was more going on behind the scenes on the AWS side. I'll get the Aliyun side to function similarly. |
Closed in favor of #3872 |
Previously meta.json would only be written if replication was successful in all regions. If there were any errors during replication meta.json would not be written. Subsequent replication runs would start over from scratch which would not be a problem except Aliyun will error out if there is already an image with the same name. Re-running the operation on the same build was not possible without deleting the images before hand.
Lets write meta.json after every region replication so we can keep track of the replicated regions and allow re-runs.