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?
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 larrywright@gmail.comwrote:
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?
Yep, that was it. That's an annoying change in behavior. Thanks.
On Nov 25, 2012, at 9:39 PM, Pete Cheslock pete.cheslock@sonian.net 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 larrywright@gmail.com 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?