[Cloud-packages] Bug#814469: bootstrap-vz runs into a TypeError on Jessie
kellerfuchs
kellerfuchs at hashbang.sh
Thu Feb 11 22:51:50 UTC 2016
Package: bootstrap-vz
Version: 0.9.0-1
Severity: important
Dear Maintainer,
bootstrap-vz throws a TypeError on jessie while trying to build an image.
The version from git (commit 790f2d66bba2eaff5dddc57a84d388e7dd45ed55) works
without any issue.
I'm not writing from the system I encountered the problem on, hence the
deletion of the system information; the enclosed info should be enough
to localise the problem.
> sudo bootstrap-vz ebs-jessie-amd64-hvm.yml
Traceback (most recent call last):
File "/usr/local/bin/bootstrap-vz", line 9, in <module>
load_entry_point('bootstrap-vz==0.9.0', 'console_scripts', 'bootstrap-vz')()
File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/main.py", line 33, in main
run(opts)
File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/main.py", line 63, in run
manifest = Manifest(opts['MANIFEST'])
File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/manifest.py", line 24, in __init__
self.load()
File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/manifest.py", line 42, in load
provider_modname = 'bootstrapvz.providers.' + self.data['provider']
TypeError: cannot concatenate 'str' and 'dict' objects
> cat ebs-jessie-amd64-hvm.yml
---
name: debian-{system.release}-{system.architecture}-{provider.virtualization}-{%Y}-{%m}-{%d}-ebs
provider:
name: ec2
virtualization: hvm
enhanced_networking: simple
description: Debian {system.release} {system.architecture}
bootstrapper:
workspace: /target
tarball: true
sources:
docker:
- deb https://apt.dockerproject.org/repo debian-jessie main
include_packages:
- apt-transport-https
- ca-certificates
- docker-engine
trusted_keys:
- keys/docker.asc
system:
release: jessie
architecture: amd64
bootloader: extlinux
charmap: UTF-8
locale: en_US
timezone: UTC
volume:
backing: ebs
partitions:
type: none
root:
filesystem: ext4
size: 8GiB
packages:
mirror: http://cloudfront.debian.net/debian
plugins:
cloud_init:
metadata_sources: Ec2
username: admin
More information about the Cloud-packages
mailing list