This should be fixed in 17.1, based on Josh's url.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

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

Title:
  upgrade_packages broken in zypper/openSUSE

Status in cloud-init:
  Fix Released

Bug description:
  Given the following setting in user data:

  #cloud-config
  package_upgrade: true

  cloud-init will fail to upgrade packages on openSUSE (and probably SLES) 
distro.
  The reason for this is that cloud-init calls 
cloud.distro.package_command("upgrade") to upgrade packages, where the given 
argument is passed directly to zypper. But unlike apt-get on Debian-based 
systems, zypper uses command update to upgrade packages.

  I am including simple patch to sles.py, which will modify argument in
  package_command, but it would be probably better to add new function
  (e. g. upgrade_packages) and call this in
  cc_package_update_upgrade_install.py instead of
  package_command("upgrade").

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to