Skip to content

Instantly share code, notes, and snippets.

@rs-randallburt
Created July 16, 2013 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rs-randallburt/6012147 to your computer and use it in GitHub Desktop.
Save rs-randallburt/6012147 to your computer and use it in GitHub Desktop.
delete nested instance bug
Failed to delete TemplateResource "wp2" error: IntegrityError: (IntegrityError) (1452, 'Cannot add or update a child row: a foreign key constraint fails (`heat`.`resource_data`, CONSTRAINT `resource_data_ibfk_1` FOREIGN KEY (`resource_id`) REFERENCES `resource` (`id`))') 'UPDATE resource_data SET updated_at=%s, resource_id=%s WHERE resource_data.id = %s' (datetime.datetime(2013, 7, 16, 19, 56, 50, 570088), None, 3L)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment