diff options
author | Rick Harris <rconradharris@gmail.com> | 2013-01-17 20:42:27 +0000 |
---|---|---|
committer | Rick Harris <rconradharris@gmail.com> | 2013-01-17 21:44:57 +0000 |
commit | d35fccc579812faa5c8d1338744d24e59c426dd6 (patch) | |
tree | 9f544f909d59a24d7567e46daff31dc9976e6572 /nova/db/sqlalchemy/models.py | |
parent | 52fe25a5281a50a5e4c1ff093ce9ed966241a3d7 (diff) | |
download | nova-d35fccc579812faa5c8d1338744d24e59c426dd6.tar.gz nova-d35fccc579812faa5c8d1338744d24e59c426dd6.tar.xz nova-d35fccc579812faa5c8d1338744d24e59c426dd6.zip |
Add host to instance_faults table.
Instances can be rescheduled or migrated to different hosts; so, to make
troubleshooting easier, it's convenient to store the host in which the
failure occured with the instance fault record.
Change-Id: Ib2b9a5bab5d95739b730f0eab15884c2db33a782
Diffstat (limited to 'nova/db/sqlalchemy/models.py')
-rw-r--r-- | nova/db/sqlalchemy/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py index 56a4d944a..5050cb77e 100644 --- a/nova/db/sqlalchemy/models.py +++ b/nova/db/sqlalchemy/models.py @@ -992,6 +992,7 @@ class InstanceFault(BASE, NovaBase): code = Column(Integer(), nullable=False) message = Column(String(255)) details = Column(Text) + host = Column(String(255)) class InstanceAction(BASE, NovaBase): |