Skip to content

Horrifying error on edit #7090

Closed
Closed

Description

@smarterclayton
$ oc edit frontend-route
error: no kind {  frontend-route} has been defined; known resources: map[{ v1 identities}:{ v1 identity} { v1 identitylists}:{ v1 identitylist} { v1beta3 identities}:{ v1beta3 identity} { v1beta3 identitylists}:{ v1beta3 identitylist} { v1 groups}:{ v1 group} { v1 grouplists}:{ v1 grouplist} { v1 userlists}:{ v1 userlist} { v1beta3 groups}:{ v1beta3 group} { v1beta3 useridentitymappings}:{ v1beta3 useridentitymapping} { v1 useridentitymappings}:{ v1 useridentitymapping} { v1 users}:{ v1 user} { v1beta3 users}:{ v1beta3 user} { v1beta3 grouplists}:{ v1beta3 grouplist} { v1beta3 userlists}:{ v1beta3 userlist}]

Probably not what we want to show to users.

Activity

  1. liggitt commented on Feb 7, 2016

    @liggitt
    Contributor

    Does the same error surface with oc get foo?

    Also, I would expect to see more kinds registered in the rest mapper. @deads2k Does this mean that all lookups are chained through several rest mappers, one for each API package?

  2. deads2k commented on Feb 7, 2016

    @deads2k
    Contributor

    Yeah that's awful. We need more information for a user to debug this. Perhaps we could include the full mapping to and from kinds, plural and singular resources, case and non-case sensitive, priorities, shortcuts, and expansions. I'll work on it on Monday. :)

    @liggitt its the "fix union RESTMapper" in this issue: #6906. Once we have that, we'll get a complete listing. The full union RESTMapper is a chained structure with one link per logical group.

  3. assigned and unassigned on Feb 8, 2016
  4. smarterclayton commented on Feb 11, 2016

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions