** 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.

  ./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 -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
OsloDBDeprecationWarning: EngineFacade is deprecated; please use 
    expire_on_commit=expire_on_commit, _conf=conf)
  WARNING oslo_db.sqlalchemy.engines [-] URL 
postgresql://root:***@ 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 
  +./stack.sh:exit_trap:533                  [[ -z /opt/stack/logs ]]
/home/takashi/git/devstack/tools/worlddump.py -d /opt/stack/logs
  World dumping... see /opt/stack/logs/worlddump-2018-02-07-083537.txt for 
  +./stack.sh:exit_trap:545                  exit 1

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to