[Yahoo-eng-team] [Bug 1428630] Re: keystone [-] TypeError: _get_value() takes exactly 4 arguments (5 given)

2015-03-20 Thread Aaron Rosen
I hit this issue to. The issue was because I had the olso.config ubuntu
package installed on my system and it was trying to use that. I'm sure
this is what is occurring for you too.

** Changed in: devstack
   Status: New = Invalid

** Changed in: keystone
   Status: Incomplete = Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1428630

Title:
  keystone [-] TypeError: _get_value() takes exactly 4 arguments (5
  given)

Status in devstack - openstack dev environments:
  Invalid
Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  + /opt/stack/keystone/bin/keystone-manage db_sync
  2015-03-05 12:22:29.036 | 14818 CRITICAL keystone [-] TypeError: _get_value() 
takes exactly 4 arguments (5 given)
  2015-03-05 12:22:29.037 | 14818 TRACE keystone Traceback (most recent call 
last):
  2015-03-05 12:22:29.040 | 14818 TRACE keystone   File 
/opt/stack/keystone/bin/keystone-manage, line 44, in module
  2015-03-05 12:22:29.042 | 14818 TRACE keystone cli.main(argv=sys.argv, 
config_files=config_files)
  2015-03-05 12:22:29.042 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/cli.py, line 370, in main
  2015-03-05 12:22:29.043 | 14818 TRACE keystone 
CONF.command.cmd_class.main()
  2015-03-05 12:22:29.043 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/cli.py, line 74, in main
  2015-03-05 12:22:29.043 | 14818 TRACE keystone 
migration_helpers.sync_database_to_version(extension, version)
  2015-03-05 12:22:29.043 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/migration_helpers.py, line 209, in 
sync_database_to_version
  2015-03-05 12:22:29.043 | 14818 TRACE keystone _sync_common_repo(version)
  2015-03-05 12:22:29.045 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/migration_helpers.py, line 162, in 
_sync_common_repo
  2015-03-05 12:22:29.045 | 14818 TRACE keystone engine = sql.get_engine()
  2015-03-05 12:22:29.045 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/core.py, line 188, in get_engine
  2015-03-05 12:22:29.046 | 14818 TRACE keystone return 
_get_engine_facade().get_engine()
  2015-03-05 12:22:29.046 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/core.py, line 176, in 
_get_engine_facade
  2015-03-05 12:22:29.046 | 14818 TRACE keystone _engine_facade = 
db_session.EngineFacade.from_config(CONF)
  2015-03-05 12:22:29.046 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py, line 
833, in from_config
  2015-03-05 12:22:29.046 | 14818 TRACE keystone return 
cls(sql_connection=conf.database.connection,
  2015-03-05 12:22:29.047 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py, line 2516, in 
__getattr__
  2015-03-05 12:22:29.047 | 14818 TRACE keystone return 
self._conf._get(name, self._group)
  2015-03-05 12:22:29.050 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py, line 2238, in _get
  2015-03-05 12:22:29.050 | 14818 TRACE keystone value = self._do_get(name, 
group, namespace)
  2015-03-05 12:22:29.051 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py, line 2275, in 
_do_get
  2015-03-05 12:22:29.052 | 14818 TRACE keystone return 
convert(opt._get_from_namespace(namespace, group_name))
  2015-03-05 12:22:29.052 | 14818 TRACE keystone   File 
/usr/lib/python2.7/dist-packages/oslo/config/cfg.py, line 598, in 
_get_from_namespace
  2015-03-05 12:22:29.052 | 14818 TRACE keystone self._convert_value)
  2015-03-05 12:22:29.052 | 14818 TRACE keystone TypeError: _get_value() takes 
exactly 4 arguments (5 given)
  2015-03-05 12:22:29.052 | 14818 TRACE keystone
  2015-03-05 12:22:29.213 | + exit_trap
  2015-03-05 12:22:29.214 | + local r=1
  2015-03-05 12:22:29.219 | ++ jobs -p
  2015-03-05 12:22:29.256 | + jobs=
  2015-03-05 12:22:29.257 | + [[ -n '' ]]
  2015-03-05 12:22:29.260 | + kill_spinner
  2015-03-05 12:22:29.262 | + '[' '!' -z '' ']'
  2015-03-05 12:22:29.266 | + [[ 1 -ne 0 ]]
  2015-03-05 12:22:29.267 | + echo 'Error on exit'
  2015-03-05 12:22:29.267 | Error on exit
  2015-03-05 12:22:29.267 | + [[ -z . ]]
  2015-03-05 12:22:29.269 | + /home/swami/devstack/tools/worlddump.py -d .
  2015-03-05 12:22:29.524 | + exit 1

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1428630] Re: keystone [-] TypeError: _get_value() takes exactly 4 arguments (5 given)

