You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Describe the bug
When running Appsody on OpenShift and setting APPSODY_K8S_EXPERIMENTAL, init fails due to Unable to split output of buildah digests command To Reproduce
Steps to reproduce the behavior:
Create an image containing Buildah and Appsody.
Deploy it on OpenShift.
Set APPSODY_K8S_EXPERIMENTAL=TRUE
Run appsody init experimental/vertx.
Expected behavior
Init succeeds.
Actual behaviour
Init fails:
[Info] Successfully initialized Appsody project with the bug/vertx stack and the default template.
[Debug] docker.io/appsody/vertx:0.1 image pulled status: true
[Debug] Image has been pulled already: docker.io/appsody/vertx:0.1
[Debug] Config inspected by buildah: &{0xc0000d0700 false true 0xc0000b2a00 true 0xc00001e300 /opt/code-engine/generated-code/bug [] true map[docker.io/appsody/vertx:0.1:true] map[APPSODY_DEBUG:mvn -B compile vertx:debug APPSODY_DEBUG_KILL:false APPSODY_DEBUG_ON_CHANGE: APPSODY_DEPS: APPSODY_MOUNTS:.:/project/user-app/;~/.m2/repository:/.m2/repository APPSODY_RUN:mvn -B compile vertx:run APPSODY_RUN_KILL:false APPSODY_RUN_ON_CHANGE: APPSODY_TEST:mvn -B test APPSODY_TEST_KILL:true APPSODY_TEST_ON_CHANGE:mvn -B test APPSODY_USER_RUN_AS_LOCAL:true JAVA_HOME:/opt/java/openjdk JAVA_TOOL_OPTIONS:-XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle JAVA_VERSION:jdk8u222-b10_openj9-0.15.1 LANG:en_US.UTF-8 LANGUAGE:en_US:en LC_ALL:en_US.UTF-8 PATH:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PORT:8080]}
[Debug] Running command: buildah images --digests --filter "label=dev.appsody.stack.id=" --format "{{.Digest}}---{{.Name}}---{{.Tag}}"
[Warning] Unable to split output of buildah digests command
Unable to split output of buildah digests command
github.com/appsody/appsody/cmd.getBuildahDigest
/home/travis/gopath/src/github.com/appsody/appsody/cmd/utils.go:1117
github.com/appsody/appsody/cmd.getStackLabels
/home/travis/gopath/src/github.com/appsody/appsody/cmd/utils.go:1081
github.com/appsody/appsody/cmd.GetDeprecated
/home/travis/gopath/src/github.com/appsody/appsody/cmd/utils.go:533
github.com/appsody/appsody/cmd.initAppsody
/home/travis/gopath/src/github.com/appsody/appsody/cmd/init.go:324
github.com/appsody/appsody/cmd.newInitCmd.func1
/home/travis/gopath/src/github.com/appsody/appsody/cmd/init.go:85
github.com/appsody/appsody/vendor/github.com/spf13/cobra.(*Command).execute
/home/travis/gopath/src/github.com/appsody/appsody/vendor/github.com/spf13/cobra/command.go:762
github.com/appsody/appsody/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/home/travis/gopath/src/github.com/appsody/appsody/vendor/github.com/spf13/cobra/command.go:852
github.com/appsody/appsody/vendor/github.com/spf13/cobra.(*Command).Execute
/home/travis/gopath/src/github.com/appsody/appsody/vendor/github.com/spf13/cobra/command.go:800
github.com/appsody/appsody/cmd.ExecuteE
/home/travis/gopath/src/github.com/appsody/appsody/cmd/root.go:240
github.com/appsody/appsody/cmd.Execute
/home/travis/gopath/src/github.com/appsody/appsody/cmd/root.go:226
main.main
/home/travis/gopath/src/github.com/appsody/appsody/main.go:27
runtime.main
/home/travis/.gimme/versions/go1.12.17.linux.amd64/src/runtime/proc.go:200
runtime.goexit
/home/travis/.gimme/versions/go1.12.17.linux.amd64/src/runtime/asm_amd64.s:1337
If I run buildah images --digests --filter "label=dev.appsody.stack.id=" --format "{{.Digest}}---{{.Name}}---{{.Tag}}"
I get no output. Looks like the image is just missing the label.
Environment Details (please complete the following information):
OS: OpenShift 4.4
CLI version: 0.6.4
Stack you are using (including the version): vertx 0.1.4
Additional context
Note #853 occurs prior to this problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running Appsody on OpenShift and setting APPSODY_K8S_EXPERIMENTAL, init fails due to
Unable to split output of buildah digests command
To Reproduce
Steps to reproduce the behavior:
appsody init experimental/vertx
.Expected behavior
Init succeeds.
Actual behaviour
Init fails:
If I run
buildah images --digests --filter "label=dev.appsody.stack.id=" --format "{{.Digest}}---{{.Name}}---{{.Tag}}"
I get no output. Looks like the image is just missing the label.
Environment Details (please complete the following information):
Additional context
Note #853 occurs prior to this problem.
The text was updated successfully, but these errors were encountered: