TRACE keystone raise exception.RoleNotFound(role_id=role_id)
12056 TRACE keystone RoleNotFound: Could not find role: a06c765572d84bfba4acb252ba02ccdd
12056 TRACE keystone
change the role to new `bootstrap_role`, hit the following exception.
2.
$ keystone-manage bootstrap --bootstrap-username bootstrap_user --bootstrap-project-name bootstrap_project --bootstrap-role-name bootstrap_role --bootstrap-password abc123
12128 TRACE keystone File "/opt/stack/keystone/keystone/resource/backends/sql.py", line 36, in _get_project
12128 TRACE keystone raise exception.ProjectNotFound(project_id=project_id)
12128 TRACE keystone ProjectNotFound: Could not find project: f5fac91d78a94864b6b32db83c89d309
12128 TRACE keystone
I think there is two issues here.
1. user and project is created even the bootstrap failed in the first step.
2. the error message is not accurate, or maybe it should be more helpful to identify the root cause.
@stevemar, the bug is still valid, but the exception message is changed.
How to reproduce -
1. username bootstrap_user --bootstrap- project- name bootstrap_project --bootstrap- role-name admin --bootstrap- password abc123
$ keystone-manage bootstrap --bootstrap-
Throw the following message.
TRACE keystone raise exception. RoleNotFound( role_id= role_id) ba4acb252ba02cc dd
12056 TRACE keystone RoleNotFound: Could not find role: a06c765572d84bf
12056 TRACE keystone
change the role to new `bootstrap_role`, hit the following exception. username bootstrap_user --bootstrap- project- name bootstrap_project --bootstrap- role-name bootstrap_role --bootstrap- password abc123
2.
$ keystone-manage bootstrap --bootstrap-
12128 TRACE keystone File "/opt/stack/ keystone/ keystone/ resource/ backends/ sql.py" , line 36, in _get_project ProjectNotFound (project_ id=project_ id) 4b6b32db83c89d3 09
12128 TRACE keystone raise exception.
12128 TRACE keystone ProjectNotFound: Could not find project: f5fac91d78a9486
12128 TRACE keystone
I think there is two issues here.
1. user and project is created even the bootstrap failed in the first step.
2. the error message is not accurate, or maybe it should be more helpful to identify the root cause.