glance-manage db_sync error [enginefacade deprecated] [closed]

asked 2016-08-25 03:55:30 -0500

ctutkernel gravatar image

i got problem when i populate glance service database. Below is error log.

/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:1056: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade expire_on_commit=expire_on_commit, _conf=conf)

it says Enginefacade is deprecated and use oslo_db.sqlalchemy.enginefacde instead, but i don't know how to solve this. what should i have to do ? what code i have to modify ?

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by ctutkernel
close date 2016-08-30 01:26:29.894828

Comments

It is safe to ignore the warnings regarding deprecated options. Is the glance service working?

barry.davis gravatar imagebarry.davis ( 2016-08-25 07:02:55 -0500 )edit

@barry.davis yes. my glance service is working well, but it feels freaky to leave that error.

ctutkernel gravatar imagectutkernel ( 2016-08-25 07:21:05 -0500 )edit

Even the installation document makes note of it, as it does for many db sync operations:

Populate the Image service database:
# su -s /bin/sh -c "glance-manage db_sync" glance
 Note
Ignore any deprecation messages in this output.
barry.davis gravatar imagebarry.davis ( 2016-08-25 10:51:02 -0500 )edit

@barry.davis oops i've missed that. sorry

ctutkernel gravatar imagectutkernel ( 2016-08-30 01:26:16 -0500 )edit