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

reset_property raising NoMethodError exception #14010

Open
minsis opened this issue Oct 11, 2023 · 0 comments
Open

reset_property raising NoMethodError exception #14010

minsis opened this issue Oct 11, 2023 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@minsis
Copy link

minsis commented Oct 11, 2023

Description

Custom resource reset_property raising NoMethodError

Chef Version

I tried with 17.10.3 as well as 18.2.7

Platform Version

Oracle Linux 8

Replication Case

I can't quite put my custom resource code here but essentially it is working fine except for when I add reset_property anywhere in my code. It can be inside or outside of action block. I tried in action_class block as well and all is failing with no method error exception.

Client Output

This the debug output for the failure,

I, [2023-10-11T17:20:25.794709 #3277240]  INFO -- standard-oraclelinux-8:   * podman_registry[<removed>] action create[2023-10-11T22:20:25+00:00] INFO: Processing podman_registry[dockerhub-ilcb.travelclick.net] action create (cookbook_podman::default line 47)
I, [2023-10-11T17:20:25.929847 #3277240]  INFO -- standard-oraclelinux-8: 
I, [2023-10-11T17:20:25.930361 #3277240]  INFO -- standard-oraclelinux-8:     
I, [2023-10-11T17:20:25.930724 #3277240]  INFO -- standard-oraclelinux-8:     ================================================================================
I, [2023-10-11T17:20:25.931010 #3277240]  INFO -- standard-oraclelinux-8:     Error executing action `create` on resource 'podman_registry[<removed>]'
I, [2023-10-11T17:20:25.931278 #3277240]  INFO -- standard-oraclelinux-8:     ================================================================================
I, [2023-10-11T17:20:25.931541 #3277240]  INFO -- standard-oraclelinux-8:     
I, [2023-10-11T17:20:25.931820 #3277240]  INFO -- standard-oraclelinux-8:     NoMethodError
I, [2023-10-11T17:20:25.932105 #3277240]  INFO -- standard-oraclelinux-8:     -------------
I, [2023-10-11T17:20:25.998135 #3277240]  INFO -- standard-oraclelinux-8:     undefined method `reset_property' for #<#<Class:0x00007f2dcf139d78>:0x00007f2dd09c1c38 

Stacktrace

@minsis minsis added the Status: Untriaged An issue that has yet to be triaged. label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant