cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-8051) updateNetwork fail for NPE
Date Thu, 11 Dec 2014 14:16:13 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-8051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wei Zhou resolved CLOUDSTACK-8051.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 4.6.0

> updateNetwork fail for NPE
> --------------------------
>
>                 Key: CLOUDSTACK-8051
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8051
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>             Fix For: 4.6.0
>
>
> ways to reproduce
> (1) create isolated network with StaticNat
> (2) acquire IP, enable static nat
> (3) create a new network offering without StaticNat
> (4) update the offering of the network .
> An error raised:
> 2014-12-08 17:31:18,614 ERROR [o.a.c.e.o.NetworkOrchestrator] (API-Job-Executor-37:ctx-6a71b2fd
job-1367 ctx-1d6e329d) Cannot find StaticNat provider for network 211
> 2014-12-08 17:31:18,615 WARN  [c.c.n.NetworkServiceImpl] (API-Job-Executor-37:ctx-6a71b2fd
job-1367 ctx-1d6e329d) Failed to implement network Ntwk[211|Guest|17] elements and resources
as a part of network update due to
> java.lang.NullPointerException
>         at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.getStaticNatProviderForNetwork(NetworkOrchestrator.java:3165)
>         at com.cloud.network.IpAddressManagerImpl.applyStaticNats(IpAddressManagerImpl.java:1725)
>         at com.cloud.network.rules.RulesManagerImpl.applyStaticNatsForNetwork(RulesManagerImpl.java:988)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
> ..............
> 2014-12-09 08:26:54,925 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-2:ctx-208f7944
job-1434) Unexpected exception while executing org.apache.cloudstack.api.command.admin.network.UpdateNetworkCmdByAdmin
> com.cloud.utils.exception.CloudRuntimeException: Failed to implement network (with specified
id) elements and resources as a part of network update
>         at com.cloud.network.NetworkServiceImpl.updateGuestNetwork(NetworkServiceImpl.java:2335)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
> The restartNetwork also fail with the same error.
> Moreover, the virtual router stop/start twice during it. it may be an issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message