Skip to content

Transient deployment trigger errors should be reported via status fields in API #3526

@ironcladlou

Description

@ironcladlou

Sometimes the ConfigChange trigger fires but does nothing because image stream tags defined on the ImageChange trigger aren't yet available. #3492 describes why the events we currently generate should be removed. This condition isn't really an error that should be logged or reported via events; instead, it's is a reason for a state that the trigger (or possibly the DC itself) is currently in. Some ways this could be represented:

  1. The ConfigChange trigger has a status and a message indicating that it's not currently incrementing the new deployment version because image tags aren't yet available
  2. The DeploymentConfig status has some message indicating that its ConfigChange trigger is currently ineffective due to the lack of image tag availability

Essentially, the user needs to know why deployment triggers they've defined aren't having an expected effect. The case where image tags are triggered on but not yet populated on image streams appears to be very common, so we should report them in a more clear and useful way.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions