Issue deploying a juju controller on openstack private cloud

Ian Booth ian.booth at canonical.com
Thu Oct 13 13:58:56 UTC 2016


Hi Sergio

Courtesy of Rick Harding, here's the information you need.

The openstack provider has a network configuration attribute which needs to be
set to specify the network label or UUID to bring machines up on when multiple
networks exist.

You pass it as an argument to bootstrap. eg

$ juju bootstrap openstack-controller openstack-mitaka
--config image-metadata-url=http://10.2.1.109/simplestream/images/
--config network=XXXXXXXX

On 13/10/16 06:29, sergio gonzalez wrote:
> Hello
> 
> I am trying to deploy a juju controller, but I get the following error:
> 
> juju --debug bootstrap openstack-controller openstack-mitaka --config
> image-metadata-url=http://10.2.1.109/simplestream/images/
> 
> 2016-10-12 20:19:00 INFO juju.cmd supercommand.go:63 running juju
> [2.0-beta15 gc go1.6.2]
> 
> 2016-10-12 20:19:00 INFO cmd cmd.go:141 Adding contents of
> "/home/ubuntu/.local/share/juju/ssh/juju_id_rsa.pub" to
> authorized-keys
> 
> 2016-10-12 20:19:00 DEBUG juju.cmd.juju.commands bootstrap.go:499
> preparing controller with config: map[name:controller
> uuid:71e55928-2c38-407b-897f-94e83c60890b
> image-metadata-url:http://10.2.1.109/simplestream/images/
> authorized-keys:ssh-rsa
> AAAAB3NzaC1yc2EAAAADAQABAAABAQDBoDbcBms7z/ChSG5hQyqZQYhkH6V5uA7HcINuFJH2AC9ygej6TdJ6eCdsPU77x+CgdRVLINE1PhtWsXdYFEZ11e7OV2Y4Jlt/SkMqGJK4enHNXcofIBUntbuVh90hww/yiApLxxi4/cMgHTigu4YZbkZz+QVBqCn5zZMgqPbSR55uHGsT9cbF1S+XRj/OqMpuwOkbgZ/vR880wz6lq1rUwdBOIAIblhuwXHLTT7A5y6Vck69xuqkeyjI67SUdHhxXeCDbjUkOkCqKHY9dU3LNHIH0xYsWGTB7z+FpCn8f7URfMviLQ2QX30Uda/h0KQ91/raGjYE5SHU3E/P/VWtj
> juju-client-key
> 
>  type:openstack]
> 
> 2016-10-12 20:19:00 INFO juju.provider.openstack provider.go:75
> opening model "controller"
> 
> 2016-10-12 20:19:00 INFO cmd cmd.go:129 Creating Juju controller
> "openstack-controller" on openstack-mitaka/RegionOne
> 
> 2016-10-12 20:19:00 DEBUG juju.environs imagemetadata.go:112 obtained
> image datasource "image-metadata-url"
> 
> 2016-10-12 20:19:00 DEBUG juju.environs imagemetadata.go:112 obtained
> image datasource "default cloud images"
> 
> 2016-10-12 20:19:00 DEBUG juju.environs imagemetadata.go:112 obtained
> image datasource "default ubuntu cloud images"
> 
> 2016-10-12 20:19:01 INFO juju.cmd.juju.commands bootstrap.go:641
> combined bootstrap constraints:
> 
> 2016-10-12 20:19:01 INFO cmd cmd.go:129 Bootstrapping model "controller"
> 
> 2016-10-12 20:19:01 DEBUG juju.environs.bootstrap bootstrap.go:214
> model "controller" supports service/machine networks: false
> 
> 2016-10-12 20:19:01 DEBUG juju.environs.bootstrap bootstrap.go:216
> network management by juju enabled: true
> 
> 2016-10-12 20:19:01 INFO juju.environs.bootstrap tools.go:95 looking
> for bootstrap tools: version=2.0-beta15
> 
> 2016-10-12 20:19:01 INFO juju.environs.tools tools.go:106 finding
> tools in stream "devel"
> 
> 2016-10-12 20:19:01 INFO juju.environs.tools tools.go:108 reading
> tools with major.minor version 2.0
> 
> 2016-10-12 20:19:01 INFO juju.environs.tools tools.go:116 filtering
> tools by version: 2.0-beta15
> 
> 2016-10-12 20:19:01 DEBUG juju.environs.tools urls.go:109 trying
> datasource "keystone catalog"
> 
> 2016-10-12 20:19:02 DEBUG juju.environs.simplestreams
> simplestreams.go:680 using default candidate for content id
> "com.ubuntu.juju:devel:tools" are {20161007 mirrors:1.0
> content-download streams/v1/cpc-mirrors.sjson []}
> 
> 2016-10-12 20:19:03 DEBUG juju.environs imagemetadata.go:112 obtained
> image datasource "image-metadata-url"
> 
> 2016-10-12 20:19:03 DEBUG juju.environs imagemetadata.go:112 obtained
> image datasource "default cloud images"
> 
> 2016-10-12 20:19:03 DEBUG juju.environs imagemetadata.go:112 obtained
> image datasource "default ubuntu cloud images"
> 
> 2016-10-12 20:19:03 DEBUG juju.environs.bootstrap bootstrap.go:489
> constraints for image metadata lookup &{{{RegionOne
> http://10.2.1.111:35357/v3} [centos7 precise trusty win10 win2012
> win2012hv win2012hvr2 win2012r2 win2016 win2016nano win7 win8 win81
> xenial yakkety] [amd64 arm64 ppc64el s390x] released}}
> 
> 2016-10-12 20:19:03 DEBUG juju.environs.bootstrap bootstrap.go:501
> found 1 image metadata in image-metadata-url
> 
> 2016-10-12 20:19:04 DEBUG juju.environs.simplestreams
> simplestreams.go:458 index has no matching records
> 
> 2016-10-12 20:19:04 DEBUG juju.environs.bootstrap bootstrap.go:501
> found 0 image metadata in default cloud images
> 
> 2016-10-12 20:19:05 DEBUG juju.environs.simplestreams
> simplestreams.go:454 skipping index
> "http://cloud-images.ubuntu.com/releases/streams/v1/index.sjson"
> because of missing information: index file has no data for cloud
> {RegionOne http://10.2.1.111:35357/v3} not found
> 
> 2016-10-12 20:19:05 DEBUG juju.environs.bootstrap bootstrap.go:497
> ignoring image metadata in default ubuntu cloud images: index file has
> no data for cloud {RegionOne http://10.2.1.111:35357/v3} not found
> 
> 2016-10-12 20:19:05 DEBUG juju.environs.bootstrap bootstrap.go:505
> found 1 image metadata from all image data sources
> 
> 2016-10-12 20:19:05 INFO cmd cmd.go:129 Starting new instance for
> initial controller
> 
> Launching instance
> 
> 2016-10-12 20:19:06 DEBUG juju.environs.instances image.go:64 instance
> constraints {region: RegionOne, series: xenial, arches: [amd64 arm64
> ppc64el s390x], constraints: , storage: []}
> 
> 2016-10-12 20:19:06 DEBUG juju.environs.instances image.go:70 matching
> constraints {region: RegionOne, series: xenial, arches: [amd64 arm64
> ppc64el s390x], constraints: , storage: []} against possible image
> metadata [{Id:f9694ea2-b6f4-4096-92bd-df5a82d9c6de Arch:amd64
> VirtType:}]
> 
> 2016-10-12 20:19:06 INFO juju.environs.instances image.go:106 find
> instance - using image with id: f9694ea2-b6f4-4096-92bd-df5a82d9c6de
> 
> 2016-10-12 20:19:06 DEBUG juju.cloudconfig.instancecfg
> instancecfg.go:769 Setting numa ctl preference to false
> 
> 2016-10-12 20:19:06 DEBUG juju.service discovery.go:62 discovered init
> system "systemd" from series "xenial"
> 
> 2016-10-12 20:19:06 DEBUG juju.provider.openstack provider.go:922
> openstack user data; 860 bytes
> 
> 2016-10-12 20:19:09 INFO juju.provider.common destroy.go:20 destroying
> model "controller"
> 
> 2016-10-12 20:19:09 INFO juju.provider.common destroy.go:31 destroying instances
> 
> 2016-10-12 20:19:09 DEBUG juju.provider.openstack provider.go:1066
> terminating instances []
> 
> 2016-10-12 20:19:09 INFO juju.provider.common destroy.go:51 destroying storage
> 
> 2016-10-12 20:19:10 DEBUG juju.provider.openstack firewaller.go:282
> deleting security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:13 DEBUG juju.provider.openstack firewaller.go:293
> waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:17 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:21 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:25 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:30 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:34 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:38 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:19:40 WARNING juju.provider.openstack firewaller.go:305
> cannot delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b".
> Used by another model?
> 
> 2016-10-12 20:19:40 DEBUG juju.provider.openstack firewaller.go:282
> deleting security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:19:43 DEBUG juju.provider.openstack firewaller.go:293
> waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:19:47 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:19:51 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:19:55 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:19:59 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:03 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:07 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:09 WARNING juju.provider.openstack firewaller.go:305
> cannot delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0".
> Used by another model?
> 
> 2016-10-12 20:20:10 DEBUG juju.provider.openstack firewaller.go:282
> deleting security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:13 DEBUG juju.provider.openstack firewaller.go:293
> waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:17 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:21 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:26 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:30 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:34 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:38 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"
> 
> 2016-10-12 20:20:40 WARNING juju.provider.openstack firewaller.go:305
> cannot delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b".
> Used by another model?
> 
> 2016-10-12 20:20:40 DEBUG juju.provider.openstack firewaller.go:282
> deleting security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:43 DEBUG juju.provider.openstack firewaller.go:293
> waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:47 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:51 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:55 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:20:59 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:21:03 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:21:07 DEBUG juju.provider.openstack firewaller.go:293
> still waiting to delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"
> 
> 2016-10-12 20:21:09 WARNING juju.provider.openstack firewaller.go:305
> cannot delete security group
> "juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0".
> Used by another model?
> 
> 2016-10-12 20:21:09 ERROR cmd supercommand.go:458 failed to bootstrap
> model: cannot start bootstrap instance: cannot run instance: failed to
> run a server with
> nova.RunServerOpts{Name:"juju-71e55928-2c38-407b-897f-94e83c60890b-machine-0",
> FlavorId:"41537608", ImageId:"f9694ea2-b6f4-4096-92bd-df5a82d9c6de",
> UserData:[]uint8{0x1f, 0x8b, 0x8, 0x0, 0x0, 0x9, 0x6e, 0x88, 0x0,
> 0xff, 0x9c, 0x53, 0xed, 0x6f, 0xf2, 0xb6, 0x17, 0xfd, 0xce, 0x5f,
> 0x61, 0xe9, 0xa7, 0x9f, 0xd8, 0x54, 0xa5, 0x2e, 0x2d, 0x2f, 0x5, 0x89,
> 0x49, 0xe1, 0xa5, 0xd, 0x2d, 0x85, 0xd2, 0x0, 0x5, 0xb6, 0x69, 0x72,
> 0x6c, 0x27, 0x31, 0x4, 0x3b, 0xf8, 0x5, 0x8, 0x7a, 0xfe, 0xf8, 0xd9,
> 0xa4, 0x8f, 0xb4, 0x4d, 0xda, 0x3e, 0x3c, 0x7c, 0xc0, 0xd7, 0xc7,
> 0xd7, 0xe7, 0x1e, 0xdf, 0x73, 0xf3, 0x3f, 0x9c, 0x9, 0x43, 0x3c, 0x2c,
> 0x78, 0xcc, 0x92, 0x8a, 0x30, 0x3a, 0x37, 0xba, 0x53, 0x1, 0x0, 0x65,
> 0x59, 0x7, 0x54, 0xbf, 0x1, 0x4d, 0x29, 0xf0, 0x10, 0x80, 0x47, 0x24,
> 0x61, 0x26, 0x12, 0x58, 0xa6, 0x33, 0xce, 0xb4, 0x57, 0x26, 0xdf,
> 0x5a, 0xb4, 0x5a, 0x91, 0x86, 0xe3, 0x3d, 0xe9, 0x54, 0x3c, 0xa0,
> 0xa8, 0x6, 0xde, 0x99, 0xda, 0x88, 0x71, 0xa5, 0x2d, 0xd, 0xf0, 0x6,
> 0xc0, 0xdb, 0x83, 0x66, 0xbd, 0xe, 0x20, 0xa1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x3e, 0x5, 0x0, 0x0},
> SecurityGroupNames:[]nova.SecurityGroupName{nova.SecurityGroupName{Name:"juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"},
> nova.SecurityGroupName{Name:"juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"}},
> Networks:[]nova.ServerNetworks{}, AvailabilityZone:"4-interfaces",
> Metadata:map[string]string{"juju-controller-uuid":"71e55928-2c38-407b-897f-94e83c60890b",
> "juju-is-controller":"true",
> "juju-model-uuid":"71e55928-2c38-407b-897f-94e83c60890b"},
> ConfigDrive:false}
> 
> caused by: request
> (http://controller-111.openstack-lab.netnumber.com:8774/v2.1/6425b67eb22e4964b2bc706e4f755bfa/servers)
> returned unexpected status: 409; error info: {"conflictingRequest":
> {"message": "Multiple possible networks found, use a Network ID to be
> more specific.", "code": 409}}
> 
> 2016-10-12 20:21:09 DEBUG cmd supercommand.go:459 (error details:
> [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:709: failed to
> bootstrap model}
> {github.com/juju/juju/provider/common/bootstrap.go:47: }
> {github.com/juju/juju/provider/common/bootstrap.go:150: cannot start
> bootstrap instance}
> {github.com/juju/juju/provider/openstack/provider.go:1016: }
> {github.com/juju/juju/provider/openstack/provider.go:999: cannot run
> instance} {failed to run a server with
> nova.RunServerOpts{Name:"juju-71e55928-2c38-407b-897f-94e83c60890b-machine-0",
> FlavorId:"41537608", ImageId:"f9694ea2-b6f4-4096-92bd-df5a82d9c6de",
> UserData:[]uint8{0x1f, 0x8b, 0x8, 0x0, 0x0, 0x9, 0x6e, 0x88, 0x0,
> 0xff, 0x9c, 0x53, 0xed, 0x6f, 0xf2, 0xb6, 0x17, 0xfd, 0xce, 0x5f,
> 0x61, 0xe9, 0xa7, 0x9f, 0xd8, 0x54, 0xa5, 0x2e, 0x2d, 0x2f, 0x5, 0x89,
> 0x49, 0xe1, 0xa5, 0xd, 0x2d, 0x85, 0xd2, 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 0x24, 0x18, 0x5, 0x77, 0xe7,
> 0xb5, 0xfa, 0x7c, 0x9e, 0xf7, 0x5a, 0x97, 0x9b, 0xa7, 0xbc, 0xcf,
> 0x1f, 0xe3, 0xd6, 0xe2, 0x23, 0x7e, 0x3b, 0xb2, 0xf1, 0xec, 0x7e,
> 0xb6, 0x7a, 0xb8, 0x5b, 0x10, 0x4, 0xd3, 0xbb, 0xd7, 0x59, 0xbb, 0x6,
> 0x25, 0x7a, 0xde, 0xae, 0x87, 0x8d, 0x30, 0x58, 0x3c, 0xc, 0xe1, 0x3b,
> 0x5c, 0x7e, 0xea, 0xad, 0x35, 0x0, 0x80, 0x17, 0x3b, 0x57, 0x9d, 0xaf,
> 0x21, 0x67, 0x94, 0x6b, 0xe7, 0x8d, 0x33, 0xcc, 0xfa, 0x5e, 0x3a,
> 0xe4, 0x8f, 0xc7, 0xdd, 0x9f, 0xec, 0xdf, 0xcf, 0x60, 0x32, 0x7d,
> 0xf7, 0xc3, 0xf0, 0x73, 0xd0, 0xb1, 0xbb, 0xca, 0x9f, 0x1, 0x0, 0x0,
> 0xff, 0xff, 0xed, 0xcc, 0xd1, 0xd9, 0x3e, 0x5, 0x0, 0x0},
> SecurityGroupNames:[]nova.SecurityGroupName{nova.SecurityGroupName{Name:"juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b"},
> nova.SecurityGroupName{Name:"juju-71e55928-2c38-407b-897f-94e83c60890b-71e55928-2c38-407b-897f-94e83c60890b-0"}},
> Networks:[]nova.ServerNetworks{}, AvailabilityZone:"4-interfaces",
> Metadata:map[string]string{"juju-controller-uuid":"71e55928-2c38-407b-897f-94e83c60890b",
> "juju-is-controller":"true",
> "juju-model-uuid":"71e55928-2c38-407b-897f-94e83c60890b"},
> ConfigDrive:false}
> 
> caused by: request
> (http://controller-111.openstack-lab.netnumber.com:8774/v2.1/6425b67eb22e4964b2bc706e4f755bfa/servers)
> returned unexpected status: 409; error info: {"conflictingRequest":
> {"message": "Multiple possible networks found, use a Network ID to be
> more specific.", "code": 409}}}])
> 
> 
> The content of simplestream/images/streams/v1/index.json is
> 
> {
> 
>     "index": {
> 
>         "com.ubuntu.cloud:custom": {
> 
>             "updated": "Wed, 12 Oct 2016 12:57:30 -0400",
> 
>             "format": "products:1.0",
> 
>             "datatype": "image-ids",
> 
>             "cloudname": "custom",
> 
>             "clouds": [
> 
>                 {
> 
>                     "region": "RegionOne",
> 
>                     "endpoint": "http://10.2.1.111:35357/v3"
> 
>                 }
> 
>             ],
> 
>             "path": "streams/v1/com.ubuntu.cloud-released-imagemetadata.json",
> 
>             "products": [
> 
>                 "com.ubuntu.cloud:server:16.04:amd64"
> 
>             ]
> 
>         }
> 
>     },
> 
>     "updated": "Wed, 12 Oct 2016 12:57:30 -0400",
> 
>     "format": "index:1.0"
> 
> }
> 
> I have created the cloud as follows:
> 
> $ cat openstack-cloud.yaml
> 
> clouds:
> 
>     openstack-mitaka:
> 
>       type: openstack
> 
>       auth-types: [userpass]
> 
>       regions:
> 
>         RegionOne:
> 
>           endpoint: http://10.2.1.111:35357/v3
> 
> Regards
> 



More information about the Juju mailing list