Skip to content

Instantly share code, notes, and snippets.

@okoye
Created September 22, 2017 05:26
Show Gist options
  • Save okoye/98c72eff89792e53e8f7b53fa61c5af1 to your computer and use it in GitHub Desktop.
Save okoye/98c72eff89792e53e8f7b53fa61c5af1 to your computer and use it in GitHub Desktop.
CMCDH Debugging
==> amazon-ebs: Prevalidating AMI Name...
amazon-ebs: Found Image ID: ami-4543be3d
==> amazon-ebs: Creating temporary keypair: packer_59c49ca9-0a3c-2b23-c514-5dd39884a650
==> amazon-ebs: Creating temporary security group for this instance: packer_59c49cab-e504-77e0-41a4-9e5231e00244
==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Instance ID: i-0e425b2de2a239fcf
==> amazon-ebs: Waiting for instance (i-0e425b2de2a239fcf) to become ready...
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell110362868
amazon-ebs: Loaded plugins: fastestmirror
amazon-ebs: base | 3.6 kB 00:00
amazon-ebs: extras | 3.4 kB 00:00
amazon-ebs: updates | 3.4 kB 00:00
amazon-ebs: (1/2): extras/7/x86_64/primary_db | 112 kB 00:00
amazon-ebs: (2/2): updates/7/x86_64/primary_db | 2.9 MB 00:01
amazon-ebs: Loading mirror speeds from cached hostfile
amazon-ebs: * base: centos.sonn.com
amazon-ebs: * extras: mirror.hostduplex.com
amazon-ebs: * updates: repo1.sea.innoscale.net
amazon-ebs: No packages marked for update
==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell565726757
amazon-ebs: Loaded plugins: fastestmirror
amazon-ebs: Loading mirror speeds from cached hostfile
amazon-ebs: * base: centos.sonn.com
amazon-ebs: * extras: mirror.hostduplex.com
amazon-ebs: * updates: repo1.sea.innoscale.net
amazon-ebs: Resolving Dependencies
amazon-ebs: --> Running transaction check
amazon-ebs: ---> Package gdisk.x86_64 0:0.8.6-5.el7 will be installed
amazon-ebs: --> Processing Dependency: libicuuc.so.50()(64bit) for package: gdisk-0.8.6-5.el7.x86_64
amazon-ebs: --> Processing Dependency: libicuio.so.50()(64bit) for package: gdisk-0.8.6-5.el7.x86_64
amazon-ebs: --> Running transaction check
amazon-ebs: ---> Package libicu.x86_64 0:50.1.2-15.el7 will be installed
amazon-ebs: --> Finished Dependency Resolution
amazon-ebs:
amazon-ebs: Dependencies Resolved
amazon-ebs:
amazon-ebs: ================================================================================
amazon-ebs: Package Arch Version Repository Size
amazon-ebs: ================================================================================
amazon-ebs: Installing:
amazon-ebs: gdisk x86_64 0.8.6-5.el7 base 187 k
amazon-ebs: Installing for dependencies:
amazon-ebs: libicu x86_64 50.1.2-15.el7 base 6.9 M
amazon-ebs:
amazon-ebs: Transaction Summary
amazon-ebs: ================================================================================
amazon-ebs: Install 1 Package (+1 Dependent package)
amazon-ebs:
amazon-ebs: Total download size: 7.1 M
amazon-ebs: Installed size: 25 M
amazon-ebs: Downloading packages:
amazon-ebs: (1/2): gdisk-0.8.6-5.el7.x86_64.rpm | 187 kB 00:00
amazon-ebs: (2/2): libicu-50.1.2-15.el7.x86_64.rpm | 6.9 MB 00:00
amazon-ebs: --------------------------------------------------------------------------------
amazon-ebs: Total 12 MB/s | 7.1 MB 00:00
amazon-ebs: Running transaction check
amazon-ebs: Running transaction test
amazon-ebs: Transaction test succeeded
amazon-ebs: Running transaction
amazon-ebs: Installing : libicu-50.1.2-15.el7.x86_64 1/2
amazon-ebs: Installing : gdisk-0.8.6-5.el7.x86_64 2/2
amazon-ebs: Verifying : libicu-50.1.2-15.el7.x86_64 1/2
amazon-ebs: Verifying : gdisk-0.8.6-5.el7.x86_64 2/2
amazon-ebs:
amazon-ebs: Installed:
amazon-ebs: gdisk.x86_64 0:0.8.6-5.el7
amazon-ebs:
amazon-ebs: Dependency Installed:
amazon-ebs: libicu.x86_64 0:50.1.2-15.el7
amazon-ebs:
amazon-ebs: Complete!
==> amazon-ebs: Uploading /opt/rosco/config/packer/scripts/provisioning/internal/ => /tmp
==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell247823590
==> amazon-ebs: Provisioning with shell script: /opt/rosco/config/packer/scripts/provisioning/rewrite_root_disk_partition_table.sh
amazon-ebs: + '[' hvm = pv ']'
amazon-ebs: + lsblk
amazon-ebs: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
amazon-ebs: xvda 202:0 0 30G 0 disk
amazon-ebs: ������xvda1 202:1 0 30G 0 part /
amazon-ebs: + df -h
amazon-ebs: Filesystem Size Used Avail Use% Mounted on
amazon-ebs: /dev/xvda1 30G 1.4G 29G 5% /
amazon-ebs: devtmpfs 7.8G 0 7.8G 0% /dev
amazon-ebs: tmpfs 7.8G 0 7.8G 0% /dev/shm
amazon-ebs: tmpfs 7.8G 17M 7.8G 1% /run
amazon-ebs: tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
amazon-ebs: tmpfs 1.6G 0 1.6G 0% /run/user/1000
amazon-ebs: ++ findmnt -n --evaluate -o SOURCE --target /
amazon-ebs: + ROOT_PARTITION_DEVICE=/dev/xvda1
amazon-ebs: ++ echo /dev/xvda1
amazon-ebs: ++ sed -e 's/[0-9]*$//'
amazon-ebs: + ROOT_DEVICE=/dev/xvda
amazon-ebs: ++ blockdev --getsize64 /dev/xvda
amazon-ebs: + ROOT_DEVICE_SIZE=32212254720
amazon-ebs: ++ blockdev --getsize64 /dev/xvda1
amazon-ebs: + ROOT_PARTITION_SIZE=32211189248
amazon-ebs: + USAGE_PERCENTAGE=99
amazon-ebs: + '[' 99 -gt 95 ']'
amazon-ebs: + echo 'No resize needed. The root disk partition already has the desired size'
amazon-ebs: No resize needed. The root disk partition already has the desired size
amazon-ebs: + exit 0
==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell144910435
amazon-ebs: PolicyKit daemon disconnected from the bus.
amazon-ebs: We are no longer a registered authentication agent.
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Script disconnected unexpectedly.
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Script disconnected unexpectedly.
==> Builds finished but no artifacts were created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment