mac os x installation problems

56 views
Skip to first unread message

Gray Jones

unread,
Dec 21, 2017, 7:30:13 AM12/21/17
to Packer
I have tried to install on a mac os x laptop.  I downloaded and unpacked to Users/gray.jones/dev/packer.  There is a single unix executable called packer within the folder.  I updated my path and can successfully perform 'packer version'
Packer v1.1.3

I am working through the example in James Turnbull's book.  When attempting to validate I get the following error
Failed to initialize build 'test': builder type not found: amazon−ebs

So I'm confused.  It would seem like the installation and path are setup correctly because it can find the packer command.  Are the builders contained within the 'packer' executable or are they separated?  Should I have seen them when unpacking the zip file?

Thx for any help.

Happy Holidays!

Rickard von Essen

unread,
Dec 21, 2017, 7:45:51 AM12/21/17
to packe...@googlegroups.com
There should only be one binary nowdays. If you run: PACKER_LOG=1 packer build template.json
You will get a debug log. Paste it here and I'll think it will be easy to help. 

/ Rickard 

PS. Awesome book ;-) 

--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/7f39f800-17ed-483b-881c-fe7b512af588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gray Jones

unread,
Dec 21, 2017, 8:51:31 AM12/21/17
to Packer
Ok thx for the log tip.  Here are the results.  Seems like it is finding the internal plugin for amazon-ebs? 

2017/12/21 08:47:25 [INFO] Packer version: 1.1.3
2017/12/21 08:47:25 Packer Target OS/Arch: darwin amd64
2017/12/21 08:47:25 Built with Go Version: go1.9
2017/12/21 08:47:25 Detected home directory from env var: /Users/gray.jones
2017/12/21 08:47:25 Using internal plugin for virtualbox-iso
2017/12/21 08:47:25 Using internal plugin for hyperv-vmcx
2017/12/21 08:47:25 Using internal plugin for lxc
2017/12/21 08:47:25 Using internal plugin for parallels-pvm
2017/12/21 08:47:25 Using internal plugin for qemu
2017/12/21 08:47:25 Using internal plugin for virtualbox-ovf
2017/12/21 08:47:25 Using internal plugin for vmware-iso
2017/12/21 08:47:25 Using internal plugin for file
2017/12/21 08:47:25 Using internal plugin for hyperv-iso
2017/12/21 08:47:25 Using internal plugin for triton
2017/12/21 08:47:25 Using internal plugin for vmware-vmx
2017/12/21 08:47:25 Using internal plugin for amazon-ebsvolume
2017/12/21 08:47:25 Using internal plugin for amazon-instance
2017/12/21 08:47:25 Using internal plugin for googlecompute
2017/12/21 08:47:25 Using internal plugin for openstack
2017/12/21 08:47:25 Using internal plugin for alicloud-ecs
2017/12/21 08:47:25 Using internal plugin for amazon-ebs
2017/12/21 08:47:25 Using internal plugin for null
2017/12/21 08:47:25 Using internal plugin for oneandone
2017/12/21 08:47:25 Using internal plugin for parallels-iso
2017/12/21 08:47:25 Using internal plugin for amazon-ebssurrogate
2017/12/21 08:47:25 Using internal plugin for lxd
2017/12/21 08:47:25 Using internal plugin for digitalocean
2017/12/21 08:47:25 Using internal plugin for docker
2017/12/21 08:47:25 Using internal plugin for oracle-oci
2017/12/21 08:47:25 Using internal plugin for profitbricks
2017/12/21 08:47:25 Using internal plugin for amazon-chroot
2017/12/21 08:47:25 Using internal plugin for azure-arm
2017/12/21 08:47:25 Using internal plugin for cloudstack
2017/12/21 08:47:25 Using internal plugin for chef-solo
2017/12/21 08:47:25 Using internal plugin for puppet-server
2017/12/21 08:47:25 Using internal plugin for salt-masterless
2017/12/21 08:47:25 Using internal plugin for windows-restart
2017/12/21 08:47:25 Using internal plugin for ansible
2017/12/21 08:47:25 Using internal plugin for ansible-local
2017/12/21 08:47:25 Using internal plugin for puppet-masterless
2017/12/21 08:47:25 Using internal plugin for shell-local
2017/12/21 08:47:25 Using internal plugin for chef-client
2017/12/21 08:47:25 Using internal plugin for converge
2017/12/21 08:47:25 Using internal plugin for shell
2017/12/21 08:47:25 Using internal plugin for windows-shell
2017/12/21 08:47:25 Using internal plugin for file
2017/12/21 08:47:25 Using internal plugin for powershell
2017/12/21 08:47:25 Using internal plugin for artifice
2017/12/21 08:47:25 Using internal plugin for checksum
2017/12/21 08:47:25 Using internal plugin for compress
2017/12/21 08:47:25 Using internal plugin for docker-import
2017/12/21 08:47:25 Using internal plugin for vagrant-cloud
2017/12/21 08:47:25 Using internal plugin for vsphere-template
2017/12/21 08:47:25 Using internal plugin for alicloud-import
2017/12/21 08:47:25 Using internal plugin for docker-push
2017/12/21 08:47:25 Using internal plugin for docker-save
2017/12/21 08:47:25 Using internal plugin for vsphere
2017/12/21 08:47:25 Using internal plugin for atlas
2017/12/21 08:47:25 Using internal plugin for googlecompute-export
2017/12/21 08:47:25 Using internal plugin for shell-local
2017/12/21 08:47:25 Using internal plugin for amazon-import
2017/12/21 08:47:25 Using internal plugin for docker-tag
2017/12/21 08:47:25 Using internal plugin for manifest
2017/12/21 08:47:25 Using internal plugin for vagrant
2017/12/21 08:47:25 Detected home directory from env var: /Users/gray.jones
2017/12/21 08:47:25 Attempting to open config file: /Users/gray.jones/.packerconfig
2017/12/21 08:47:25 [WARN] Config file doesn't exist: /Users/gray.jones/.packerconfig
2017/12/21 08:47:25 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[vmware-vmx:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx cloudstack:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack lxc:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc parallels-pvm:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm amazon-ebsvolume:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume openstack:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack null:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null lxd:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd oracle-oci:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci file:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-instance:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance virtualbox-ovf:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf triton:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton oneandone:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-ebssurrogate:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate hyperv-vmcx:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx qemu:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu vmware-iso:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso docker:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker azure-arm:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm virtualbox-iso:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-ebs:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs hyperv-iso:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso alicloud-ecs:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs digitalocean:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean profitbricks:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks amazon-chroot:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot googlecompute:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute parallels-iso:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso] PostProcessors:map[docker-save:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vsphere:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere googlecompute-export:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export amazon-import:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import checksum:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-import:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import artifice:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-push:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-tag:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag manifest:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud alicloud-import:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import atlas:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas shell-local:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local compress:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vsphere-template:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[powershell:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell-local:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-client:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client windows-shell:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell windows-restart:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible-local:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local shell:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell file:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file converge:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge chef-solo:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:/Users/gray.jones/dev/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless]}
2017/12/21 08:47:25 Detected home directory from env var: /Users/gray.jones
2017/12/21 08:47:25 Setting cache directory: /Users/gray.jones/dev/packer/templates/packer_cache
2017/12/21 08:47:25 Detected home directory from env var: /Users/gray.jones
2017/12/21 08:47:25 Loading builder: amazon−ebs
2017/12/21 08:47:25 Builder not found: amazon−ebs
2017/12/21 08:47:25 ui error: Failed to initialize build 'test': builder type not found: amazon−ebs
2017/12/21 08:47:25 ui: test output will be in this color.
2017/12/21 08:47:25 ui:
2017/12/21 08:47:25 Build debug mode: false
2017/12/21 08:47:25 Force build: false
2017/12/21 08:47:25 On error:
2017/12/21 08:47:25 Waiting on builds to complete...
2017/12/21 08:47:25 Builds completed. Waiting on interrupt barrier...
2017/12/21 08:47:25 ui:
==> Builds finished but no artifacts were created.
2017/12/21 08:47:25 [INFO] (telemetry) Finalizing.

Failed to initialize build 'test': builder type not found: amazon−ebs
test output will be in this color.


==> Builds finished but no artifacts were created.
2017/12/21 08:47:26 waiting for all plugin processes to complete...


On Thursday, December 21, 2017 at 7:45:51 AM UTC-5, Rickard von Essen wrote:
There should only be one binary nowdays. If you run: PACKER_LOG=1 packer build template.json
You will get a debug log. Paste it here and I'll think it will be easy to help. 

/ Rickard 

PS. Awesome book ;-) 
On Dec 21, 2017 13:30, "Gray Jones" <gray.j...@gmail.com> wrote:
I have tried to install on a mac os x laptop.  I downloaded and unpacked to Users/gray.jones/dev/packer.  There is a single unix executable called packer within the folder.  I updated my path and can successfully perform 'packer version'
Packer v1.1.3

I am working through the example in James Turnbull's book.  When attempting to validate I get the following error
Failed to initialize build 'test': builder type not found: amazon−ebs

So I'm confused.  It would seem like the installation and path are setup correctly because it can find the packer command.  Are the builders contained within the 'packer' executable or are they separated?  Should I have seen them when unpacking the zip file?

Thx for any help.

Happy Holidays!

--
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 packer-tool...@googlegroups.com.

Rickard von Essen

unread,
Dec 21, 2017, 9:17:38 AM12/21/17
to packe...@googlegroups.com
It looks like you copied this from a PDF or something similar because if I look really closely it looks like you have a "big dash" in amazon−ebs compared to amazon-ebs. That is probably a artefact of typesetting.

To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/4d7d05c0-16c5-4570-8ed2-99f099c043a4%40googlegroups.com.

Gray Jones

unread,
Dec 21, 2017, 9:20:32 AM12/21/17
to packe...@googlegroups.com
Yes!  you are correct.  I did paste from the .pdf into a new file.  Sorry about the run-around.  I got a copy of the code from github and ran the file directly and got a successful validation.

Thx for your help.  Wish there was an easy way for me to buy you a cup of coffee

You received this message because you are subscribed to a topic in the Google Groups "Packer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/packer-tool/LaQxyk0b4KM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8YGMrXWTiEWAW%3DQLieAYFha7OykT3_CRrK7yN%2ByvOhnQ%40mail.gmail.com.

Rickard von Essen

unread,
Dec 21, 2017, 9:35:08 AM12/21/17
to packe...@googlegroups.com

Alvaro Miranda Aguilera

unread,
Dec 21, 2017, 12:44:08 PM12/21/17
to packe...@googlegroups.com
hello

just keep posting, having new people is always fresh air.

feel free to say what feels complicated and as you learn you think there is a way that is more easy/simple feel free to share it.

Pull Request for documentation are welcome and examples too.

Alvaro.


For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages