{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/2974","repository_url":"https://api.github.com/repos/docker/machine","labels_url":"https://api.github.com/repos/docker/machine/issues/2974/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/2974/comments","events_url":"https://api.github.com/repos/docker/machine/issues/2974/events","html_url":"https://github.com/docker/machine/pull/2974","id":130483143,"number":2974,"title":"Rackspace/Openstack - Add/enhance --*-net-* create switches.","user":{"login":"robertjustjones","id":969390,"avatar_url":"https://avatars.githubusercontent.com/u/969390?v=3","gravatar_id":"","url":"https://api.github.com/users/robertjustjones","html_url":"https://github.com/robertjustjones","followers_url":"https://api.github.com/users/robertjustjones/followers","following_url":"https://api.github.com/users/robertjustjones/following{/other_user}","gists_url":"https://api.github.com/users/robertjustjones/gists{/gist_id}","starred_url":"https://api.github.com/users/robertjustjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertjustjones/subscriptions","organizations_url":"https://api.github.com/users/robertjustjones/orgs","repos_url":"https://api.github.com/users/robertjustjones/repos","events_url":"https://api.github.com/users/robertjustjones/events{/privacy}","received_events_url":"https://api.github.com/users/robertjustjones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/machine/labels/driver/openstack","name":"driver/openstack","color":"eb6420"},{"url":"https://api.github.com/repos/docker/machine/labels/driver/rackspace","name":"driver/rackspace","color":"f7c6c7"},{"url":"https://api.github.com/repos/docker/machine/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/docker/machine/labels/status/0-triage","name":"status/0-triage","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-01T21:04:37Z","updated_at":"2016-02-20T08:51:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/2974","html_url":"https://github.com/docker/machine/pull/2974","diff_url":"https://github.com/docker/machine/pull/2974.diff","patch_url":"https://github.com/docker/machine/pull/2974.patch"},"body":"This is a rebase/reopen for #1451 so see relevant history there please. This addresses issues #1440 and #1444."},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/186544633","html_url":"https://github.com/docker/machine/pull/2974#issuecomment-186544633","issue_url":"https://api.github.com/repos/docker/machine/issues/2974","id":186544633,"user":{"login":"fsoppelsa","id":973806,"avatar_url":"https://avatars.githubusercontent.com/u/973806?v=3","gravatar_id":"","url":"https://api.github.com/users/fsoppelsa","html_url":"https://github.com/fsoppelsa","followers_url":"https://api.github.com/users/fsoppelsa/followers","following_url":"https://api.github.com/users/fsoppelsa/following{/other_user}","gists_url":"https://api.github.com/users/fsoppelsa/gists{/gist_id}","starred_url":"https://api.github.com/users/fsoppelsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsoppelsa/subscriptions","organizations_url":"https://api.github.com/users/fsoppelsa/orgs","repos_url":"https://api.github.com/users/fsoppelsa/repos","events_url":"https://api.github.com/users/fsoppelsa/events{/privacy}","received_events_url":"https://api.github.com/users/fsoppelsa/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T08:51:11Z","updated_at":"2016-02-20T08:51:11Z","body":"Sorry for the delay, tried it (without looking at code):\r\n\r\n```\r\n$ neutron net-list\r\n+--------------------------------------+---------+-------------------------------------------------------+\r\n| id                                   | name    | subnets                                               |\r\n+--------------------------------------+---------+-------------------------------------------------------+\r\n| 095f43ed-65ba-48ce-8185-d4080e430a88 | public  | 2e7a11f5-4c2b-4aa8-8d8e-d43bafe0e175                  |\r\n|                                      |         | b487d80b-9356-4855-b57b-9fbf9bf13503                  |\r\n| 0cd5eef9-523e-48cd-8a95-5dbc39bc1aa2 | net04   | eff99d5a-c2ce-4ca2-89fb-eb23718f686a 172.16.0.0/24    |\r\n| 44ead515-da4b-443b-85cc-a5d13e06ddc8 | mynet05 | 14466141-3a5e-4355-b75f-a3c957abe9a3 192.168.111.0/24 |\r\n+--------------------------------------+---------+-------------------------------------------------------+\r\n```\r\nIs this incompatible with floating pools?\r\n\r\n```\r\n$ ./bin/docker-machine-Darwin-x86_64 --debug create \\\r\n> --driver openstack \\\r\n> --openstack-image-id 98011e9a-fc46-45b6-ab2c-cf6c43263a22 \\\r\n> --openstack-flavor-id 3 \\\r\n> --openstack-floatingip-pool public \\\r\n> --openstack-net-id 44ead515-da4b-443b-85cc-a5d13e06ddc85 \\\r\n> --openstack-sec-groups machine \\\r\n> --openstack-ssh-user ubuntu \\\r\n> u1\r\nDocker Machine Version:  0.6.0-dev, build \r\n...\r\nError setting machine configuration from flags provided: Either Network names or Network ids must be specified, not both\r\n```\r\n\r\nWith `openstack-net-id ID` I can't make it work while it goes smoothly with `openstack-net-name mynet05`:\r\n\r\n```\r\n ./bin/docker-machine-Darwin-x86_64 --debug create \\\r\n> --driver openstack \\\r\n> --openstack-image-id 98011e9a-fc46-45b6-ab2c-cf6c43263a22 \\\r\n> --openstack-flavor-id 3 \\\r\n> --openstack-net-id 44ead515-da4b-443b-85cc-a5d13e06ddc85 \\\r\n> --openstack-sec-groups machine \\\r\n> --openstack-ssh-user ubuntu \\\r\n> u1\r\nDocker Machine Version:  0.6.0-dev, build\r\n...\r\nError setting machine configuration from flags provided: Either Network name or Network id must be specified, not both\r\n```\r\n\r\n```\r\n$ ./bin/docker-machine-Darwin-x86_64 --debug create \\\r\n> --driver openstack \\\r\n> --openstack-image-id 98011e9a-fc46-45b6-ab2c-cf6c43263a22 \\\r\n> --openstack-flavor-id 3 \\\r\n> --openstack-net-name mynet05 \\\r\n> --openstack-sec-groups machine \\\r\n> --openstack-ssh-user ubuntu \\\r\n> u1\r\nDocker Machine Version:  0.6.0-dev, build \r\n...\r\nCreating machine...\r\n(u1) Calling .Create\r\n(u1) DBG | Authenticating... map[AuthUrl:http://172.18.184.20:5000/v2.0 Insecure:true DomainID: DomainName: Username:fsoppelsa TenantName:fsoppelsa TenantID:f6659e8899e24eeaa717c8f8fbbe0e50]\r\n(u1) DBG | Found network id using its name map[Name:mynet05 ID:44ead515-da4b-443b-85cc-a5d13e06ddc8]\r\n(u1) DBG | Found floating IP pool id using its name map[Name:public ID:095f43ed-65ba-48ce-8185-d4080e430a88]\r\n(u1) DBG | Creating Key Pair... map[Name:u1-a6dfb9dd0729523b1eb28caf0037c16518c494f4e2e5435a91602db4cdc50b12]\r\n(u1) DBG | Creating OpenStack instance... map[FlavorId:3 ImageId:98011e9a-fc46-45b6-ab2c-cf6c43263a22]\r\n(u1) Creating machine...\r\n```\r\n\r\nMultiple networks separated by comma:\r\n\r\n```\r\n$ ./bin/docker-machine-Darwin-x86_64 --debug create \\\r\n> --driver openstack \\\r\n> --openstack-image-id 98011e9a-fc46-45b6-ab2c-cf6c43263a22 \\\r\n> --openstack-flavor-id 3 \\\r\n> --openstack-net-id 44ead515-da4b-443b-85cc-a5d13e06ddc85,0cd5eef9-523e-48cd-8a95-5dbc39bc1aa2 \\\r\n> --openstack-sec-groups machine \\\r\n> --openstack-ssh-user ubuntu \\\r\n> u1\r\nDocker Machine Version:  0.6.0-dev, build \r\n...\r\nError setting machine configuration from flags provided: Either Network names or Network ids must be specified, not both\r\n```\r\n"}}