-
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
Error when installing packages with snap after update to 8.1.0 #6803
Comments
Files identified in the description: If these files are incorrect, please update the |
hi @maciejkra thanks for reporting this issue. I assume the OSX 13.4.1 you reported is the OS on the controller node. Could you please confirm what the OS is on the target node? TIA |
Oh sorry it was my mistake. |
I ran that same input on my local vagrant setup and could not reproduce the error - microk8s and kubectl were installed without issues. Will have to investigate further. |
What I'm seeing so far is:
So that leads me to believe that the parsing is the problem. I still don't know why the output in my test is more terse than yours. Any thing you could think of? Anyways, it's late here at GMT+12, I'll resume this tomorrow. |
Hi, |
Good morning from the other side.
Could you please compare this output with yours and let us know the differences? TIA In the mean while, I continue to try and find out why snap here produces a different output from snap there. |
@maciejkra do you have anything configured in |
Hi, the OS ia am testing this on is a standard VM from Digital Ocean. Sorry I was testing it on 22.10 not 22.04. Bellow is the configuration output:
Answering your question no dictionary in /etc/snap |
Hi @maciejkra I am tailoring an unit test to reproduce that situation, and based on the outputs provided (thank you!) we have managed to reproduce the error in unit testing. I still find it odd that we fail to reproduce that in the local VMs though. I have ran it with Ubuntu 22.04 and 22.10, the vagrant images used were:
In your tests, the output is consistent with the output we get when running |
Summary
When trying to update install packages via snap module after upgrade to ansible 8.1.0 the task fails. Although they are properly installed.
Rolling back to the previous version (7.x) solves the issue.
Issue Type
Bug Report
Component Name
snap
Ansible Version
Community.general Version
empty
Configuration
OS / Environment
Os X 13.4.1 (22F82)
Steps to Reproduce
Expected Results
installed microk8s and kubectl without errors
Actual Results
https://gist.github.com/maciejkra/51d283c5b066a231fe38d6ad0aa02407
Code of Conduct
The text was updated successfully, but these errors were encountered: