Open vmjfk opened 2 years ago
@vmjfk what packer version are you using? If you aren't using the latest version, you will run into https://github.com/ddelnano/packer-plugin-xenserver/issues/40#issuecomment-1153326549.
Also please share the files necessary to reproduce the issue. Version 1.0.0 does not exist.
try to specifiy the current version in the required_plugins section
packer { required_plugins { xenserver= { version = "v0.5.0" source = "github.com/ddelnano/xenserver" } } }
I had the same issue as desribed above and this fixed it for me, seems to just need the docs updated?
same here
I'm getting error:
Build 'xenserver-iso.ubuntu-2004' errored after 2 seconds 47 milliseconds: Post "https://<sensitive>": dial tcp <sensitive>:443: connect: connection refused
==> Wait completed after 2 seconds 47 milliseconds
2023/01/27 01:23:07 machine readable: error-count []string{"1"}
==> Wait completed after 2 seconds 47 milliseconds
==> Some builds didn't complete successfully and had errors:
2023/01/27 01:23:07 machine readable: xenserver-iso.ubuntu-2004,error []string{"Post \"https://<sensitive>\": dial tcp <sensitive>:443: connect: connection refused"}
==> Some builds didn't complete successfully and had errors:
==> Builds finished but no artifacts were created.
--> xenserver-iso.ubuntu-2004: Post "https://<sensitive>": dial tcp <sensitive>:443: connect: connection refused
2023/01/27 01:23:07 [INFO] (telemetry) Finalizing.
==> Builds finished but no artifacts were created.
2023/01/27 01:23:07 waiting for all plugin processes to complete...
2023/01/27 01:23:07 /home/<sensitive>/.config/packer/plugins/github.com/ddelnano/xenserver/packer-plugin-xenserver_v0.5.1_x5.0_linux_amd64: plugin process exited
@piotrkochan The machine running packer can not connect to your Xcp-ng host. Note that packer connects directly to the xcp-ng server, (the pool primary), and not to Xen-Orchestra
try to specifiy the current version in the required_plugins section
packer { required_plugins { xenserver= { version = "v0.5.0" source = "github.com/ddelnano/xenserver" } } }
I tried this, still keep getting this error.
Should I give any extra permission for Packer binary ?
Failed getting the "github.com/ddelnano/xenserver" plugin: 1 error occurred: