
We actually need to run migrate_flavor_data on kilo code, before we upgrade to the new code. We want to remove that compatibility code, and this started to fail when we tried. So, this patch makes sure that we run the within-kilo step (as provided for in the plugin docs) and do the migrate_flavor_data there. Change-Id: I9daa648f803218bf1d8b7b7686ab73e146eeb04b
8 lines
244 B
Bash
Executable File
8 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Kilo -> Lemming flavor migration
|
|
# This is run on kilo code before upgrading
|
|
function configure_nova_upgrade {
|
|
$NOVA_BIN_DIR/nova-manage --config-file $NOVA_CONF db migrate_flavor_data || die $LINENO "Flavor migrate error"
|
|
}
|