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
gather_facts action plugin: Fix loading network facts modules for smart gathering #59856
gather_facts action plugin: Fix loading network facts modules for smart gathering #59856
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.
I would add a changelog since this would need backporting
also some test cases so this does not break in the future
@trishnaguha is this ready to merge? |
As beta1 is being released now, all future merges need to have changelog entries to tell users of pre-releases what has changed since beta1. This appears to be an approved bugfix which is eligible to be merged before rc1 but it does need to have the changelog added. |
d1fe9d6
to
551a5a5
Compare
551a5a5
to
5022437
Compare
@bcoca Will you please review the PR? We need this in 2.9. |
@bcoca bcoca says he's given a review of this via slack. So this is now waiting on changes from @trishnaguha |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5022437
to
e041b71
Compare
The PR now addresses the review comment. |
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
…rt gathering (ansible#59856) * fix smart gathering for network_os in gather_facts action plugin Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Fix detection of network_os for smart gathering Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add unittest Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * make pep8 happy Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 5cd3be9)
…rt gathering (ansible#59856) * fix smart gathering for network_os in gather_facts action plugin Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Fix detection of network_os for smart gathering Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add unittest Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * make pep8 happy Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 5cd3be9)
…rt gathering (#59856) * fix smart gathering for network_os in gather_facts action plugin Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Fix detection of network_os for smart gathering Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add unittest Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * make pep8 happy Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 5cd3be9)
…rt gathering (ansible#59856) * fix smart gathering for network_os in gather_facts action plugin Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Fix detection of network_os for smart gathering Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Add unittest Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * make pep8 happy Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
SUMMARY
Fix loading network facts modules for smart gathering.
Currently the connection plugin is loaded but not the network_os which is why the <network_os>_facts module is not invoked.
ISSUE TYPE
COMPONENT NAME
plugins/action/gather_facts.py