Hide Forgot
Description of problem: Unable to delete system specific Kernel Options while in the Install Options tab Version-Release number of selected component (if applicable): [root@beaker ~]# rpm -q beaker beaker-0.6.12-1.el5 How reproducible: always Steps to Reproduce: 1. add a Kernel Option for x86_64 2. add a Kernel Option Post for RedHatEnterpriseLinux6 family 3. attempt to delete Kernel Option Post for RedHatEnterpriseLinux6 Actual results: HTTPD server error: 500 Internal error The server encountered an unexpected condition which prevented it from fulfilling the request. Expected results: Deleted Kernel Options Post
it's dying on a key constraint failure in the db, but the code will actually need to be changed to get this to work properly.
I just saw a similar exception when deleting a system: sqlalchemy.exceptions.OperationalError: (OperationalError) (1452, 'Cannot add or update a child row: a foreign key constraint fails (`beaker/provision_family`, CONSTRAINT `provision_family_ibfk_3` FOREIGN KEY (`provision_id`) REFERENCES `provision` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)') u'UPDATE provision_family SET provision_id=%s WHERE provision_family.id = %s' [None, 3836L]