nova-manage db archive_deleted_rows is not multi-cell aware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
melanie witt |
Bug Description
With the superconductor mode change in devstack in pike, the post_test_hook in the nova-next CI job is only cleaning up entries from the cell0 database:
This is because there are 3 config files now:
stack@devstack:~$ ls -l /etc/nova/
total 40
-rw-r--r-- 1 stack stack 3001 Sep 25 18:23 api-paste.ini
-rw-r--r-- 1 stack stack 395 Sep 25 18:23 nova-api-uwsgi.ini
-rw-r--r-- 1 stack stack 724 Sep 25 18:23 nova_cell1.conf
-rw-r--r-- 1 stack stack 3495 Sep 25 18:54 nova.conf
-rw-r--r-- 1 stack stack 3561 Sep 25 18:58 nova-cpu.conf
-rw-r--r-- 1 root root 2525 Sep 25 18:23 nova-dhcpbridge
-rw-r--r-- 1 stack stack 349 Sep 25 18:23 nova-metadata-
-rw-r--r-- 1 stack stack 405 Sep 25 18:24 placement-uwsgi.ini
-rw-r--r-- 1 root root 941 Sep 25 18:23 rootwrap.conf
drwxr-xr-x 2 root root 4096 Sep 25 18:23 rootwrap.d
nova.conf is configured for the API database and cell0 so it only removes entries from cell0.
We could have nova-manage db archive_
This might require a --fanout or --all-cells option to the command though so users would opt into the behavior.
tags: |
added: cells nova-manage removed: nova-mana |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
importance: | Medium → Wishlist |
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → Dan Smith (danms) |
Changed in nova: | |
assignee: | Dan Smith (danms) → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → melanie witt (melwitt) |
Changed in nova: | |
assignee: | melanie witt (melwitt) → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → melanie witt (melwitt) |
Related fix proposed to branch: master /review. openstack. org/550212
Review: https:/