winterhazel commented on issue #10687:
URL: https://github.com/apache/cloudstack/issues/10687#issuecomment-2824796736

   @DaanHoogland @sureshanaparti just making sure:
   
   - are you two checking the table `cloud.usage_event`, and not `cloud.event`? 
A `NETWORK.CREATE` is inserted on `cloud.event` when the network is created, 
but not on `cloud.usage_event`
   - you are only creating (allocating) the network, and not implementing it 
(its state is `Allocated`)
   
   I tested this multiple times on both the 4.19.2.0 and 4.20.0.0 releases, but 
nothing is inserted on `cloud.usage_event` after creating the network. 
   
   Also, the only place I found `NETWORK.CREATE` being inserted on 
`cloud.usage_event` are these two lines, which are after the network is 
implemented:
   
   
https://github.com/apache/cloudstack/blob/431e4f9e1ddb7002cffc01cdf7cbdcc99fda88cf/server/src/main/java/com/cloud/network/NetworkServiceImpl.java#L2011
   
   
https://github.com/apache/cloudstack/blob/431e4f9e1ddb7002cffc01cdf7cbdcc99fda88cf/engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java#L1526
   
   If you could confirm these and provide me where the event is being inserted 
on `cloud.usage_event` (if that's the case) it would be great.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to