[Upgrade] Upgrade failed on DB dump with TimeoutError: Failed to execute command with timeout 25

Bug #1360146 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Fuel Python (Deprecated)

Bug Description

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "5.1"
  api: "1.0"
  build_number: "468"
  build_id: "2014-08-22_10-44-21"
  astute_sha: "ac520b09525af4551e730b1c1f78170fefaf3cb8"
  fuellib_sha: "bddba1e854a6b0350e844a0baad50816d3cc8e28"
  ostf_sha: "907f25f8fad39b177bf6a66fba9785afa7dd8008"
  nailgun_sha: "e9dd053fce12908b5a5a404435ce2e8200450a23"
  fuelmain_sha: "5a7df58786db7962a1774b5be3611c4e7543015d"

Steps:
1. Install 5.0.1-170 env - CentOs, Ha, Neutron Gre, 3 controllers, 2 compute
2. After successful deployment upload upgrade script to master and run upgrade

Expected - upgrade passed
Actual - upgrade failed with
2014-08-22 09:08:19 DEBUG 24152 (docker_engine) Failed to make database dump Cannot find running container with name "fuel-core-5.0.1-postgres"
2014-08-22 09:08:23 DEBUG 24152 (docker_engine) Failed to make database dump Cannot find running container with name "fuel-core-5.0.1-postgres"
2014-08-22 09:08:27 DEBUG 24152 (docker_engine) Failed to make database dump Cannot find running container with name "fuel-core-5.0.1-postgres"
2014-08-22 09:08:31 DEBUG 24152 (docker_engine) Failed to make database dump Cannot find running container with name "fuel-core-5.0.1-postgres"
channel 1: open failed: connect failed: Connection refused
2014-08-22 09:08:35 DEBUG 24152 (docker_engine) Failed to make database dump Cannot find running container with name "fuel-core-5.0.1-postgres"
2014-08-22 09:08:35 ERROR 24152 (upgrade) DockerUpgrader: failed to upgrade: "Failed to execute command with timeout 25"
Traceback (most recent call last):
  File "/var/upgrade/site-packages/fuel_upgrade/upgrade.py", line 51, in run
    upgrader.upgrade()
  File "/var/upgrade/site-packages/fuel_upgrade/engines/docker_engine.py", line 69, in upgrade
    self.save_db()
  File "/var/upgrade/site-packages/fuel_upgrade/engines/docker_engine.py", line 164, in save_db
    interval=self.config.db_backup_interval)
  File "/var/upgrade/site-packages/fuel_upgrade/utils.py", line 201, in wait_for_true
    'command with timeout {0}'.format(timeout))
TimeoutError: Failed to execute command with timeout 25

Logs are attached

Tags: upgrade
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Evgeniy L (rustyrobot) wrote :

Checked the env, postgresql container was ok and there was not error in logs, it looks like we need to increase for db dump.

Changed in fuel:
status: New → Triaged
Revision history for this message
Evgeniy L (rustyrobot) wrote :

Set won't fix because this problem was caused by docker updating, we won't update docker for this release

https://bugs.launchpad.net/fuel/+bug/1360274 - remove new docker from repo
https://bugs.launchpad.net/fuel/+bug/1357357 - reopened the issue and moved to 6.0

Changed in fuel:
status: Triaged → Won't Fix
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.