manager.py dropdb is stuck
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Python (Deprecated) |
Bug Description
Rebuild the db is not possible because the process is stuck on dbopdb stage
Step to reproduce:
1) enter to docker nailgun container
2) manage.py dropdb && manage.py syncdb && manage.py loaddefault
The workaround is restart postgres and/or nailgun container.
ISO info:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_
api: "1.0"
build_number: "150"
build_id: "2015-08-
nailgun_sha: "58c080206cc171
python-
fuel-agent_sha: "57145b1d880438
fuel-
astute_sha: "e1d3a435e5df5b
fuel-library_sha: "1851b4dff75170
fuel-ostf_sha: "c7f745431aa3c1
fuelmain_sha: "bdca75d0256338
summary: |
- Preserving custom partitions doesn't work + manager.py dropdb is stuck |
description: | updated |
This is a db sync problem.
I think this happen when previous transaction is not closed.
The workaround is restart postgres or nailgun container.