diff --git a/glance/db/sqlalchemy/models.py b/glance/db/sqlalchemy/models.py index c0d1b463d8..c9c9c4c04b 100644 --- a/glance/db/sqlalchemy/models.py +++ b/glance/db/sqlalchemy/models.py @@ -219,7 +219,7 @@ class Task(BASE, GlanceBase): id = Column(String(36), primary_key=True, default=uuidutils.generate_uuid) type = Column(String(30)) status = Column(String(30)) - owner = Column(String(255)) + owner = Column(String(255), nullable=False) expires_at = Column(DateTime, nullable=True)