weizhouapache opened a new issue, #8313:
URL: https://github.com/apache/cloudstack/issues/8313

   Steps to reproduce the issue
   - create a vpn, a tier and a vm
   - acquire a public IP
   - create port forwarding rule to the vm
   - create load balancer rule via cmk/cloudmonkey
   
   Expected:
   all good
   
   Actual result:
   ```
   (localcloud) 🐱 > create loadbalancerrule 
publicipid=712e9718-7ca7-4866-a930-516919098201 publicport=80 privateport=80 
algorithm=roundrobin name=http
   🙈 Error: (HTTP 530, error code 4250) Failed to create load balancer rule: 
http
   ```
   the error logs show
   ```
   2023-12-06 11:04:11,098 WARN  [c.c.n.l.LoadBalancingRulesManagerImpl] 
(qtp249034932-13:ctx-a267cf2c ctx-045bb55f ctx-fcc51a3c) (logid:e9fde666) 
Failed to create load balancer due to
   java.security.InvalidParameterException: The IP 10.0.53.125 is already used 
as PortForwarding rather than Lb
           at 
com.cloud.network.NetworkModelImpl.canIpUsedForNonConserveService(NetworkModelImpl.java:422)
           at 
com.cloud.network.NetworkModelImpl.checkIpForService(NetworkModelImpl.java:1621)
   ```
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.18/4.19
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to