-
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
Unable to retrieve current config on some os10 switches #130
Comments
Thanks @zerwes for the hint. I kinda forgot about this issue as I don't work for the same company anymore. Will try to let my former co-workers know about your suggested solution. They might however have switched to another product for backing up the configs by now. So I am not sure if they will test this solution. Thus I don't really know how to proceed with this bug report. In my opinion it could be closed but I am not sure if the underlying issue is actually resolved with the suggested resolution as I can no longer test it myself lacking access to dell switches. |
Lucky you :-) I do not appreciate the switches nor the collection ... but I have to deal with it. Happy new year |
Happy new year to you too, thanks! Just heard back from my former co-workers and they indeed switched to another solution for fetching config backups. I therefore close this issue. Sorry for not doing so earlier. |
Hi, we have several os10 switches as well as some os6 and some os9 ones. With my role and playbook I am able to download the config of all os6 and os9 switches but only some os10 switches. All of the os10 ones are the S4148F-ON model.
Works with:
Does not work with:
Does also not work with:
We use the following Ansible and Python versions:
We have a defaults file in the role with the following vars. I also unsuccessfully tried setting the ansible_become var to "no" as it is not necessary to type enable when showing the running-config directly on the switch after logging in with SSH.
The tasks file in the roles looks basically the same for all types of switches but of course using the relevant modules. Only showing the task for the os10 ones here. I have other tasks to create the necessary folders to store the config and they work fine so are omitted here
In the inventory file all the switches have the ansible_host and dell_os_version vars like so:
The playbook is rather simple:
The playbook is executed with this command:
I already tried increasing the ansible_timeout to 90 seconds. And setting ansible_python_interpreter to the also installed python3.6.
Also setting some environment vars that I found while researching about this issue:
Finally the error message I get when running with -vvv and limiting to one switch is:
Unfortunately I don't understand what the issue is. Especially since it only works on those with the middle version. That means it works on OS 10.5.2.0 but not on the older 10.5.0.4 and neither on the newer 10.5.2.3. I therefore have my doubts that the OS version is the culprit as DELL would have fixed an issue and then broke it again only three minor (or however the 4th number is called) updates later.
Then again my ansible stuff should also not be at fault as it works fine with some os10 switches as well as all our os6 and os9 switches.
Would be really glad if somebody had any suggestions on what else I could try. Of course I can supply more information in case I missed anything.
Thanks in advance for having a look at this issue and best regards, cyrilstoll
The text was updated successfully, but these errors were encountered: