017-12-04 18:18:03,321 - DataSourceEc2.py[DEBUG]: Remapped device name /dev/sdc => /dev/xvdc
2017-12-04 18:18:03,321 - cc_disk_setup.py[DEBUG]: updated disk_setup device entry 'ephemeral1' to '/dev/xvdc'
2017-12-04 18:18:03,321 - DataSourceEc2.py[DEBUG]: Unable to convert /dev/xvdc to a device
2017-12-04 18:18:03,321 - cc_disk_setup.py[DEBUG]: Partitioning disks: {'/dev/xvdc': {'overwrite': True, 'table_type': 'mbr', '_origname': 'ephemeral1', 'layout': True}}
2017-12-04 18:18:03,321 - cc_disk_setup.py[DEBUG]: Creating new partition table/disk
2017-12-04 18:18:03,321 - util.py[DEBUG]: Running command ['udevadm', 'settle'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,324 - cc_disk_setup.py[DEBUG]: Checking values for /dev/xvdc definition
2017-12-04 18:18:03,324 - cc_disk_setup.py[DEBUG]: Checking against default devices
2017-12-04 18:18:03,324 - cc_disk_setup.py[DEBUG]: Checking if device /dev/xvdc is a valid device
2017-12-04 18:18:03,324 - util.py[DEBUG]: Running command ['/bin/lsblk', '--pairs', '--output', 'NAME,TYPE,FSTYPE,LABEL', '/dev/xvdc', '--nodeps'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,327 - cc_disk_setup.py[DEBUG]: Checking if device layout matches
2017-12-04 18:18:03,327 - util.py[DEBUG]: Running command ['udevadm', 'settle'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,329 - util.py[DEBUG]: Running command ['/sbin/blockdev', '--rereadpt', '/dev/xvdc'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,332 - util.py[DEBUG]: Running command ['udevadm', 'settle'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,334 - util.py[DEBUG]: Running command ['/sbin/sfdisk', '-l', '/dev/xvdc'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,336 - cc_disk_setup.py[DEBUG]: called check_partition_mbr_layout(/dev/xvdc, True), returned: []
2017-12-04 18:18:03,336 - cc_disk_setup.py[DEBUG]: Checking if device is safe to partition
2017-12-04 18:18:03,336 - cc_disk_setup.py[DEBUG]: Checking for device size of /dev/xvdc
2017-12-04 18:18:03,336 - util.py[DEBUG]: Running command ['/sbin/blockdev', '--getsize64', '/dev/xvdc'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,338 - util.py[DEBUG]: Running command ['/sbin/blockdev', '--getss', '/dev/xvdc'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,339 - cc_disk_setup.py[DEBUG]: Calculating partition layout
2017-12-04 18:18:03,339 - cc_disk_setup.py[DEBUG]: Layout is: 0,
2017-12-04 18:18:03,339 - cc_disk_setup.py[DEBUG]: Creating partition table on /dev/xvdc
2017-12-04 18:18:03,339 - util.py[DEBUG]: Running command ['/sbin/sfdisk', '--Linux', '--unit=S', '--force', '/dev/xvdc'] with allowed return codes [0] (shell=False, capture=True)
2017-12-04 18:18:03,347 - util.py[DEBUG]: Creating partition on /dev/xvdc took 0.025 seconds
2017-12-04 18:18:03,347 - util.py[WARNING]: Failed partitioning operation
Failed to partition device /dev/xvdc
Unexpected error while running command.
Command: ['/sbin/sfdisk', '--Linux', '--unit=S', '--force', '/dev/xvdc']
Exit code: 1
Reason: -
Stdout: Checking that no-one is using this disk right now ... OK
Disk /dev/xvdc: 80 GiB, 85887811584 bytes, 167749632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
>>> Created a new DOS disklabel with disk identifier 0xc16c0340.
Leaving.
Stderr: sfdisk: --Linux option is unnecessary and deprecated
/dev/xvdc: device contains a valid 'ext3' signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions
Start sector 0 out of range.
Failed to add partition: Numerical result out of range