Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kpt live apply command gets stuck #3361

Closed
hilliao opened this issue Jul 12, 2022 · 3 comments
Closed

kpt live apply command gets stuck #3361

hilliao opened this issue Jul 12, 2022 · 3 comments
Labels
area/live bug Something isn't working triaged Issue has been triaged by adding an `area/` label working-as-intended

Comments

@hilliao
Copy link

hilliao commented Jul 12, 2022

Expected behavior

kpt live apply command returns error when the infrastructure as code change can't get applied in the namespace

Actual behavior

kpt live apply command gets stuck for more than 5 minutes and had to be Ctrl+C interrupted.

Information

steps to reproduce in blueprints/issues/194 including all files required to reproduce the bug.

kpt version
1.0.0-beta.15

@hilliao hilliao added the bug Something isn't working label Jul 12, 2022
@natasha41575
Copy link
Contributor

@mortent @karlkfi could you take a look?

@karlkfi
Copy link
Contributor

karlkfi commented Jul 15, 2022

  --reconcile-timeout:
    The threshold for how long to wait for all resources to reconcile before
    giving up. If this flag is not set, kpt live apply will wait until
    interrupted.

Try kpt live apply --reconcile-timeout 1m

As you can see form your example:

iampartialpolicy.iam.cnrm.cloud.google.com/iam-storage-delete-me-356017 reconcile pending

There's no subsequent reconciled event, which means reconciliation is still pending. This is likely due to either a configuration error in the object or a controller problem not updating the status to indicate reconciliation.

@mortent mortent added the triaged Issue has been triaged by adding an `area/` label label Nov 16, 2022
@mortent mortent added this to ToDo in kpt kanban board Nov 16, 2022
@yuwenma
Copy link
Contributor

yuwenma commented Jan 13, 2023

closed this issue referring to @karlkfi comment

@yuwenma yuwenma closed this as completed Jan 13, 2023
kpt kanban board automation moved this from ToDo to Done Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/live bug Something isn't working triaged Issue has been triaged by adding an `area/` label working-as-intended
Projects
Development

No branches or pull requests

5 participants