PUMATeam / catapult

A management system for firecracker - WIP
Apache License 2.0
7 stars 5 forks source link

Add storage support #134

Open bennyz opened 4 years ago

bennyz commented 4 years ago

Will currently work with cinderlib+ceph [ ] - Install ceph-common + rbd-nbd on the host [ ] - Generate a rootfs based on a docker image provided by the user [ ] - Create the volume with size of the rootfs image (might have to round up) [ ] - Create an nbd device on the host [ ] - Map the volume to the host using `rbd-nbd <pool/volume-name> --device [ ] - Copy the data from the rootfs into the volume

Further ahead: Save the volume data to allow listing, deletion etc. Starting VMs will done by providing a volume ID rather than the name of the rootfs file

Even further ahead: Support overlay images to provide a templating solution