yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74236
[Bug 1786383] [NEW] TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
Public bug reported:
when running keystone-manage bootstrap multiple times, the following
error raised:
2018-08-10 09:44:36.641 392 CRITICAL keystone [req-cc9332f8-b77f-442e-a35a-8fbe9ff2b3cf - - - - -] Unhandled error: TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
2018-08-10 09:44:36.641 392 ERROR keystone Traceback (most recent call last):
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2018-08-10 09:44:36.641 392 ERROR keystone sys.exit(main())
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 45, in main
2018-08-10 09:44:36.641 392 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 1349, in main
2018-08-10 09:44:36.641 392 ERROR keystone CONF.command.cmd_class.main()
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 398, in main
2018-08-10 09:44:36.641 392 ERROR keystone klass.do_bootstrap()
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 287, in do_bootstrap
2018-08-10 09:44:36.641 392 ERROR keystone role_id=self.role_id
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 116, in wrapped
2018-08-10 09:44:36.641 392 ERROR keystone __ret_val = __f(*args, **kwargs)
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/assignment/core.py", line 184, in add_role_to_user_and_project
2018-08-10 09:44:36.641 392 ERROR keystone role_id, user_id=user_id, project_id=tenant_id)
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/notifications.py", line 614, in wrapper
2018-08-10 09:44:36.641 392 ERROR keystone raise e
2018-08-10 09:44:36.641 392 ERROR keystone TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
2018-08-10 09:44:36.641 392 ERROR keystone
2018-08-10 09:44:44.678 401 INFO keystone.cmd.cli [-] Domain default already exists, skipping creation.
** Affects: keystone
Importance: Undecided
Assignee: Liyingjun (liyingjun)
Status: New
** Changed in: keystone
Assignee: (unassigned) => Liyingjun (liyingjun)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1786383
Title:
TypeError: exceptions must be old-style classes or derived from
BaseException, not NoneType
Status in OpenStack Identity (keystone):
New
Bug description:
when running keystone-manage bootstrap multiple times, the following
error raised:
2018-08-10 09:44:36.641 392 CRITICAL keystone [req-cc9332f8-b77f-442e-a35a-8fbe9ff2b3cf - - - - -] Unhandled error: TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
2018-08-10 09:44:36.641 392 ERROR keystone Traceback (most recent call last):
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/bin/keystone-manage", line 10, in <module>
2018-08-10 09:44:36.641 392 ERROR keystone sys.exit(main())
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/manage.py", line 45, in main
2018-08-10 09:44:36.641 392 ERROR keystone cli.main(argv=sys.argv, config_files=config_files)
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 1349, in main
2018-08-10 09:44:36.641 392 ERROR keystone CONF.command.cmd_class.main()
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 398, in main
2018-08-10 09:44:36.641 392 ERROR keystone klass.do_bootstrap()
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/cmd/cli.py", line 287, in do_bootstrap
2018-08-10 09:44:36.641 392 ERROR keystone role_id=self.role_id
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 116, in wrapped
2018-08-10 09:44:36.641 392 ERROR keystone __ret_val = __f(*args, **kwargs)
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/assignment/core.py", line 184, in add_role_to_user_and_project
2018-08-10 09:44:36.641 392 ERROR keystone role_id, user_id=user_id, project_id=tenant_id)
2018-08-10 09:44:36.641 392 ERROR keystone File "/usr/lib/python2.7/dist-packages/keystone/notifications.py", line 614, in wrapper
2018-08-10 09:44:36.641 392 ERROR keystone raise e
2018-08-10 09:44:36.641 392 ERROR keystone TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
2018-08-10 09:44:36.641 392 ERROR keystone
2018-08-10 09:44:44.678 401 INFO keystone.cmd.cli [-] Domain default already exists, skipping creation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1786383/+subscriptions