Some users have reported that they experience issues when creating cluster-api compliant images with certain Konvoy Image Builder releases in AWS regions where instance metadata tags are not supported.
The error returned is:
"Setting InstanceMetadataTags is not yet supported in this region"
This problem started to manifest when instance metadata support was introduced in packer, as explained here, because the InstanceMetadataOptionsRequest was including a field for InstanceMetadatatags even if it was disabled in the AWS region.
This issue could be experienced with any KIB versions using packer versions 1.8.1 and 1.8.2 and the AWS plugin versions 1.0.9-1.1.0. This issue has been fixed in the packer-plugin-amazon v1.1.2 which is included in Packer v1.8.3.
In the table below we provide a list of KIB releases and Packer versions on each release, and whether is affected or not:
DKP version |
KIB version |
Packer version |
Affected |
v2.3.0 |
v1.21.0 |
1.8.3 |
No |
v2.3.0 |
v1.20.0 |
1.8.3 |
No |
v2.3.0 |
v1.19.9 |
1.8.2 |
Yes |
v2.2.2 |
v1.17.2 |
1.8.1 |
Yes |
v2.2.1 |
v1.13.2 |
1.8.0 |
No |
v2.2.0 |
v1.11.0 |
1.8.0 |
No |
v2.1.x |
v1.5.0 |
1.7.8 |
No |
If you encounter this issue while deploying in an AWS region that does not support instance metadata tags (i.e, us-iso-east-1), please use a KIB version not affected and supported by the DKP version you will be using to deploy Kubernetes.