-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: fix enable/disable static nat if userdata is not supported #5839
server: fix enable/disable static nat if userdata is not supported #5839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes LGTM
@blueorangutan package |
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm, do we have a reason for this regression?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM
the exception is thrown at
removing the lines might also fix the issue. but it has large impact. |
I would agree @weizhouapache, I approve of this change and intuitively it is the best solution but still have some questions;
It looks like it was introduced by 9c6b02f. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2128 |
@DaanHoogland you might have also noticed that there are already check below in code
if element cannot be found, then do not apply userdata. but the exception is thrown in Dao (I think it is not a good idea) I have no idea if there are other issues caused by the code in Dao I pasted above. |
I get it @weizhouapache , as discussed of line |
@DaanHoogland thanks. Renamed the method as per your comment. |
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2130 |
@blueorangutan test |
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM
server/src/main/java/com/cloud/network/rules/RulesManagerImpl.java
Outdated
Show resolved
Hide resolved
…java Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
Trillian test result (tid-2823) |
@blueorangutan package |
@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✖️ el7 ✔️ el8 ✖️ debian ✖️ suse15. SL-JID 2137 |
@blueorangutan package |
1 similar comment
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2159 |
@blueorangutan test |
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian test result (tid-2844)
|
Description
This PR fixes #5824
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?