[chef] Re: Re: Error with knife and Rackspace API v2


Chronological Thread 
  • From: Larry Wright < >
  • To:
  • Subject: [chef] Re: Re: Error with knife and Rackspace API v2
  • Date: Sun, 25 Nov 2012 22:17:41 -0600

Yep, that was it. That's an annoying change in behavior. Thanks.

On Nov 25, 2012, at 9:39 PM, Pete Cheslock < "> > wrote:

Pretty sure you need to use the UUID version of the image name.

Use "knife rackspace image list" to get the list of images. (with knife[:rackspace_version] = "v2"    set in your knife.rb)

-i 5cebb13a-f783-4f8c-8058-c4182c724ccd (for ubuntu 12.04 for example)

-Pete



On Sun, Nov 25, 2012 at 10:14 PM, Larry Wright < " target="_blank"> > wrote:
I'm trying to bootstrap a server on Rackspace's new Openstack cloud platform, and I get an error when I run the knife command:

$ knife rackspace server create -I 125 -f 4 -E development -r 'role[hourly_build_minimal]' --server-name hourlybuildtest3.example.com --node-name hourlybuildtest3.example.com

ERROR: Fog::Compute::RackspaceV2::BadRequest: Fog::Compute::RackspaceV2::BadRequest

Relevant versions of things:
fog (1.7.0)
knife-rackspace (0.6.2)


Anyone else seen this?





Archive powered by MHonArc 2.6.16.

§