can you get the service catalog with the cli with the same creds?
On 26 October 2017 at 15:57, Holger Protzek <[email protected]>
wrote:
> Debugging this with a test case:
>
> catalog, err := result.ExtractServiceCatalog()
> if err != nil {
> return err
> }
>
> returns for catalog
>
> len:0, cap:0
>
> without an error.
>
>
>
> On Thursday, October 26, 2017 at 3:54:02 PM UTC+2, Holger Protzek wrote:
>>
>> Hello,
>> I am getting following error:
>>
>> packer build template.json
>> openstack output will be in this color.
>>
>> Build 'openstack' errored: Error initializing compute client: No suitable
>> endpoint could be found in the service catalog.
>>
>> ==> Some builds didn't complete successfully and had errors:
>> --> openstack: Error initializing compute client: No suitable endpoint
>> could be found in the service catalog.
>>
>> ==> Builds finished but no artifacts were created.
>>
>> Packer template:
>>
>> {
>> "builders": [
>> {
>> "type": "openstack",
>> "image_name": "server-image",
>> "flavor": "l",
>> "source_image_name": "ubuntu_16.04",
>> "ssh_username": "ubuntu",
>> "domain_name": "Default"
>> }
>> ]
>> }
>>
>>
>> Authentication with OpenStack works find, but what I have seen so far, is
>> that gophercloud gets an empty service catalog from OpenStack.
>>
>> catalog, err := result.ExtractServiceCatalog()
>>
>>
>> Any idea if this is a permission or configuration problem with the
>> OpenStack setup?
>>
>> Kind regards,
>> Holger
>>
>> --
> 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/00cc308c-62f2-4962-a1d0-35b0cfaee1f9%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/00cc308c-62f2-4962-a1d0-35b0cfaee1f9%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/CALz9Rt9ZgiHswBX0ZOz_JtbQDC7_-aVTL2ibn6KzyFrgMPJOzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.