From e6c014be2a57feb3b3e2e617b8cc32f7f0a1d64c Mon Sep 17 00:00:00 2001 From: Daryl Walleck Date: Tue, 5 May 2015 19:31:11 -0500 Subject: [PATCH] Flag compute stop/start and lock/unlock tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In Nova, the various server actions can be limited by the policy.json file deployed with the API. This policy file provides the vendor with granular control over the actions that can be performed by users in different roles. This means that the “admin-ness” of a feature can be determined by configuration. For example, in Rackspace’s OpenStack public cloud the stop/start and lock/unlock behaviors are not available to standard users and reserved for administrators only. Because of this, it would be impossible for these tests to run successfully in the scope of a public user. These two pairs of operations are only an example. It is likely that other vendors would have similar constraints, so for that reason I’m proposing that these tests be flagged. Change-Id: I26e012b138e4c78d25f1dd57a4f845e82dc1fdb8 --- 2015.04.json | 4 +++- 2015.next.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/2015.04.json b/2015.04.json index 90ad086e..a8a231ad 100644 --- a/2015.04.json +++ b/2015.04.json @@ -284,7 +284,9 @@ "tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_null_flavor", "tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_non_existent_flavor", "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm", - "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert" + "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert", + "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_stop_start_server", + "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_lock_unlock_server" ], "name": "compute-servers", "tests": [ diff --git a/2015.next.json b/2015.next.json index f724b86f..c23aa8e4 100644 --- a/2015.next.json +++ b/2015.next.json @@ -310,7 +310,9 @@ "tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_null_flavor", "tempest.api.compute.servers.test_servers_negative.ServersNegativeTestJSON.test_resize_server_with_non_existent_flavor", "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_confirm", - "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert" + "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert", + "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_stop_start_server", + "tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_lock_unlock_server" ], "name": "compute-servers", "tests": [