weizhouapache commented on issue #4454:
URL: https://github.com/apache/cloudstack/issues/4454#issuecomment-1370965167

   I have tried with latest main branch, the behaviour is same
   ```
   (localcloud) 🐱 > create loadbalancerrule 
publicipid=57128f09-d932-4352-9a58-a7042fbe36b0 protocol=tcp publicport=8080 
privateport=8080 algorithm=roundrobin name=test
   🙈 Error: (HTTP 431, error code 9999) IP address ID=4 is not associated with 
any network
   ```
   
   ```
   (localcloud) 🐱 > create portforwardingrule 
ipaddressid=57128f09-d932-4352-9a58-a7042fbe36b0 publicendport=8080 
publicport=8080 privateport=8080 privateendport=8080 protocol=TCP 
virtualmachineid=cdda585f-f38b-4348-8d18-cae3d34979ff 
   🙈 Error: (HTTP 431, error code 4350) Unable to create port forwarding rule 
for the ipAddress id=4 as ip is not associated with any network and no 
networkId is passed in
   ```
   
   The public ip must be assocaited to a network (or vpc tier) before creating 
a LB rule or port forwarding rule.
   However, the Source Nat IP is associated to the whole VPC, not a specified 
vpc tier.
   
   It looks like a big change, let's move to 4.19.0.0


-- 
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