Mac OS X: (docker? git?) credentials and keychain failure
See original GitHub issueI run forge deploy of the todo app against an empty cluster. Not all of my services deploy. I repeat forge deploy. More services deploy. I run it again. Finally, all my services deploy.
The error messages I get from the first run are below (I get them in the second run as well, but not in the final run).
MacBook-Pro-23:todo richard$ forge deploy
forge: 3 child task(s) errored
scan: /Users/richard/dw/todo -> api, auth, todo-db, prometheus, search, tasks
dependencies: api, auth, todo-db, prometheus, search, tasks ->
service: api -> 1 child task(s) errored
build: api:052c07191e618f06ef20b8dc743c9377527c3883.ephemeral -> 1 child task(s) errored
push: 1 child task(s) errored
push: api 052c07191e618f06ef20b8dc743c9377527c3883.ephemeral -> 1 child task(s) errored
CMD: command failed[1]: Error saving credentials: error storing credentials - err: exit status 1, out: `The specified item already exists in the keychai
n.`
service: auth -> 1 child task(s) errored
build: auth:2acf652dd67fc2396d5961298e8de6e3ca5cadc8.git -> 1 child task(s) errored
push: 1 child task(s) errored
push: auth 2acf652dd67fc2396d5961298e8de6e3ca5cadc8.git -> 1 child task(s) errored
CMD: command failed[1]: Error saving credentials: error storing credentials - err: exit status 1, out: `The specified item already exists in the keychai
n.`
service: todo-db
build: manifests /Users/richard/dw/todo/work/k8s/todo-db
deploy: kubectl apply -f /Users/richard/dw/todo/work/k8s/todo-db -> OK
storageclass "fast" created
service "todo-db" created
statefulset "todo-db" created
service: prometheus
build: pushed registry.hub.docker.com/richarddli/prometheus:2acf652dd67fc2396d5961298e8de6e3ca5cadc8.git
manifests /Users/richard/dw/todo/work/k8s/prometheus
deploy: kubectl apply -f /Users/richard/dw/todo/work/k8s/prometheus -> OK
service "prometheus" created
deployment "prometheus" created
configmap "prometheus-config" created
service: search
build: manifests /Users/richard/dw/todo/work/k8s/search
deploy: kubectl apply -f /Users/richard/dw/todo/work/k8s/search -> OK
service "search" created
deployment "search" created
service: tasks -> 1 child task(s) errored
build: tasks:2acf652dd67fc2396d5961298e8de6e3ca5cadc8.git -> 1 child task(s) errored
push: 1 child task(s) errored
push: tasks 2acf652dd67fc2396d5961298e8de6e3ca5cadc8.git -> 1 child task(s) errored
CMD: command failed[1]: Error saving credentials: error storing credentials - err: exit status 1, out: `The specified item already exists in the keychai
n.`
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Install GitLab Runner on macOS
This tells Git to cache user credentials in the keychain, which may not be what you want and can cause fetches to hang....
Read more >error storing credentials - err: exit status 1, out: `User ...
This occurs when using either my Docker Hub login or when trying to use my Amazon ECR credentials. Both logins work perfectly from...
Read more >docker-credential-desktop not installed or not available in PATH
This worked for me on CentOS7. My error was docker.credentials.errors.InitializationError: docker-credential-pass not installed or not available ...
Read more >docker-credential-helpers - Google Git
docker -credential-helpers is a suite of programs to use native stores to keep ... osxkeychain: Provides a helper to use the OS X...
Read more >Using Docker Image Registries - CloudBees Documentation
Docker Credentials On Mac OSX. If you are using Apple macOS, the newer versions of Docker have changed to store credentials in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m really not a fan of the idea of using a different Docker config file than the one used by default. It means I now need to maintain the logins to registries for Forge as well as when I am doing out of band Forge work involving push/pull from authorized or private registries.
MacOS Version 17.09.0-ce-mac35 (19611)
Docker login failed every time with “Securely store docker logins in macOS keychain”
error getting credentials - err: exit status 1, out:
The user name or passphrase you entered is not correct.`I turned the setting off and it worked as expected.
This setting is hell.