Merge "Port rally plugins to use proper modules"
This commit is contained in:
commit
645e107630
@ -31,7 +31,7 @@ browbeat_venv: "{{browbeat_path}}/.browbeat-venv"
|
||||
rally_venv: "{{browbeat_path}}/.rally-venv"
|
||||
|
||||
# Rally version to install
|
||||
rally_version: 0.10.1
|
||||
rally_version: 1.1.0
|
||||
|
||||
# The default Shaker venv
|
||||
shaker_venv: "{{browbeat_path}}/.shaker-venv"
|
||||
|
@ -15,20 +15,12 @@
|
||||
line: 'export REQUESTS_CA_BUNDLE={{ overcloud_ca_path }}'
|
||||
when: overcloud_ca_path is defined
|
||||
|
||||
- name: Install rally into rally-venv
|
||||
- name: Install Rally with OpenStack plugins into rally-venv
|
||||
pip:
|
||||
name: rally
|
||||
name: rally-openstack
|
||||
version: "{{ rally_version }}"
|
||||
virtualenv: "{{ rally_venv }}"
|
||||
|
||||
# (akrzos) Rally 0.10.1 installs a version (4.0.0) of gnocchiclient which deprecated service_type
|
||||
# session option.
|
||||
- name: Downgrade gnocchiclient in Rally venv
|
||||
pip:
|
||||
name: gnocchiclient
|
||||
version: 3.3.1
|
||||
virtualenv: "{{ rally_venv }}"
|
||||
|
||||
- name: Install elasticsearch into rally-venv
|
||||
pip:
|
||||
name: elasticsearch
|
||||
|
@ -10,13 +10,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.glance.images import GlanceBasic
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.plugins.openstack.scenarios.nova import utils as nova_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.glance.images import GlanceBasic
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally_openstack.scenarios.nova import utils as nova_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
@types.convert(flavor={"type": "nova_flavor"}, image_location={"type": "path_or_url"})
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
import uuid
|
||||
|
||||
from rally.plugins.openstack import osclients
|
||||
from rally.plugins.openstack import scenario
|
||||
from rally.common import logging
|
||||
from rally_openstack import consts
|
||||
from rally_openstack import osclients
|
||||
from rally_openstack import scenario
|
||||
from rally.task import atomic
|
||||
from rally.task import context
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -10,12 +10,12 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.nova import utils as nova_utils
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.nova import utils as nova_utils
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
@types.convert(image={"type": "glance_image"}, flavor={"type": "nova_flavor"})
|
||||
|
@ -10,13 +10,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.plugins.openstack.scenarios.vm import utils as vm_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally_openstack.scenarios.vm import utils as vm_utils
|
||||
from rally.task import atomic
|
||||
from rally.task import scenario
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
@types.convert(image={"type": "glance_image"}, flavor={"type": "nova_flavor"})
|
||||
|
@ -11,9 +11,9 @@
|
||||
# under the License.
|
||||
|
||||
from rally.common import logging
|
||||
from rally.plugins.openstack.context.network import networks
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.context.network import networks
|
||||
from rally.task import context
|
||||
from rally import consts
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
@ -10,10 +10,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
|
@ -10,10 +10,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
@validation.add("required_services",services=[consts.Service.NEUTRON])
|
||||
|
@ -10,10 +10,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
@validation.add("required_services",services=[consts.Service.NEUTRON])
|
||||
|
@ -10,13 +10,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from rally.plugins.openstack.scenarios.cinder import utils as cinder_utils
|
||||
from rally.plugins.openstack.scenarios.nova import utils as nova_utils
|
||||
from rally.plugins.openstack.scenarios.vm import utils as vm_utils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.cinder import utils as cinder_utils
|
||||
from rally_openstack.scenarios.nova import utils as nova_utils
|
||||
from rally_openstack.scenarios.vm import utils as vm_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
@types.convert(image={"type": "glance_image"}, flavor={"type": "nova_flavor"})
|
||||
|
@ -19,13 +19,13 @@ import time
|
||||
|
||||
import browbeat.elastic
|
||||
|
||||
from rally.plugins.openstack.scenarios.vm import utils as vm_utils
|
||||
from rally.plugins.openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.common import sshutils
|
||||
from rally_openstack import consts
|
||||
from rally_openstack.scenarios.vm import utils as vm_utils
|
||||
from rally_openstack.scenarios.neutron import utils as neutron_utils
|
||||
from rally.task import scenario
|
||||
from rally.task import types
|
||||
from rally.task import validation
|
||||
from rally import consts
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
Loading…
Reference in New Issue
Block a user