kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Add clarity on inventory policy prevented actuation Error

Open cartyc opened this issue 2 years ago • 1 comments

Expected behavior

More specific error, or potential to force apply changes.

Actual behavior

Error unclear as to what the problem actually was.

Information

As discussed in Slack, I was running kpt live apply and it keeps giving me the following error inventory policy prevented actuation (strategy: Apply, status: Empty, policy: MustMatch) and not applying any configurations. Running kpt live apply --inventory-policy adopt applies the config but not sure why it's giving that error, I tried with a fresh kpt package and getting the same issues, ditto for kpt live migrate . kpt version: 1.0.0-beta.17

Steps to reproduce the behavior

Haven't been able to replicate yet, has just occurred the one time.

cartyc avatar Jul 15 '22 12:07 cartyc

#2489 suggested at least printing the name of the resource that triggered the error

bgrant0607 avatar Jul 15 '22 14:07 bgrant0607