somejfn opened a new issue #2989: Unable to create network post upgrade to 4.11
URL: https://github.com/apache/cloudstack/issues/2989
 
 
   ##### ISSUE TYPE
    * Bug Report
   ##### COMPONENT NAME
   
   ~~~
   API
   ~~~
   
   ##### CLOUDSTACK VERSION
   
   ~~~
   4.11.2rc3
   ~~~
   
   ##### CONFIGURATION
   CentOS 7 on KVM.  Upgraded from 4.9.3. 
   
   Using shared networks with no services since physical network provide 
DHCP/DNS.
   
   The network offering:
   
   {
     "count": 1, 
     "networkoffering": [
       {
         "availability": "Optional", 
         "conservemode": true, 
         "displaytext": "ExternalTenantNetwork", 
         "egressdefaultpolicy": true, 
         "forvpc": false, 
         "guestiptype": "Shared", 
         "id": "3b1e09fe-2350-4d88-87f3-8c6ba656f6ec", 
         "isdefault": false, 
         "ispersistent": false, 
         "name": "ExternalTenantNetwork", 
         "networkrate": -1, 
         "service": [], 
         "serviceofferingid": "ef26069f-8183-4c27-bc68-1f405597553d", 
         "specifyipranges": true, 
         "specifyvlan": true, 
         "state": "Enabled", 
         "supportspublicaccess": false, 
         "supportsstrechedl2subnet": false, 
         "traffictype": "Guest"
       }
     ]
   }
   
   
   ##### OS / ENVIRONMENT
   CentOS 7.4/KVM
   
   ##### SUMMARY
   Creating a new network the same way as on 4.9.3 fails with error:
   
   cs createNetwork name="10.73.220.0/24" displaytext="10.73.220.0/24" vlan=531 
networkofferingid=3b1e09fe-2350-4d88-87f3-8c6ba656f6ec 
zoneid=9f800143-d7a0-4989-a1f4-d6b6b66198ee 
projectid=ee24f6f0-56b7-4288-b23b-9a56190c2960 StartIP=10.73.220.20 
endIp=10.73.220.200 gateway=10.73.220.1 netmask=255.255.255.0
   Cloudstack error: HTTP response 530
   {
     "createnetworkresponse": {
       "cserrorcode": 4250, 
       "errorcode": 530, 
       "errortext": "Unable to convert network offering with specified id to 
network profile", 
       "uuidList": [
         {
           "description": "offeringId", 
           "serialVersionUID": -7514266713085362352, 
           "uuid": "3b1e09fe-2350-4d88-87f3-8c6ba656f6ec"
         }
       ]
     }
   }
   
   
   
   ##### STEPS TO REPRODUCE
   
   Create network offering as above on 4.9.3,  upgrade to 4.11.2 and attempt 
creating the network above
   
   ~~~
   
   ~~~
   
   
   ##### EXPECTED RESULTS
   ~~~
   Network gets created as before
   ~~~
   
   ##### ACTUAL RESULTS
   ~~~
   In the MS logs:
   
   
   2018-10-30 20:01:26,311 DEBUG [c.c.a.ApiServlet] 
(qtp895947612-417:ctx-3dbb5c36) (logid:9755ae2f) ===START===  10.99.97.88 -- 
GET  
endIp=10.73.220.30&acltype=account&name=10.73.220.0%2F24&networkofferingid=3b1e09fe-2350-4d88-87f3-8c6ba656f6ec&StartIP=10.73.220.20&projectid=ee24f6f0-56b7-4288-b23b-9a56190c2960&vlan=531&zoneid=9f800143-d7a0-4989-a1f4-d6b6b66198ee&netmask=255.255.255.0&apiKey=c_56pI8PmZeTaBeBnl7_zE8bEhzWsSzGqOcH6VYEL7SU1fNz7G5888a2Gm7NzNE_8vHwBMqWAEOvD96rg6fcyA&displaytext=10.73.220.0%2F24&signature=fx1mEDV%2ButfOo5ES5mzAFmtqPPU%3D&command=createNetwork&response=json&gateway=10.73.220.1
   2018-10-30 20:01:26,359 DEBUG [c.c.n.g.BigSwitchBcfGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design this network, the physical isolation type is not BCF_SEGMENT
   2018-10-30 20:01:26,362 DEBUG [o.a.c.n.c.m.ContrailGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design this network
   2018-10-30 20:01:26,364 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design this network
   2018-10-30 20:01:26,366 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design this network
   2018-10-30 20:01:26,369 DEBUG [c.c.n.g.OvsGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design this network
   2018-10-30 20:01:26,377 DEBUG [o.a.c.n.g.SspGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) SSP 
not configured to be active
   2018-10-30 20:01:26,379 DEBUG [c.c.n.g.BrocadeVcsGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design this network
   2018-10-30 20:01:26,382 DEBUG [c.c.n.g.NuageVspGuestNetworkGuru] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Refusing to design network using network offering 16 on physical network 200
   2018-10-30 20:01:26,384 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Releasing lock for 
Acct[fc93ac67-21fc-47db-9611-760b48c6668f-PrjAcct-tenant-531-1]
   2018-10-30 20:01:26,388 DEBUG [c.c.u.d.T.Transaction] 
(qtp895947612-417:ctx-3dbb5c36 ctx-45e3659a ctx-d6368d16) (logid:9755ae2f) 
Rolling back the transaction: Time = 39 Name =  qtp895947612-417; called by 
-TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-Transaction.execute:43-Transaction.execute:47-NetworOrchestrator.createGuestNetwork:2308-NetworkServiceImpl$4.doInTransaction:1383-NetworkServiceImpl$4.doInTransaction:1331-Transaction.execute:40-NetworkServiceImpl.commitNetwork:1331-NetworkServiceImpl.createGuestNetwork:1294-NativeMethodAccessorImpl.invoke0:-2
   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:715)
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransaction(NetworkOrchestrator.java:2357)
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransaction(NetworkOrchestrator.java:2308)
        at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.createGuestNetwork(NetworkOrchestrator.java:2308)
        at 
com.cloud.network.NetworkServiceImpl$4.doInTransaction(NetworkServiceImpl.java:1383)
        at 
com.cloud.network.NetworkServiceImpl$4.doInTransaction(NetworkServiceImpl.java:1331)
        at 
com.cloud.network.NetworkServiceImpl.commitNetwork(NetworkServiceImpl.java:1331)
        at 
com.cloud.network.NetworkServiceImpl.createGuestNetwork(NetworkServiceImpl.java:1294)
        at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
        at com.sun.proxy.$Proxy231.createGuestNetwork(Unknown Source)
   
   I know since 4.10, L2 networks should provide equivalent functionality but 
still the other way should still work. 
   
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to