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 [email protected] or file a JIRA ticket
with INFRA.
---