Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Dataplane API map file issue

$
0
0

Hi there,

I’ve just installed the dataplance api (2.4.4) and it looks to be running OK. I can run some simple queries without issue. However, one of the things I wanted to work with are map files. Currently if I run the following command:

curl -u adminuser:xxxxx “http://127.0.0.1:5555/v2/services/haproxy/storage/maps

it returns the following:
[{“description”:“managed but not loaded map file (no runtime ID)”,“file”:"/etc/haproxy/maps/map1.map",“storage_name”:“map1.map”},{“description”:“managed but not loaded map file (no runtime ID)”,“file”:"/etc/haproxy/maps/map2.map",“storage_name”:“map2.map”}]

I came across the following (Announcing HAProxy Data Plane API 2.2 - HAProxy Technologies search for “managed but not loaded map file (no runtime ID)”) that suggested this was because it wasn’t used in the config but it is included in my haproxy.cfg e.g.

use_backend %[req.hdr(host),lower,map(/etc/haproxy/maps/map1.map)]

Does anyone know how I can resolve this? Thanks!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>