--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cloud-init growpart module fails to execute due to different growpart version
- From: Favyen Bastani <fbastani@perennate.com>
- Date: Fri, 01 May 2015 21:16:31 -0400
- Message-id: <5544256F.5050807@perennate.com>
Package: cloud-init
Version: 0.7.6~bzr976-2
Severity: normal
Dear Maintainer,
cloud-init included growpart executable from jessie repository do not
appear to work together. cloudinit/config/cc_growpart.py searches for
"--update" in output of "growpart --help", but this is no longer
present; I think this is causing virtual machines to fail to resize the
root partition on first boot.
The log shows:
cc_growpart.py[DEBUG]: No 'growpart' entry in cfg. Using default:
{'ignore_growroot_disabled': False, 'mode': 'auto', 'devices': ['/']
util.py[DEBUG]: Running command ['growpart', '--help'] with allowed
return codes [0] (shell=False, capture=True)
cc_growpart.py[DEBUG]: growpart unable to find resizer for 'auto': No
resizers available
But the ResizerGrowPart class should be available.
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cloud-init depends on:
ii debconf [debconf-2.0] 1.5.56
ii ifupdown 0.7.53.1
ii lsb-base 4.1+Debian13+nmu1
ii procps 2:3.3.9-9
ii python 2.7.9-1
ii python-boto 2.34.0-2
ii python-cheetah 2.4.4-3
ii python-configobj 5.0.6-1
ii python-jsonpatch 1.3-5
ii python-oauth 1.0.1-4
ii python-prettytable 0.7.2-3
ii python-requests 2.4.3-6
ii python-serial 2.6-1.1
ii python-software-properties 0.92.25debian1
ii python-yaml 3.11-2
cloud-init recommends no packages.
cloud-init suggests no packages.
-- Configuration Files:
/etc/cloud/cloud.cfg changed:
users:
- default
disable_root: true
preserve_hostname: false
datasource:
OpenStack: {}
None: {}
datasource_list:
- OpenStack
cloud_init_modules:
- migrator
- seed_random
- bootcmd
- write-files
- growpart
- resizefs
- set_hostname
- update_hostname
- update_etc_hosts
- ca-certs
- rsyslog
- users-groups
- ssh
cloud_config_modules:
- emit_upstart
- disk_setup
- mounts
- ssh-import-id
- locale
- set-passwords
- grub-dpkg
- apt-pipelining
- apt-configure
- package-update-upgrade-install
- landscape
- timezone
- puppet
- chef
- salt-minion
- mcollective
- disable-ec2-metadata
- runcmd
- byobu
cloud_final_modules:
- rightscale_userdata
- scripts-vendor
- scripts-per-once
- scripts-per-boot
- scripts-per-instance
- scripts-user
- ssh-authkey-fingerprints
- keys-to-console
- phone-home
- final-message
- power-state-change
system_info:
# This will affect which distro class gets used
distro: debian
# Default user name + that default users groups (if added/used)
default_user:
name: debian
lock_passwd: True
gecos: Debian
groups: [adm, audio, cdrom, dialout, floppy, video, plugdev, dip, sudo]
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
shell: /bin/bash
# Other config here will be given to the distro class and/or path classes
paths:
cloud_dir: /var/lib/cloud/
templates_dir: /etc/cloud/templates/
upstart_dir: /etc/init/
package_mirrors:
- arches: [default]
failsafe:
primary: http://ftp.debian.org/debian
ssh_svcname: ssh
-- debconf information:
cloud-init/datasources: NoCloud, AltCloud, CloudStack, ConfigDrive,
Ec2, MAAS, OVF, GCE, None
--- End Message ---
--- Begin Message ---
Hi,
Since there's a solution in Jessie (ie: use the backport version), and
the issue is fixed in Stretch, which is the new stable, it's probably
time to close this bug. If one wants to fix old-stable, feel free to
discuss with the release team before reopening this bug.
Cheers,
Thomas Goirand (zigo)
--- End Message ---