{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/issues/132","repository_url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/issues/132/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/issues/132/events","html_url":"https://github.com/cloudfoundry/bosh-softlayer-cpi/issues/132","id":161741628,"number":132,"title":"Persistent disk allocation is flakey","user":{"login":"sykesm","id":4517909,"avatar_url":"https://avatars.githubusercontent.com/u/4517909?v=3","gravatar_id":"","url":"https://api.github.com/users/sykesm","html_url":"https://github.com/sykesm","followers_url":"https://api.github.com/users/sykesm/followers","following_url":"https://api.github.com/users/sykesm/following{/other_user}","gists_url":"https://api.github.com/users/sykesm/gists{/gist_id}","starred_url":"https://api.github.com/users/sykesm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sykesm/subscriptions","organizations_url":"https://api.github.com/users/sykesm/orgs","repos_url":"https://api.github.com/users/sykesm/repos","events_url":"https://api.github.com/users/sykesm/events{/privacy}","received_events_url":"https://api.github.com/users/sykesm/received_events","type":"User","site_admin":false},"labels":[{"id":119549226,"url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"jianqiu","id":5987530,"avatar_url":"https://avatars.githubusercontent.com/u/5987530?v=3","gravatar_id":"","url":"https://api.github.com/users/jianqiu","html_url":"https://github.com/jianqiu","followers_url":"https://api.github.com/users/jianqiu/followers","following_url":"https://api.github.com/users/jianqiu/following{/other_user}","gists_url":"https://api.github.com/users/jianqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/jianqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianqiu/subscriptions","organizations_url":"https://api.github.com/users/jianqiu/orgs","repos_url":"https://api.github.com/users/jianqiu/repos","events_url":"https://api.github.com/users/jianqiu/events{/privacy}","received_events_url":"https://api.github.com/users/jianqiu/received_events","type":"User","site_admin":false},"assignees":[{"login":"jianqiu","id":5987530,"avatar_url":"https://avatars.githubusercontent.com/u/5987530?v=3","gravatar_id":"","url":"https://api.github.com/users/jianqiu","html_url":"https://github.com/jianqiu","followers_url":"https://api.github.com/users/jianqiu/followers","following_url":"https://api.github.com/users/jianqiu/following{/other_user}","gists_url":"https://api.github.com/users/jianqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/jianqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianqiu/subscriptions","organizations_url":"https://api.github.com/users/jianqiu/orgs","repos_url":"https://api.github.com/users/jianqiu/repos","events_url":"https://api.github.com/users/jianqiu/events{/privacy}","received_events_url":"https://api.github.com/users/jianqiu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-06-22T17:32:45Z","updated_at":"2016-11-09T14:25:44Z","closed_at":null,"body":"When deploying a job with a persistent volume, the deployment fails with the following:\n\n```\nCreating disk of size '1024': Create SoftLayer iSCSI disk error.: Cannot find an performance storage (iSCSI volume) with order id 9294521 (00:05:19)\n```\n\nThe task log on the director only contains the following:\n\n```\nD, [2016-06-22 17:11:21 #24756] [canary_update(consul_z1/0 (99dcc2f0-648f-41cb-8976-953326dd42b0))] DEBUG -- DirectorJobRunner: External CPI sending request: {\"method\":\"create_disk\",\"arguments\":[1024,{},\"21699145\"],\"context\":{\"director_uuid\":\"9489a253-16f8-4dd4-b2d0-d7ac38a646b7\"}} with command: /var/vcap/jobs/softlayer_cpi/bin/cpi\n...\nD, [2016-06-22 17:16:35 #24756] [canary_update(consul_z1/0 (99dcc2f0-648f-41cb-8976-953326dd42b0))] DEBUG -- DirectorJobRunner: External CPI got response: {\"result\":null,\"error\":{\"type\":\"Bosh::Clouds::CloudError\",\"message\":\"Creating disk of size '1024': Create SoftLayer iSCSI disk error.: Cannot find an performance storage (iSCSI volume) with order id 9294521\",\"ok_to_retry\":false},\"log\":\"\"}, err: , exit_status: pid 25280 exit 0\nE, [2016-06-22 17:16:35 #24756] [canary_update(consul_z1/0 (99dcc2f0-648f-41cb-8976-953326dd42b0))] ERROR -- DirectorJobRunner: Error updating canary instance: #<Bosh::Clouds::CloudError: Creating disk of size '1024': Create SoftLayer iSCSI disk error.: Cannot find an performance storage (iSCSI volume) with order id 9294521>\n```\n\nWhen I go to the softlayer portal, I see the disk has been created. When I go to the orders, I see my order was approved and I was charged for the allocation. I don't know if this is a timing issue or something else as there's no data in the logs - but it does get expensive after a while.\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/issues/comments/259426303","html_url":"https://github.com/cloudfoundry/bosh-softlayer-cpi/issues/132#issuecomment-259426303","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-softlayer-cpi/issues/132","id":259426303,"user":{"login":"Freyert","id":449155,"avatar_url":"https://avatars.githubusercontent.com/u/449155?v=3","gravatar_id":"","url":"https://api.github.com/users/Freyert","html_url":"https://github.com/Freyert","followers_url":"https://api.github.com/users/Freyert/followers","following_url":"https://api.github.com/users/Freyert/following{/other_user}","gists_url":"https://api.github.com/users/Freyert/gists{/gist_id}","starred_url":"https://api.github.com/users/Freyert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freyert/subscriptions","organizations_url":"https://api.github.com/users/Freyert/orgs","repos_url":"https://api.github.com/users/Freyert/repos","events_url":"https://api.github.com/users/Freyert/events{/privacy}","received_events_url":"https://api.github.com/users/Freyert/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T14:25:44Z","updated_at":"2016-11-09T14:25:44Z","body":"It seems that what's happening is that when you order a disk, but BOSH times out; the disk is eventually created by SoftLayer. After enough deployments like this SoftLayer fills up and you get id 0 whenever you try to order."}}
{"actor":{"display_login":"Freyert"}}