← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1869114] Re: cloud-init cannot create swap files on paths that it mounts

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3633

** Bug watch added: github.com/canonical/cloud-init/issues #3633
   https://github.com/canonical/cloud-init/issues/3633

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1869114

Title:
  cloud-init cannot create swap files on paths that it mounts

Status in cloud-init:
  Expired

Bug description:
  1. cloud-init's swap module runs before the mount module, which causes swapfile creation on runtime mounted disks to fail.
  2. cloud-init's swap create does not ensure it has a path to the file (if specified with a directory that does not exist yet).

  Bug exists in all clouds, but the bug was discovered through deploying
  an Azure VM, mounting the Azure resource disk, and then creating a
  swapfile within the mounted resource disk.

  Relevant logs: https://paste.ubuntu.com/p/QdGybC2wyc/

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1869114/+subscriptions



References