Skip to content
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

az acr login fails with DBus.Error.UnknownMethod #19759

Closed
robin-wayve opened this issue Oct 1, 2021 · 9 comments
Closed

az acr login fails with DBus.Error.UnknownMethod #19759

robin-wayve opened this issue Oct 1, 2021 · 9 comments
Assignees
Labels
Container Registry az acr customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@robin-wayve
Copy link

Describe the bug

az acr login fails on one of our servers, while succeeding on another server of ours with a near-identical setup.

Command Name
az acr login

Errors:

** Message: 15:16:10.503: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
Error saving credentials: error storing credentials - err: exit status 1, out: `No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login`
Login failed.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az acr login -n {}

Expected Behavior

Login Succeeded

Environment Summary

Linux-5.4.0-81-generic-x86_64-with-debian-buster-sid, Ubuntu 18.04.6 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.28.0

Additional Context

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Oct 1, 2021
@robin-wayve
Copy link
Author

I think installing the pass package seems to have worked around the problem but I have no idea why? 😄

@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Oct 1, 2021
@yonzhan yonzhan added Service Attention This issue is responsible by Azure service team. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 1, 2021
@ghost
Copy link

ghost commented Oct 1, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @toddysm, @luisdlp, @northtyphoon.

Issue Details

Describe the bug

az acr login fails on one of our servers, while succeeding on another server of ours with a near-identical setup.

Command Name
az acr login

Errors:

** Message: 15:16:10.503: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
Error saving credentials: error storing credentials - err: exit status 1, out: `No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login`
Login failed.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • az acr login -n {}

Expected Behavior

Login Succeeded

Environment Summary

Linux-5.4.0-81-generic-x86_64-with-debian-buster-sid, Ubuntu 18.04.6 LTS
Python 3.6.10
Installer: DEB

azure-cli 2.28.0

Additional Context

Author: robin-wayve
Assignees: -
Labels:

Service Attention, Container Registry, customer-reported

Milestone: -

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 1, 2021

route to service team

@xiadu94
Copy link
Contributor

xiadu94 commented Oct 28, 2021

I think this is similar to docker/cli#1136

@navba-MSFT
Copy link
Contributor

@robin-wayve Apologies for the late reply. Could you please refer this article and this github thread and check if that helps? Also this github thread has been inactive for quite sometime. Could you confirm if you still need assistance on this? Awaiting your reply.

@navba-MSFT navba-MSFT added the needs-author-feedback More information is needed from author to address the issue. label Feb 2, 2022
@robin-wayve
Copy link
Author

As I mentioned before, I worked around this by installing pass (with sudo apt install pass on Ubuntu 18.04) -- I didn't look into exactly why that solved the issue.

I left this open in case this dependency problem relates directly to Azure CLI: the documentation does not mention needing to install any other packages in order for Azure CLI to work so I wasn't sure where the problem lies.

@ghost ghost added needs-team-attention This issue needs attention from Azure service team or SDK team and removed needs-author-feedback More information is needed from author to address the issue. labels Feb 2, 2022
@navba-MSFT
Copy link
Contributor

@robin-wayve Thanks for your reply. We will get back to you once we have more details.
@toddysm @luisdlp @northtyphoon Could you please look into this issue and provide an update on this thread ?

@Wwwsylvia
Copy link
Contributor

Hi @robin-wayve , thanks for the feedback. az acr login internally calls docker login, so this error was probably thrown by docker.
Can you compare the docker version on the machine where this issue happened and the another machine?

@navba-MSFT navba-MSFT added needs-author-feedback More information is needed from author to address the issue. and removed needs-team-attention This issue needs attention from Azure service team or SDK team labels Feb 23, 2022
@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label Mar 2, 2022
@ghost
Copy link

ghost commented Mar 2, 2022

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

@navba-MSFT navba-MSFT self-assigned this Mar 11, 2022
@ghost ghost removed the no-recent-activity There has been no recent activity on this issue. label Mar 11, 2022
@navba-MSFT navba-MSFT added the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Registry az acr customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-author-feedback More information is needed from author to address the issue. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

5 participants