From 01910cdc0a5020eb3cc9db6e4ded67d2c1b1a2f0 Mon Sep 17 00:00:00 2001 From: Ayumu Ueha Date: Wed, 27 Jan 2021 10:33:43 +0900 Subject: [PATCH] Update git submodules * Update tacker from branch 'master' to 971d949da7e1cae533cbf7c95230fe7ee0558c6b - Change data size of instance_id in VNF table Need to change data size of `instance_id` in the VNF table to String(12800) from String(64). We don't have an appropriate ID for instance_id for CNF case, so we use the object information instead as a workaround. If it leave the definition of String(64) as it is, a "Data too long for column" error will occur during CNF operation, because instance_id store kubernetes object information such as following: ---- 'instance_id': " {'namespace': 'default', 'name': 'vdu1', 'apiVersion': 'apps/v1', 'kind': 'Deployment'}, {'namespace': 'default', 'name': 'pv1', 'apiVersion': 'core/v1', 'kind': 'PersistentVolume'}, ... (**Contains the deployed kubernetes resources) {...}" ---- Reason of changing string size to 12800: Resize to 12800 so that it can store approximately 100 resources when it requires 128 characters per resource. This 12800 characters is under the limit of 65535 bytes per entry, even for the maximum length character set (4 bytes) [1]. (instance_id's size (12800 * 4) + other total size(3044) < 65535) `other total size` means the capacity used other than instance_id in the VNF table. [1] https://dev.mysql.com/doc/refman/8.0/en/charset-charsets.html Closes-Bug: 1909011 Change-Id: I50db6f86cd8c164efeab2f0ebbe8ec0258a5ef1d --- tacker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tacker b/tacker index 40a48bde6b..971d949da7 160000 --- a/tacker +++ b/tacker @@ -1 +1 @@ -Subproject commit 40a48bde6b08132f148166633d0809559a29ebaf +Subproject commit 971d949da7e1cae533cbf7c95230fe7ee0558c6b