cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10298) Recreation of an earlier deleted Nuage managed isolated or vpc tier network fails
Date Tue, 27 Feb 2018 11:26:00 GMT

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

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

Commit 3dfbcbc48a6b3eab906b1a52fc50e44de2479636 in cloudstack's branch refs/heads/4.11 from
[~sgoeminn]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=3dfbcbc ]

CLOUDSTACK-10298: fix for recreation of an earlier deleted Nuage managed network (#2460)

* CLOUDSTACK-10298: Recreation of an earlier deleted Nuage managed isolated or vpc tier network
fails

Added negative tests for feature vsd managed subnets
Added fixes for reacreation of an earlier deleted Nuage managed network
Updated Nuage Vsp CloudStack client to 1.0.8
Co-authored by: Sigert Goeminne <sigert.goeminne@nuagenetworks.net>

* removed commented code as per review comment


> Recreation of an earlier deleted Nuage managed isolated or vpc tier network fails
> ---------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10298
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10298
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.11.0.0
>            Reporter: Raf Smeets
>            Assignee: Sigert Goeminne
>            Priority: Major
>
> Scenario to reproduce for isolated network: (same applies for vpc tier network)
> Create L3Domain/Zone/Subnet/DefaultACLs in VSD and create a non-persistent NetworkOffering
in ACS, then createNetwork by specifying externalID attribute in the request, which refers
to the Subnet ID in VSD.
> Then verify VSD objects and verify networking by deploying 2 VM's in this network, enable
static nat to one VM and ping to the other VM.
> After that delete tall the VM's in this network and delete the network itself.
> Don't delete data in VSD.
> Recreate same network by specifying same externalID attribute in the request, which refers
to the Subnet ID in VSD.
> management-server.log shows following error
> 2018-02-07 00:15:27,464 DEBUG [c.c.a.ApiServlet] (qtp66233253-20:ctx-a9727f69) (logid:13bd8add)
===START=== 10.30.39.11 - GET acltype=Account&apiKey=StjgrAiYEguhhZwogkx4SggkPhImhdxgSrDbfUZhLjL4As6bm4Xec8GC7WKFWuZXJmTAIl9zx_Qeh767T_yfpQ&zoneid=f17d2601-984f-4cc6-ba78-4b89bdc87115&domainid=11ce9c88-0a46-11e8-bff2-faac09080700&displaytext=Test+Network&gateway=10.0.0.1&networkofferingid=b0fbe47b-173e-415b-b0e6-80fd17f75f1d&netmask=255.255.255.0&externalid=43897d72-6781-4e29-9a13-5ad9addbec01&response=json&account=test-a-TestNuageManagedSubnets-VL53W7&name=TestNet-10.0.0.1-NET_OFF-True-0KWFQ8&command=createNetwork&signature=688UxfzAZdtoj%2BEFxHpwf6rrAoQ%3D
> 2018-02-07 00:15:27,468 DEBUG [c.c.a.ApiServer] (qtp66233253-20:ctx-a9727f69 ctx-3d2464e6)
(logid:13bd8add) CIDRs from which account 'Acct[555cb263-0a46-11e8-bff2-faac09080700-admin]'
is allowed to perform API calls: 0.0.0.0/0,::/0
> 2018-02-07 00:15:27,479 DEBUG [c.c.u.AccountManagerImpl] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Access granted to Acct[5ff94a35-075a-4023-bb2a-2186a6a00853-admin]
to Domain:1/ by AffinityGroupAccessChecker
> 2018-02-07 00:15:27,488 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Checking if amount of resources of Type = 'network'
for Account Name = test-a-TestNuageManagedSubnets-VL53W7 in Domain Id = 1 is exceeded: Account
Resource Limit = 20, Current Account Resource Amount = 0, Requested Resource Amount = 1.
> 2018-02-07 00:15:27,506 DEBUG [c.c.n.g.BigSwitchBcfGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design this network, the physical
isolation type is not BCF_SEGMENT
> 2018-02-07 00:15:27,506 DEBUG [o.a.c.n.c.m.ContrailGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design this network
> 2018-02-07 00:15:27,507 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design this network
> 2018-02-07 00:15:27,508 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design this network
> 2018-02-07 00:15:27,509 DEBUG [c.c.n.g.OvsGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design this network
> 2018-02-07 00:15:27,512 DEBUG [o.a.c.n.g.SspGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) SSP not configured to be active
> 2018-02-07 00:15:27,513 DEBUG [c.c.n.g.BrocadeVcsGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design this network
> 2018-02-07 00:15:27,515 DEBUG [c.c.n.g.NuageVspGuestNetworkGuru] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Refusing to design network. VsdManaged network
object already present in zone.
> 2018-02-07 00:15:27,516 DEBUG [o.a.c.e.o.NetworkOrchestrator] (qtp66233253-20:ctx-a9727f69
ctx-3d2464e6 ctx-4b65e7ca) (logid:13bd8add) Releasing lock for Acct[fe4ef34f-7563-4c66-8aba-15c600cd794e-test-a-TestNuageManagedSubnets-VL53W7]
> 2018-02-07 00:15:27,537 DEBUG [c.c.u.d.T.Transaction] (qtp66233253-20:ctx-a9727f69 ctx-3d2464e6
ctx-4b65e7ca) (logid:13bd8add) Rolling back the transaction: Time = 52 Name = qtp66233253-20;
called by -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-Transaction.execute:43-Transaction.execute:47-NetworkOrchestrator.createGuestNetwork:2315-NetworkServiceImpl$4.doInTransaction:1383-NetworkServiceImpl$4.doInTransaction:1331-Transaction.execute:40-NetworkServiceImpl.commitNetwork:1331-NetworkServiceImpl.createGuestNetwork:1294-GeneratedMethodAccessor505.invoke:-1
> 2018-02-07 00:15:27,551 ERROR [c.c.a.ApiServer] (qtp66233253-20:ctx-a9727f69 ctx-3d2464e6
ctx-4b65e7ca) (logid:13bd8add) unhandled exception executing api command: [Ljava.lang.String;@192271f1
> com.cloud.utils.exception.CloudRuntimeException: Unable to convert network offering with
specified id to network profile
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.setupNetwork(NetworkOrchestrator.java:726)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransaction(NetworkOrchestrator.java:2364)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransaction(NetworkOrchestrator.java:2315)
> at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
> at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.createGuestNetwork(NetworkOrchestrator.java:2315)
> at com.cloud.network.NetworkServiceImpl$4.doInTransaction(NetworkServiceImpl.java:1383)
> at com.cloud.network.NetworkServiceImpl$4.doInTransaction(NetworkServiceImpl.java:1331)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
> at com.cloud.network.NetworkServiceImpl.commitNetwork(NetworkServiceImpl.java:1331)
> at com.cloud.network.NetworkServiceImpl.createGuestNetwork(NetworkServiceImpl.java:1294)
> at sun.reflect.GeneratedMethodAccessor505.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> at com.sun.proxy.$Proxy225.createGuestNetwork(Unknown Source)
> at org.apache.cloudstack.api.command.admin.network.CreateNetworkCmdByAdmin.execute(CreateNetworkCmdByAdmin.java:68)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
> at com.cloud.api.ApiServer.queueCommand(ApiServer.java:731)
> at com.cloud.api.ApiServer.handleRequest(ApiServer.java:555)
> at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
> at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:127)
> at com.cloud.api.ApiServlet.doGet(ApiServlet.java:89)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:527)
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> at org.eclipse.jetty.server.Server.handle(Server.java:530)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:347)
> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:256)
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
> at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
> at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:382)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
> at java.lang.Thread.run(Thread.java:745)
> 2018-02-07 00:15:27,554 DEBUG [c.c.a.ApiServlet] (qtp66233253-20:ctx-a9727f69 ctx-3d2464e6
ctx-4b65e7ca) (logid:13bd8add) ===END=== 10.30.39.11 - GET acltype=Account&apiKey=StjgrAiYEguhhZwogkx4SggkPhImhdxgSrDbfUZhLjL4As6bm4Xec8GC7WKFWuZXJmTAIl9zx_Qeh767T_yfpQ&zoneid=f17d2601-984f-4cc6-ba78-4b89bdc87115&domainid=11ce9c88-0a46-11e8-bff2-faac09080700&displaytext=Test+Network&gateway=10.0.0.1&networkofferingid=b0fbe47b-173e-415b-b0e6-80fd17f75f1d&netmask=255.255.255.0&externalid=43897d72-6781-4e29-9a13-5ad9addbec01&response=json&account=test-a-TestNuageManagedSubnets-VL53W7&name=TestNet-10.0.0.1-NET_OFF-True-0KWFQ8&command=createNetwork&signature=688UxfzAZdtoj%2BEFxHpwf6rrAoQ%3D



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message