Activity log for bug #1316041

Date Who What changed Old value New value Message
2014-05-05 08:41:57 Chen Xiao bug added bug
2014-05-05 09:09:01 Chen Xiao description When using DB2, Heat event record can not be inserted into table "Event", the root cause is that the ID column is supposed to be auto increasement but it is not. This column was set to auto increasement in 035_event_uuid_to_id.py with the statement: event_table.c.tmp_id.alter(sqlalchemy.Integer, autoincrement=True) For DB2, setting "ID" colume "autoincrement=True" can't make sense after above "tmp_id=>id" transformation, so should work around it. When using DB2, Heat event record can not be inserted into table "Event", the root cause is that the ID column is supposed to be auto increasement but it is not. This column was set to auto increasement in 035_event_uuid_to_id.py with the statement: event_table.c.tmp_id.alter(sqlalchemy.Integer, autoincrement=True) For DB2, setting "ID" colume "autoincrement=True" can't make sense after above "tmp_id=>id" transformation, so should work around it. reproduce steps: Using DB2 as heat database backend. [root@control-node ~]# heat create wordpress1 --template-file=heat-templates/cfn/F17/getting_started.template --parameters="KeyName=root_key" Will found it will try to insert null value to column 'id' in table 'event'.
2014-06-12 09:35:06 OpenStack Infra heat: status New In Progress
2014-06-12 09:35:06 OpenStack Infra heat: assignee Chen Xiao (chenxiao)
2014-10-02 16:13:08 OpenStack Infra heat: assignee Chen Xiao (chenxiao) Matt Riedemann (mriedem)
2014-10-21 18:47:11 OpenStack Infra heat: status In Progress Fix Committed
2014-12-18 14:07:09 Thierry Carrez heat: status Fix Committed Fix Released
2014-12-18 14:07:09 Thierry Carrez heat: milestone kilo-1
2015-04-30 09:57:58 Thierry Carrez heat: milestone kilo-1 2015.1.0