Steps to reproduce:
1. Deploy cluster on 7.0 (301 iso)
2. Download upgrade arch from here: HTTP_LINK=http://srv89-bud.infra.mirantis.net/fuelweb-iso/fuel-8.0-upgrade-33-2015-10-16_01-42-00.tar.lrz
3. Extract arch, execute ./upgrade.sh
Expected result:
Upgraded cluster to 8.0
Actual result:
2015-10-16 09:28:32 ERROR 13896 (upgrade) *** UPGRADE FAILED
2015-10-16 09:28:32 ERROR 13896 (cli) Cannot find running container with name "fuel-core-8.0-postgres"
Traceback (most recent call last):
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/cli.py", line 182, in main
run_upgrade(parse_args(sys.argv[1:]))
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/cli.py", line 175, in run_upgrade
upgrade_manager.run()
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/upgrade.py", line 82, in run
upgrader.upgrade()
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 77, in upgrade
self.create_and_start_new_containers()
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 265, in create_and_start_new_containers
self.run_after_container_creation_command(container)
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 279, in run_after_container_creation_command
'', retries=30, interval=4)
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 312, in exec_with_retries
return func()
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 275, in execute
self.exec_cmd_in_container(container['container_name'], command)
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 286, in exec_cmd_in_container
db_container_id = self.container_docker_id(container_name)
File "/var/tmp/upgrade/.fuel-upgrade-venv/lib/python2.6/site-packages/fuel_upgrade/engines/docker_engine.py", line 559, in container_docker_id
'Cannot find running container with name "{0}"'.format(name))
CannotFindContainerError: Cannot find running container with name "fuel-core-8.0-postgres"
==================================================
Upgrade failed
Well, here's log of postgresql container (probable won't be found in diagnostic snapshot): http:// xsnippet. org/361087/ raw/
The main problem is here -
Notice: /Stage[ main]/Main/ Postgresql: :Server: :Db[keystone] /Postgresql: :Server: :Database[ keystone] /Postgresql_ psql[Check for existence of db 'keystone' ]/command: command changed 'notrun' to 'SELECT 1' main]/Main/ Postgresql: :Server: :Db[keystone] /Postgresql: :Server: :Database[ keystone] /Postgresql_ psql[Check for existence of db 'keystone']: Scheduling refresh of Exec[/usr/ pgsql-9. 3/bin/createdb --port='5432' --owner='postgres' --template= template0 'keystone'] main]/Main/ Postgresql: :Server: :Db[keystone] /Postgresql: :Server: :Database[ keystone] /Exec[/ usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'keystone' ]/returns: createdb: database creation failed: ERROR: database "keystone" already exists main]/Main/ Postgresql: :Server: :Db[keystone] /Postgresql: :Server: :Database[ keystone] /Exec[/ usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'keystone']: Failed to call refresh: /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'keystone' returned 1 instead of one of [0] main]/Main/ Postgresql: :Server: :Db[keystone] /Postgresql: :Server: :Database[ keystone] /Exec[/ usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'keystone']: /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'keystone' returned 1 instead of one of [0] main]/Main/ Postgresql: :Server: :Db[ostf] /Postgresql: :Server: :Database[ ostf]/Postgresq l_psql[ Check for existence of db 'ostf']/command: command changed 'notrun' to 'SELECT 1' main]/Main/ Postgresql: :Server: :Db[ostf] /Postgresql: :Server: :Database[ ostf]/Postgresq l_psql[ Check for existence of db 'ostf']: Scheduling refresh of Exec[/usr/ pgsql-9. 3/bin/createdb --port='5432' --owner='postgres' --template= template0 'ostf'] main]/Main/ Postgresql: :Server: :Db[ostf] /Postgresql: :Server: :Database[ ostf]/Exec[ /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'ostf']/returns: createdb: database creation failed: ERROR: database "ostf" already exists main]/Main/ Postgresql: :Server: :Db[ostf] /Postgresql: :Server: :Database[ ostf]/Exec[ /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'ostf']: Failed to call refresh: /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'ostf' returned 1 instead of one of [0] main]/Main/ Postgresql: :Server: :Db[ostf] /Postgresql: :Server: :Database[ ostf]/Exec[ /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'ostf']: /usr/pgsql- 9.3/bin/ createdb --port='5432' --owner='postgres' --template= template0 'ostf' returned 1 instead of one of [0]
Info: /Stage[
Notice: /Stage[
Error: /Stage[
Error: /Stage[
Notice: /Stage[
Info: /Stage[
Notice: /Stage[
Error: /Stage[
Error: /Stage[