Skip to content

Surface Revision quota problems #496

Closed

Description

@mattmoor

Per the API spec, we should surface a condition like this when the Deployment underlying the Revision cannot be created (e.g. due to quota problems).

  conditions:
  - type: Ready
    status: False
    reason: NoDeployment
    message: "The controller could not create a deployment named ela-abc-e13ac."

This is somewhat contingent on the types of information the Deployment itself surfaces, that we can detect in our controller.

Activity

  1. added
    kind/feature
    area/API
    on Mar 24, 2018
  2. added this to the milestone on Mar 24, 2018
  3. johnugeorge commented on Mar 30, 2018

    @johnugeorge
    Contributor

    Few questions:

    1. Is this error raised only when deployment failed due to quota problem(lack of resources)?
    2. Is this applicable to autoscaler-deployment as well as app deployment?
    3. What is the error condition when quota problem is resolved(later in future ) but deployment fails again for a different reason?
  4. johnugeorge commented on Mar 30, 2018

    @johnugeorge
    Contributor

    Eg: I see that revision failure condition is not not set to ready again in this endpoint failure case. eg: https://github.com/elafros/elafros/blob/master/pkg/controller/revision/revision.go#L525
    Is this a bug?

  5. evankanderson commented on Apr 5, 2018

    @evankanderson
    Member

    This condition should be set whenever the controller is unable to materialize the underlying kubernetes resources for the Revision. IMO, I think the Failed condition should be split up into underlying conditions which better represent the type of error, which could be ContainerFailedToRun or UnableToProvision (the former would be a user error, while the latter is probably an operator/infrastructure problem).

  6. johnugeorge commented on Apr 11, 2018

    @johnugeorge
    Contributor

    /assign @johnugeorge

  7. grantr commented on Apr 19, 2018

    @grantr
    Contributor

    Seems like there's some disagreement about the form this error reporting should take. @evankanderson @mattmoor @vaikas-google, is there time for you to get together and come to a consensus on this before the end of M4? If not, this should probably be punted to M5.

  8. mattmoor commented on Apr 19, 2018

    @mattmoor
    ContributorAuthor

    I think we want the guidance from #351 to land in M4, and this should be informed by that. I'm fine with moving this out of M4, if we don't think it will land.

  9. mattmoor commented on Apr 29, 2018

    @mattmoor
    ContributorAuthor

    Ok, #351 is now fixed.

    Please see here for the source of truth as the discussion in the issue doesn't completely capture where we ended up.

  10. modified the milestones: , on Apr 29, 2018
  11. evankanderson commented on Apr 30, 2018

    @evankanderson
    Member
  12. 17 remaining items

  13. edwardstudy commented on May 22, 2019

    @edwardstudy

    Hi, @evankanderson. I just submitted a PR #4136.

    If I missed anything, just tell me anytime.

  14. jonjohnsonjr commented on Aug 14, 2019

    @jonjohnsonjr
    Contributor

    Let's close this as a duplicate of #4416.

    The quota problems are covered by other PRs. The deployment creation failure falls under surfacing reconciliation errors, as in #5076, which is a lot more widespread problem, and I think this issue conflates the modes.

    /close

  15. knative-prow-robot commented on Aug 14, 2019

    @knative-prow-robot
    Contributor

    @jonjohnsonjr: Closing this issue.

    Details

    In response to this:

    Let's close this as a duplicate of #4416.

    The quota problems are covered by other PRs. The deployment creation failure falls under surfacing reconciliation errors, as in #5076, which is a lot more widespread problem, and I think this issue conflates the modes.

    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Metadata

Metadata

Assignees

Labels

area/APIkind/feature

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions