-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Do domain resolution for portal #461
Do domain resolution for portal #461
Conversation
The test
|
ffc3f5d
to
16a8d5d
Compare
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.
please add a changelog fragment https://docs.ansible.com/ansible/devel/community/development_process.html#changelogs-how-to
does the pr change the
e.g. |
iscsiadm support domain resolution (ex: iscsiadm -m discovery -t sendtargets -p iscsi.chiehmin.com). However, open_iscsi module will try to match the portal with discovered results which will never matched cause the discovered results use IP to represent node. This patch do portal DNS resolution first to solve this situation. Signed-off-by: Chieh-Min Wang <chiehminw@synology.com>
16a8d5d
to
15ce9d2
Compare
@Andersson007 Just added a changelog fragment and updated the example. |
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
@srvg as the module's author, could you please take a look? |
I just emailed the author. Let's wait a bit. |
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.
LGTM
It has been 7 years since I wrote this. I currently have no means to test the code, but looking at the changeset, this LGTM. I assume
just returns the same ip address when portal is set to an ip? Thanks, |
shipit |
merged #461 into master |
iscsiadm support domain resolution (ex: iscsiadm -m discovery -t sendtargets -p iscsi.chiehmin.com).
However, open_iscsi module will try to match the portal with discovered results which will never
matched cause the discovered results use IP to represent node.
This patch do portal DNS resolution first to solve this situation.
Signed-off-by: Chieh-Min Wang chiehminw@synology.com
SUMMARY
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION