Comments (5)
Sharing some input after a brief investigation I did for this issue. I'm leaning towards two potential reasons for this issue:
-
The issue might occurs once the ValidateComponents is called during the execution
ParseDevfileAndValidate
. -
As this error trace feels let's say "strange" for the functionality of
ParseDevfileAndValidate
, I'd also investigate the possibility of an issue coming from the console side.
from api.
Per Slack conversation on forum-devconsole at Aug 28, 2024; it seems to be on versions <= 4.16. Version 4.17 didnt have the issue..
from api.
4.17 has this issue as well, the difference is just that I was running Dev Console locally, so it was able to create the files without permission issues
from api.
OpenShift Console issue: https://issues.redhat.com/browse/OCPBUGS-39125
from api.
Sharing here the results of my investigation.
Originally the error trace made me think that the error could be console related. If so I'd expect that the same issue will occur in all the samples (quarkus
, python
, dotnet
, go
etc). Those samples atm are being imported without an issue.
Apart from that, the message is clear that the error occurs during the parseDevfileAndValidate
and when trying to create the docker
dir.
Having the above in mind, I've tried to investigate cases the library module needs to create a dir when this specific function is called. I can see that this happens when we're trying to flatten the parent, upon calling the parseFromRegistry which - after a few steps - calls the PullStackByMediaTypesFromRegistry.
Next, I tried to see if anything changed recently in the parent devfile. We have updated quite recently the parent devfile in order to remove the odo-devfiles
org from the registry stacks (see here).
In order to confirm that this is the case I've deployed a registry (minikube + ngrok) with the java-springboot/1.2.0
(the parent version used by the java-springboot-sample
) using the old starterproject (e.g. https://github.com/odo-devfiles/springboot-ex). This fixed the issue and I was able to import the sample. That said I've opened a PR to quickly revert this update so it can fix the error on the console side.
As it's not yet clear (at least to me) why this occurs on the library side (e.g. why a stack cannot use a sample for its starter project), I've opened #1633 to investigate further.
Regarding the update of the starterprojects
fields of the affected stacks (the ones using the devfile-sample-java-springboot
) I've opened #1634.
from api.
Related Issues (20)
- Update lastModified For Stacks/Samples Without Versions HOT 3
- Implement Multi Arch Support For Devfile Repositories
- [Spike] Investigate documentation updates for pod - container overrides
- Community Registry Showing Default Date for lastModified
- Error logged with Quarkus stacks related to telemetry usage HOT 1
- Error logged with Quarkus stacks related to LogManager
- Update `odo` to `v3.16.1`
- Add DCO to docker plugin repo
- Bump up `github.com/docker/docker` to `v25.0.6` version. HOT 4
- Release `devfile/api` new `v2.3.1` version HOT 1
- [Spike] Investigate root-component based language weights for alizer analyze command
- Update CodeQL GitHub Action to v3
- Calculate and publish alizer binary sha256 checksums when releasing
- Upgrade devfile registry operator to use operator SDK v1.36.0
- Implement security policy for `devfile/api` HOT 2
- Devfile-api
- Investigate registry nightly run failures for ollama stack HOT 1
- [Spike] Investigate Console failure when samples are used as starter project HOT 2
- Migrate `odo-devfiles/springboot-ex` to `devfile-samples` org
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 api.