[Rally]

Aayushi Gautam aagautam at redhat.com
Thu Jul 27 18:31:42 UTC 2023


Hello,
I am Aayushi , an intern with Redhat working on ESI ( Elastic secure
Infracstructure) group. We were trying to use Rally to test the performance
of our codebase. I have created a Plugin and task . And getting an error.
The same bug is also asked on the bug page of Rally, but it was not
answered.

I have attached the code of the plugin and task and the error message.

Looking forward to hearing from you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230727/481edbb3/attachment.htm>
-------------- next part --------------
rally task start rally/esi_node_network_attach_task.yaml 
--------------------------------------------------------------------------------
Preparing input task
--------------------------------------------------------------------------------

Task is:
---
  ScenarioPlugin.esi_node_network_attach:
    -
      args:
        node:
            name: "dell-2"
        network:
            name: "storage"
      runner:
        type: "constant"
        times: 2
        concurrency: 1

Task syntax is correct :)
Running Rally version 3.4.0
--------------------------------------------------------------------------------
Task  62bf294b-67f2-40c5-ab3d-8ee39f155f79: started
--------------------------------------------------------------------------------

Running Task... This can take a while...

To track task status use:

	rally task status
	or
	rally task detailed

Using task: 62bf294b-67f2-40c5-ab3d-8ee39f155f79
2023-07-27 18:30:37.848 532740 INFO rally.task.engine [-] Task 62bf294b-67f2-40c5-ab3d-8ee39f155f79 | Starting:  Task validation.
2023-07-27 18:30:38.030 532740 INFO rally.task.engine [-] Task 62bf294b-67f2-40c5-ab3d-8ee39f155f79 | Starting:  Task validation of syntax.
Input task is invalid!

Subtask ScenarioPlugin.esi_node_network_attach[0] has wrong configuration
Subtask configuration:
{"version": 2, "title": "A cropped version of a bigger task.", "description": "Auto-generated task from a single workload", "subtasks": [{"title": "ScenarioPlugin.esi_node_network_attach", "description": "", "scenario": {"ScenarioPlugin.esi_node_network_attach": {"node": {"name": "dell-2"}, "network": {"name": "storage"}}}, "contexts": {}, "runner": {"constant": {"times": 2, "concurrency": 1}}, "hooks": [], "sla": {"failure_rate": {"max": 0}}}]}

Reason(s):
 There is no Scenario plugin `ScenarioPlugin.esi_node_network_attach` in any platform.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: esi_node_network_attach_plugin.py
Type: text/x-python
Size: 1277 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230727/481edbb3/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esi_node_network_attach_task.yaml
Type: application/x-yaml
Size: 689 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230727/481edbb3/attachment.bin>


More information about the openstack-discuss mailing list