You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/15 19:24:52 UTC

[jira] [Commented] (CLOUDSTACK-3346) [Ntier][N/w ACL]Exception while creating the tag to the network ACL item.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708670#comment-13708670 ] 

ASF subversion and git services commented on CLOUDSTACK-3346:
-------------------------------------------------------------

Commit e52cde5878d597901cf7e329ced4465260222b8c in branch refs/heads/master from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e52cde5 ]

CLOUDSTACK-3346: Fixed setting up resourceTags for network ACL - added missing @Inject when load NetworkACLItemDao

                
> [Ntier][N/w ACL]Exception while creating the tag to the network ACL item.
> -------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3346
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3346
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: master-6-17-stable branch
>            Reporter: manasaveloori
>            Assignee: Alena Prokharchyk
>             Fix For: 4.2.0
>
>         Attachments: management-server.zip
>
>
> Steps:
> 1.	Have a CS with advanced zone.
> 2.	Create a VPC.
> 3.	Create a network ACL list and an item under that list.
> 4.	Go to  edit tag option. Add the key ,value  pair.
> API passed is 
> http://10.147.38.154:8096/client/api?command=createTags&tags%5B0%5D.key=key&tags%5B0%5D.value=1&resourceIds=f99bcb6e-e24b-11e2-8845-63078000024&resourceType=NetworkACL&_=1372844141471 
> Observation:
> Observed the following exception when the edit tag is done for both default and user created ACLs
> 2013-07-03 20:36:45,061 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 3-21545: Processing Seq 3-21545:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
> 2013-07-03 20:36:45,071 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 3-21545: Sending Seq 3-21545:  { Ans: , MgmtId: 6805241462820, via: 3, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
> 2013-07-03 20:36:45,468 DEBUG [cloud.async.AsyncJobManagerImpl] (ApiServer-7:null) submit async job-260, details: AsyncJobVO {id:260, userId: 1, accountId: 1, sessionKey: null, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.tag.CreateTagsCmd, cmdOriginator: null, cmdInfo: {"ctxUserId":"1","tags[0].value":"1","resourceIds":"f99bcb6e-e24b-11e2-8845-63078000024","tags[0].key":"key","httpmethod":"GET","_":"1372844141471","ctxAccountId":"1","ctxStartEventId":"821","resourceType":"NetworkACL"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 6805241462820, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2013-07-03 20:36:45,479 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-9:job-260) Executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd for job-260
> 2013-07-03 20:36:45,508 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-9:job-260) Unexpected exception while executing org.apache.cloudstack.api.command.user.tag.CreateTagsCmd
> com.cloud.utils.exception.CloudRuntimeException: Dao is not loaded for the resource type NetworkACL
>         at com.cloud.tags.TaggedResourceManagerImpl.getResourceId(TaggedResourceManagerImpl.java:166)
>         at com.cloud.tags.TaggedResourceManagerImpl.createTags(TaggedResourceManagerImpl.java:260)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.tag.CreateTagsCmd.execute(CreateTagsCmd.java:112)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-07-03 20:36:45,510 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-9:job-260) Complete async job-260, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Dao is not loaded for the resource type NetworkACL
> 2013-07-03 20:36:46,769 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running...
> Attaching the MS logs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira