Skip to content

Error message on deployment trigger error is unclear #3311

Closed

Description

@smarterclayton

The real problem appears to be: "we can't deploy from nodejs-ex because there is no ":latest" tag". The message we log as an error and the message we should to users should be clear.


https://app.getsentry.com/red-hat/openshift-3-stg/group/69146265/

*errors.errorString: couldn't create initial Deployment for DeploymentConfig summit-test-project/summit-test-project/nodejs-ex:0: DeploymentConfig "nodejs-ex" is invalid: triggers[0].imageChange.tag: invalid value 'latest': no image recorded for summit-test-project/nodejs-ex:latest
  File "/builddir/build/BUILD/openshift-git-26.701be15/_build/src/github.com/openshift/origin/pkg/cmd/util/serviceability/sentry.go", line 57, in CaptureError
  File "/builddir/build/BUILD/openshift-git-26.701be15/_build/src/github.com/openshift/origin/pkg/cmd/util/serviceability/panic.go", line 28, in CaptureError.fm
  File "/builddir/build/BUILD/openshift-git-26.701be15/_thirdpartyhacks/src/github.com/GoogleCloudPlatform/kubernetes/pkg/util/util.go", line 82, in HandleError
  File "/builddir/build/BUILD/openshift-git-26.701be15/_build/src/github.com/openshift/origin/pkg/deploy/controller/configchange/factory.go", line 68, in func.007
  File "/builddir/build/BUILD/openshift-git-26.701be15/_build/src/github.com/openshift/origin/pkg/controller/controller.go", line 131, in Retry
...
(6 additional frame(s) were not displayed)

Activity

  1. added
    kind/bug
    on Jul 20, 2015
  2. ironcladlou commented on Oct 1, 2015

    @ironcladlou
    Contributor

    This issue should maybe just be a comment on #3526

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/usabilitycomponent/appskind/bugpriority/P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions