[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2020-09-06 Thread Christian Sarrasin
*** This bug is a duplicate of bug 1839658 *** https://bugs.launchpad.net/bugs/1839658 Anyone who comes across this issue, resulting in denial of service from neutron-server with the exceptions mentioned in the OP, it's reasonably painless to workaround; simply delete the subnet(s) with NULL

[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2020-07-27 Thread uchenily
*** This bug is a duplicate of bug 1839658 *** https://bugs.launchpad.net/bugs/1839658 Hi, James, do you know how to reproduce this error? I think the foreign- key will prevent the deletion from the networks table until the subnet was deleted, so it seems that the field network_id will not be

[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2020-07-20 Thread James Page
*** This bug is a duplicate of bug 1839658 *** https://bugs.launchpad.net/bugs/1839658 Ah - this behaviour was enforced @ train see bug 1839658 ** This bug has been marked a duplicate of bug 1839658 "subnet" register in the DB can have network_id=NULL -- You received this bug

[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2020-07-20 Thread James Page
I had a dig around in the database - the subnets table has a foreign key reference to the networks table: CONSTRAINT `subnets_ibfk_1` FOREIGN KEY (`network_id`) REFERENCES `networks` (`id`), which I believe would prevent the deletion of the network from the networks table until the subnet was

[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2020-07-20 Thread James Page
Full create table command: CREATE TABLE `subnets` ( `project_id` varchar(255) DEFAULT NULL, `id` varchar(36) NOT NULL, `name` varchar(255) DEFAULT NULL, `network_id` varchar(36) NOT NULL, `ip_version` int(11) NOT NULL, `cidr` varchar(64) NOT NULL, `gateway_ip` varchar(64) DEFAULT

[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2019-05-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: neutron (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784342 Title:

[Bug 1784342] Re: AttributeError: 'Subnet' object has no attribute '_obj_network_id'

2019-05-02 Thread Xav Paice
subscribed field-high, added Ubuntu Neutron package, since this has occurred in multiple production sites. ** Also affects: neutron (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.