Skip to content

Build logs for completed builds are broken #1115

Closed

Description

@smarterclayton

kubernetes/kubernetes#4373 looks like it has a very aggressive check (only running containers can be shown), which means you can't see logs for completed pods. I think we need to figure out upstream how to be able to run "the logs for pod X for the last attempt". @bparees can you assign someone to this to look into it?

Activity

  1. smarterclayton commented on Feb 23, 2015

    @smarterclayton
    ContributorAuthor
    $ osc build-logs 425ff2a9-bb98-11e4-804b-080027ce4245
    Internal Error: container "sti-build" is not ready.
    
  2. ncdc commented on Feb 23, 2015

    @ncdc
    Contributor
  3. bparees commented on Feb 23, 2015

    @bparees
    Contributor

    @smarterclayton how close are we to having a centralized log store? that is really the right answer here and would also free us from the "we can never remove a completed pod" constraint we currently operate under.

  4. smarterclayton commented on Feb 23, 2015

    @smarterclayton
    ContributorAuthor

    I think we'll always (3.x) want to be able to go to the nodes for active and recent logs. There's a latency issue involved with centralized logs, as well as access control, complexity of config, etc.

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

    @smarterclayton how close are we to having a centralized log store? that is
    really the right answer here and would also free us from the "we can never
    remove a completed pod" constraint we currently operate under.


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

  5. bparees commented on Feb 23, 2015

    @bparees
    Contributor

    With upstream reverting the breakage, build-logs should work again. For the longer term question of how pod logs should be handled in general, i think that's better handled by the infrastructure team.. @jwhonce ?

  6. brenton commented on Mar 3, 2015

    @brenton
    Contributor

    @thoraxe, this is what you were hitting.

  7. 0xmichalis commented on Mar 10, 2015

    @0xmichalis
    Contributor

    This has been fixed now

  8. TomasTomecek commented on Mar 10, 2015

    @TomasTomecek
    Contributor

    is this part of 0.4.1?

  9. 0xmichalis commented on Mar 10, 2015

    @0xmichalis
    Contributor

    is this part of 0.4.1?

    @TomasTomecek [the fix] yes. See https://github.com/openshift/origin/releases/tag/v0.4.1
    It was an upstream problem

    Rebased on top of Kube 0.11

  10. TomasTomecek commented on Mar 10, 2015

    @TomasTomecek
    Contributor

    It was an upstream problem

    I asked because I was lazy to dig in origin's or k8s' git.

  11. brenton commented on Mar 10, 2015

    @brenton
    Contributor

    @jianlinliu, we should have an OSE 0.4.1 build soon. Can you have someone at a regression test for this case so we verify it in beta3?

  12. thoraxe commented on Mar 10, 2015

    @thoraxe
    Contributor

    So is this not in 0.4.0?

  13. brenton commented on Mar 10, 2015

    @brenton
    Contributor

    @thoraxe, correct. The logs for running builds should at least work for OSE v0.4 now that the permissions problem was resolved.

  14. added
    kind/bug
    on Mar 16, 2015
  15. brenton commented on Mar 18, 2015

    @brenton
    Contributor

    This has been fixed.

  16. added a commit that references this issue on Feb 1, 2018
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

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions