unknown configuration key errors on first run

701 views
Skip to first unread message

Barna Gyomorei

unread,
Apr 26, 2019, 8:16:00 AM4/26/19
to Packer
I'm trying to run a Packer build command from an Ubuntu VM on windows. And get these errors:

2019/04/26 14:01:26 Build 'amazon-ebs' prepare failure: 3 errors occurred:
* unknown configuration key: "decode_authorization_messages"
* unknown configuration key: "ena_support"
* unknown configuration key: "ssh_interface"

In the Packer log(attached full debug log) i see lines about missing plugins, but it's not clear for me where to get these plugins from.

Can you pls help to figure out what's wrong?

Thanks!
packer.log

Megan Marsh

unread,
Apr 26, 2019, 1:33:39 PM4/26/19
to packe...@googlegroups.com
You can safely ignore those lines about the plugins :) . The problem is that your version of Packer isn't recognizing those keys. Can you share your packer template (especially the builder configuration) and what version of Packer you're using?

Barna Gyomorei

unread,
Apr 27, 2019, 12:11:49 PM4/27/19
to Packer
Thanks for the tip Megan! I had 1.0.4, don't remember exactly how, but probably installed with apt or yum. Now i downloaded from the website, so it's 1.4.0.

Megan Marsh

unread,
Apr 29, 2019, 2:20:25 PM4/29/19
to packe...@googlegroups.com
I think the main problem here is that the docs aren't versioned; those keys didn't exist when v1.0.4 was out. If you've upgraded to latest packer, it should work better. And if it doesn't, try running `packer fix` against your template to fix backwards-incompatible changes in key names.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/6b5cecaa-26be-46af-954b-a3324be11c5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages