./stack.sh doesn't work with postgres

Bug #1747869 reported by YAMAMOTO Takashi
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Critical
Abhishek Kekane

Bug Description

probably after the recent change [1]
./stack.sh doesn't work with postgres anymore.

[1] I2653560d637a6696f936b49e87f16326fd601dfe

+lib/databases/postgresql:recreate_database_postgresql:46 createdb -h 127.0.0.1 -Uroot
-l C -T template0 -E utf8 glance
+lib/glance:init_glance:313 time_start dbsync
+functions-common:time_start:2237 local name=dbsync
+functions-common:time_start:2238 local start_time=
+functions-common:time_start:2239 [[ -n '' ]]
++functions-common:time_start:2242 date +%s%3N
+functions-common:time_start:2242 _TIME_START[$name]=1517992535119
+lib/glance:init_glance:315 /usr/local/bin/glance-manage --config-file /e
tc/glance/glance-api.conf db_sync
/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:1334: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
  expire_on_commit=expire_on_commit, _conf=conf)
WARNING oslo_db.sqlalchemy.engines [-] URL postgresql://root:***@127.0.0.1/glance?client_encoding=utf8 does not contain a '+drivername' portion, and will make use of a default driver. A full dbname+drivername:// protocol is recommended.
INFO alembic.runtime.migration [-] Context impl PostgresqlImpl.
INFO alembic.runtime.migration [-] Will assume transactional DDL.
Rolling upgrades are currently supported only for MySQL and Sqlite
+lib/glance:init_glance:1 exit_trap
+./stack.sh:exit_trap:510 local r=1
++./stack.sh:exit_trap:511 jobs -p
+./stack.sh:exit_trap:511 jobs=
+./stack.sh:exit_trap:514 [[ -n '' ]]
+./stack.sh:exit_trap:520 '[' -f /tmp/tmp.yKvw8EwKuQ ']'
+./stack.sh:exit_trap:521 rm /tmp/tmp.yKvw8EwKuQ
+./stack.sh:exit_trap:525 kill_spinner
+./stack.sh:kill_spinner:424 '[' '!' -z '' ']'
+./stack.sh:exit_trap:527 [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:528 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:530 type -p generate-subunit
+./stack.sh:exit_trap:531 generate-subunit 1517992018 519 fail
+./stack.sh:exit_trap:533 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:536 /home/takashi/git/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2018-02-07-083537.txt for details
+./stack.sh:exit_trap:545 exit 1

Changed in glance:
milestone: none → queens-rc1
assignee: nobody → Brian Rosmaita (brian-rosmaita)
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Don't have time to address this before RC-1, will attend to it immediately after.

Changed in glance:
milestone: queens-rc1 → queens-rc2
Revision history for this message
Tom Barron (tpb) wrote :

manila has some postgresql jobs that are now failing. They are non-voting, so addressing the issue in queens-rc2 still makes sense.

Revision history for this message
Ruby Loo (rloo) wrote :

ironic has a postgresql job (ironic-tempest-dsvm-pxe_ipmitool-postgres) that is failing due to this. It is non-voting but would be nice to have it fixed :)

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Abhishek has a patch up for this: https://review.openstack.org/#/c/542756/

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Changing asignee to Abhishek, because he did the actual work on this.

Changed in glance:
assignee: Brian Rosmaita (brian-rosmaita) → Abhishek (abhishek)
assignee: Abhishek (abhishek) → nobody
assignee: nobody → Abhishek Kekane (abhishek-kekane)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 16.0.0.0rc2

This issue was fixed in the openstack/glance 16.0.0.0rc2 release candidate.

Changed in glance:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 17.0.0.0b1

This issue was fixed in the openstack/glance 17.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.