-
Notifications
You must be signed in to change notification settings - Fork 49
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
dellemc.OS10 version 1.2.0 has an old netcommon version as a dependency #147
Comments
I am going back to 1.1.1, as 1.2.0 has broken a number of very basic functionalities. If anyone else runs into this issue, the fix is to add the following parameter: |
Hi @irgama, Pls can you install the latest OS10 collection 1.2.2. |
Pls find the enclosed logs/details for the details:
|
Hi @irgama, Pls can you share/provide the execution steps, where you have observed the below one as you mentioned above. if you share the execution logs, it will be easy to reproduce. The below line i have copy pasted here: |
@prasadapr He is saying in collection ansible.netcommon v3.0.0+ they have defaulted to using ansible-pylibssh. It's an improvement over paramiko in many ways, see here: https://www.ansible.com/blog/whats-new-network-automation-with-ansible.netcommon-3.0.0 Also on this older 2.6.0 version I am constantly getting the following error after every task using os10_config: This is using the v1.2.2 of the collection and ansible core 2.15.5 |
Hi @lucastobey, thanks for your update. From your update, observed two things: 1. regarding the ansible.netcommon version we can update ansible.netcommon version in the galaxy.com, that's fine. 2. Regarding older 2.6.0 version I am constantly getting the following error after every task using os10_config" I have executed the playbook with os10_config and not observed any issue. I am not observed any warning message what you have mentioned.
|
@prasadapr There must be a bug in the network_cli which is part of ansible.netcommon in the older version which is causing my issue as I don't have this warning when using newer versions of netcommon. |
Hi @lucastobey, still i am not getting how they are getting the issue. if we know the steps to reproduce the issue, we can try to fix the issue. same configuration we are using and not getting the issue.
Pls can you help me how to reproduce this issue |
@prasadapr can't say. I'm sure there's a bug in the netcommon collection version that's required today by this dellemc collection. I did a bit of searching and found a few issues in netcommon that potentially point to it, but didn't look into them in great detail. Not sure what's different about my setup vs yours and why I get the warning with network_cli. I do know an upgrade to the netcommon collection fixes the issue which is one of the reasons I suggest to consider upgrading it (alongside the original reasons of @irgama). |
I also came across this and is breaking installs when you add packages that require netcommon versions higher than 3. |
Hi @irgama,
|
Hi @irgama / @lucastobey, issue got addressed. so shall we close this Issue. |
Yes
…On Thu, Jan 25, 2024, 4:08 AM prasadapr ***@***.***> wrote:
Hi @irgama <https://github.com/irgama> / @lucastobey
<https://github.com/lucastobey>, issue got addressed. so shall we close
this Issue.
—
Reply to this email directly, view it on GitHub
<#147 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFM6H2ZI72JMYJ5I5T7DSDYQIOJXAVCNFSM6AAAAAA33LVZGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZG4YDQNJTGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @irgama / @lucastobey, Thanks for the confirmation. so closing this issue. |
SUMMARY
When installing 1.2.0 of this collection, it downloads netcommon 2.6.1 as a dependency. The latest version of netcommon is 4.6.1, which version 1.1.1 would grab as a dependency.
This needs to be changed:
dependencies:
ansible.netcommon: '>=2.0.0,<3.0.0'
ISSUE TYPE
COMPONENT NAME
galaxy.yaml for the collection
ANSIBLE VERSION
ansible [core 2.14.4]
config file = /var/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.9/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.9.16 (main, Mar 29 2023, 03:56:49) [GCC 8.5.0 20210514 (Red Hat 8.5.0-16)] (/usr/local/bin/python3.9)
jinja version = 3.1.2
libyaml = True
COLLECTION VERSION
1.2.0
OS / ENVIRONMENT
UBI8, configuring Dell OS10 10.5.5
STEPS TO REPRODUCE
ansible-galaxy collection install dellemc.os10
EXPECTED RESULTS
ansible.netcommon 4.1.0
ACTUAL RESULTS
ansible.netcommon 2.6.1
The text was updated successfully, but these errors were encountered: