-
Notifications
You must be signed in to change notification settings - Fork 24
Remove zip universe support #773
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
Conversation
fe6e15b to
40079dd
Compare
| } | ||
| } | ||
| }.rescue { | ||
| case ce: CosmosException if ce.error.isInstanceOf[Unauthorized] => |
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.
Context : Currently cosmos does not have any sort of authz. It relies on AR to forward an auth token which it uses when it is talking to marathon (or any other service). If the uninstall does not complete before the auth token expires, cosmos will keep polling marathon with the expired token. We should fail fast when this happens.
Ideally, cosmos can implement authz and refresh the token on expiry. But until then, we can stop retrying when we know retry will fail. See this slack convo https://mesosphere.slack.com/archives/CAA1Z7NKT/p1553816267233400 on how it affected MWT. cc @timcharper
alenkacz
left a comment
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.
Less code is always better :D! 👍
DCOS_OSS-5013
This is for 1.12 and above. We stopped supporting zip universes starting 1.8 and this PR removes the deadcode. This is needed to removed unnecessary metrics (See #771 ). This also bring couple other changes: