Skip to content

[9.1.2] slice plugin is not working anymore in version 9.1.2 #8917

@cbrethes

Description

@cbrethes

UPDATE :
Same problem with every remap plugin might be related to #7820 remap plugin loaded through plugin.config seems to load correctly


When i use slice plugin in ATS 9.1.2, i always get this error in diags.log :

[Jun 16 23:56:14.853] traffic_server NOTE: strategies.yaml finished loading [Jun 16 23:56:14.855] traffic_server ERROR: plugin 'slice.so' failed to load: /run/trafficserver/994e6631-6aa5-44be-94c3-a6ba84219f7a/usr/lib/trafficserver/modules/slice.so: failed to map segment from shared object [Jun 16 23:56:14.855] traffic_server ERROR: [ReverseProxy] failed to add remap rule at /etc/trafficserver/remap.config line 209: /run/trafficserver/994e6631-6aa5-44be-94c3-a6ba84219f7a/usr/lib/trafficserver/modules/slice.so: failed to map segment from shared objectfailed to remove runtime copy: Success [Jun 16 23:56:14.855] traffic_server WARNING: something failed during BuildTable() -- check your remap plugins! [Jun 16 23:56:14.855] traffic_server FATAL: remap.config failed to load

/run/trafficserver/994e6631-6aa5-44be-94c3-a6ba84219f7a only contains an 'usr' folder
/run/trafficserver/994e6631-6aa5-44be-94c3-a6ba84219f7a/usr only contains a lib folder
...
/run/trafficserver/994e6631-6aa5-44be-94c3-a6ba84219f7a/usr/lib/trafficserver/modules/ is an empty folder

Does it mean that slice plugin doesn't support correctly the new ats layout concept ?

I can't find any workaround :-(

my remap :
... map https://myserver.mydomain.com:443/ https://mypublicbucket.amazonaws.com:443/ \ @plugin=slice.so @pparam=--blockbytes=10m \ @plugin=cache_range_requests.so \ @plugin=header_rewrite.so @pparam=header_rules.conf \ @plugin=tslua.so @pparam=ats-set-x-cache-int.lua ...

Other facts :
This configuration works well using ATS 8.1
I tried to compile ATS from source --> same result
I tried debian bookworm (testing version) package of ATS installed on a fresh debian --> same result
It seems that other plugin like stats_over_http.so are loaded successfully

traffic_layout info output this :
PREFIX: /usr BINDIR: /usr/bin SYSCONFDIR: /etc/trafficserver LIBDIR: /usr/lib/trafficserver LOGDIR: /var/log/trafficserver RUNTIMEDIR: /run/trafficserver PLUGINDIR: /usr/lib/trafficserver/modules INCLUDEDIR: /usr/include records.config: /etc/trafficserver/records.config remap.config: /etc/trafficserver/remap.config plugin.config: /etc/trafficserver/plugin.config ssl_multicert.config: /etc/trafficserver/ssl_multicert.config storage.config: /etc/trafficserver/storage.config hosting.config: /etc/trafficserver/hosting.config volume.config: /etc/trafficserver/volume.config ip_allow.yaml: /etc/trafficserver/ip_allow.yaml

Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions