{"action":"created","issue":{"url":"https://api.github.com/repos/fog/fog-softlayer/issues/50","labels_url":"https://api.github.com/repos/fog/fog-softlayer/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/fog/fog-softlayer/issues/50/comments","events_url":"https://api.github.com/repos/fog/fog-softlayer/issues/50/events","html_url":"https://github.com/fog/fog-softlayer/issues/50","id":63833516,"number":50,"title":"Flavors don't seem to work with bare_metal","user":{"login":"causton81","id":4534764,"avatar_url":"https://avatars.githubusercontent.com/u/4534764?v=3","gravatar_id":"","url":"https://api.github.com/users/causton81","html_url":"https://github.com/causton81","followers_url":"https://api.github.com/users/causton81/followers","following_url":"https://api.github.com/users/causton81/following{/other_user}","gists_url":"https://api.github.com/users/causton81/gists{/gist_id}","starred_url":"https://api.github.com/users/causton81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/causton81/subscriptions","organizations_url":"https://api.github.com/users/causton81/orgs","repos_url":"https://api.github.com/users/causton81/repos","events_url":"https://api.github.com/users/causton81/events{/privacy}","received_events_url":"https://api.github.com/users/causton81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fog/fog-softlayer/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"cphrmky","id":569724,"avatar_url":"https://avatars.githubusercontent.com/u/569724?v=3","gravatar_id":"","url":"https://api.github.com/users/cphrmky","html_url":"https://github.com/cphrmky","followers_url":"https://api.github.com/users/cphrmky/followers","following_url":"https://api.github.com/users/cphrmky/following{/other_user}","gists_url":"https://api.github.com/users/cphrmky/gists{/gist_id}","starred_url":"https://api.github.com/users/cphrmky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cphrmky/subscriptions","organizations_url":"https://api.github.com/users/cphrmky/orgs","repos_url":"https://api.github.com/users/cphrmky/repos","events_url":"https://api.github.com/users/cphrmky/events{/privacy}","received_events_url":"https://api.github.com/users/cphrmky/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-23T21:11:15Z","updated_at":"2015-04-16T12:37:21Z","closed_at":null,"body":"I am getting “Unable to find prices for block device 0 with capacity of 250” when trying to create bare-metal with `m1.small` flavor.\r\n\r\n```ruby \r\nexcon.error.request                                                                                                                                                                  [23/3953]\r\n  :body                => \"{\\\"parameters\\\":[{\\\"datacenter\\\":{\\\"name\\\":\\\"sjc01\\\"},\\\"hostname\\\":\\\"chef\\\",\\\"domain\\\":\\\"fog.sldev.us\\\",\\\"hourlyBillingFlag\\\":true,\\\"operatingSystemReferenceCode\\\"\r\n:\\\"CENTOS_6_64\\\",\\\"primaryNetworkComponent\\\":null,\\\"primaryBackendNetworkComponent\\\":null,\\\"sshKeys\\\":[{\\\"id\\\":77986}],\\\"privateNetworkOnlyFlag\\\":false,\\\"networkComponents\\\":[{\\\"maxSpeed\\\":1\r\n0}],\\\"processorCoreAmount\\\":2,\\\"memoryCapacity\\\":2,\\\"hardDrives\\\":[{\\\"capacity\\\":250}]}]}\"\r\n  :chunk_size          => 1048576\r\n  :ciphers             => \"HIGH:!SSLv2:!aNULL:!eNULL:!3DES\"\r\n  :connect_timeout     => 60\r\n  :debug_request       => true\r\n  :debug_response      => true\r\n  :expects             => [\r\n    200\r\n    201\r\n  ]\r\n  :headers             => {\r\n    \"Authorization\"  => \"REDACTED\"\r\n    \"Content-Length\" => 398\r\n    \"Content-Type\"   => \"application/json\"\r\n    \"Host\"           => \"api.softlayer.com:443\"\r\n    \"User-Agent\"     => \"Fog SoftLayer Adapter 0.4.0\"\r\n  }\r\n  :host                => \"api.softlayer.com\"\r\n  :hostname            => \"api.softlayer.com\"\r\n  :idempotent          => false\r\n  :instrumentor_name   => \"excon\"\r\n  :method              => :POST\r\n  :middlewares         => [\r\n    Excon::Middleware::ResponseParser\r\n    Excon::Middleware::Expects\r\n    Excon::Middleware::Idempotent\r\n    Excon::Middleware::Instrumentor\r\n    Excon::Middleware::Mock\r\n  ]\r\n  :mock                => false\r\n  :nonblock            => true\r\n  :omit_default_port   => false\r\n  :password            => \"REDACTED\"\r\n  :path                => \"/rest/v3/SoftLayer_Hardware_Server/createObject.json\"\r\n  :persistent          => false\r\n  :port                => 443\r\n  :query               => nil\r\n  :read_timeout        => 60\r\n  :retries_remaining   => 4\r\n  :retry_limit         => 4\r\n  :scheme              => \"https\"\r\n  :ssl_verify_peer     => true\r\n  :tcp_nodelay         => false\r\n  :thread_safe_sockets => true\r\n  :uri_parser          => URI\r\n  :user                => \"chris.auston\"\r\n  :versions            => \"excon/0.44.1 (x86_64-linux) ruby/2.1.4\"\r\n  :instrumentor_name   => \"excon\"                                                                                                                                                     [0/3953]\r\n  :method              => :POST\r\n  :middlewares         => [\r\n    Excon::Middleware::ResponseParser\r\n    Excon::Middleware::Expects\r\n    Excon::Middleware::Idempotent\r\n    Excon::Middleware::Instrumentor\r\n    Excon::Middleware::Mock\r\n  ]\r\n  :mock                => false\r\n  :nonblock            => true\r\n  :omit_default_port   => false\r\n  :password            => \"REDACTED\"\r\n  :path                => \"/rest/v3/SoftLayer_Hardware_Server/createObject.json\"\r\n  :persistent          => false\r\n  :port                => 443\r\n  :query               => nil\r\n  :read_timeout        => 60\r\n  :retries_remaining   => 4\r\n  :retry_limit         => 4\r\n  :scheme              => \"https\"\r\n  :ssl_verify_peer     => true\r\n  :tcp_nodelay         => false\r\n  :thread_safe_sockets => true\r\n  :uri_parser          => URI\r\n  :user                => \"chris.auston\"\r\n  :versions            => \"excon/0.44.1 (x86_64-linux) ruby/2.1.4\"\r\n  :write_timeout       => 60\r\nexcon.error.response\r\n  :body          => \"{\\\"error\\\":\\\"Unable to find prices for block device 0 with capacity of 250.\\\",\\\"code\\\":\\\"SoftLayer_Exception_NotFound\\\"}\"\r\n  :headers       => {\r\n    \"Connection\"           => \"close\"\r\n    \"Content-Length\"       => \"112\"\r\n    \"Content-Type\"         => \"application/json\"\r\n    \"Date\"                 => \"Mon, 23 Mar 2015 15:27:22 GMT\"\r\n    \"Server\"               => \"Apache\"\r\n    \"Vary\"                 => \"Accept-Encoding\"\r\n    \"X-Backside-Transport\" => \"FAIL FAIL\"\r\n    \"X-Client-IP\"          => \"192.168.67.115\"\r\n  }\r\n  :local_address => \"172.30.198.119\"\r\n  :local_port    => 58142\r\n  :reason_phrase => \"Internal Server Error\"\r\n  :remote_ip     => \"66.228.119.116\"\r\n  :status        => 500\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fog/fog-softlayer/issues/comments/93723717","html_url":"https://github.com/fog/fog-softlayer/issues/50#issuecomment-93723717","issue_url":"https://api.github.com/repos/fog/fog-softlayer/issues/50","id":93723717,"user":{"login":"fernandes","id":517743,"avatar_url":"https://avatars.githubusercontent.com/u/517743?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandes","html_url":"https://github.com/fernandes","followers_url":"https://api.github.com/users/fernandes/followers","following_url":"https://api.github.com/users/fernandes/following{/other_user}","gists_url":"https://api.github.com/users/fernandes/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandes/subscriptions","organizations_url":"https://api.github.com/users/fernandes/orgs","repos_url":"https://api.github.com/users/fernandes/repos","events_url":"https://api.github.com/users/fernandes/events{/privacy}","received_events_url":"https://api.github.com/users/fernandes/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T12:37:21Z","updated_at":"2015-04-16T12:37:21Z","body":"@causton81 could you please post how you're trying to buy this server, @mfbmina just changed the example on his PR, I do really believe we need to change something related to [flavors](https://github.com/fog/fog-softlayer/blob/master/lib/fog/softlayer/models/compute/flavors.rb#L21) after you post how you're doing I dig into it\r\n\r\nthank you"}}