Cannot boostrap from custom image-metadata-url or by specifying metadata-source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.24 |
Fix Released
|
High
|
Ian Booth |
Bug Description
[Environment]
Trusty 14.04.2
Juju core 1.23
[Reproduction]
This are the steps that I followed:
1) juju metadata generate-image -d simplestreams -i b6a1f124-
2) Upload the generated index to switft
swift post simplestreams
cd ~/simplestreams
swift upload simplestreams *
swift post simplestreams --read-acl .r:*
3) Just to make sure , I edited ~/.juju/
image-
ssl-
4) juju bootstrap -e openstack -v --metadata-source ~/simplestreams --series utopic --upload-tools
Then the bootstrap process fails with:
2015-05-06 19:01:13 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-05-06 19:01:13 INFO juju.replicaset replicaset.go:73 Initiating replicaset with config replicaset.
2015-05-06 19:01:13 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:13 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:14 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:14 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:15 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:15 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:16 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:16 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:17 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:17 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-05-06 19:01:17 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:18 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:18 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:19 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:19 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:20 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:20 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:21 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:21 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:22 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:22 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: Received replSetInitiate - should come online shortly.
2015-05-06 19:01:23 INFO juju.worker.
2015-05-06 19:01:23 INFO juju.worker.
2015-05-06 19:01:23 INFO juju.cmd.jujud bootstrap.go:179 started mongo
2015-05-06 19:01:23 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-05-06 19:01:25 INFO juju.state open.go:46 opening state, mongo addresses: ["127.0.
2015-05-06 19:01:25 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-05-06 19:01:25 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-05-06 19:01:25 INFO juju.state open.go:83 initializing environment, owner: "admin@local"
2015-05-06 19:01:25 INFO juju.state open.go:84 info: &mongo.
2015-05-06 19:01:25 INFO juju.provider.
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:67 hostname SSL verification disabled
2015-05-06 19:01:25 INFO juju.utils http.go:60 hostname SSL verification enabled
2015-05-06 19:01:25 INFO juju.utils http.go:60 hostname SSL verification enabled
2015-05-06 19:01:26 INFO juju.utils http.go:60 hostname SSL verification enabled
2015-05-06 19:01:26 INFO juju.utils http.go:60 hostname SSL verification enabled
2015-05-06 19:01:26 INFO juju.utils http.go:60 hostname SSL verification enabled
2015-05-06 19:01:26 INFO juju.utils http.go:60 hostname SSL verification enabled
2015-05-06 19:01:26 ERROR juju.cmd supercommand.go:430 cannot set initial environ constraints: index file has no data for cloud {ctsstack http://
ERROR failed to bootstrap environment: subprocess encountered error code 1
The index file:
{
"index": {
{
}
],
"path": "streams/
]
}
},
"updated": "Wed, 06 May 2015 18:48:34 +0000",
"format": "index:1.0"
}
The generated imagemetadata
images/
{
"products": {
"arch": "amd64",
}
}
}
},
"updated": "Wed, 06 May 2015 18:48:34 +0000",
"format": "products:1.0",
"content_id": "com.ubuntu.
}
tags: | added: sts |
description: | updated |
Changed in juju-core: | |
importance: | Critical → High |
Changed in juju-core: | |
importance: | Critical → High |
Changed in juju-core: | |
assignee: | nobody → Anastasia (anastasia-macmood) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → In Progress |
Changed in juju-core: | |
assignee: | Anastasia (anastasia-macmood) → Ian Booth (wallyworld) |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
no longer affects: | juju-core (Ubuntu) |
This may be a duplicate of bug 1435644. Maybe we can get more information about both the cloud and what juju is doing this time.