system-image fails to sign images if more than one key is available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
Triaged
|
High
|
Unassigned |
Bug Description
We are in the process of rotating signing keys for system-
This causes a backtrace in the importer:
2015-05-21 18:28:21,633 INFO Processing channel: ubuntu-
2015-05-21 18:28:21,635 INFO Processing device: mako
2015-05-21 18:28:21,647 INFO Calling 'cdimage-ubuntu' generator for a new file
Traceback (most recent call last):
File "/srv/system-
environment)
File "/srv/system-
path = generate_
File "/srv/system-
gpg.
File "/srv/system-
[key] = ctx.keylist()
ValueError: too many values to unpack
This is a bug; the code should not be reading the list of *public* keys to determine which key to sign with, it should look at the available *private* keys.
tags: | added: server |
Changed in ubuntu-system-image: | |
status: | New → Triaged |
importance: | Undecided → High |