Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Rackspace servers.Create fails without a DiskConfig #261

@smashwilson

Description

@smashwilson

Whoops:

s, err := servers.Create(d.Client, servers.CreateOpts{
    Name:      name,
    ImageRef:  d.ImageID,
    FlavorRef: d.FlavorID,
    KeyPair:   d.KeyPairName,
}).Extract()
[2014-10-24T08:20:43.091971990-04:00] [fatal] log.go:64 Expected HTTP response code [202] when accessing URL(https://iad.servers.api.rackspacecloud.com/v2/864477/servers); got 400 instead with the following body:
{"badRequest": {"message": "OS-DCF:diskConfig must be either 'MANUAL' or 'AUTO'.", "code": 400}}

I'm glad I'm testing these things 😉

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions