Skip to content

bug: Deployment Not Found #233

Closed

Description

@esnible

Describe the bug

I created a tool test-server2 but it never appeared.

The UI shows Deployment Status for 'test-server2': Deploying Message: Deployment not found and oc -n team1 get deployments shows "No resources found in team1 namespace.".

I suspect things failed because due to a cut-and-paste error I tried to define the Env var MCP_TRANSPORT=http with value http. I think that K8s does not allow env vars with some special characters.

Steps To Reproduce

  1. Recreate a tool, maybe with an invalid env var name.

Expected Behavior

  1. Env vars with bogus values should be flagged as invalid by UI

Additional Context

The reason I deleted and recreated the tool was to add environment variables.

The logs generated by "oc -n kagenti-system logs deployment/kagenti-ui" do not have timestamps. If they did, the problem might be easier to debug.

Related? #230, #231, #232

Activity

  1. added
    bug
    on Oct 1, 2025
  2. cwiklik commented on Oct 1, 2025

    @cwiklik
    Contributor

    Looks like the UI needs to validate both name and value. The web search suggests that valid env var must have:

    • Letters: A-Z,a-z
    • Numbers: 0-9
    • Underscore: _
      and..
    • Must not start with a digit

    Does the above seem right?
    @pdettori @esnible

  3. added
    nice to have
    on Oct 1, 2025
  4. pdettori commented on Oct 1, 2025

    @pdettori
    Member

    but the value could be any string if is in quotes, no ? for example, can it be "127.0.0.1" (which starts with a digit)

  5. cwiklik commented on Oct 1, 2025

    @cwiklik
    Contributor

    Right, the value can be anything. The name must be validated.

  6. assigned and unassigned on Oct 6, 2025
  7. RyanJenkins99 commented on Jan 22, 2026

    @RyanJenkins99
    Contributor

    Looking into this!

  8. esnible commented on Feb 3, 2026

    @esnible
    MemberAuthor

    I imported flight-tool from source, adding env var ^ with value ^
    That deployment build and reaches "Ready"
    The pod now starts and oc -n team1 get deployment flight-tool -o yaml shows

    ...
            - name: ^
              value: ^

    Closing because the behavior is expected.

  9. added 2 commits that reference this issue on Feb 10, 2026
    8f846e3
    a185106
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

    bugnice to have

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions