rally/samples/deployments/for_deploying_openstack_with_rally/devstack-in-openstack.json
Angus Lees 3f79951a11 OpenStackProvider: Optionally wait for cloud-init
cloud-init writes a result.json when finished[1].  When
wait_for_cloud_init=true is provided, this change uses result.json to
detect when cloud-init has finished, and raises an exception if it
finished with errors.

[1] http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/status.txt

Change-Id: I7e0bcce733b008b488c8e1cf9bb74b5b6192cfbc
2015-08-19 12:12:39 +10:00

24 lines
842 B
JSON

{
"type": "DevstackEngine",
"provider": {
"type": "OpenStackProvider",
"deployment_name": "Rally sample deployment",
"user": "admin",
"tenant": "admin",
"region": "RegionOne",
"flavor_id": "2",
"nics": [{"net-id": "97936015-128a-42f1-a3f2-1868ceeeeb6f"}],
"password": "admin",
"auth_url": "http://example.net:5000/v2.0",
"amount": 1,
"wait_for_cloud_init": true,
"image": {
"checksum": "5101b2013b31d9f2f96f64f728926054",
"name": "Ubuntu raring(added by rally)",
"format": "qcow2",
"userdata": "#cloud-config\r\n disable_root: false\r\n manage_etc_hosts: true\r\n",
"url": "http://cloud-images.ubuntu.com/raring/current/raring-server-cloudimg-amd64-disk1.img"
}
}
}