Skip to content

Deleting a build pod does not seem to be detected by the build controller #1646

Closed

Description

@smarterclayton

No new pod was created within a few minutes, nor was the build marked failed.

Scenario:

  1. Start openshift with --images="openshift/origin-${component}:non-existent-tag"
  2. Start a build
  3. The build and build pod stays in pending forever (no such image origin-sit-build:non-existent-tag)
  4. Delete the build pod

Observe:

  1. Build pod is not recreated
  2. Build is not marked failed (stays in pending).

Activity

  1. added this to the 0.5.0 (beta3) milestone on Apr 8, 2015
  2. bparees commented on Apr 8, 2015

    @bparees
    Contributor

    We can't get events for deleted things, right? so we have to handle this via reconciliation?

  3. bparees commented on Apr 8, 2015

    @bparees
    Contributor

    btw I assume #3 is expected behavior? so the expected behavior is that either we should recreate the build pod, or fail the build.

  4. smarterclayton commented on Apr 8, 2015

    @smarterclayton
    ContributorAuthor

    Can't guarantee you get the event in all cases, correct.

    ----- Original Message -----

    We can't get events for deleted things, right? so we have to handle this via
    reconciliation?


    Reply to this email directly or view it on GitHub:
    #1646 (comment)

  5. smarterclayton commented on Apr 8, 2015

    @smarterclayton
    ContributorAuthor

    Probably fail the build.

  6. modified the milestones: 0.6.0, 0.5.0 (beta3) on Apr 20, 2015
  7. soltysh commented on Apr 21, 2015

    @soltysh
    Contributor

    /sub

  8. added
    kind/bug
    on May 11, 2015
  9. modified the milestone: 0.6.0 on May 20, 2015
  10. bparees commented on May 28, 2015

    @bparees
    Contributor

    fixed with #2465, close at your leisure.

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

Metadata

Metadata

Assignees

Labels

component/buildkind/bugpriority/P1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions