Skip to content

Kamel cli fails with wait flag when updating existing Failed integration #4201

Open
@astelmashenko

Description

@astelmashenko

Steps to reproduce:

  1. Create integration with error, e.g.
- route:
    from:
      uri: timer://tick
      steps:
        - to:
            uri: log:info
      parameters:
        period: 3000
        repeatCount: {{param.count}}
  1. Run it kamel --name test-api-int run integraion.yaml --config file:/my.properties --wait
  2. Observe it failed to deploy
  3. Fix integration
- route:
    from:
      uri: timer://tick
      steps:
        - to:
            uri: log:info
      parameters:
        period: 3000
        repeatCount: "{{param.count}}"
  1. Run it with wait flag kamel --name test-api-int run integraion.yaml --config file:/my.properties --wait

Actual behavior: Observe it failed again

Integration "test-api-int" updated
Progress: integration "test-api-int" in phase Error
Error: integration "test-api-int" deployment failed

while it is actually running in k8s in Running phase

Expected behavior: kamel run with --wait updates integration and completes with no errors

Activity

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

    area/cliKamel CLIgood first issueDoes not require full understanding of the codebasekind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions