[upgrade] Upgarde script restores old DB dump while upgrading second time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Andrey Sledzinskiy | ||
5.0.x |
Fix Committed
|
High
|
Evgeniy L | ||
6.0.x |
Invalid
|
High
|
Andrey Sledzinskiy |
Bug Description
Steps to reproduce:
1. Run upgrade from 5.0 to 5.1 and interrupt it during launch of new 5.1 containers (in my case it failed because of https:/
2. Run upgrade from 5.0 to 5.0.1 and it is successful.
3. Deploy new environment using 5.0.1 release
4. Run upgrade from 5.0.1 to 5.1 and it is successful. Check the environment deployed on step # 3.
Expected result:
- environment exists and cluster works fine
Actual result:
- created environment doesn't exist (in nailgun DB)
When you start Fuel upgrade to some X.Y version, upgrade script copies /etc/fuel/
2014-07-29 10:53:01 DEBUG 43074 (docker_engine) Backup database
2014-07-29 10:53:01 DEBUG 43074 (docker_engine) Failed to make database dump, will be used dump from previous run: Cannot find running container with name "fuel-core-
2014-07-29 10:53:01 DEBUG 43074 (utils) Check if file "/var/lib/
SQL database dump complete', '-- PostgreSQL database cluster dump complete']"
2014-07-29 10:53:01 DEBUG 43074 (utils) Creating hardlink "/var/lib/
2014-07-29 10:53:01 DEBUG 43074 (utils) Remove file "/var/lib/
I guess we should remove /var/lib/
tags: | added: upgrade |
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Evgeniy L (rustyrobot) |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Removed from 5.0 because it's not critical.