ironic-dbsync failed on CI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Critical
|
Vasyl Saienko | ||
Ironic Inspector |
Invalid
|
Undecided
|
Unassigned |
Bug Description
2017-03-28 09:40:02.941 | ++ /opt/stack/
2017-03-28 09:40:04.574 | CRITI [ironic] TypeError: unsupported operand type(s) for -: 'int' and 'str'
2017-03-28 09:40:04.574 | Traceback (most recent call last):
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | sys.exit(main())
2017-03-28 09:40:04.574 | File "/opt/stack/
2017-03-28 09:40:04.574 | CONF.command.func()
2017-03-28 09:40:04.574 | File "/opt/stack/
2017-03-28 09:40:04.574 | migration.
2017-03-28 09:40:04.574 | File "/opt/stack/
2017-03-28 09:40:04.574 | return get_backend(
2017-03-28 09:40:04.574 | File "/opt/stack/
2017-03-28 09:40:04.574 | alembic.
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | script.run_env()
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | util.load_
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | module = load_module_
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | mod = imp.load_
2017-03-28 09:40:04.574 | File "/opt/stack/
2017-03-28 09:40:04.574 | run_migrations_
2017-03-28 09:40:04.574 | File "/opt/stack/
2017-03-28 09:40:04.574 | engine = enginefacade.
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | return _context_
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | return self._factory.
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | self._start()
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | engine_args, maker_args)
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | sql_connection=
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | engine = sqlalchemy.
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | return strategy.
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | pool = poolclass(creator, **pool_args)
2017-03-28 09:40:04.574 | File "/usr/local/
2017-03-28 09:40:04.574 | self._overflow = 0 - pool_size
2017-03-28 09:40:04.574 | TypeError: unsupported operand type(s) for -: 'int' and 'str'
More logs can be found: http://
Changed in ironic-inspector: | |
status: | New → Invalid |
This has been observed in bifrost as well in the OPNFV third party CI. It is a configuration default, however it appears that it is not being loaded. OPNFV's solution is to set the configuration parameters, but it seems like we shouldn't have to as they are defaults. Wrong type loading it seems.