[jira] [Updated] (CLOUDSTACK-6793) [Automation] CreateTagsCmd fails with db exceptions
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Girish Shilamkar updated CLOUDSTACK-6793: - Assignee: Amogh Vasekar (was: Girish Shilamkar) [Automation] CreateTagsCmd fails with db exceptions Key: CLOUDSTACK-6793 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6793 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: API Affects Versions: 4.4.0 Environment: KVM Reporter: Rayees Namathponnan Assignee: Amogh Vasekar Priority: Blocker Fix For: 4.4.0 Attachments: management-server.rar Steps to reproduce Execute the test case integration.component.test_tags.TestResourceTags Test case perform below steps # 1. Create a tag on template/ISO using createTags API # 2. Delete above created tag using deleteTags API 2014-05-27 17:41:28,658 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-3b66377c ctx-fdaf9174 ctx-62d4b9d2) ===END=== 10.223.240.193 -- GET apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z1t-oO1g9F4-EiUZx9Bd EQresourcetype=TemplateresourceIds=35e10eef-7980-4085-8b6c-c68174f1b529command=createTagssignature=pIJSk7ekg0Tlf RN%2FWfdp8U42Bgs%3Dtags%5B0%5D.key=OSresponse=jsontags%5B0%5D.value=CentOS 2014-05-27 17:41:28,661 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-89:ctx-c924058c job-577 ctx-ec2f3eb8) Rollin g back the transaction: Time = 4 Name = API-Job-Executor-89; called by -TransactionLegacy.rollback:903-TransactionL egacy.removeUpTo:846-TransactionLegacy.close:670-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation. proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:2 04-$Proxy52.persist:-1-TaggedResourceManagerImpl$1.doInTransactionWithoutResult:245-TransactionCallbackNoReturn.doIn Transaction:25-Transaction$2.doInTransaction:49 2014-05-27 17:41:28,662 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-dbbc3135) ===START=== 10.223.240.193 -- GET jobid=776d2770-db0d-44c8-b2e0-bbe2a9621642apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z 1t-oO1g9F4-EiUZx9BdEQcommand=queryAsyncJobResultresponse=jsonsignature=%2Bk9OtkKpdJkU%2BWI7GO48SOrpKf4%3D 2014-05-27 17:41:28,672 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-89:ctx-c924058c job-577) Unexpected exception while executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@6a7f6c5: INSERT INTO resource_tags (resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer) VALUES (_binary'46408de5-040c-4858-8323-881c358bda20', _binary'OS', _binary'CentOS', -1, 82, 217, _binary'35e10eef-7980-4085-8b6c-c68174f1b529', 'Template', null) at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1400) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy52.persist(Unknown Source) at com.cloud.tags.TaggedResourceManagerImpl$1.doInTransactionWithoutResult(TaggedResourceManagerImpl.java:245) at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25) at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49) at com.cloud.utils.db.Transaction.execute(Transaction.java:37) at
[jira] [Updated] (CLOUDSTACK-6793) [Automation] CreateTagsCmd fails with db exceptions
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-6793: Issue Type: Bug (was: Test) [Automation] CreateTagsCmd fails with db exceptions Key: CLOUDSTACK-6793 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6793 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: API Affects Versions: 4.4.0 Environment: KVM Reporter: Rayees Namathponnan Assignee: Santhosh Kumar Edukulla Priority: Blocker Fix For: 4.4.0 Attachments: management-server.rar Steps to reproduce Execute the test case integration.component.test_tags.TestResourceTags Test case perform below steps # 1. Create a tag on template/ISO using createTags API # 2. Delete above created tag using deleteTags API 2014-05-27 17:41:28,658 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-3b66377c ctx-fdaf9174 ctx-62d4b9d2) ===END=== 10.223.240.193 -- GET apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z1t-oO1g9F4-EiUZx9Bd EQresourcetype=TemplateresourceIds=35e10eef-7980-4085-8b6c-c68174f1b529command=createTagssignature=pIJSk7ekg0Tlf RN%2FWfdp8U42Bgs%3Dtags%5B0%5D.key=OSresponse=jsontags%5B0%5D.value=CentOS 2014-05-27 17:41:28,661 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-89:ctx-c924058c job-577 ctx-ec2f3eb8) Rollin g back the transaction: Time = 4 Name = API-Job-Executor-89; called by -TransactionLegacy.rollback:903-TransactionL egacy.removeUpTo:846-TransactionLegacy.close:670-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation. proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:2 04-$Proxy52.persist:-1-TaggedResourceManagerImpl$1.doInTransactionWithoutResult:245-TransactionCallbackNoReturn.doIn Transaction:25-Transaction$2.doInTransaction:49 2014-05-27 17:41:28,662 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-dbbc3135) ===START=== 10.223.240.193 -- GET jobid=776d2770-db0d-44c8-b2e0-bbe2a9621642apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z 1t-oO1g9F4-EiUZx9BdEQcommand=queryAsyncJobResultresponse=jsonsignature=%2Bk9OtkKpdJkU%2BWI7GO48SOrpKf4%3D 2014-05-27 17:41:28,672 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-89:ctx-c924058c job-577) Unexpected exception while executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@6a7f6c5: INSERT INTO resource_tags (resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer) VALUES (_binary'46408de5-040c-4858-8323-881c358bda20', _binary'OS', _binary'CentOS', -1, 82, 217, _binary'35e10eef-7980-4085-8b6c-c68174f1b529', 'Template', null) at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1400) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy52.persist(Unknown Source) at com.cloud.tags.TaggedResourceManagerImpl$1.doInTransactionWithoutResult(TaggedResourceManagerImpl.java:245) at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25) at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49) at com.cloud.utils.db.Transaction.execute(Transaction.java:37) at
[jira] [Updated] (CLOUDSTACK-6793) [Automation] CreateTagsCmd fails with db exceptions
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amogh Vasekar updated CLOUDSTACK-6793: -- Issue Type: Test (was: Bug) [Automation] CreateTagsCmd fails with db exceptions Key: CLOUDSTACK-6793 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6793 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: API Affects Versions: 4.4.0 Environment: KVM Reporter: Rayees Namathponnan Assignee: Amogh Vasekar Priority: Blocker Fix For: 4.4.0 Attachments: management-server.rar Steps to reproduce Execute the test case integration.component.test_tags.TestResourceTags Test case perform below steps # 1. Create a tag on template/ISO using createTags API # 2. Delete above created tag using deleteTags API 2014-05-27 17:41:28,658 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-3b66377c ctx-fdaf9174 ctx-62d4b9d2) ===END=== 10.223.240.193 -- GET apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z1t-oO1g9F4-EiUZx9Bd EQresourcetype=TemplateresourceIds=35e10eef-7980-4085-8b6c-c68174f1b529command=createTagssignature=pIJSk7ekg0Tlf RN%2FWfdp8U42Bgs%3Dtags%5B0%5D.key=OSresponse=jsontags%5B0%5D.value=CentOS 2014-05-27 17:41:28,661 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-89:ctx-c924058c job-577 ctx-ec2f3eb8) Rollin g back the transaction: Time = 4 Name = API-Job-Executor-89; called by -TransactionLegacy.rollback:903-TransactionL egacy.removeUpTo:846-TransactionLegacy.close:670-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation. proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:2 04-$Proxy52.persist:-1-TaggedResourceManagerImpl$1.doInTransactionWithoutResult:245-TransactionCallbackNoReturn.doIn Transaction:25-Transaction$2.doInTransaction:49 2014-05-27 17:41:28,662 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-dbbc3135) ===START=== 10.223.240.193 -- GET jobid=776d2770-db0d-44c8-b2e0-bbe2a9621642apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z 1t-oO1g9F4-EiUZx9BdEQcommand=queryAsyncJobResultresponse=jsonsignature=%2Bk9OtkKpdJkU%2BWI7GO48SOrpKf4%3D 2014-05-27 17:41:28,672 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-89:ctx-c924058c job-577) Unexpected exception while executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@6a7f6c5: INSERT INTO resource_tags (resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer) VALUES (_binary'46408de5-040c-4858-8323-881c358bda20', _binary'OS', _binary'CentOS', -1, 82, 217, _binary'35e10eef-7980-4085-8b6c-c68174f1b529', 'Template', null) at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1400) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy52.persist(Unknown Source) at com.cloud.tags.TaggedResourceManagerImpl$1.doInTransactionWithoutResult(TaggedResourceManagerImpl.java:245) at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25) at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49) at com.cloud.utils.db.Transaction.execute(Transaction.java:37) at
[jira] [Updated] (CLOUDSTACK-6793) [Automation] CreateTagsCmd fails with db exceptions
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Animesh Chaturvedi updated CLOUDSTACK-6793: --- Assignee: Amogh Vasekar [Automation] CreateTagsCmd fails with db exceptions Key: CLOUDSTACK-6793 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6793 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: API Affects Versions: 4.4.0 Environment: KVM Reporter: Rayees Namathponnan Assignee: Amogh Vasekar Priority: Blocker Fix For: 4.4.0 Attachments: management-server.rar Steps to reproduce Execute the test case integration.component.test_tags.TestResourceTags Test case perform below steps # 1. Create a tag on template/ISO using createTags API # 2. Delete above created tag using deleteTags API 2014-05-27 17:41:28,658 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-3b66377c ctx-fdaf9174 ctx-62d4b9d2) ===END=== 10.223.240.193 -- GET apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z1t-oO1g9F4-EiUZx9Bd EQresourcetype=TemplateresourceIds=35e10eef-7980-4085-8b6c-c68174f1b529command=createTagssignature=pIJSk7ekg0Tlf RN%2FWfdp8U42Bgs%3Dtags%5B0%5D.key=OSresponse=jsontags%5B0%5D.value=CentOS 2014-05-27 17:41:28,661 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-89:ctx-c924058c job-577 ctx-ec2f3eb8) Rollin g back the transaction: Time = 4 Name = API-Job-Executor-89; called by -TransactionLegacy.rollback:903-TransactionL egacy.removeUpTo:846-TransactionLegacy.close:670-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation. proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:2 04-$Proxy52.persist:-1-TaggedResourceManagerImpl$1.doInTransactionWithoutResult:245-TransactionCallbackNoReturn.doIn Transaction:25-Transaction$2.doInTransaction:49 2014-05-27 17:41:28,662 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-dbbc3135) ===START=== 10.223.240.193 -- GET jobid=776d2770-db0d-44c8-b2e0-bbe2a9621642apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z 1t-oO1g9F4-EiUZx9BdEQcommand=queryAsyncJobResultresponse=jsonsignature=%2Bk9OtkKpdJkU%2BWI7GO48SOrpKf4%3D 2014-05-27 17:41:28,672 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-89:ctx-c924058c job-577) Unexpected exception while executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@6a7f6c5: INSERT INTO resource_tags (resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer) VALUES (_binary'46408de5-040c-4858-8323-881c358bda20', _binary'OS', _binary'CentOS', -1, 82, 217, _binary'35e10eef-7980-4085-8b6c-c68174f1b529', 'Template', null) at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1400) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy52.persist(Unknown Source) at com.cloud.tags.TaggedResourceManagerImpl$1.doInTransactionWithoutResult(TaggedResourceManagerImpl.java:245) at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25) at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49) at com.cloud.utils.db.Transaction.execute(Transaction.java:37) at
[jira] [Updated] (CLOUDSTACK-6793) [Automation] CreateTagsCmd fails with db exceptions
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rayees Namathponnan updated CLOUDSTACK-6793: Attachment: management-server.rar [Automation] CreateTagsCmd fails with db exceptions Key: CLOUDSTACK-6793 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6793 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: API Affects Versions: 4.4.0 Environment: KVM Reporter: Rayees Namathponnan Priority: Blocker Fix For: 4.4.0 Attachments: management-server.rar Steps to reproduce Execute the test case integration.component.test_tags.TestResourceTags Test case perform below steps # 1. Create a tag on template/ISO using createTags API # 2. Delete above created tag using deleteTags API 2014-05-27 17:41:28,658 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-3b66377c ctx-fdaf9174 ctx-62d4b9d2) ===END=== 10.223.240.193 -- GET apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z1t-oO1g9F4-EiUZx9Bd EQresourcetype=TemplateresourceIds=35e10eef-7980-4085-8b6c-c68174f1b529command=createTagssignature=pIJSk7ekg0Tlf RN%2FWfdp8U42Bgs%3Dtags%5B0%5D.key=OSresponse=jsontags%5B0%5D.value=CentOS 2014-05-27 17:41:28,661 DEBUG [c.c.u.d.T.Transaction] (API-Job-Executor-89:ctx-c924058c job-577 ctx-ec2f3eb8) Rollin g back the transaction: Time = 4 Name = API-Job-Executor-89; called by -TransactionLegacy.rollback:903-TransactionL egacy.removeUpTo:846-TransactionLegacy.close:670-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation. proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:2 04-$Proxy52.persist:-1-TaggedResourceManagerImpl$1.doInTransactionWithoutResult:245-TransactionCallbackNoReturn.doIn Transaction:25-Transaction$2.doInTransaction:49 2014-05-27 17:41:28,662 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-dbbc3135) ===START=== 10.223.240.193 -- GET jobid=776d2770-db0d-44c8-b2e0-bbe2a9621642apiKey=x3l3u2QJMKK5AzForI9MKkjNWb4V2ewV-UY6qSPZERrS49jXwUFn5WLvN-r_QJZ-z 1t-oO1g9F4-EiUZx9BdEQcommand=queryAsyncJobResultresponse=jsonsignature=%2Bk9OtkKpdJkU%2BWI7GO48SOrpKf4%3D 2014-05-27 17:41:28,672 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-89:ctx-c924058c job-577) Unexpected exception while executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@6a7f6c5: INSERT INTO resource_tags (resource_tags.uuid, resource_tags.key, resource_tags.value, resource_tags.domain_id, resource_tags.account_id, resource_tags.resource_id, resource_tags.resource_uuid, resource_tags.resource_type, resource_tags.customer) VALUES (_binary'46408de5-040c-4858-8323-881c358bda20', _binary'OS', _binary'CentOS', -1, 82, 217, _binary'35e10eef-7980-4085-8b6c-c68174f1b529', 'Template', null) at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1400) at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy52.persist(Unknown Source) at com.cloud.tags.TaggedResourceManagerImpl$1.doInTransactionWithoutResult(TaggedResourceManagerImpl.java:245) at com.cloud.utils.db.TransactionCallbackNoReturn.doInTransaction(TransactionCallbackNoReturn.java:25) at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:49) at com.cloud.utils.db.Transaction.execute(Transaction.java:37) at