Skip to content

OpenStack Builder: using WinRM connector produces error "An invalid 'name' value was provided." #19

Description

This issue was originally opened by @JimPruitt as hashicorp/packer#7646. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


FOR BUGS:
Describe the problem and include the following information:
I am attempting to use the Packer "OpenStack" builder with the WinRM connector. I can confirm that the builder is able to connect to OpenStack successfully and it successfully detects the OpenStack "flavor" ID (by using the flavor name). However, when it tries to launch the source server I get an error:

openstack: Error launching source server: Bad request with: [POST https://...:****/v2.1/servers], error message: {"badRequest": {"message": "An invalid 'name' value was provided. The name must be: printable characters. Can not start or end with whitespace.", "code": 400}}

(Note that the ip address and port are obscured in the above error message)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions