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

Missing Backend key in configuration when application has no tasks #2333

Merged
merged 1 commit into from Nov 1, 2017

Conversation

aantono
Copy link
Contributor

@aantono aantono commented Oct 26, 2017

Fixed an issue of missing Backend key in configuration when no tasks are available for an application

If Marathon application has no valid tasks in existence (either because the tasks are in bad state or they are in the process of being started or shut down), the generated configuration is completely missing the Backend key entry for the bound Frontend, resulting in a 404 response from Traefik instead of the expected 503.

@timoreimann
Copy link
Contributor

Refs #1689.

@timoreimann
Copy link
Contributor

@dtomcej you probably want to have a look at this too.

@dtomcej
Copy link
Contributor

dtomcej commented Oct 26, 2017

This directly addresses the cause of the issue. I am totally on board with this. 👍 This is not a band-aid approach :D

@ldez
Copy link
Member

ldez commented Oct 26, 2017

@aantono Could you change the base branch to 1.4 and rebase? Thanks.

@aantono aantono changed the base branch from master to v1.4 October 27, 2017 01:43
Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👏

Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
:shipit:

@timoreimann timoreimann self-assigned this Oct 31, 2017
@timoreimann
Copy link
Contributor

I'll give this one a quick whirl just to be sure some time tonight.

Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @aantono! 👏

@aantono
Copy link
Contributor Author

aantono commented Oct 31, 2017

Should I rebase against v1.4 branch?

@timoreimann
Copy link
Contributor

@aantono shouldn't be necessary: Traefiker (our bot) can handle this by now. If not, it'll complain. :)

@ldez ldez added this to the 1.4 milestone Nov 1, 2017
@ldez ldez changed the title Fixed an issue of missing Backend key in configuration when application has no tasks Missing Backend key in configuration when application has no tasks Nov 1, 2017
@traefiker traefiker merged commit 02035d4 into traefik:v1.4 Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants