← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1872836] Re: Swap file creation broken due to incorrect format specifiers

 

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1872836

Title:
  Swap file creation broken due to incorrect format specifiers

Status in cloud-init:
  New
Status in cloud-init package in Ubuntu:
  New

Bug description:
  Swap file creation currently fails with the following error:
  cc_mounts.py[WARNING]: failed to setup swap: %d format: a number is required, not str

  This appears to be fallout from changes from this commit:
  https://github.com/canonical/cloud-init/commit/6603706
  https://github.com/canonical/cloud-init/pull/70

  It appears several '%d' format specifiers are being incorrectly paired
  with a string type variable instead of number type variable.

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


References