Comments (8)
#3 is related to user feedback of image actions as well
from zarf.
Is there a specific reason why being unable to pull the image only a warning? After logging the warning I don't see anything that looks like attempted error recovery. If we do a fatal
log instead of warn
it will be more immediately obvious what broke.
from zarf.
The fatal isn’t the issue here, this is crashing within crane not our code, we need a cleaner way to instrument crane or just replace it.
from zarf.
I think I must be missing something then. It looks to me like crane is crashing because the imageMap
gets populated with a nil pointer if we're unable to pull the image from crane.Pull
.
If the goal is improving the error message, I think logging a fatal message there would make sense.
from zarf.
Tbh I haven’t debugged this myself yet, but believe that if either 1. The registry is down or 2. The user doesn’t have creds for that registry. But both of those conditions aren’t directly sent to crane by zarf, crane is reading those states on its own.
from zarf.
@jeff-mccoy @YrrepNoj do you know what this looks like now in #237? I can go test it myself of course, just wanted to see if you already knew whether this is still an issue or is mostly resolved in #237
from zarf.
I actually don't recall sorry
from zarf.
I think this can be closed. The current design of the CLI gives generic errors across the board for failures that are much cleaner, but to get more details you can run with debug or trace. This was introduced in #237. I think we can discuss changing that broader approach in another issue if it is warranted.
from zarf.
Related Issues (20)
- test: add a benchmark test for image pulls HOT 2
- Image Index Sha
- docs: update style guide
- Zarf "contributor guide" sends to a 404 page.
- When publishing a package from a tarball the resulting oci image is tagged incorrectly HOT 1
- refactor: evaluate using safe Golang libraries HOT 1
- add OWNERS.md
- Zarf's cleanup-on-failure logic can cause unintended deletion of applications during failed upgrades
- Override agent registry path HOT 4
- Zarf does not remove the zarf mutatingwebhookconfigurations when destroying HOT 1
- Importing BigBang component does not allow overriding of BigBang version
- Ability to Specify templateRegex in ReplaceTextTemplate HOT 1
- Incorrect custom git credentials results in persistent account lockout HOT 1
- Lost access to setVariableMap
- E2E test happy path HOT 1
- Add a flag to list images to the zarf package inspect command
- Recreation of binaries on file changes in make file
- Run `zarf dev lint` on create and deploy
- ZARF removes namespace labels pertaining to pod security when using --adopt-existing-resources HOT 1
- Zarf Cache Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zarf.