Bug 1468349 - osp12: os-refresh-config failed duing re-install with undercloud. Command 'instack-install-undercloud' returned non-zero exit status 1; CommandError: Can't locate revision identified by 'pike01'
osp12: os-refresh-config failed duing re-install with undercloud. Command 'in...
Status: CLOSED CURRENTRELEASE
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 12.0 (Pike)
Assigned To: Angus Thomas
Amit Ugol
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-06 15:12 EDT by mlammon
Modified: 2017-09-18 15:21 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-09-18 15:21:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mlammon 2017-07-06 15:12:25 EDT
osp12: os-refresh-config failed duing re-install with undercloud. Command 'instack-install-undercloud' returned non-zero exit status 1CommandError: Can't locate revision identified by 'pike01'

2017-07-06 11:16:59,817 INFO: Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: change from notrun to 0 failed: glance-manage  db_sync returned 1 instead of one of [0]
2017-07-06 11:18:00,369 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: Option "verbose" from group "DEFAULT" is deprecated for removal.

Environment:
instack-undercloud-6.1.0-1.el7ost.noarch
instack-6.0.0-1.el7ost.noarch
openstack-puppet-modules-10.0.0-1.el7ost.noarch
openstack-heat-engine-8.0.2-2.el7ost.noarch
openstack-tripleo-heat-templates-6.1.0-1.el7ost.noarch
openstack-heat-common-8.0.2-2.el7ost.noarch
python-heatclient-1.8.0-2.el7ost.noarch
openstack-heat-api-8.0.2-2.el7ost.noarch
puppet-heat-10.3.1-1.el7ost.noarch
python-heat-agent-1.0.1-1.el7ost.noarch
openstack-heat-api-cfn-8.0.2-2.el7ost.noarch

Description
Restore from backup on 

Steps:  
1. Installed OSP 12 with 1 undercloud, 1 controller, 1 compute. 1 undercloud_backup vm
2. backup undercloud
3. transfer backup files over to another server
4. destroy original undercloud
5. bring up new undercloud
6. restore backup files on new undercloud
7. openstack undercloud install &> undercloud_reinstall.log


#############################################################################
Undercloud install failed.

Reason: os-refresh-config failed. See log for details.

See the previous output for details about what went wrong.  The full install
log can be found at /home/stack/.instack/install-undercloud.log.

#############################################################################

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1468, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1191, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 558, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: os-refresh-config failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1



