mirantis / rally-plugins Goto Github PK
View Code? Open in Web Editor NEWCustom rally plugins for testing platform components
License: Apache License 2.0
Custom rally plugins for testing platform components
License: Apache License 2.0
Kubernetes clusters may have a private docker repository where the images are loaded.
Does the kubernetes plugin has the support for providing imagepullsecrets ?
Kubernetes.create_check_and_delete_pod_with_node_port_service scenario has incorrect while loop
that doesn't raises exception when the service URL is unreachable.In xrally tests, the image policy is set to Always
. This should be made configurable so that the imagePullPolicy
can be set appropriately depending on different environments. This will also help to execute the tests successfully in cluster which do not have internet connectivity or connectivity to docket hub. In this case, container images can. simply be uploaded to worker nodes and the tests can execute with IfNotPresent
policy
create_scale_and_delete_replication_controller gives unclear error message when it times out due to replicas not getting ready.
The error message is shown as this
rally.exceptions.TimeoutException: Rally tired waiting 300.00 seconds for Replication controller rally-3a609568-f4uo1550:bb0096e5-e964-405d-8c7d-5097c3209a2c to become 2 replicas running current status 2 replicas running
This looks confusing since the message indicates to become 2 replicas running current status 2 replicas running
.
create_check_and_delete_pod_with_node_port_service gets erred when cluster URL doesn't have a port. Code expects the URL to always contain port. See here. For example, URL of type https://k8s-api.example.com
gives the service URL as http:30151/
instead of https://k8s-api.example.com:30151/
.
MissingSchema: Invalid URL 'http:30151/': No schema supplied. Perhaps you meant http://http:30151/?
Traceback (most recent call last):
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/rally/task/runner.py", line 71, in _run_scenario_once
getattr(scenario_inst, method_name)(**scenario_kwargs)
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/rally_plugins/scenarios/kubernetes/services.py", line 229, in run
requests.get(url, **kwargs)
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/requests/sessions.py", line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/requests/models.py", line 313, in prepare
self.prepare_url(url, params)
File "/opt/rally/xrally-venv/local/lib/python2.7/site-packages/requests/models.py", line 387, in prepare_url
raise MissingSchema(error)
MissingSchema: Invalid URL 'http:30151/': No schema supplied. Perhaps you meant http://http:30151/?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.