remote-system-image generator tries to ungzip initrd.img
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu system image |
New
|
Undecided
|
Unassigned |
Bug Description
I set up a remote-system-image channel in my server config, but when I run it, it crashes trying to ungzip the initrd.img file. It's entirely possible I'm doing something stupid, but I want to at least capture this bug for discussion.
Traceback:
2015-05-07 10:52:16,698 DEBUG Path generated: /var/www/
c4a9b98e.tar.xz
2015-05-07 10:52:23,885 DEBUG Unxzipping file: /tmp/tmpspAHRE/
2015-05-07 10:52:28,022 DEBUG Ungzipping /tmp/tmpspAHRE/
Traceback (most recent call last):
File "bin/import-
environment)
File "/home/
path = generate_
File "/home/
mage
options[
File "/home/
os.
File "/home/
uncompresse
File "/usr/lib/
c = self.read(readsize)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise IOError, 'Not a gzipped file'
I'll paste my configuration file momentarily. I'm using the instructions straight out of the wiki page for invoking bin/si-shell and bin/import-image -vvvv
[global] ubuntu/ system- image/ gpg/keyrings/
base_path = /home/barry/
channels = devel
gpg_key_path = secret/gpg/keys/
gpg_keyring_path = secret/
publish_path = /var/www/si
state_path = state/
public_fqdn = hope.wooz.org
public_http_port = 80
public_https_port = 443
[channel_devel] system- image;https:/ /system- image.ubuntu. com;ubuntu- touch/vivid- proposed; ubuntu system- image;https:/ /system- image.ubuntu. com;ubuntu- touch/vivid- proposed; device; keyring= archive- master archive- master
type = auto
versionbase = 1
fullcount = 15
files = ubuntu, device, keyring, version
file_ubuntu = remote-
file_device = remote-
file_keyring = keyring;
file_version = version