bootstrapping openstack issues
ed bond
celpa.firl at gmail.com
Thu Mar 23 09:46:58 UTC 2017
Hello all,
I am using juju 2.1 ( using this guide: https://jujucharms.com/docs/2.0/howto-privatecloud <https://jujucharms.com/docs/2.0/howto-privatecloud> ) as well as using xenial-newton juju openstack.
I can’t seem to get it to use floating ips. when I specify it I get an error, when I don’t it is trying to reach out to the internal ip only.
without floating ips:
$ juju --debug bootstrap openstack ad --config image-metadata-url=http://10.220.27.26:80/swift/simplestreams/images --config network=97789cb3-a400-49d6-b50a-014fbb34b9f6
05:42:26 INFO juju.cmd supercommand.go:63 running juju [2.1.1 gc go1.6.2]
05:42:26 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "--debug", "bootstrap", "openstack", "ad", "--config", "image-metadata-url=http://10.220.27.26:80/swift/simplestreams/images", "--config", "network=97789cb3-a400-49d6-b50a-014fbb34b9f6"}
05:42:26 INFO cmd cmd.go:141 cloud "openstack" not found, trying as a provider name
05:42:26 INFO cmd cmd.go:141 no credentials found, checking environment
05:42:26 DEBUG juju.cmd.juju.commands bootstrap.go:780 authenticating with region "RegionOne" and credential "admin" (openstack region "RegionOne" project "admin" user "admin")
05:42:26 DEBUG juju.cmd.juju.commands bootstrap.go:892 provider attrs: map[external-network: use-floating-ip:false use-default-secgroup:false network:97789cb3-a400-49d6-b50a-014fbb34b9f6]
05:42:26 INFO cmd cmd.go:141 Adding contents of "/home/maasadmin/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
05:42:26 INFO cmd cmd.go:141 Adding contents of "/home/maasadmin/.ssh/id_rsa.pub" to authorized-keys
05:42:26 DEBUG juju.cmd.juju.commands bootstrap.go:948 preparing controller with config: map[proxy-ssh:false agent-metadata-url: ignore-machine-addresses:false apt-https-proxy: apt-http-proxy: apt-mirror: development:false http-proxy: logging-config: use-default-secgroup:false ssl-hostname-verification:true external-network: enable-os-refresh-update:true ftp-proxy: resource-tags: default-series:xenial https-proxy: enable-os-upgrade:true use-floating-ip:false test-mode:false logforward-enabled:false name:controller apt-ftp-proxy: net-bond-reconfigure-delay:17 no-proxy: agent-stream:released network:97789cb3-a400-49d6-b50a-014fbb34b9f6 authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDe6Fl1DxuPyqgvaX081PzV/F/NVQp8pcUGArvuPwI/qspndYtX7C5kYTJrXWI9bVdEDwb7jrPQPlvhY3r4PG4nadpvnCt2LB/ZFeDpPwdxlhuAZDmUnRDWXRw36l1kggI/0AgoUCBkT7R7CsIWy4mI+1cKKKkNqAQjQETy1yJ+7NDRgdUSXGNS0Rdp6D79nQto1Wtj8BB8QO8rPafv6Vk8Dwi4RozTo5aFg7y03qSV8Jk9LcmyO7QG8Eq5lrtpCO4PHNTepryeDU6O4qMzn3DdwSPnLBHfyWcbRexxzjIXCQpI0bAgpUckwJObIYzqiSOkDr0xRHVJaUhVPRU4JnAf juju-client-key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgwxOz3UBnExmG/Pl9EulUTstDlfO2ra6voxm2w2bZG2FxF37jGOK0ieXSLJvcmgYugon2yjvZsT83nII7D7wiqg8Y1txJrpFczuAcI7Ac8EYv1twsMiTWQVBaimBENEzAyGpwGaiV6s7bRRZWaeWmaI0e4MBiSfZL9AI7UCOcpD2JvJ0gQLmKxkGacuMVO9ldBVpv1M4rNSSwvuCl9VdnciaG+K2vcUxXV6ewnKQcsemrteo0fn7CPvkNIkHBUmrzlMK5bGw3Fqr0oMovHaHQfkGa9Rtxt3HNxVEyZCnHVqrnUo3nSIGjZm3nWVyEwq852OQXjQYnxhSZ4i3YuFbZ maasadmin at restonMaas
disable-network-management:false automatically-retry-hooks:true provisioner-harvest-mode:destroyed type:openstack image-stream:released transmit-vendor-metrics:true firewall-mode:instance uuid:881ed049-5460-40b6-8ce0-2de16e5f4698 image-metadata-url:http://10.220.27.26:80/swift/simplestreams/images]
05:42:26 INFO juju.provider.openstack provider.go:131 opening model "controller"
05:42:27 DEBUG goose <autogenerated>:22 auth details: &{Token:a6cd2a32c59e470095767f0db49bf3c7 TenantId:508a7e6683ee43ac9c3b4e1b5bc488ad UserId:010a3f85b50f4f8dbe161ff28b31c0cc Domain: RegionServiceURLs:map[RegionOne:map[volumev2:http://10.220.27.27:8776/v2/508a7e6683ee43ac9c3b4e1b5bc488ad identity:http://10.220.27.38:5000/v2.0 object-store:http://10.220.27.26:80/swift/v1 alarming:http://10.220.27.22:8042 network:http://10.220.27.20:9696 image:http://10.220.27.23:9292 share:http://10.220.42.20:8786/v1/508a7e6683ee43ac9c3b4e1b5bc488ad sharev2:http://10.220.42.20:8786/v2/508a7e6683ee43ac9c3b4e1b5bc488ad compute:http://10.220.27.35:8774/v2/508a7e6683ee43ac9c3b4e1b5bc488ad container-infra:http://10.220.42.20:9511/v1 volume:http://10.220.27.27:8776/v1/508a7e6683ee43ac9c3b4e1b5bc488ad cloudformation:http://10.220.27.37:8000/v1 orchestration:http://10.220.27.37:8004/v1/508a7e6683ee43ac9c3b4e1b5bc488ad metering:http://10.220.27.24:8777] :map[product-streams:http://10.220.27.26/swift/v1/simplestreams/images]]}
05:42:27 INFO cmd cmd.go:129 Creating Juju controller "ad" on openstack/RegionOne
05:42:27 DEBUG goose <autogenerated>:22 performing API version discovery for "http://10.220.27.35:8774/"
05:42:27 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://10.220.27.35:8774/v2/ Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1} Links:[{Href:http://10.220.27.35:8774/v2.1/ Rel:self}] Status:CURRENT}]
05:42:27 INFO juju.cmd.juju.commands bootstrap.go:526 combined bootstrap constraints:
05:42:27 DEBUG juju.environs.bootstrap bootstrap.go:199 model "controller" supports service/machine networks: false
05:42:27 DEBUG juju.environs.bootstrap bootstrap.go:201 network management by juju enabled: true
05:42:27 INFO cmd cmd.go:141 Loading image metadata
05:42:27 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "image-metadata-url"
05:42:27 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "keystone catalog"
05:42:27 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
05:42:27 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
05:42:27 DEBUG juju.environs.bootstrap bootstrap.go:571 constraints for image metadata lookup &{{{RegionOne http://10.220.27.38:5000/v3} [utopic wily yakkety win2016hv quantal saucy trusty win2016nano genericlinux vivid win2012hvr2 win2016 win7 xenial win2008r2 win2012r2 win2012hv win2012 win8 win81 win10 precise raring zesty centos7] [amd64 i386 armhf arm64 ppc64el s390x] released}}
05:42:27 DEBUG juju.environs.bootstrap bootstrap.go:579 ignoring image metadata in image-metadata-url: invalid URL "http://10.220.27.26:80/swift/simplestreams/images/streams/v1/index.json" not found
05:42:27 DEBUG juju.environs.bootstrap bootstrap.go:583 found 1 image metadata in keystone catalog
05:42:28 DEBUG juju.environs.bootstrap bootstrap.go:583 found 0 image metadata in default cloud images
05:42:29 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.220.27.38:5000/v3} not found
05:42:29 DEBUG juju.environs.bootstrap bootstrap.go:579 ignoring image metadata in default ubuntu cloud images: index file has no data for cloud {RegionOne http://10.220.27.38:5000/v3} not found
05:42:29 DEBUG juju.environs.bootstrap bootstrap.go:587 found 1 image metadata from all image data sources
05:42:29 INFO cmd cmd.go:129 Looking for packaged Juju agent version 2.1.1 for amd64
05:42:29 INFO juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.1.1
05:42:29 INFO juju.environs.tools tools.go:101 finding agent binaries in stream "released"
05:42:29 INFO juju.environs.tools tools.go:103 reading agent binaries with major.minor version 2.1
05:42:29 INFO juju.environs.tools tools.go:111 filtering agent binaries by version: 2.1.1
05:42:29 INFO juju.environs.tools tools.go:117 filtering agent binaries by architecture: amd64
05:42:29 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
05:42:29 DEBUG juju.environs.simplestreams simplestreams.go:680 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
05:42:31 INFO juju.environs.bootstrap tools.go:74 found 16 packaged agent binaries
05:42:31 DEBUG goose <autogenerated>:22 auth details: &{Token:c7621dc2bc7f47869d180d88befb37bd TenantId:508a7e6683ee43ac9c3b4e1b5bc488ad UserId:010a3f85b50f4f8dbe161ff28b31c0cc Domain: RegionServiceURLs:map[:map[product-streams:http://10.220.27.26/swift/v1/simplestreams/images] RegionOne:map[share:http://10.220.42.20:8786/v1/508a7e6683ee43ac9c3b4e1b5bc488ad container-infra:http://10.220.42.20:9511/v1 metering:http://10.220.27.24:8777 sharev2:http://10.220.42.20:8786/v2/508a7e6683ee43ac9c3b4e1b5bc488ad volume:http://10.220.27.27:8776/v1/508a7e6683ee43ac9c3b4e1b5bc488ad compute:http://10.220.27.35:8774/v2/508a7e6683ee43ac9c3b4e1b5bc488ad orchestration:http://10.220.27.37:8004/v1/508a7e6683ee43ac9c3b4e1b5bc488ad network:http://10.220.27.20:9696 identity:http://10.220.27.38:5000/v2.0 cloudformation:http://10.220.27.37:8000/v1 alarming:http://10.220.27.22:8042 volumev2:http://10.220.27.27:8776/v2/508a7e6683ee43ac9c3b4e1b5bc488ad image:http://10.220.27.23:9292 object-store:http://10.220.27.26:80/swift/v1]]}
05:42:31 INFO cmd cmd.go:141 Starting new instance for initial controller
Launching controller instance(s) on openstack/RegionOne...
05:42:31 DEBUG goose <autogenerated>:22 performing API version discovery for "http://10.220.27.35:8774/"
05:42:31 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://10.220.27.35:8774/v2/ Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1} Links:[{Href:http://10.220.27.35:8774/v2.1/ Rel:self}] Status:CURRENT}]
05:42:31 DEBUG juju.environs.instances image.go:64 instance constraints {region: RegionOne, series: xenial, arches: [amd64], constraints: mem=3584M, storage: []}
05:42:31 DEBUG juju.environs.instances image.go:70 matching constraints {region: RegionOne, series: xenial, arches: [amd64], constraints: mem=3584M, storage: []} against possible image metadata [{Id:6df88157-4038-40d6-93c3-8f1f7a92509d Arch:amd64 VirtType:}]
05:42:31 INFO juju.environs.instances image.go:106 find instance - using image with id: 6df88157-4038-40d6-93c3-8f1f7a92509d
05:42:31 DEBUG juju.cloudconfig.instancecfg instancecfg.go:781 Setting numa ctl preference to false
05:42:31 DEBUG juju.service discovery.go:63 discovered init system "systemd" from series "xenial"
05:42:31 DEBUG juju.provider.openstack provider.go:984 openstack user data; 1148 bytes
05:42:31 DEBUG juju.provider.openstack provider.go:996 using network id "97789cb3-a400-49d6-b50a-014fbb34b9f6"
05:42:31 DEBUG goose <autogenerated>:22 performing API version discovery for "http://10.220.27.20:9696/"
05:42:31 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://10.220.27.20:9696/v2.0 Rel:self}] Status:CURRENT}]
05:42:35 INFO juju.provider.openstack provider.go:1085 started instance "57f1aa34-298c-46bb-b014-3b3c6cd30ec0"
- 57f1aa34-298c-46bb-b014-3b3c6cd30ec0 (arch=amd64 mem=4G cores=2)
05:42:35 INFO juju.environs.bootstrap bootstrap.go:601 newest version: 2.1.1
05:42:35 INFO juju.environs.bootstrap bootstrap.go:616 picked bootstrap tools version: 2.1.1
05:42:35 INFO juju.environs.bootstrap bootstrap.go:393 Installing Juju agent on bootstrap instance
05:42:37 INFO cmd cmd.go:129 Fetching Juju GUI 2.4.4
05:42:37 DEBUG juju.cloudconfig.instancecfg instancecfg.go:781 Setting numa ctl preference to false
Waiting for address
Attempting to connect to 192.168.2.12:22
^C05:42:52 INFO cmd cmd.go:129 Interrupt signalled: waiting for bootstrap to exit
05:42:52 INFO juju.provider.common destroy.go:20 destroying model "controller"
05:42:52 INFO juju.provider.common destroy.go:31 destroying instances
05:42:53 DEBUG juju.provider.openstack provider.go:1129 terminating instances [57f1aa34-298c-46bb-b014-3b3c6cd30ec0]
05:42:54 DEBUG juju.provider.openstack firewaller.go:294 deleting security group "juju-654b35e0-5420-413a-81d9-15919afa8857-881ed049-5460-40b6-8ce0-2de16e5f4698-0"
05:42:56 INFO juju.provider.common destroy.go:51 destroying storage
05:42:56 DEBUG juju.provider.openstack cinder.go:81 volume URL: http://10.220.27.27:8776/v2/508a7e6683ee43ac9c3b4e1b5bc488ad
05:42:56 DEBUG juju.provider.openstack firewaller.go:294 deleting security group "juju-654b35e0-5420-413a-81d9-15919afa8857-881ed049-5460-40b6-8ce0-2de16e5f4698"
05:42:57 ERROR cmd supercommand.go:458 failed to bootstrap model: interrupted
05:42:57 DEBUG cmd supercommand.go:459 (error details: [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:574: failed to bootstrap model} {interrupted}])
with floating ips:
$ juju --debug bootstrap openstack ad --config image-metadata-url=http://10.220.27.26:80/swift/simplestreams/images --config network=97789cb3-a400-49d6-b50a-014fbb34b9f6 --config use-floating-ip=true
05:39:32 INFO juju.cmd supercommand.go:63 running juju [2.1.1 gc go1.6.2]
05:39:32 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "--debug", "bootstrap", "openstack", "ad", "--config", "image-metadata-url=http://10.220.27.26:80/swift/simplestreams/images", "--config", "network=97789cb3-a400-49d6-b50a-014fbb34b9f6", "--config", "use-floating-ip=true"}
05:39:32 INFO cmd cmd.go:141 cloud "openstack" not found, trying as a provider name
05:39:32 INFO cmd cmd.go:141 no credentials found, checking environment
05:39:32 DEBUG juju.cmd.juju.commands bootstrap.go:780 authenticating with region "RegionOne" and credential "admin" (openstack region "RegionOne" project "admin" user "admin")
05:39:32 DEBUG juju.cmd.juju.commands bootstrap.go:892 provider attrs: map[external-network: use-floating-ip:true use-default-secgroup:false network:97789cb3-a400-49d6-b50a-014fbb34b9f6]
05:39:32 INFO cmd cmd.go:141 Adding contents of "/home/maasadmin/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
05:39:32 INFO cmd cmd.go:141 Adding contents of "/home/maasadmin/.ssh/id_rsa.pub" to authorized-keys
05:39:32 DEBUG juju.cmd.juju.commands bootstrap.go:948 preparing controller with config: map[image-stream:released firewall-mode:instance agent-stream:released logging-config: resource-tags: test-mode:false ssl-hostname-verification:true proxy-ssh:false agent-metadata-url: apt-https-proxy: ftp-proxy: apt-mirror: type:openstack enable-os-refresh-update:true development:false external-network: authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDe6Fl1DxuPyqgvaX081PzV/F/NVQp8pcUGArvuPwI/qspndYtX7C5kYTJrXWI9bVdEDwb7jrPQPlvhY3r4PG4nadpvnCt2LB/ZFeDpPwdxlhuAZDmUnRDWXRw36l1kggI/0AgoUCBkT7R7CsIWy4mI+1cKKKkNqAQjQETy1yJ+7NDRgdUSXGNS0Rdp6D79nQto1Wtj8BB8QO8rPafv6Vk8Dwi4RozTo5aFg7y03qSV8Jk9LcmyO7QG8Eq5lrtpCO4PHNTepryeDU6O4qMzn3DdwSPnLBHfyWcbRexxzjIXCQpI0bAgpUckwJObIYzqiSOkDr0xRHVJaUhVPRU4JnAf juju-client-key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgwxOz3UBnExmG/Pl9EulUTstDlfO2ra6voxm2w2bZG2FxF37jGOK0ieXSLJvcmgYugon2yjvZsT83nII7D7wiqg8Y1txJrpFczuAcI7Ac8EYv1twsMiTWQVBaimBENEzAyGpwGaiV6s7bRRZWaeWmaI0e4MBiSfZL9AI7UCOcpD2JvJ0gQLmKxkGacuMVO9ldBVpv1M4rNSSwvuCl9VdnciaG+K2vcUxXV6ewnKQcsemrteo0fn7CPvkNIkHBUmrzlMK5bGw3Fqr0oMovHaHQfkGa9Rtxt3HNxVEyZCnHVqrnUo3nSIGjZm3nWVyEwq852OQXjQYnxhSZ4i3YuFbZ maasadmin at restonMaas
name:controller net-bond-reconfigure-delay:17 apt-http-proxy: ignore-machine-addresses:false uuid:3db20592-1ce3-4285-84a0-626b5566b00f no-proxy: apt-ftp-proxy: image-metadata-url:http://10.220.27.26:80/swift/simplestreams/images transmit-vendor-metrics:true use-default-secgroup:false disable-network-management:false automatically-retry-hooks:true http-proxy: use-floating-ip:true provisioner-harvest-mode:destroyed default-series:xenial https-proxy: network:97789cb3-a400-49d6-b50a-014fbb34b9f6 enable-os-upgrade:true logforward-enabled:false]
05:39:32 INFO juju.provider.openstack provider.go:131 opening model "controller"
05:39:33 DEBUG goose <autogenerated>:22 auth details: &{Token:d7788ad3f49b41f292032a90a5f7a193 TenantId:508a7e6683ee43ac9c3b4e1b5bc488ad UserId:010a3f85b50f4f8dbe161ff28b31c0cc Domain: RegionServiceURLs:map[RegionOne:map[compute:http://10.220.27.35:8774/v2/508a7e6683ee43ac9c3b4e1b5bc488ad cloudformation:http://10.220.27.37:8000/v1 metering:http://10.220.27.24:8777 share:http://10.220.42.20:8786/v1/508a7e6683ee43ac9c3b4e1b5bc488ad image:http://10.220.27.23:9292 identity:http://10.220.27.38:5000/v2.0 sharev2:http://10.220.42.20:8786/v2/508a7e6683ee43ac9c3b4e1b5bc488ad container-infra:http://10.220.42.20:9511/v1 orchestration:http://10.220.27.37:8004/v1/508a7e6683ee43ac9c3b4e1b5bc488ad network:http://10.220.27.20:9696 volumev2:http://10.220.27.27:8776/v2/508a7e6683ee43ac9c3b4e1b5bc488ad volume:http://10.220.27.27:8776/v1/508a7e6683ee43ac9c3b4e1b5bc488ad object-store:http://10.220.27.26:80/swift/v1 alarming:http://10.220.27.22:8042] :map[product-streams:http://10.220.27.26/swift/v1/simplestreams/images]]}
05:39:33 INFO cmd cmd.go:129 Creating Juju controller "ad" on openstack/RegionOne
05:39:33 DEBUG goose <autogenerated>:22 performing API version discovery for "http://10.220.27.35:8774/"
05:39:33 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://10.220.27.35:8774/v2/ Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1} Links:[{Href:http://10.220.27.35:8774/v2.1/ Rel:self}] Status:CURRENT}]
05:39:33 INFO juju.cmd.juju.commands bootstrap.go:526 combined bootstrap constraints:
05:39:33 DEBUG juju.environs.bootstrap bootstrap.go:199 model "controller" supports service/machine networks: false
05:39:33 DEBUG juju.environs.bootstrap bootstrap.go:201 network management by juju enabled: true
05:39:33 INFO cmd cmd.go:141 Loading image metadata
05:39:33 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "image-metadata-url"
05:39:33 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "keystone catalog"
05:39:33 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
05:39:33 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
05:39:33 DEBUG juju.environs.bootstrap bootstrap.go:571 constraints for image metadata lookup &{{{RegionOne http://10.220.27.38:5000/v3} [vivid zesty win2012hv win2012r2 win2012 precise trusty win2012hvr2 win7 raring wily xenial win8 win81 genericlinux saucy utopic yakkety win2008r2 win2016 win2016hv win2016nano win10 quantal centos7] [amd64 i386 armhf arm64 ppc64el s390x] released}}
05:39:33 DEBUG juju.environs.bootstrap bootstrap.go:579 ignoring image metadata in image-metadata-url: invalid URL "http://10.220.27.26:80/swift/simplestreams/images/streams/v1/index.json" not found
05:39:33 DEBUG juju.environs.bootstrap bootstrap.go:583 found 1 image metadata in keystone catalog
05:39:34 DEBUG juju.environs.bootstrap bootstrap.go:583 found 0 image metadata in default cloud images
05:39:34 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.220.27.38:5000/v3} not found
05:39:34 DEBUG juju.environs.bootstrap bootstrap.go:579 ignoring image metadata in default ubuntu cloud images: index file has no data for cloud {RegionOne http://10.220.27.38:5000/v3} not found
05:39:34 DEBUG juju.environs.bootstrap bootstrap.go:587 found 1 image metadata from all image data sources
05:39:35 INFO cmd cmd.go:129 Looking for packaged Juju agent version 2.1.1 for amd64
05:39:35 INFO juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.1.1
05:39:35 INFO juju.environs.tools tools.go:101 finding agent binaries in stream "released"
05:39:35 INFO juju.environs.tools tools.go:103 reading agent binaries with major.minor version 2.1
05:39:35 INFO juju.environs.tools tools.go:111 filtering agent binaries by version: 2.1.1
05:39:35 INFO juju.environs.tools tools.go:117 filtering agent binaries by architecture: amd64
05:39:35 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
05:39:35 DEBUG juju.environs.simplestreams simplestreams.go:680 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
05:39:37 INFO juju.environs.bootstrap tools.go:74 found 16 packaged agent binaries
05:39:37 DEBUG goose <autogenerated>:22 auth details: &{Token:20be62383cdb4518ae1103f8fbbf7477 TenantId:508a7e6683ee43ac9c3b4e1b5bc488ad UserId:010a3f85b50f4f8dbe161ff28b31c0cc Domain: RegionServiceURLs:map[RegionOne:map[identity:http://10.220.27.38:5000/v2.0 compute:http://10.220.27.35:8774/v2/508a7e6683ee43ac9c3b4e1b5bc488ad metering:http://10.220.27.24:8777 network:http://10.220.27.20:9696 sharev2:http://10.220.42.20:8786/v2/508a7e6683ee43ac9c3b4e1b5bc488ad volume:http://10.220.27.27:8776/v1/508a7e6683ee43ac9c3b4e1b5bc488ad share:http://10.220.42.20:8786/v1/508a7e6683ee43ac9c3b4e1b5bc488ad volumev2:http://10.220.27.27:8776/v2/508a7e6683ee43ac9c3b4e1b5bc488ad object-store:http://10.220.27.26:80/swift/v1 alarming:http://10.220.27.22:8042 orchestration:http://10.220.27.37:8004/v1/508a7e6683ee43ac9c3b4e1b5bc488ad image:http://10.220.27.23:9292 cloudformation:http://10.220.27.37:8000/v1 container-infra:http://10.220.42.20:9511/v1] :map[product-streams:http://10.220.27.26/swift/v1/simplestreams/images]]}
05:39:37 INFO cmd cmd.go:141 Starting new instance for initial controller
Launching controller instance(s) on openstack/RegionOne...
05:39:37 DEBUG goose <autogenerated>:22 performing API version discovery for "http://10.220.27.35:8774/"
05:39:37 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://10.220.27.35:8774/v2/ Rel:self}] Status:SUPPORTED} {Version:{major:2 minor:1} Links:[{Href:http://10.220.27.35:8774/v2.1/ Rel:self}] Status:CURRENT}]
05:39:38 INFO juju.provider.common destroy.go:20 destroying model "controller"
05:39:38 INFO juju.provider.common destroy.go:31 destroying instances
05:39:38 ERROR juju.cmd.juju.commands bootstrap.go:1056 error cleaning up: destroying controller model: destroying instances: failed to get list of server details
caused by: failed unmarshaling the response body: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:26:cb:a6", "version": 4, "addr": "192.168.2.7", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:6c:b9:da", "version": 4, "addr": "10.25.55.42", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000035", "OS-SRV-USG:launched_at": "2017-03-20T16:16:53.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "c5b90a1e-ebe8-4218-8899-35062c9f3030", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:16:54Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "dsfdsfdsf", "created": "2017-03-20T16:16:14Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "203f21e1-b463-4d03-9972-79026f65f6ce"}], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00000034", "OS-SRV-USG:launched_at": null, "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ERROR", "updated": "2017-03-20T16:13:14Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "one-more-volume-yes", "created": "2017-03-20T16:12:51Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Build of instance 1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58 aborted: Block Device Mapping is Invalid.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1779, in _do_build_and_run_instance\n filter_properties)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1939, in _build_and_run_instance\n 'create.error', fault=e)\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 220, in __exit__\n self.force_reraise()\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1904, in _build_and_run_instance\n block_device_mapping) as resources:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2066, in _build_resources\n reason=e.format_message())\n", "created": "2017-03-20T16:13:14Z"}, "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:3e:99:9e", "version": 4, "addr": "192.168.2.6", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a7:2b:d8", "version": 4, "addr": "10.25.55.33", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "bookmark"}], "image": {"id": "862322e2-0b75-4dba-951c-97a541ced1c3", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/images/862322e2-0b75-4dba-951c-97a541ced1c3", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000033", "OS-SRV-USG:launched_at": "2017-03-20T16:11:15.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "eab0316d-b682-4ccb-8d2e-e0abde007913", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:11:16Z", "hostId": "1abfa71d0d208719f8b0980a30bac59cfe1a20be12002fc4425cdb1e", "OS-EXT-SRV-ATTR:host": "r28-u27-deep-cicada", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u27-deep-cicada.maas", "name": "test-again", "created": "2017-03-20T16:11:00Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:84:c4:2b", "version": 4, "addr": "192.168.2.10", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000030", "OS-SRV-USG:launched_at": "2017-03-20T16:06:02.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "2d4a6280-60d5-4885-a655-0a325ad29349", "security_groups": [{"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:06:02Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "bond", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "cent-asdf", "created": "2017-03-20T16:05:19Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "d906906f-2017-49f4-8914-c073fd715644"}], "config_drive": ""}]}
caused by: json: cannot unmarshal string into Go value of type nova.jsonEntity
05:39:38 ERROR cmd supercommand.go:458 failed to bootstrap model: cannot start bootstrap instance: failed to get list of server details
caused by: failed unmarshaling the response body: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:26:cb:a6", "version": 4, "addr": "192.168.2.7", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:6c:b9:da", "version": 4, "addr": "10.25.55.42", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000035", "OS-SRV-USG:launched_at": "2017-03-20T16:16:53.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "c5b90a1e-ebe8-4218-8899-35062c9f3030", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:16:54Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "dsfdsfdsf", "created": "2017-03-20T16:16:14Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "203f21e1-b463-4d03-9972-79026f65f6ce"}], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00000034", "OS-SRV-USG:launched_at": null, "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ERROR", "updated": "2017-03-20T16:13:14Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "one-more-volume-yes", "created": "2017-03-20T16:12:51Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Build of instance 1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58 aborted: Block Device Mapping is Invalid.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1779, in _do_build_and_run_instance\n filter_properties)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1939, in _build_and_run_instance\n 'create.error', fault=e)\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 220, in __exit__\n self.force_reraise()\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1904, in _build_and_run_instance\n block_device_mapping) as resources:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2066, in _build_resources\n reason=e.format_message())\n", "created": "2017-03-20T16:13:14Z"}, "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:3e:99:9e", "version": 4, "addr": "192.168.2.6", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a7:2b:d8", "version": 4, "addr": "10.25.55.33", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "bookmark"}], "image": {"id": "862322e2-0b75-4dba-951c-97a541ced1c3", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/images/862322e2-0b75-4dba-951c-97a541ced1c3", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000033", "OS-SRV-USG:launched_at": "2017-03-20T16:11:15.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "eab0316d-b682-4ccb-8d2e-e0abde007913", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:11:16Z", "hostId": "1abfa71d0d208719f8b0980a30bac59cfe1a20be12002fc4425cdb1e", "OS-EXT-SRV-ATTR:host": "r28-u27-deep-cicada", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u27-deep-cicada.maas", "name": "test-again", "created": "2017-03-20T16:11:00Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:84:c4:2b", "version": 4, "addr": "192.168.2.10", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000030", "OS-SRV-USG:launched_at": "2017-03-20T16:06:02.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "2d4a6280-60d5-4885-a655-0a325ad29349", "security_groups": [{"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:06:02Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "bond", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "cent-asdf", "created": "2017-03-20T16:05:19Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "d906906f-2017-49f4-8914-c073fd715644"}], "config_drive": ""}]}
caused by: json: cannot unmarshal string into Go value of type nova.jsonEntity
05:39:38 DEBUG cmd supercommand.go:459 (error details: [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:574: failed to bootstrap model} {github.com/juju/juju/provider/common/bootstrap.go:47: } {github.com/juju/juju/provider/common/bootstrap.go:179: cannot start bootstrap instance} {failed to get list of server details
caused by: failed unmarshaling the response body: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:26:cb:a6", "version": 4, "addr": "192.168.2.7", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:6c:b9:da", "version": 4, "addr": "10.25.55.42", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000035", "OS-SRV-USG:launched_at": "2017-03-20T16:16:53.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "c5b90a1e-ebe8-4218-8899-35062c9f3030", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:16:54Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "dsfdsfdsf", "created": "2017-03-20T16:16:14Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "203f21e1-b463-4d03-9972-79026f65f6ce"}], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00000034", "OS-SRV-USG:launched_at": null, "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ERROR", "updated": "2017-03-20T16:13:14Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "one-more-volume-yes", "created": "2017-03-20T16:12:51Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Build of instance 1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58 aborted: Block Device Mapping is Invalid.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1779, in _do_build_and_run_instance\n filter_properties)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1939, in _build_and_run_instance\n 'create.error', fault=e)\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 220, in __exit__\n self.force_reraise()\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1904, in _build_and_run_instance\n block_device_mapping) as resources:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2066, in _build_resources\n reason=e.format_message())\n", "created": "2017-03-20T16:13:14Z"}, "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:3e:99:9e", "version": 4, "addr": "192.168.2.6", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a7:2b:d8", "version": 4, "addr": "10.25.55.33", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "bookmark"}], "image": {"id": "862322e2-0b75-4dba-951c-97a541ced1c3", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/images/862322e2-0b75-4dba-951c-97a541ced1c3", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000033", "OS-SRV-USG:launched_at": "2017-03-20T16:11:15.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "eab0316d-b682-4ccb-8d2e-e0abde007913", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:11:16Z", "hostId": "1abfa71d0d208719f8b0980a30bac59cfe1a20be12002fc4425cdb1e", "OS-EXT-SRV-ATTR:host": "r28-u27-deep-cicada", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u27-deep-cicada.maas", "name": "test-again", "created": "2017-03-20T16:11:00Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:84:c4:2b", "version": 4, "addr": "192.168.2.10", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000030", "OS-SRV-USG:launched_at": "2017-03-20T16:06:02.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "2d4a6280-60d5-4885-a655-0a325ad29349", "security_groups": [{"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:06:02Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "bond", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "cent-asdf", "created": "2017-03-20T16:05:19Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "d906906f-2017-49f4-8914-c073fd715644"}], "config_drive": ""}]}
caused by: json: cannot unmarshal string into Go value of type nova.jsonEntity}])
maasadmin at restonMaas:~$ vi ~/.local/share/juju/clouds.yaml
maasadmin at restonMaas:~$ juju bootstrap openstack ad --config image-metadata-url=http://10.220.27.26:80/swift/simplestreams/images --config network=97789cb3-a400-49d6-b50a-014fbb34b9f6 --config use-floating-ip=true
Creating Juju controller "ad" on openstack/RegionOne
Looking for packaged Juju agent version 2.1.1 for amd64
Launching controller instance(s) on openstack/RegionOne...
ERROR error cleaning up: destroying controller model: destroying instances: failed to get list of server details
caused by: failed unmarshaling the response body: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:26:cb:a6", "version": 4, "addr": "192.168.2.7", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:6c:b9:da", "version": 4, "addr": "10.25.55.42", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000035", "OS-SRV-USG:launched_at": "2017-03-20T16:16:53.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "c5b90a1e-ebe8-4218-8899-35062c9f3030", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:16:54Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "dsfdsfdsf", "created": "2017-03-20T16:16:14Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "203f21e1-b463-4d03-9972-79026f65f6ce"}], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00000034", "OS-SRV-USG:launched_at": null, "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ERROR", "updated": "2017-03-20T16:13:14Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "one-more-volume-yes", "created": "2017-03-20T16:12:51Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Build of instance 1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58 aborted: Block Device Mapping is Invalid.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1779, in _do_build_and_run_instance\n filter_properties)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1939, in _build_and_run_instance\n 'create.error', fault=e)\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 220, in __exit__\n self.force_reraise()\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1904, in _build_and_run_instance\n block_device_mapping) as resources:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2066, in _build_resources\n reason=e.format_message())\n", "created": "2017-03-20T16:13:14Z"}, "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:3e:99:9e", "version": 4, "addr": "192.168.2.6", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a7:2b:d8", "version": 4, "addr": "10.25.55.33", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "bookmark"}], "image": {"id": "862322e2-0b75-4dba-951c-97a541ced1c3", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/images/862322e2-0b75-4dba-951c-97a541ced1c3", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000033", "OS-SRV-USG:launched_at": "2017-03-20T16:11:15.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "eab0316d-b682-4ccb-8d2e-e0abde007913", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:11:16Z", "hostId": "1abfa71d0d208719f8b0980a30bac59cfe1a20be12002fc4425cdb1e", "OS-EXT-SRV-ATTR:host": "r28-u27-deep-cicada", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u27-deep-cicada.maas", "name": "test-again", "created": "2017-03-20T16:11:00Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:84:c4:2b", "version": 4, "addr": "192.168.2.10", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000030", "OS-SRV-USG:launched_at": "2017-03-20T16:06:02.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "2d4a6280-60d5-4885-a655-0a325ad29349", "security_groups": [{"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:06:02Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "bond", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "cent-asdf", "created": "2017-03-20T16:05:19Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "d906906f-2017-49f4-8914-c073fd715644"}], "config_drive": ""}]}
caused by: json: cannot unmarshal string into Go value of type nova.jsonEntity
ERROR failed to bootstrap model: cannot start bootstrap instance: failed to get list of server details
caused by: failed unmarshaling the response body: {"servers": [{"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:26:cb:a6", "version": 4, "addr": "192.168.2.7", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:6c:b9:da", "version": 4, "addr": "10.25.55.42", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/c5b90a1e-ebe8-4218-8899-35062c9f3030", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000035", "OS-SRV-USG:launched_at": "2017-03-20T16:16:53.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "c5b90a1e-ebe8-4218-8899-35062c9f3030", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:16:54Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "dsfdsfdsf", "created": "2017-03-20T16:16:14Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "203f21e1-b463-4d03-9972-79026f65f6ce"}], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "error", "OS-EXT-SRV-ATTR:instance_name": "instance-00000034", "OS-SRV-USG:launched_at": null, "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58", "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "OS-EXT-STS:power_state": 0, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ERROR", "updated": "2017-03-20T16:13:14Z", "hostId": "", "OS-EXT-SRV-ATTR:host": null, "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "name": "one-more-volume-yes", "created": "2017-03-20T16:12:51Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "fault": {"message": "Build of instance 1c9b5dde-80c2-4afd-8e77-f84ff1fe8f58 aborted: Block Device Mapping is Invalid.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1779, in _do_build_and_run_instance\n filter_properties)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1939, in _build_and_run_instance\n 'create.error', fault=e)\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 220, in __exit__\n self.force_reraise()\n File \"/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py\", line 196, in force_reraise\n six.reraise(self.type_, self.value, self.tb)\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1904, in _build_and_run_instance\n block_device_mapping) as resources:\n File \"/usr/lib/python2.7/contextlib.py\", line 17, in __enter__\n return self.gen.next()\n File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2066, in _build_resources\n reason=e.format_message())\n", "created": "2017-03-20T16:13:14Z"}, "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:3e:99:9e", "version": 4, "addr": "192.168.2.6", "OS-EXT-IPS:type": "fixed"}], "floating": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:a7:2b:d8", "version": 4, "addr": "10.25.55.33", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/eab0316d-b682-4ccb-8d2e-e0abde007913", "rel": "bookmark"}], "image": {"id": "862322e2-0b75-4dba-951c-97a541ced1c3", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/images/862322e2-0b75-4dba-951c-97a541ced1c3", "rel": "bookmark"}]}, "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000033", "OS-SRV-USG:launched_at": "2017-03-20T16:11:15.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "eab0316d-b682-4ccb-8d2e-e0abde007913", "security_groups": [{"name": "default"}, {"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:11:16Z", "hostId": "1abfa71d0d208719f8b0980a30bac59cfe1a20be12002fc4425cdb1e", "OS-EXT-SRV-ATTR:host": "r28-u27-deep-cicada", "OS-SRV-USG:terminated_at": null, "key_name": "amit", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u27-deep-cicada.maas", "name": "test-again", "created": "2017-03-20T16:11:00Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [], "config_drive": ""}, {"OS-EXT-STS:task_state": null, "addresses": {"test-private": [{"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:84:c4:2b", "version": 4, "addr": "192.168.2.10", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://10.220.27.35:8774/v2.1/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "self"}, {"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/servers/2d4a6280-60d5-4885-a655-0a325ad29349", "rel": "bookmark"}], "image": "", "OS-EXT-STS:vm_state": "active", "OS-EXT-SRV-ATTR:instance_name": "instance-00000030", "OS-SRV-USG:launched_at": "2017-03-20T16:06:02.000000", "flavor": {"id": "48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "links": [{"href": "http://10.220.27.35:8774/508a7e6683ee43ac9c3b4e1b5bc488ad/flavors/48160f4c-bcc9-4a1e-88da-92cbdd2b7497", "rel": "bookmark"}]}, "id": "2d4a6280-60d5-4885-a655-0a325ad29349", "security_groups": [{"name": "default"}], "user_id": "010a3f85b50f4f8dbe161ff28b31c0cc", "OS-DCF:diskConfig": "AUTO", "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "OS-EXT-AZ:availability_zone": "nova", "metadata": {}, "status": "ACTIVE", "updated": "2017-03-20T16:06:02Z", "hostId": "e845fe299babd374a212ee4da794c778ab78a1fd4f015e3f5ed92e7c", "OS-EXT-SRV-ATTR:host": "r28-u28-choice-badger", "OS-SRV-USG:terminated_at": null, "key_name": "bond", "OS-EXT-SRV-ATTR:hypervisor_hostname": "r28-u28-choice-badger.maas", "name": "cent-asdf", "created": "2017-03-20T16:05:19Z", "tenant_id": "508a7e6683ee43ac9c3b4e1b5bc488ad", "os-extended-volumes:volumes_attached": [{"id": "d906906f-2017-49f4-8914-c073fd715644"}], "config_drive": ""}]}
caused by: json: cannot unmarshal string into Go value of type nova.jsonEntity
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170323/b13b9f2c/attachment.html>
More information about the Juju
mailing list