-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source image not found when searching by image name #8630
Comments
The openstack builder turns out to have two different options, source_image and source_image_name: https://www.packer.io/docs/builders/openstack.html#source_image_name Try changing the var name and seeing if this works for you. This is an unwieldy behavior, and should probably be changed so one field works for both options. I'm not sure when I'll have a chance to look into implementing this, but I'd definitely accept a PR that did this, to make the configuration less confusing. |
Okay, thanks for your reply. I will try that out. |
I've just tried it out with this config:
and it works. I am wondering why using the image name as value with the "source_image" key and "use_block_storage_device" = true is working and when removing "use_block_storage_device" it is not. "use_block_storage_device" seems to cause some weird things. I am unable to write custom metadata using the "metadata" key when "use_block_storage_device" is set to true too. |
This issue has been automatically migrated to hashicorp/packer-plugin-openstack#14 because it looks like an issue with that plugin. If you believe this is not an issue with the plugin, please reply to hashicorp/packer-plugin-openstack#14. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hello guys,
I think I discovered a bug in the openstack builder.
I have following packer version:
This is my packer config and it is working fine:
Now if I remove this block:
and run packer, packer throws this error:
If I replace the source_image name with its ID, it's working properly:
Do you got any idea what causes this? Am I overseeing something?
Best Regards
The text was updated successfully, but these errors were encountered: