Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/1070#issuecomment-157655322
  
    Although it’s based on an assumption, enforced by good pattern 
recognition, what happened to @miguelaferreira  and @remibergsma was:
    
    1. the code does “delete_nat_rules()” and tries to SSH (expected 
failure). that works fine
    2. The code does “add_nat_rules()” and tries to SSH again, which should 
pass - and did all the times I tried, and I’m not lying
    
    so, what’s the problem then?
    
    the “delete_nat_rule()” method is deleting the nat_rule, as it says, 
but not deleting the public IP that was acquired. So, when the code calls the 
“add_nat_rule()” method, it acquires a new IP and adds a nat rule to that 
IP.
    
    what does it mean? that you guys got a situation where the test tried to 
SSH via the IP that doesn’t contain a NAT (PF) rule. that explain the ssh 
error.
    
    I fixed it, but first need to test before pushing.
    
    Cheers,
    Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to