creating hosted model: model already exists

Bug #1594211 reported by 258189379@qq.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

2016-06-17 07:39:23 INFO juju.provider.openstack provider.go:75 opening model "controller"
2016-06-17 07:39:23 ERROR juju.environs.config config.go:1100 unknown config field "domain-name"
2016-06-17 07:39:23 DEBUG juju.provider.openstack provider.go:725 authURL: https://identity.az1.dc1.domainname.com:443/v3
2016-06-17 07:39:23 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "image-metadata-url"
2016-06-17 07:39:23 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default cloud images"
2016-06-17 07:39:23 DEBUG juju.environs imagemetadata.go:112 obtained image datasource "default ubuntu cloud images"
2016-06-17 07:39:27 DEBUG juju.agent.agentbootstrap bootstrap.go:223 create new random password for machine 0
2016-06-17 07:39:27 DEBUG juju.controller config.go:179 JUJU_DATA not set, not attempting to read file "default-cert.pem"
2016-06-17 07:39:27 DEBUG juju.controller config.go:179 JUJU_DATA not set, not attempting to read file "default-private-key.pem"
2016-06-17 07:39:27 ERROR juju.environs.config config.go:1100 unknown config field "domain-name"
2016-06-17 07:39:28 DEBUG juju.state open.go:436 closed state without error
2016-06-17 07:39:28 DEBUG juju.state.workers dumb.go:164 stopped state workers without error
2016-06-17 07:39:28 DEBUG juju.state open.go:436 closed state without error
2016-06-17 07:39:28 ERROR cmd supercommand.go:448 creating hosted model: model already exists

when i bootstrap, there is an error prompt that model already exists, but i have not created any controller before, who know the reason ? thanks!

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Can you provide the following?

1 - The version of juju you are using? (if building your own, please include the commit ID)

2 - The full command you're using to bootstrap

3 - The full output of bootstrap with --debug

Changed in juju-core:
status: New → Incomplete
Revision history for this message
258189379@qq.com (258189379-6) wrote :
Download full text (10.1 KiB)

1) juju 2.0-beta9
2) ./juju bootstrap mycontroller mystack --debug --config image-metadata-url=http://172.22.17.99/images --config network=28c055d3-42a8-4d7e-ad5f-10a985e0e7bc --config default-series=xenial --config upload-tools=true --config use-defautl-secgroup=true --constraints="mem=4G root-disk=40G"
3)
bootstrap command's detail log :
 2016-06-20 07:08:25 INFO juju.state state.go:300 creating cloud image metadata storage
2016-06-20 07:08:25 INFO juju.state state.go:307 started state for model-c1a829af-7f04-4c1b-8d3d-8cb5136508dc successfully
2016-06-20 07:08:25 DEBUG juju.agent.agentbootstrap bootstrap.go:108 connected to initial state
2016-06-20 07:08:25 DEBUG juju.network network.go:333 no lxc bridge addresses to filter for machine
2016-06-20 07:08:25 ERROR juju.network address.go:275 no spaces to select addresses from
2016-06-20 07:08:25 DEBUG juju.worker.lease manager.go:217 waking to check leases at 2016-06-20 07:09:25.280534877 +0000 UTC
2016-06-20 07:08:25 DEBUG juju.state address.go:137 setting API hostPorts: [[172.22.16.46:17070]]
2016-06-20 07:08:25 INFO juju.agent.agentbootstrap bootstrap.go:191 initialising bootstrap machine with config: {StateInitializationParams:{ControllerModelConfig:0xc82097dee0 ControllerCloudName:mystack ControllerCloud:{Type:openstack AuthTypes:[access-key userpass] Endpoint: StorageEndpoint: Regions:[{Name:az1.dc1 Endpoint:https://identity.az1.dc1.domainname.com:443/v3 StorageEndpoint:}] Config:map[]} ControllerCloudRegion:az1.dc1 ControllerCloudCredentialName:mystack ControllerCloudCredential:0xc820446f30 ModelConfigDefaults:map[] HostedModelConfig:map[use-defautl-secgroup:true uuid:5635647f-d3de-4fdc-8b26-9ad9ba8d5cf6 default-series:xenial image-metadata-url:http://172.22.17.99/images name:default network:28c055d3-42a8-4d7e-ad5f-10a985e0e7bc upload-tools:true] BootstrapMachineInstanceId:6b9366d9-6bb2-4088-a18d-692060a4ef97 BootstrapMachineConstraints:mem=4096M root-disk=40960M BootstrapMachineHardwareCharacteristics:arch=amd64 cpu-cores=2 mem=4096M root-disk=40960M availability-zone=az1.dc1 ModelConstraints:mem=4096M root-disk=40960M CustomImageMetadata:[]} BootstrapMachineAddresses:[local-cloud:172.22.16.46] BootstrapMachineJobs:[JobManageModel JobHostUnits] SharedSecret:FH25TdMKKdugFlUqs+0qHABBffhAES5KJAhpwqd8jnzwAlIOkSMpW+5JkSXyx5VJhSBy241xUu5VrDxjdcnYJgMnDvJRHB+WyijG1L2Ejvon7VR/xwZqR7RcACubQYqel4nGjHal+qTEWxiNaz6mWI8Y+Z1x+H5STOTXsRnMt3t6HrFigs4s2b8AUHcay4GpneqpP+DeJbxRlWz23RBOo6GxgUC0gCYT1dD8JhEocV2t7fcxvJadeNUR+kyi3ug5Jw3yeSBch8qgmEvCIYShGgyge0s2v3JLCBrk6UhTM/HQE4aSD2QmTKIPrIwgj9LNAIzC2TRlMXh+R3RfkLWjlCeie33NajvU9ADPnIn+lGUYL4C1cyEXwmPPH03n/xdgRln5d7vjaQUGubZuaXpZD+vS4DgKxb95pNC/DGedg2ZuuMyeZAw7+oZm3Uz1on+41rwreQB2HzpdDfgA3DkUkZNK8xd+9c1BH6liKIK0KS9rLMIfd6rjOsLB7HwUbFiPhQGarIdf/73zX8cZZeGxdysNEZj2FZTnQhh1LCk24ExiowTr1qf0oEjputgwLl9TIhhrr+rVTJm13nopTlmWAGAIWwd4l/ZunInRtCQk+MFCL1qrM0WrIlTB2rsJB5k6yzRtmshqjO4HtQk0/GprTwW1CuYm9ZLQmM4bavSB/GdL9dlo4rL7llQpR9nUlJcWgzFhVezYG4oWWMwMgcUc5bccKb/ovSE2QFjbKwBNqOlZabH0WfEGz83HWzpJMrb0FEWAx0zW9AW8G9fxvfZiRcleQ433WTdxFclJIeOhpgrl1M8+W1wiIaICv8+qs00S2J76XjuPxFV9jSXImYsp2lIFucjpvONcxWRF+zwSgnIsmQN85oSQenzx1/lx+62Yf5zIsxoBimTfbXufOxbPKmhtw4DV6xeHNgDXta+3LY+kb85oY...

Changed in juju-core:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.