Fix 400 error in compute examples

The functional tests use the DevStack cirros image instead of a
fedora image. Update the examples tests to do the same since
the fedora image is not available in the test environment.

Change-Id: Ib90cff818d36fa71445109c6950d79c6f1b477a7
Related-Bug: #1522919
This commit is contained in:
Richard Theis 2015-12-09 08:32:54 -06:00
parent 85bc48efe2
commit aae2623661
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ opts = Opts(cloud_name=TEST_CLOUD)
occ = os_client_config.OpenStackConfig()
cloud = occ.get_one_cloud(opts.cloud, argparse=opts)
IMAGE_NAME = _get_resource_value('image_name', 'fedora-20.x86_64')
IMAGE_NAME = _get_resource_value('image_name', 'cirros-0.3.4-x86_64-uec')
FLAVOR_NAME = _get_resource_value('flavor_name', 'm1.small')
NETWORK_NAME = _get_resource_value('network_name', 'private')
KEYPAIR_NAME = _get_resource_value('keypair_name', 'openstacksdk-example')