← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1747869] Re: ./stack.sh doesn't work with postgres

 

** Changed in: glance
       Status: Triaged => Fix Released

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

Title:
  ./stack.sh doesn't work with postgres

Status in Glance:
  Fix Released

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

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


References