NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
63 stars 20 forks source link

Validation error for the set-route action #6849

Closed stephdl closed 4 months ago

stephdl commented 4 months ago

Steps to reproduce

Expected behavior

I expect that I could create a vhost without error

Actual behavior

Traefik complains that it could not create the route due to a validation error for its set-route action

Validation errors: [instance: Does not match pattern '^[a-zA-Z0-9_-]+$']

Components

traefik1 2.1.1 webserver 1.0.13

See also

https://community.nethserver.org/t/create-virtual-host-throws-error-but-still-appears-to-create/22889/1

stephdl commented 4 months ago

QA

install NS8 from stable with traefik ghcr.io/nethserver/traefik:2.1.2-dev.1 install webserver configure webserver create a virtualhost : www.foo.org

you have also to install and configure mattermost or any module to verify that the route creation is good

No error expected, in the settings > http route you must see all routes created

the route instance name of the vhost will be something like webserver1-www.foo.org

stephdl commented 4 months ago

verified by Gabriel GHEORGHIU at https://community.nethserver.org/t/create-virtual-host-throws-error-but-still-appears-to-create/22889/8

stephdl commented 4 months ago

released as 2.1.2