[stack@undercloud-0 ~]$ grep 'Glance::Db' undercloud_reinstall.log
2017-07-06 11:13:04,897 INFO: Notice: /Stage[main]/Glance::Db::Mysql/Openstacklib::Db::Mysql[glance]/Openstacklib::Db::Mysql::Host_access[glance_%]/Mysql_user[glance@%]/ensure: created
2017-07-06 11:13:05,429 INFO: Notice: /Stage[main]/Glance::Db::Mysql/Openstacklib::Db::Mysql[glance]/Openstacklib::Db::Mysql::Host_access[glance_%]/Mysql_grant[glance@%/glance.*]/ensure: created
2017-07-06 11:16:59,807 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
2017-07-06 11:16:59,808 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1241: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
2017-07-06 11:16:59,808 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   expire_on_commit=expire_on_commit, _conf=conf)
2017-07-06 11:16:59,808 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: INFO  [alembic.runtime.migration] Context impl MySQLImpl.
2017-07-06 11:16:59,808 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2017-07-06 11:16:59,809 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: CRITI [glance] CommandError: Can't locate revision identified by 'pike01'
2017-07-06 11:16:59,809 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: Traceback (most recent call last):
2017-07-06 11:16:59,809 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/bin/glance-manage", line 10, in <module>
2017-07-06 11:16:59,809 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     sys.exit(main())
2017-07-06 11:16:59,809 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 447, in main
2017-07-06 11:16:59,809 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     return CONF.command.action_fn()
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 286, in sync
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     self.command_object.sync(CONF.command.version)
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 119, in sync
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     alembic_command.upgrade(a_config, version)
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/command.py", line 174, in upgrade
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     script.run_env()
2017-07-06 11:16:59,810 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 407, in run_env
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     util.load_python_file(self.dir, 'env.py')
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 93, in load_python_file
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     module = load_module_py(module_id, path)
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 79, in load_module_py
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     mod = imp.load_source(module_id, path, fp)
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/alembic_migrations/env.py", line 92, in <module>
2017-07-06 11:16:59,811 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     run_migrations_online()
2017-07-06 11:16:59,812 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/alembic_migrations/env.py", line 87, in run_migrations_online
2017-07-06 11:16:59,812 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     context.run_migrations()
2017-07-06 11:16:59,812 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "<string>", line 8, in run_migrations
2017-07-06 11:16:59,812 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py", line 797, in run_migrations
2017-07-06 11:16:59,812 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     self.get_context().run_migrations(**kw)
2017-07-06 11:16:59,812 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py", line 303, in run_migrations
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for step in self._migrations_fn(heads, self):
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/command.py", line 163, in upgrade
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     return script._upgrade_revs(revision, rev)
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 324, in _upgrade_revs
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for script in reversed(list(revs))
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
2017-07-06 11:16:59,813 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     self.gen.throw(type, value, traceback)
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 160, in _catch_revision_errors
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     compat.raise_from_cause(util.CommandError(resolution))
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 132, in raise_from_cause
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     reraise(type(exception), exception, tb=exc_tb)
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 129, in _catch_revision_errors
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     yield
2017-07-06 11:16:59,814 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 320, in _upgrade_revs
2017-07-06 11:16:59,815 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     revs = list(revs)
2017-07-06 11:16:59,815 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 641, in _iterate_revisions
2017-07-06 11:16:59,815 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     requested_lowers = self.get_revisions(lower)
2017-07-06 11:16:59,815 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 298, in get_revisions
2017-07-06 11:16:59,815 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     return sum([self.get_revisions(id_elem) for id_elem in id_], ())
2017-07-06 11:16:59,815 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 303, in get_revisions
2017-07-06 11:16:59,816 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for rev_id in resolved_id)
2017-07-06 11:16:59,816 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 303, in <genexpr>
2017-07-06 11:16:59,816 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for rev_id in resolved_id)
2017-07-06 11:16:59,816 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 358, in _revision_for_ident
2017-07-06 11:16:59,816 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     resolved_id)
2017-07-06 11:16:59,816 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: CommandError: Can't locate revision identified by 'pike01'
2017-07-06 11:16:59,817 INFO: Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: change from notrun to 0 failed: glance-manage  db_sync returned 1 instead of one of [0]
2017-07-06 11:18:00,369 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: /usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1241: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   expire_on_commit=expire_on_commit, _conf=conf)
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: INFO  [alembic.runtime.migration] Context impl MySQLImpl.
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: CRITI [glance] CommandError: Can't locate revision identified by 'pike01'
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: Traceback (most recent call last):
2017-07-06 11:18:00,370 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/bin/glance-manage", line 10, in <module>
2017-07-06 11:18:00,371 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     sys.exit(main())
2017-07-06 11:18:00,371 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 447, in main
2017-07-06 11:18:00,371 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     return CONF.command.action_fn()
2017-07-06 11:18:00,371 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 286, in sync
2017-07-06 11:18:00,371 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     self.command_object.sync(CONF.command.version)
2017-07-06 11:18:00,371 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 119, in sync
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     alembic_command.upgrade(a_config, version)
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/command.py", line 174, in upgrade
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     script.run_env()
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 407, in run_env
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     util.load_python_file(self.dir, 'env.py')
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 93, in load_python_file
2017-07-06 11:18:00,372 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     module = load_module_py(module_id, path)
2017-07-06 11:18:00,373 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 79, in load_module_py
2017-07-06 11:18:00,373 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     mod = imp.load_source(module_id, path, fp)
2017-07-06 11:18:00,373 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/alembic_migrations/env.py", line 92, in <module>
2017-07-06 11:18:00,373 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     run_migrations_online()
2017-07-06 11:18:00,373 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/alembic_migrations/env.py", line 87, in run_migrations_online
2017-07-06 11:18:00,373 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     context.run_migrations()
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "<string>", line 8, in run_migrations
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/runtime/environment.py", line 797, in run_migrations
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     self.get_context().run_migrations(**kw)
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/runtime/migration.py", line 303, in run_migrations
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for step in self._migrations_fn(heads, self):
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/command.py", line 163, in upgrade
2017-07-06 11:18:00,374 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     return script._upgrade_revs(revision, rev)
2017-07-06 11:18:00,375 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 324, in _upgrade_revs
2017-07-06 11:18:00,375 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for script in reversed(list(revs))
2017-07-06 11:18:00,375 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
2017-07-06 11:18:00,375 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     self.gen.throw(type, value, traceback)
2017-07-06 11:18:00,375 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 160, in _catch_revision_errors
2017-07-06 11:18:00,375 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     compat.raise_from_cause(util.CommandError(resolution))
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 132, in raise_from_cause
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     reraise(type(exception), exception, tb=exc_tb)
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 129, in _catch_revision_errors
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     yield
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 320, in _upgrade_revs
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     revs = list(revs)
2017-07-06 11:18:00,376 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 641, in _iterate_revisions
2017-07-06 11:18:00,377 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     requested_lowers = self.get_revisions(lower)
2017-07-06 11:18:00,377 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 298, in get_revisions
2017-07-06 11:18:00,377 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     return sum([self.get_revisions(id_elem) for id_elem in id_], ())
2017-07-06 11:18:00,377 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 303, in get_revisions
2017-07-06 11:18:00,377 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for rev_id in resolved_id)
2017-07-06 11:18:00,377 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 303, 








2017-07-06 11:18:00,378 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     for rev_id in resolved_id)
2017-07-06 11:18:00,378 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:   File "/usr/lib/python2.7/site-packages/alembic/script/revision.py", line 358, in _revision_for_ident
2017-07-06 11:18:00,378 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns:     resolved_id)
2017-07-06 11:18:00,378 INFO: Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]/returns: CommandError: Can't locate revision identified by 'pike01'
2017-07-06 11:18:00,378 INFO: Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]: Failed to call refresh: glance-manage  db_sync returned 1 instead of one of [0]
2017-07-06 11:18:00,378 INFO: Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]: glance-manage  db_sync returned 1 instead of one of [0]
2017-07-06 11:18:00,379 INFO: Notice: /Stage[main]/Glance::Db::Metadefs/Exec[glance-manage db_load_metadefs]: Dependency Exec[glance-manage db_sync] has failures: true
2017-07-06 11:18:00,379 INFO: Warning: /Stage[main]/Glance::Db::Metadefs/Exec[glance-manage db_load_metadefs]: Skipping because of failed dependencies
Comment 1 Paul Grist 2017-09-18 15:21:09 EDT
We believe this was an early OSP-12 issue that has since been fixed. Can you confirm or update if that is not the case?  Thanks.

Note You need to log in before you can comment on or make changes to this bug.