diff --git a/app/controllers/ops_controller/settings/common.rb b/app/controllers/ops_controller/settings/common.rb index 3494056678fd..772d50596ef5 100644 --- a/app/controllers/ops_controller/settings/common.rb +++ b/app/controllers/ops_controller/settings/common.rb @@ -182,6 +182,7 @@ def pglogical_save_subscriptions task_opts = {:action => "Save subscriptions for global region", :userid => session[:userid]} queue_opts = {:class_name => "MiqPglogical", :method_name => "save_global_region", :args => [subscriptions_to_save, subsciptions_to_remove]} + ActiveRecord::Base.yaml_column_permitted_classes = ActiveRecord::Base.yaml_column_permitted_classes | [subscriptions_to_save.first.class, subsciptions_to_remove.first.class] when "remote" task_opts = {:action => "Configure the database to be a replication remote region", :userid => session[:userid]}