{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/22346","labels_url":"https://api.github.com/repos/saltstack/salt/issues/22346/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22346/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/22346/events","html_url":"https://github.com/saltstack/salt/issues/22346","id":66240599,"number":22346,"title":"Specify additional disks with GCE provider","user":{"login":"RobertAtomic","id":7660163,"avatar_url":"https://avatars.githubusercontent.com/u/7660163?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertAtomic","html_url":"https://github.com/RobertAtomic","followers_url":"https://api.github.com/users/RobertAtomic/followers","following_url":"https://api.github.com/users/RobertAtomic/following{/other_user}","gists_url":"https://api.github.com/users/RobertAtomic/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertAtomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertAtomic/subscriptions","organizations_url":"https://api.github.com/users/RobertAtomic/orgs","repos_url":"https://api.github.com/users/RobertAtomic/repos","events_url":"https://api.github.com/users/RobertAtomic/events{/privacy}","received_events_url":"https://api.github.com/users/RobertAtomic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-03T22:33:21Z","updated_at":"2015-04-06T15:28:21Z","closed_at":null,"body":"Hi,\r\n\r\nIs it possible to create and / or attach multiple disks to an instance at create time when using the GCE provider?  The EC2 provider has this in it's example:\r\n\r\nvolumes:\r\n    - { size: 10, device: /dev/sdf }\r\n    - { size: 10, device: /dev/sdg, type: io1, iops: 1000 }\r\n    - { size: 10, device: /dev/sdh, type: io1, iops: 1000 }\r\n\r\nbut doesn't call it out as provider specific.  My GCE config looks like this:\r\n\r\ntest:\r\n  image: backports-debian-7\r\n  size: f1-micro\r\n  location: us-central1-f\r\n  network: default\r\n  tags: '[\"test\"]'\r\n  use_persistent_disk: True\r\n  delete_boot_pd: True\r\n  deploy: True\r\n  make_master: False\r\n  provider: gce\r\n  ssh_username: salt\r\n  ssh_keyfile: /root/.ssh/id_rsa\r\n  volumes:\r\n    - { size: 100 }\r\n   \r\nWhen instances are created they always have a single 10G volume.\r\nThanks for any help or advice."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/90105241","html_url":"https://github.com/saltstack/salt/issues/22346#issuecomment-90105241","issue_url":"https://api.github.com/repos/saltstack/salt/issues/22346","id":90105241,"user":{"login":"erjohnso","id":2154049,"avatar_url":"https://avatars.githubusercontent.com/u/2154049?v=3","gravatar_id":"","url":"https://api.github.com/users/erjohnso","html_url":"https://github.com/erjohnso","followers_url":"https://api.github.com/users/erjohnso/followers","following_url":"https://api.github.com/users/erjohnso/following{/other_user}","gists_url":"https://api.github.com/users/erjohnso/gists{/gist_id}","starred_url":"https://api.github.com/users/erjohnso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erjohnso/subscriptions","organizations_url":"https://api.github.com/users/erjohnso/orgs","repos_url":"https://api.github.com/users/erjohnso/repos","events_url":"https://api.github.com/users/erjohnso/events{/privacy}","received_events_url":"https://api.github.com/users/erjohnso/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T15:28:21Z","updated_at":"2015-04-06T15:28:21Z","body":"@RobertAtomic, no I'm afraid the GCE driver does not support this currently.  If we were to add this, the underlying implementation would have to first create all the disks in a loop and wait for successful completion of those operations. Then, it could move on to creating the VM and attach the disks.\r\n\r\nIt also gets a bit trickier in terms of expected user behavior and matching that up with the GCE API.  A boot disk can be created simultaneously during VM create, but additional disks must be created first.  I'm not familiar enough with how this syntax for the EC2 driver works to know the best way to mimic that for the GCE driver.  Does the `volumes` block contain both boot and extra volumes, or is the boot disk handled separately?"}}