oci builder fails with packer 1.8.4
kkeshavamurthy opened this issue · 3 comments
What steps did you take and what happened:
make build-oci-ubuntu-2004
➜ capi git:(master) ✗ make build-oci-ubuntu-2004
hack/ensure-ansible.sh
Starting galaxy collection install process
Nothing to do. All requested collections are already installed. If you want to reinstall them, consider using `--force`.
hack/ensure-packer.sh
packer build -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/kubernetes.json" -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/cni.json" -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/containerd.json" -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/ansible-args.json" -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/goss-args.json" -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/common.json" -var-file="/home/builder/workspace/image-builder/images/capi/packer/config/additional_components.json" -color=true -var-file="/home/builder/workspace/image-builder/images/capi/packer/oci/ubuntu-2004.json" packer/oci/packer.json
Error: Failed to initialize build "oracle-oci"
error initializing builder 'oracle-oci': Unknown builder oracle-oci
make: *** [Makefile:470: build-oci-ubuntu-2004] Error 1
➜ capi git:(master) ✗ packer --version
1.8.4
➜ capi git:(master) ✗
What did you expect to happen:
OCI builds should be successful
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
Project (Image Builder for Cluster API, kube-deploy/imagebuilder, konfigadm):
Additional info for Image Builder for Cluster API related issues:
- OS (e.g. from
/etc/os-release
, orcmd /c ver
): - Packer Version:
- Packer Provider:
- Ansible Version:
- Cluster-api version (if using):
- Kubernetes version: (use
kubectl version
):
/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels]
Maybe add this before the build process
packer plugins install github.com/hashicorp/oracle
Yup. Looks like the oracle provider is no longer vendored as per the changelog: https://github.com/hashicorp/packer/blob/main/CHANGELOG.md#184-october-28-2022
/assign