Add DB sync action
It's needed for manual upgrade database schema Change-Id: I327872b904ad3fb0679d384f3e4862446c29e987 Depends-on: I425e028fcabf326d582a1d2e8fd45f761cd1a66c
This commit is contained in:
parent
5139d5e26a
commit
b46349bf6b
|
@ -0,0 +1,17 @@
|
|||
actions:
|
||||
- name: nova-db-sync
|
||||
image: nova-base
|
||||
dependencies:
|
||||
- nova-db-create
|
||||
command: nova-manage db sync
|
||||
files:
|
||||
- path: /etc/nova/nova.conf
|
||||
content: nova.conf.j2
|
||||
- name: nova-api-db-sync
|
||||
image: nova-base
|
||||
dependencies:
|
||||
- nova-db-create
|
||||
command: nova-manage api_db sync
|
||||
files:
|
||||
- path: /etc/nova/nova.conf
|
||||
content: nova.conf.j2
|
Loading…
Reference in New Issue