-
Notifications
You must be signed in to change notification settings - Fork 75
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
Psych DisalowedClass MiqAeEngine::StateVarHash error while retiring an Openstack Instance #552
Comments
First thought is automation engine should have a list of allowed classes and pass it to safe_load here: Line 166 in 7707684
Or we need to add this class to the default list: I don't know if it makes sense to pass it at runtime.rb at that point. |
Yeah we either need to allow loading that class or better yet find where it is being saved as an object and serialize/deserialize it properly which I think would be better Here is what the payload looks like, Full payload:
|
related... #538. fixing the code to not serialize it would be good. when can we delete automate? |
FYI, #554 is a generic workaround for the loading of aliases. We probably need to treat allowed classes similarly and add it to allowed list directly on the call or centrally as described in #552 (comment). If we knew where these were coming from, it would be better to not serialize these objects in the first place. |
The text was updated successfully, but these errors were encountered: