How to change nova db in Train ?

Balázs Gibizer balazs.gibizer at est.tech
Fri Oct 16 09:13:55 UTC 2020



On Fri, Oct 16, 2020 at 08:31, Yingji Sun <yingjisun at vmware.com> wrote:
> Buddies,
> 
> 
> 
> I have a question about updating nova db.
> 
> I would like to change the length of internal_access_path in 
> console_auth_tokens, starting from Train. I want to modify 
> nova/db/sqlalchemy/models.py and the migration file under 
> nova/db/sqlalchemy/migrate_repo/versions. However I did not find a 
> placeholder file for Train. 402_add_resources.py is the last one in 
> Train and 403_ is "Add reserved schema migrations for Ussuri".
> 
> 
> 
> So how can I do it in Train ?
> 

I think technically you can use 403 for your Train backport as there 
was no newer migration ever merged. But I hope others more experience 
with DB migration backporting in Nova can confirm this.

Cheers,
gibi

> 
> 
> Yingji.
> 





More information about the openstack-discuss mailing list