utc_timestamp() does not exist when db os postgre.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DragonFlow |
Fix Released
|
Medium
|
Omer Anson |
Bug Description
SQLAlchemy-1.1.10
/devstack/
disable_service mysql
enable_service postgresql
stack.log:
2017-06-28 02:49:47.166 | +++functions-
2017-06-28 02:49:47.170 | +++functions-
2017-06-28 02:49:49.680 | WARNING: openstackclient
2017-06-28 02:49:51.432 | Error while executing command: Internal Server Error (HTTP 500) (Request-ID: req-5803adb1-
2017-06-28 02:49:51.494 | ++functions-
2017-06-28 02:49:51.498 | ++functions-
2017-06-28 02:49:51.503 | +++functions-
2017-06-28 02:49:51.509 | ++functions-
2017-06-28 02:49:51.513 | ++functions-
2017-06-28 02:49:51.518 | ++functions-
2017-06-28 02:49:51.522 | ++functions-
2017-06-28 02:49:51.527 | +lib/neutron_
2017-06-28 02:49:51.532 | +lib/neutron_
2017-06-28 02:49:51.536 | +functions-
2017-06-28 02:49:51.556 | [Call Trace]
2017-06-28 02:49:51.556 | ./stack.
2017-06-28 02:49:51.556 | /home/stack/
2017-06-28 02:49:51.556 | /home/stack/
2017-06-28 02:49:51.558 | [ERROR] /home/stack/
2017-06-28 02:49:52.561 | exit_trap: cleaning up child processes
2017-06-28 02:49:52.561 | ./stack.sh: line 524: kill: (34134) - No such process
neutron-server log:
^[[00;33mfrom (pid=31531) _acquire_lock /opt/stack/
2017-06-28 10:49:50.531 ^[[01;31mERROR oslo_db.
LINE 1: ... SET lock=true, session_
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
[SQL: 'UPDATE dflockedobjects SET lock=%(lock)s, session_
LINE 1: ... SET lock=true, session_
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
^[[01;31m2017-06-28 10:49:50.531 TRACE oslo_db.
2017-06-28 10:49:50.533 ^[[01;31mERROR neutron_
LINE 1: ... SET lock=true, session_
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
[SQL: 'UPDATE dflockedobjects SET lock=%(lock)s, session_
if using mysql,don't have this bug.
summary: |
- sqlalchemy can't create type utc_timestamp when db is postgre + utc_timestamp() does not exist |
description: | updated |
summary: |
- utc_timestamp() does not exist + utc_timestamp() does not exist when db os posrgre. |
summary: |
- utc_timestamp() does not exist when db os posrgre. + utc_timestamp() does not exist when db os postgre. |
Changed in dragonflow: | |
status: | New → Invalid |
status: | Invalid → New |
description: | updated |
Currently put in medium. If this is blocking you, please feel free to promote to High.