Can't use manila_share_networks(share_networks) context in ManilaShares.set_and_delete_metadata test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In order to use "share_networks" context, I wrote as follows. However when the task worked, it createsd new share network.
https:/
I didn't find setting "existing_users". So I could not call "self._
deployment:
-----------
{
"openstack": {
"admin": {
},
"api_info": {
}
},
"auth_url": "http://
"users": [
{
},
{
}
]
}
}
task:
-------
{
ManilaShares.
{
"args": {
"sets": 1,
"set_size": 3,
},
"runner": {
"type": "constant",
"times": 1,
},
"context": {
"quotas": {
"manila": {
}
},
]
}
},
"size": 1,
}
},
"sla": {
"max": 0
}
},
"hooks": []
}
]
}
result:
-------
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine [-] Unexpected exception during the workload execution: rally.exception
Fault: n/a
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine Traceback (most recent call last):
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine with ctx_manager:
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine self.setup()
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine ctx.setup()
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine self._create_
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine share = manila_
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine f = func(self, *args, **kwargs)
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine share = utils.wait_
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine resource = update_
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine File "/opt/stack/
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine raise exceptions.
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine rally.exception
2023-10-25 12:10:01.820 893510 ERROR rally.task.engine Fault: n/a
openstack cli:
-------
stack@ubuntu:
+------
| ID | Name |
+------
| 1dba11b2-
| 5499f882-
+------
stack@ubuntu:
+------
| Field | Value |
+------
| access_rules_status | active |
| availability_zone | nova |
| create_
| created_at | 2023-10-
| description | None |
| export_locations | |
| has_replicas | False |
| host | ubuntu@
| id | b041cab5-
| is_public | False |
| is_soft_deleted | False |
| mount_snapshot_
| name | s_rally_
| progress | None |
| project_id | 9f28b74d540746b
| properties | |
| replication_type | None |
| revert_
| scheduled_
| share_group_id | None |
| share_network_id | 5499f882-
| share_proto | NFS |
| share_server_id | 4999d68f-
| share_type | ed8a4673-
| share_type_name | default |
| size | 1 |
| snapshot_id | None |
| snapshot_support | False |
| source_
| status | error |
| task_state | None |
| user_id | 828d9b0d5fd54ee
| volume_type | default |
+------
I checked this kind of bug report https:/
Fix proposed to branch: master /review. opendev. org/c/openstack /rally- openstack/ +/899547
Review: https:/