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

Router with / in their name messes up with dashboard #5611

Closed
1 of 2 tasks
sylr opened this issue Oct 9, 2019 · 7 comments
Closed
1 of 2 tasks

Router with / in their name messes up with dashboard #5611

sylr opened this issue Oct 9, 2019 · 7 comments
Labels
area/provider/k8s/ingress kind/bug/confirmed a confirmed bug (reproducible). priority/P2 need to be fixed in the future status/5-frozen-due-to-age
Milestone

Comments

@sylr
Copy link
Contributor

sylr commented Oct 9, 2019

Do you want to request a feature or report a bug?

Bug

Did you try using a 1.7.x configuration for the version 2.0?

  • Yes
  • No

What did you do?

I've clicked on following HTTP router

Screenshot_84

What did you see instead?

Screenshot_85

Output of traefik version: (What version of Traefik are you using?)

2.0.1

What is your environment & configuration (arguments, toml, provider, platform, ...)?

    [log]
      level = "INFO"
      format = "json"
    [accessLog]
      format = "json"
    [entryPoints.http]
      address = ":80"
    [entryPoints.http-internal]
      address = ":81"
    [entryPoints.https]
      address = ":443"
    [entryPoints.traefik]
      address = ":8080"
    [entryPoints.traefik-ext]
      address = ":8081"
    [providers.kubernetesIngress]
       ingressClass = "traefik"
    [providers.kubernetesCRD]
    [providers.file]
      directory  = "/config/static"
      watch = true
    [api]
      insecure = true
      dashboard = true
      debug = true
    [metrics.prometheus]
      entryPoint = "traefik"
      buckets = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.5,2.0]

Ingress kubernetes:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: traefik
  creationTimestamp: "2019-07-31T14:42:45Z"
  generation: 2
  labels:
    app: pwet
    release: pwet
  name: pwet
  namespace: pwet
  resourceVersion: "90246831"
  selfLink: /apis/extensions/v1beta1/namespaces/pwet/ingresses/pwet
  uid: 7553afb4-b3a1-11e9-a70e-000d3a482661
spec:
  rules:
  - host: pwet.com
    http:
      paths:
      - backend:
          serviceName: pwet
          servicePort: 8080
        path: /
      - backend:
          serviceName: pwet
          servicePort: 8080
        path: /api/v1/
  tls:
  - hosts:
    - pwet.com
    secretName: pwet-tls
status:
  loadBalancer: {}

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)

(paste your output here)
@sylr
Copy link
Contributor Author

sylr commented Oct 9, 2019

Related to: https://github.com/containous/traefik/pull/5612/files

Although there are other cases where a / can end up in the router name

@dtomcej dtomcej added area/provider/k8s/ingress kind/bug/confirmed a confirmed bug (reproducible). priority/P2 need to be fixed in the future and removed status/0-needs-triage labels Oct 9, 2019
@traefiker
Copy link
Contributor

Closed by #5612.

@traefiker traefiker added this to the 2.0 milestone Oct 9, 2019
@sylr
Copy link
Contributor Author

sylr commented Oct 10, 2019

Still happening in 2.0.2

Screenshot_86

@dduportal could you re-open please ?

@dduportal
Copy link
Contributor

@sylr can you provide a reproduction case please?

@sylr
Copy link
Contributor Author

sylr commented Oct 10, 2019

I've included the kubernetes ingress that provokes it in the main issue.

@dduportal dduportal reopened this Oct 10, 2019
@dduportal
Copy link
Contributor

Ref #5623

@traefiker
Copy link
Contributor

Closed by #5623.

@traefik traefik locked and limited conversation to collaborators Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/provider/k8s/ingress kind/bug/confirmed a confirmed bug (reproducible). priority/P2 need to be fixed in the future status/5-frozen-due-to-age
Projects
None yet
Development

No branches or pull requests

4 participants