2015-03-05 Thread Swami Reddy
** Also affects: devstack
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1428630

Title:
  keystone [-] TypeError: _get_value() takes exactly 4 arguments (5
  given)

Status in devstack - openstack dev environments:
  New
Status in OpenStack Identity (Keystone):
  New

Bug description:
  + /opt/stack/keystone/bin/keystone-manage db_sync
  2015-03-05 12:22:29.036 | 14818 CRITICAL keystone [-] TypeError: _get_value() 
takes exactly 4 arguments (5 given)
  2015-03-05 12:22:29.037 | 14818 TRACE keystone Traceback (most recent call 
last):
  2015-03-05 12:22:29.040 | 14818 TRACE keystone   File 
/opt/stack/keystone/bin/keystone-manage, line 44, in module
  2015-03-05 12:22:29.042 | 14818 TRACE keystone cli.main(argv=sys.argv, 
config_files=config_files)
  2015-03-05 12:22:29.042 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/cli.py, line 370, in main
  2015-03-05 12:22:29.043 | 14818 TRACE keystone 
CONF.command.cmd_class.main()
  2015-03-05 12:22:29.043 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/cli.py, line 74, in main
  2015-03-05 12:22:29.043 | 14818 TRACE keystone 
migration_helpers.sync_database_to_version(extension, version)
  2015-03-05 12:22:29.043 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/migration_helpers.py, line 209, in 
sync_database_to_version
  2015-03-05 12:22:29.043 | 14818 TRACE keystone _sync_common_repo(version)
  2015-03-05 12:22:29.045 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/migration_helpers.py, line 162, in 
_sync_common_repo
  2015-03-05 12:22:29.045 | 14818 TRACE keystone engine = sql.get_engine()
  2015-03-05 12:22:29.045 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/core.py, line 188, in get_engine
  2015-03-05 12:22:29.046 | 14818 TRACE keystone return 
_get_engine_facade().get_engine()
  2015-03-05 12:22:29.046 | 14818 TRACE keystone   File 
/opt/stack/keystone/keystone/common/sql/core.py, line 176, in 
_get_engine_facade
  2015-03-05 12:22:29.046 | 14818 TRACE keystone _engine_facade = 
db_session.EngineFacade.from_config(CONF)
  2015-03-05 12:22:29.046 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py, line 
833, in from_config
  2015-03-05 12:22:29.046 | 14818 TRACE keystone return 
cls(sql_connection=conf.database.connection,
  2015-03-05 12:22:29.047 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py, line 2516, in 
__getattr__
  2015-03-05 12:22:29.047 | 14818 TRACE keystone return 
self._conf._get(name, self._group)
  2015-03-05 12:22:29.050 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py, line 2238, in _get
  2015-03-05 12:22:29.050 | 14818 TRACE keystone value = self._do_get(name, 
group, namespace)
  2015-03-05 12:22:29.051 | 14818 TRACE keystone   File 
/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py, line 2275, in 
_do_get
  2015-03-05 12:22:29.052 | 14818 TRACE keystone return 
convert(opt._get_from_namespace(namespace, group_name))
  2015-03-05 12:22:29.052 | 14818 TRACE keystone   File 
/usr/lib/python2.7/dist-packages/oslo/config/cfg.py, line 598, in 
_get_from_namespace
  2015-03-05 12:22:29.052 | 14818 TRACE keystone self._convert_value)
  2015-03-05 12:22:29.052 | 14818 TRACE keystone TypeError: _get_value() takes 
exactly 4 arguments (5 given)
  2015-03-05 12:22:29.052 | 14818 TRACE keystone
  2015-03-05 12:22:29.213 | + exit_trap
  2015-03-05 12:22:29.214 | + local r=1
  2015-03-05 12:22:29.219 | ++ jobs -p
  2015-03-05 12:22:29.256 | + jobs=
  2015-03-05 12:22:29.257 | + [[ -n '' ]]
  2015-03-05 12:22:29.260 | + kill_spinner
  2015-03-05 12:22:29.262 | + '[' '!' -z '' ']'
  2015-03-05 12:22:29.266 | + [[ 1 -ne 0 ]]
  2015-03-05 12:22:29.267 | + echo 'Error on exit'
  2015-03-05 12:22:29.267 | Error on exit
  2015-03-05 12:22:29.267 | + [[ -z . ]]
  2015-03-05 12:22:29.269 | + /home/swami/devstack/tools/worlddump.py -d .
  2015-03-05 12:22:29.524 | + exit 1

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp