It was some time since I worked with OS but I think they actually
deprecated extentions in favor of micro versions. Maybe the hole dependency
on extensions can be removed.

It would be great to get some up-to-date facts on the current situation.

On Oct 31, 2017 16:34, <[email protected]> wrote:

> Would it be possible to *remove* the enumeration of openstack extensions
> when stopping a VM?
>
> Some hosting providers don't support the API endpoint that allows you to
> enumerate the available extensions-- I'm working with one of those
> providers.
>
> It seems that openstack extensions are only required to stop the
> intermediate VM and for finding flavor ref based on flavor name. In my
> case, the provider supports stopping the VM through the API, despite not
> allowing you to discover that you can stop the VM. Instead of attempting to
> discover the extension and aborting if that extension isn't supported,
> attempt a best-effort to stop the VM and inform the user or otherwise
> handle this through the existing "failed to stop the VM" flow?
>
> TBH, I hate that this problem exists and dislike the solution, but since
> there is already error handling around stopping the server, I don't think
> the impact will be that great. Also, I suspect that it's a very (very)
> small population of openstack servers that won't support stopping a server
> via API. I can prepare a very simple PR if you all don't burn me at the
> stake for the suggestion.
>
> Reference links:
> Extension preloading/verification code: https://github.com/
> hashicorp/packer/blob/master/builder/openstack/step_stop_server.go#L17-L24
> Server stop error handling: https://github.com/
> hashicorp/packer/blob/master/builder/openstack/step_stop_server.go#L35-L39
>
> --
> 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/887a7ac9-31f5-4a44-8d1a-7f2f91d3c70f%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/887a7ac9-31f5-4a44-8d1a-7f2f91d3c70f%40googlegroups.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/CALz9Rt_XAAp3h_ypgN5gjHP3LOQKFwZ-7Uvf1feTpTD9Af8R4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to