It looks like ceph’s ‘mkimage’ script lost the ‘mkswap’ command on/about line 163
You can create a swap disk. But because the disk isn’t labeled as swap,
contextualization never mounts it as swap.
There used to be 3 lines. Line 2 seems to be missing missing
- uses rbd to create a raw disk
- use mkswap to label disk ( e.g. /usr/sbin/mkswap “${DST_PATH}” )
- convert raw disk to ceph