[Bug 1463373] Re: [SRU] cc_apt_configure does not work with python3

Scott Moser smoser at ubuntu.com
Tue Jul 28 17:05:37 UTC 2015


I recreated, patched, verified fixed on vivid.

- launch instance with provided user data
- ssh to instance, verify failure (no 'smello' command)
- see failure when running:
  $ sudo cloud-init single --frequency=always --name=apt_configure
  and that apt-key did not get poplated
  $ apt-key list | grep "Launchpad PPA"
- enable proposed
  $ mirror=http://archive.ubuntu.com/ubuntu ; rel=$(lsb_release -sc)
  $ echo "deb $mirror $rel-proposed main" | sudo tee /etc/apt/sources.list.d/proposed.list
  $ sudo apt-get update -q
  $ sudo apt-get install cloud-init
  $ dpkg-query --show cloud-init
  cloud-init  0.7.7~bzr1091-0ubuntu4

- re-run cloud-init apt module manually
  $ sudo cloud-init single --frequency=always --name=apt_configure
  $ apt-key list | grep "Launchpad PPA"
  uid      Launchpad PPA for Scott Moser
  # note this does show a warning about renderer, that is expected
  $ sudo cloud-init single --frequency=always --name=package_update_upgrade_install
  ...
  Setting up smello (0.3~ppa1)
  $ smello 
  Hi World


** Attachment added: "my.ud: user-data showing issue"
   https://bugs.launchpad.net/cloud-init/+bug/1463373/+attachment/4435275/+files/my.ud

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1463373

Title:
  [SRU] cc_apt_configure does not work with python3

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



More information about the Ubuntu-server-bugs mailing list