Skip to content

Elemental cant parse ipv6 download url #1752

@MacroMars

Description

@MacroMars

I hope I'm in the right place with my problem.

What steps did you take and what happened:

  1. Create SeedImage from YAML (Web GUI or CLI)
apiVersion: elemental.cattle.io/v1beta1
kind: SeedImage
metadata:
  name: media-image-reg-my-nodes-oyiymygq
  namespace: fleet-default
spec:
  baseImage: registry.suse.com/suse/sl-micro/6.2/kvm-iso-image:2.3.0-7.6
  cloud-config:
    write_files:
    - path: /etc/sysconfig/proxy
      append: true
      content: |
          PROXY_ENABLED="yes"
          HTTP_PROXY=http://proxy.my-domain.internal:3128
          HTTPS_PROXY=http://proxy.my-domain.internal:3128
          NO_PROXY="127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.svc,.cluster.local,localhost,::/16,fd::/8,my-domain.internal,10.43.0.0/16,10.42.0.0/16"
  registrationRef:
    apiVersion: elemental.cattle.io/v1beta1
    kind: MachineRegistration
    name: my-nodes
    namespace: fleet-default
  1. Click the Download-Button in the GUI or use curl https://download-url
  2. In the Browser / Terminal you see the message "failed to parse url 'http://fd00:43::604a/my-nodes-2026-01-23T12:12:39Z.iso'"

What did you expect to happen:
The browser or CurL should download the image.

Anything else you would like to add:
It is noticeable that the square brackets are missing from the URL. It should actually work with http://[fd00:43::604a]/my-nodes-2026-01-23T12:12:39Z.iso

Environment:

  • Elemental release version (use cat /etc/os-release):
    Operator: 1.7.3
  • Rancher version:
    Rancher: v2.13.1
    Dashboard: v2.13.1
    Rancher CLI: v2.13.1
    Helm: v3.19.0-rancher1
    Machine: v0.15.0-rancher137
  • Kubernetes version (use kubectl version):
    Client Version: v1.35.0
    Kustomize Version: v5.7.1
    Server Version: v1.34.3+rke2r1
  • Cloud provider or hardware configuration:
    Elemental runs on a 3-node Rancher cluster on Debian VMs running Proxmox Virtual Environment.
    uname -a from the nodes:
    Linux my-server1 6.12.57+deb13-amd64 # 1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
    Linux my-server2 6.12.57+deb13-amd64 # 1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
    Linux my-server3 6.12.57+deb13-amd64 # 1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions