How to add database table isolated_schedule-openstack-ice in nova
This article will explain in detail how to add database table isolated_schedule-openstack-ice in nova. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
1. Write the model class:
2. Write an upgraded version:
3. Save the code and execute the nova-manage db command:
The current version is 233:
Therefore, you need to execute version 234 to reflect the code for creating database tables written above into the database.
Tailf / var/log/nova/nova-manage.log
There is no version number for the wrong report.
Add the version to continue to execute the command:
When you open the database, you can see the isolated_schedule database table and set it up:
This is the end of the article on "how to add database table isolated_schedule-openstack-ice in nova". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.