From 0f6dc6e618b5546a652b9a06ac46ae332ea1c4c3 Mon Sep 17 00:00:00 2001 From: spisarski Date: Fri, 19 May 2017 11:12:22 -0600 Subject: Fixed error in ansible_utils_tests.py and added ansible helper method to the OpenStackVMInstance class. Test error was due to the image configuration having the incorrect user applied. The helper method will make it easier for adhoc ansible playbooks to be applied to running instances. JIRA: SNAPS-83 Change-Id: I6b229e0adb836dd3d5ea7b468d38d93f880589a2 Signed-off-by: spisarski --- snaps/openstack/tests/openstack_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snaps/openstack/tests/openstack_tests.py') diff --git a/snaps/openstack/tests/openstack_tests.py b/snaps/openstack/tests/openstack_tests.py index 836c293..22c4677 100644 --- a/snaps/openstack/tests/openstack_tests.py +++ b/snaps/openstack/tests/openstack_tests.py @@ -232,7 +232,7 @@ def ubuntu_image_settings(name, url=None, image_metadata=None, kernel_settings=N metadata = image_metadata return create_image_settings( - image_name=name, image_user=CENTOS_USER, image_format=DEFAULT_IMAGE_FORMAT, metadata=metadata, disk_url=url, + image_name=name, image_user=UBUNTU_USER, image_format=DEFAULT_IMAGE_FORMAT, metadata=metadata, disk_url=url, default_url=UBUNTU_DEFAULT_IMAGE_URL, kernel_settings=kernel_settings, ramdisk_settings=ramdisk_settings, public=public) -- cgit 1.2.3-korg