403 error with below policy.json
Hi,
I get below error :
2020-03-23 07:22:57.543 94 ERROR rally return self._next()
2020-03-23 07:22:57.543 94 ERROR rally File "/usr/local/
2020-03-23 07:22:57.543 94 ERROR rally obj, resp = next(self.
2020-03-23 07:22:57.543 94 ERROR rally File "/usr/local/
2020-03-23 07:22:57.543 94 ERROR rally for image, resp in paginate(url, page_size, limit):
2020-03-23 07:22:57.543 94 ERROR rally File "/usr/local/
2020-03-23 07:22:57.543 94 ERROR rally resp, body = self.http_
2020-03-23 07:22:57.543 94 ERROR rally File "/usr/local/
2020-03-23 07:22:57.543 94 ERROR rally return self.request(url, 'GET', **kwargs)
2020-03-23 07:22:57.543 94 ERROR rally File "/usr/local/
2020-03-23 07:22:57.543 94 ERROR rally return self._handle_
2020-03-23 07:22:57.543 94 ERROR rally File "/usr/local/
2020-03-23 07:22:57.543 94 ERROR rally raise exc.from_
2020-03-23 07:22:57.543 94 ERROR rally HTTPForbidden: 403 Forbidden: You are not authorized to complete get_images action. (HTTP 403)
with below policy.json:
{
"context_
"context_
"owner": "project_
"admin": "role:image_admin and rule:owner",
"member": "role:member and rule:owner",
"viewer": "role:image_viewer and rule:owner",
"context_
"context_
"context_
"default": "rule:context_
"add_image": "rule:context_
"delete_image": "rule:context_
"get_image": "rule:context_
"get_images": "rule:context_
"modify_image": "rule:context_
"publicize_
"copy_from": "rule:context_
"download_
"upload_image": "rule:context_
"delete_
"get_
"set_
"add_member": "rule:context_
"delete_
"get_member": "rule:context_
"get_members": "rule:context_
"modify_
"manage_
"get_task": "rule:context_
"get_tasks": "rule:context_
"add_task": "rule:context_
"modify_task": "rule:context_
"tasks_
"deactivate": "rule:context_
"reactivate": "rule:context_
"get_
"get_
"modify_
"add_
"get_
"get_
"modify_
"add_
"list_
"get_
"add_
"get_
"get_
"modify_
"add_
"get_
"get_
"modify_
"add_
"add_
}
based on https:/
Please suggest.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Brian Rosmaita
- Solved:
- Last query:
- Last reply: