Comments (3)
it would allow to debug such issue as #30
from helm-2to3.
@rimusz At the moment, the plugin is quite verbose on each action it is performing. This is to make the caller aware of the command running and the operations being performed for that command. This would be expected trace for such a tool like the plugin.
Here is an example of the convert output:
$ 2to3 convert chrt-v2 --delete-v2-releases
2019/10/03 06:14:17 Release "chrt-v2" will be converted from Helm v2 to Helm v3.
2019/10/03 06:14:17 [Helm 3] Release "chrt-v2" will be created.
2019/10/03 06:14:17 [Helm 3] ReleaseVersion "chrt-v2.v1" will be created.
2019/10/03 06:14:17 [Helm 3] ReleaseVersion "chrt-v2.v1" created.
2019/10/03 06:14:17 [Helm 3] Release "chrt-v2" created.
2019/10/03 06:14:17 [Helm 2] Release "chrt-v2" will be deleted.
2019/10/03 06:14:17 [Helm 2] ReleaseVersion "chrt-v2.v1" will be deleted.
2019/10/03 06:14:17 [Helm 2] ReleaseVersion "chrt-v2.v1" deleted.
2019/10/03 06:14:17 [Helm 2] Release "chrt-v2" deleted.
2019/10/03 06:14:17 Release "chrt-v2" was converted successfully from Helm v2 to Helm v3.
Re issue #30, the plugin did its job and returned all information information to the caller that the release version already existed as follows:
$ helm3 2to3 convert -t ns1 xxx
Release "xxx" will be converted from Helm 2 to Helm 3.
[Helm 3] Release "xxx" will be created.
[Helm 3] ReleaseVersion "xxx.v1" will be created.
Error: release: already exists
Error: plugin "2to3" exited with error
The difficult with this issue was that it did not show when the use did a helm list
in the Helm v3 system. This was because the release version storage object had a clash between v2 and v3, which was because of a bug in Helm core. This required some deep troubleshooting. Debug would not have helped in this situation.
I am interested to understand where you would like the debugging on top of the tracing that plugin already shows?
from helm-2to3.
@hickeyma fair enough answer, we can close this issue then.
from helm-2to3.
Related Issues (20)
- helm chart linting HOT 4
- Add darwin/arm64 (Apple Silicon) support HOT 1
- Error: open /Users/xxx/Library/Caches/helm/repository/local-index.yaml: no such file or directory HOT 1
- Cannot migrate to helm 3 when chart contains helm-hook with job HOT 4
- Ok to delete tiller serviceaccount, clusterrolebinding and namespace HOT 1
- Modify release-versions-max after migrating cluster from 2 to 3 HOT 4
- Error installing plugin under WSL1 with Helm 3.5.4 HOT 2
- Error: RELEASE_NAME has no deployed releases HOT 2
- helm2 lists the migrated releases HOT 4
- Plugin not available for MacOS running on M1 HOT 1
- Asset for Darwin_arm64 missed in v0.10.0 HOT 1
- failed to create: Secret "sh.helm.release.v1.v54" is invalid: data: Too long: must have at most 1048576 bytes HOT 2
- invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable HOT 1
- Default behaviour of convert looks to be cleaning v2 releases when it should leave them HOT 5
- Plugin does not delete helm2 release history when using `--ignore-already-migrated` HOT 1
- Convert configmaps to original helm value yaml? HOT 3
- Select namespace of converted releases HOT 2
- Approve PR's and create release HOT 2
- Use helm3 2to3 convert error
- v0.11.0 missing release assets HOT 1
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 helm-2to3.