rancher: info pointed by catalog URL makes rancher crash at ~2 minutes interval

What kind of request is this (question/bug/enhancement/feature request):

bug: unexpected container crash (i.e. a heavy slowdown)

Steps to reproduce (least amount of steps as possible):

add catalog https://swissdatasciencecenter.github.io/helm-charts/

Result:

DoS, with this log visible:

2019/03/30 00:16:03 [ERROR] CatalogController renku-helm-charts [catalog] failed with : failed to update templates. Multiple error occurred: [CatalogTemplateVersion.management.cattle.io "renku-helm-charts-renku-notebooks-0.2.1-gputest-" is invalid: metadata.name: Invalid value: "renku-helm-charts-renku-notebooks-0.2.1-gputest-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')] | stdout
-- | --

Other details that may be helpful:

Environment information

  • Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.2.1
  • Installation option (single install/HA): single install

Cluster information

  • Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom
  • Machine type (cloud/VM/metal) and specifications (CPU/memory): VM
  • Kubernetes version (use kubectl version): 1.11.9 & 1.13.5 - verified in both
2019/03/30 00:16:03 [ERROR] CatalogController renku-helm-charts [catalog] failed with : failed to update templates. Multiple error occurred: [CatalogTemplateVersion.management.cattle.io "renku-helm-charts-renku-notebooks-0.2.1-gputest-" is invalid: metadata.name: Invalid value: "renku-helm-charts-renku-notebooks-0.2.1-gputest-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')] | stdout
-- | --
  • Docker version (use docker version):
18.09.04, docker-ce@centos

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@deniseschannon Not seeing a “crash”. But adding that catalog seem to be causing some sort of download recursion. It just keeps trying to sync charts that it already sync’ed. At some point I’m sure I would run out of memory or something cause it just doesn’t stop. Also after I removed the chart, it continued to sync. I couldn’t get it to stop, which is bad.

I did add a chart to my helm catalog with a - at the end of it. It didn’t crash, it just didn’t show up when I went to apps.