View Issue Details

IDProjectCategoryView StatusLast Update
0007583CentOS-7Cloud-Imagespublic2014-11-13 20:52
Reportersmccully Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformKVMOSCentOSOS Version7
Product Version7.0-1406 
Summary0007583: cloud-utils-growpart Fails
DescriptionNot sure if there should be some other logging available but,

Sep 10 12:33:40 localhost journal: [CLOUDINIT] stages.py[INFO]: Loaded datasource DataSourceEc2 - DataSourceEc2
Sep 10 12:33:41 localhost journal: [CLOUDINIT] util.py[WARNING]: Failed: growpart /dev/vda 2



 yum info cloud-utils-growpart cloud-utils cloud-init
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: repos.dfw.quadranet.com
 * epel: mirror.utexas.edu
 * extras: repos.dfw.quadranet.com
 * updates: mirror.raystedman.net
Installed Packages
Name : cloud-init
Arch : x86_64
Version : 0.7.5
Release : 10.el7.centos.1
Size : 1.4 M
Repo : installed
From repo :
Summary : Cloud instance init scripts
URL : http://launchpad.net/cloud-init
License : GPLv3
Description : Cloud-init is a set of init scripts for cloud instances. Cloud instances
            : need special scripts to run during initialization to retrieve and install
            : ssh keys and to let the user run various scripts.

Name : cloud-utils
Arch : x86_64
Version : 0.27
Release : 20.el7.centos
Size : 109 k
Repo : installed
From repo :
Summary : Cloud image management utilities
URL : https://launchpad.net/cloud-utils/trunk/0.27/+download/cloud-utils-0.27.tar.gz
License : GPLv3
Description : This package provides a useful set of utilities for managing cloud images.
            :
            : The euca2ools package (a dependency of cloud-utils) provides an Amazon EC2 API
            : compatible set of utilities for bundling kernels, ramdisks, and root
            : filesystems, and uploading them to either EC2 or UEC.
            :
            : The tasks associated with image bundling are often tedious and repetitive. The
            : cloud-utils package provides several scripts that wrap the complicated tasks
            : with a much simpler interface.

Name : cloud-utils-growpart
Arch : x86_64
Version : 0.27
Release : 20.el7.centos
Size : 53 k
Repo : installed
From repo :
Summary : Script for growing a partition
URL : https://launchpad.net/cloud-utils/trunk/0.27/+download/cloud-utils-0.27.tar.gz
License : GPLv3
Description : This package provides the growpart script for growing a partition. It is
            : primarily used in cloud images in conjunction with the dracut-modules-growroot
            : package to grow the root partition on first boot.

Steps To Reproduce1. Install cloud-utils-growpart package
2. Reboot Server
TagsNo tags attached.
abrt_hash
URL

Activities

smccully

smccully

2014-09-10 20:06

reporter   ~0020886

So the issue is with growpart,

# growpart /dev/vda 2
failed [pt_update:1] pt_update /dev/vda 2
partx: /dev/vda: error updating partition 2
FAILED: pt_resize failed
***** WARNING: Resize failed, attempting to revert ******
Re-reading the partition table ...
BLKRRPART: Device or resource busy
sfdisk: The command to re-read the partition table failed.
Run partprobe(8), kpartx(8) or reboot your system now,
before using mkfs
irvingpop

irvingpop

2014-11-13 20:52

reporter   ~0021682

FWIW I filed a similar issue in Redhat's bug tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1155742

Issue History

Date Modified Username Field Change
2014-09-10 17:52 smccully New Issue
2014-09-10 20:06 smccully Note Added: 0020886
2014-11-13 20:52 irvingpop Note Added: 0021682