Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Applying walrus file with dependent resources fails #2243

Open
Finenyaco opened this issue Mar 13, 2024 · 1 comment
Open

Applying walrus file with dependent resources fails #2243

Finenyaco opened this issue Mar 13, 2024 · 1 comment
Labels
area/cli bug-qa Something isn't working, and have not yet hit a real release

Comments

@Finenyaco
Copy link

Finenyaco commented Mar 13, 2024

Describe the bug

Steps to reproduce

  1. Create two resources and preview by CLI. And res-b depends on res-a.
  2. Apply through CLI.

Result

  1. Displayed an error when preview and wailt.
resource default/test-dev/res-c preview planning
resource default/test-dev/res-d preview planning
resource default/test-dev/res-d preview run error, resource run 504752521374334978 is in unexpected status Pending
resource default/test-dev/res-c preview plan succeed, changes: 2 created, 0 updated, 0 deleted.
 NAME         TYPE                       CHANGE TYPE
------------ -------------------------- -------------
 deployment   kubernetes_deployment_v1   create
 service      kubernetes_service_v1      create
  1. Failed to apply.
image
 ~/seal/cli_yaml/ w preview -f selector-2.yaml --apply --run-labels test=1
resource default/test-dev/res-a preview apply failed
resource default/test-dev/res-b preview apply failed
resource default/test-dev/res-b preview apply error: no resource runs matching the criteria were found
  1. Check the runs.
image image

Expected behavior

Environment

  • Walrus version: main c6bba6b
  • UI version: dev-db16ba4

Additional context
Add any other context about the problem here.

@Finenyaco Finenyaco added bug-qa Something isn't working, and have not yet hit a real release area/cli labels Mar 13, 2024
@gitlawr gitlawr added this to the v0.6.0 milestone Mar 13, 2024
@aiwantaozi
Copy link
Contributor

Only Planned status can be applied, the second run is in Pending status, do not matching the criteria.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli bug-qa Something isn't working, and have not yet hit a real release
Projects
None yet
Development

No branches or pull requests

4 participants