Skip to content

Dataplane API Unable to rename haproxy.cfg when trying to commit transaction #3

Closed
@penghongkwek

Description

@penghongkwek

I executed this following URL to commit the transaction

curl -X PUT --user admin:mypassword
-H "Content-Type: application/json"
http://localhost:5555/v2/services/haproxy/transactions/{transaction_id}

Result

{"code":500,"message":"rename /tmp/.haproxy.cfg038157959 /usr/local/etc/haproxy/haproxy.cfg: device or resource busy"}

docker-compose.yml

haproxy:
image: haproxytech/haproxy-ubuntu:latest
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:rw
ports:
- 8080:80
- 5555:5555

Please advise. Thank you

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions