Convert Docker swarm VMs to microvms #44

Closed
opened 2024-02-04 09:40:30 +00:00 by pim · 1 comment
Owner

It is not possible to create the docker nodes in the swam themselves as this is only possible imperatively. Keep this in Ansible still. OS + docker installation can be done in NixOS.

Note: should arrange some sort of persistence for docker swarm state. Directory /var/lib/docker/swarm/

It is not possible to create the docker nodes in the swam themselves as this is only possible imperatively. Keep this in Ansible still. OS + docker installation can be done in NixOS. Note: should arrange some sort of persistence for docker swarm state. Directory /var/lib/docker/swarm/
pim added this to the Infrastructure 2.0 milestone 2024-02-04 09:40:30 +00:00
Author
Owner

Having problem creating additional virtiofs share,

microvm@bancomart2[341898]: qemu-system-x86_64: -chardev socket,id=fs1,path=bancomart2-virtiofs-dockerswarm.sock: Failed to connect to 'bancomart2-virtiofs-dockerswarm.sock': Connection refused

Possibly related to unix permission change:

srwxr-xr-x 1 995 302   0  4 feb 19:22 bancomart2.sock
srwxrwx--- 1   0 302   0  4 feb 17:30 bancomart2-virtiofs-docker_swarm.sock
Having problem creating additional virtiofs share, ``` microvm@bancomart2[341898]: qemu-system-x86_64: -chardev socket,id=fs1,path=bancomart2-virtiofs-dockerswarm.sock: Failed to connect to 'bancomart2-virtiofs-dockerswarm.sock': Connection refused ``` Possibly related to unix permission change: ``` srwxr-xr-x 1 995 302 0 4 feb 19:22 bancomart2.sock srwxrwx--- 1 0 302 0 4 feb 17:30 bancomart2-virtiofs-docker_swarm.sock ```
pim closed this issue 2024-02-08 23:02:12 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: home/nixos-servers#44
No description provided.