> > For some reason packer reports no errors even if file is not actually > copied into the image with file provisioner. I believe there are just no > checks for that, same with the shell provisioner. >
This should definitely fail, either you misinterpreted the problem or this is a new bug. I would be very happy if you could provide a reasonable simple repo of the problem that we can look at. Also these kind of problems should be easily understod from the output, at least when running with PACKER_LOG. On 16 May 2018 at 22:16, Alvaro Miranda Aguilera <[email protected]> wrote: > Packer is an Open Source project, pull request welcome. > > On Wed, May 16, 2018 at 1:09 PM, Ilya Lesikov <[email protected]> wrote: > >> Resolved the problem, though it was a pain to figure out what was >> happening. >> The problem was that system wasn't ready for provisioners, though sleep >> before provisioning helped. For some reason packer reports no errors even >> if file is not actually copied into the image with file provisioner. I >> believe there are just no checks for that, same with the shell provisioner. >> Thanks anyways. >> >> -- >> 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/ms >> gid/packer-tool/6a3107d8-71c9-4b9e-a052-5106a5df7e3b%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/6a3107d8-71c9-4b9e-a052-5106a5df7e3b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > > -- > 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/CAHqq0eyKH0m3XBz7S2_CC0riH1- > 8x%3DL4FjS6%2BnO%3D7-zq1PLJ6Q%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0eyKH0m3XBz7S2_CC0riH1-8x%3DL4FjS6%2BnO%3D7-zq1PLJ6Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CALz9Rt8paZX81pyZjia37_06%2Bd0AE75DGZ9Q2HXO_4bu03%3DfLg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
