HI,
I am attempting to build an AWS AMI using amazon-instance type builder. I'm
running packer in debug option so I can ssh into the instance and monitor
what's going on.
$ packer build -debug my_packer_config.json
Here's a portion of my output:
==> amazon-instance: Pausing after run of step 'StepProvision'. Press enter
to continue.
==> amazon-instance: Uploading X509 Certificate...
==> amazon-instance: Pausing after run of step 'StepUploadX509Cert'. Press
enter to continue.
==> amazon-instance: Bundling the volume...
==> amazon-instance: Running: sudo -i -n ec2-bundle-vol -k /tmp/key.pem -u
593404624303 -c /tmp/cert.pem -r x86_64 -e /tmp/* -d /tmp -p
image-1475601786 --batch --no-filter
amazon-instance: Setting partition type to bundle "/" with...
amazon-instance: Auto-detecting partition type for "/"
amazon-instance: Partition label detected using parted: "loop"
amazon-instance: Using partition type "none"
amazon-instance: Copying / into the image file /tmp/image-1475601786...
amazon-instance: Excluding:
amazon-instance: /proc
amazon-instance: /sys
amazon-instance: /dev
amazon-instance: /dev/pts
amazon-instance: /proc/sys/fs/binfmt_misc
amazon-instance: /dev
amazon-instance: /media
amazon-instance: /mnt
amazon-instance: /proc
amazon-instance: /sys
amazon-instance: /tmp/analysis-icu9204855453150632888.zip.md5
amazon-instance: /tmp/image-1475601786
amazon-instance: /mnt/img-mnt
amazon-instance: Image file created: /tmp/image-1475601786
amazon-instance: Volume cloning done.
amazon-instance: Bundling image file...
The ec2-bundle-vol command finishes and I have a 10G image file along with
107 "part" files in /tmp. But Packer never moves to the next step and
nothing is copied to my S3 bucket.
The image file is large and the bundle step took several hours.
Any ideas what might be going on?
thanks
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/07803c50-4cc5-4812-a101-5d69fd4cf1b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.