← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645607] Re: keystone-manage mapping_populate fails and gives unhandled exception

 

Oh right, this one is indeed invalid.

** Changed in: keystone
       Status: Confirmed => Invalid

-- 
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/1645607

Title:
  keystone-manage mapping_populate fails and gives unhandled exception

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  Running keystone-manage mapping_populate --domain-name <domain name>
  displays the ID of the domain but throws an unhandled exception. This
  is visible in keystone.log

  2016-11-18 09:48:27.730 7685 ERROR keystone   File "/usr/bin/keystone-manage", line 10, in <module>
  2016-11-18 09:48:27.730 7685 ERROR keystone     sys.exit(main())
  2016-11-18 09:48:27.730 7685 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 43, in main
  2016-11-18 09:48:27.730 7685 ERROR keystone     cli.main(argv=sys.argv, config_files=config_files)
  2016-11-18 09:48:27.730 7685 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1260, in main
  2016-11-18 09:48:27.730 7685 ERROR keystone     CONF.command.cmd_class.main()
  2016-11-18 09:48:27.730 7685 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1211, in main
  2016-11-18 09:48:27.730 7685 ERROR keystone     cls.identity_api.list_users(domain_scope=domain_id)
  2016-11-18 09:48:27.730 7685 ERROR keystone NameError: global name 'domain_id' is not defined
  2016-11-18 09:48:27.730 7685 ERROR keystone

  It seems to me that the variable domain_id hasn't been properly scoped
  which is causing this error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1645607/+subscriptions


References