2015-06-09 11:34:10 |
Nicholas Van Wiggeren |
bug |
|
|
added bug |
2015-06-11 07:39:15 |
Dan Watkins |
cloud-init: assignee |
|
Dan Watkins (daniel-thewatkins) |
|
2015-06-15 13:19:50 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu) |
|
2015-06-15 20:55:32 |
Scott Moser |
cloud-init: status |
New |
Fix Committed |
|
2015-06-15 20:55:35 |
Scott Moser |
cloud-init (Ubuntu): status |
New |
Fix Committed |
|
2015-06-15 20:55:40 |
Scott Moser |
cloud-init (Ubuntu): status |
Fix Committed |
Confirmed |
|
2015-06-15 21:21:34 |
Launchpad Janitor |
branch linked |
|
lp:cloud-init |
|
2015-06-16 13:58:26 |
Scott Moser |
nominated for series |
|
Ubuntu Wily |
|
2015-06-16 13:58:26 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Wily) |
|
2015-06-16 13:58:26 |
Scott Moser |
nominated for series |
|
Ubuntu Vivid |
|
2015-06-16 13:58:26 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Vivid) |
|
2015-06-16 13:58:33 |
Scott Moser |
cloud-init (Ubuntu Vivid): status |
New |
Confirmed |
|
2015-06-16 13:58:36 |
Scott Moser |
cloud-init (Ubuntu Vivid): importance |
Undecided |
Medium |
|
2015-06-16 13:58:37 |
Scott Moser |
cloud-init (Ubuntu Wily): importance |
Undecided |
Medium |
|
2015-06-16 13:58:40 |
Scott Moser |
cloud-init: importance |
Undecided |
Medium |
|
2015-06-16 14:19:24 |
Andrew Starr-Bochicchio |
bug |
|
|
added subscriber Andrew Starr-Bochicchio |
2015-07-09 14:38:52 |
Dan Watkins |
cloud-init: assignee |
Dan Watkins (daniel-thewatkins) |
|
|
2015-07-16 12:46:42 |
Dan Watkins |
description |
The way cc_apt_configure.py writes out the script to fetch GPG keys breaks when using Python 3.
* There's a constant, http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/config/cc_apt_configure.py#L39 that contains the script.
* In getkeybyid, it's written to a temporary file: http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/config/cc_apt_configure.py#L113
Python 3 throws an exception: 'str' does not support the buffer interface when doing the write.
A very simple example:
import tempfile
fh = tempfile.NamedTemporaryFile()
TEST_STR = """ HELLO WORLD """
fh.write(TEST_STR)
Will work with 2, but not 3. |
The way cc_apt_configure.py writes out the script to fetch GPG keys breaks when using Python 3.
[Impact]
GPG keys specified in cloud configuration cannot be checked.
[Test Case]
Specify a key in a source in the apt_sources cloud config key, and ensure that there aren't warnings about it in /var/log/cloud-init.log after boot.
[Regression Potential]
This part of the feature is completely broken at the moment, so very little chance to regress. |
|
2015-07-17 17:26:54 |
Ben Howard |
summary |
cc_apt_configure does not work with python3 |
[SRU] cc_apt_configure does not work with python3 |
|
2015-07-17 17:27:09 |
Ben Howard |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-07-22 21:46:25 |
Launchpad Janitor |
cloud-init (Ubuntu Wily): status |
Confirmed |
Fix Released |
|
2015-07-23 14:53:45 |
Chris J Arges |
cloud-init (Ubuntu Vivid): status |
Confirmed |
Fix Committed |
|
2015-07-23 14:53:49 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-07-23 14:53:53 |
Chris J Arges |
tags |
|
verification-needed |
|
2015-07-27 20:57:48 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cloud-init |
|
2015-07-28 16:56:59 |
Scott Moser |
tags |
verification-needed |
verification-done |
|
2015-07-28 17:05:37 |
Scott Moser |
attachment added |
|
my.ud: user-data showing issue https://bugs.launchpad.net/cloud-init/+bug/1463373/+attachment/4435275/+files/my.ud |
|
2015-08-10 17:28:13 |
Launchpad Janitor |
cloud-init (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|
2015-08-10 17:28:28 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-08-10 14:48:26 |
Scott Moser |
cloud-init: status |
Fix Committed |
Fix Released |
|
2023-05-10 08:16:47 |
James Falcon |
bug watch added |
|
https://github.com/canonical/cloud-init/issues/2560 |
|