Hi Peeyush,

My approach is to create a file with successive number in dir
"\nova\db\sqlalchemy\migrate_repo\versions\" , and realize it according to
my needs.
And later, execute "nova-manage db sync", the new table will be available.

Please take it as your reference~


On Mon, Sep 2, 2013 at 5:01 PM, Peeyush Gupta <gpeey...@ymail.com> 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
>
>
>
> _______________________________________________
> 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
>
>
_______________________________________________
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

Reply via email to