Move subnet postcommit out of transaction for bulk create
For auto-address IPv6 subnets postcommit has update port action
if the net already has ports. This results in
"cannot be called within a transaction" error for bulk IPv6 subnet
create.
Closes-Bug: #1822582
Change-Id: Ia32ec4c11c0793e7df07dcce19c122b3c7f865e1
(cherry picked from commit 14c76d31814b8e696349a1c00ba65ef2919b48af)
Reviewed: https:/ /review. opendev. org/654958 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=861f85056e0 64d8c3da7ad95df 91a9b1147e6247
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 861f85056e064d8 c3da7ad95df91a9 b1147e6247
Author: Oleg Bondarev <email address hidden>
Date: Fri Apr 19 17:00:22 2019 +0400
Move subnet postcommit out of transaction for bulk create
For auto-address IPv6 subnets postcommit has update port action
if the net already has ports. This results in
"cannot be called within a transaction" error for bulk IPv6 subnet
create.
Closes-Bug: #1822582 e7df07dcce19c12 2b3c7f865e1 96349a1c00ba65e f2919b48af)
Change-Id: Ia32ec4c11c0793
(cherry picked from commit 14c76d31814b8e6