Hi Peeyush,
You need to add a db migration file in
nova/virt/baremetal/db/sqlalchemy/migrate_repo/versions/, named with a number
prefix bigger than the existing files.
After then, You need to execute the command "nova-manage db sync".
On 2013-09-02 17:01 , Peeyush Gupta wrote:
Hi,
I have been trying to add a new column to compute_nodes table.
I understand the table is defined at db.sqlalchemy.models.py. So,
I added a new field in the file and restarted the nova-compute process.
But, there is no change in the table. What am I doing wrong? Where
should I make changes to add the column?
P.S: I am using devstack on Ubuntu 12.04 LTS
Thanks,
~Peeyush Gupta
------------------
Best regards!
GuanQiang
17:32:18
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack