Hanna Seweryn
11/08/2023, 10:31 AMSynchronize LDM cannot proceed. Adjust your update_preferences and try again. Available chunks with preference: {:cascade_drops=>true, :preserve_data=>true}, {:cascade_drops=>true, :preserve_data=>false}
. I assume there are some attributes used in the metrics or insights that should be deleted or updated manually.
Is there a way to easily identify those attributes (those could be also facts or date datasets), that are causing the issue?Moises Morales
11/08/2023, 11:32 AM"update_preference": {
"allow_cascade_drops": "false",
"keep_data": "true"
}
but the changes you are introducing allow the following combination:
{:cascade_drops=>true, :preserve_data=>true}, {:cascade_drops=>true, :preserve_data=>false}
So, to resolve the issue, there are several ways how to address it:
- Do not drop the objects
- Allow “cascade drop”. Please note this will result in deleting any objects depending on dropped attributes, even not directly dependent.
- Remove the dependencies from the client project prior to running Rollout.Hanna Seweryn
11/08/2023, 11:49 AMI, [2023-11-08T07:03:29.081388 #7] INFO -- : Updating from Blueprint, project: 'Project Name', PID: qkjmtwgjhgvmrlqdv6gzplauku67g816
E, [2023-11-08T07:05:17.501098 #7] ERROR -- : Execution GoodData::LCM2::SynchronizeLdm failed. Error: Synchronize LDM cannot proceed. Adjust your update_preferences and try again. Available chunks with preference: {:cascade_drops=>true, :preserve_data=>true}, {:cascade_drops=>true, :preserve_data=>false}. Detail:["/src/lib/gooddata/models/project_creator.rb:207:in `pick_correct_chunks'", "/src/lib/gooddata/models/project_creator.rb:69:in `migrate_datasets'", "/src/lib/gooddata/models/project_creator.rb:29:in `migrate'", "/src/lib/gooddata/models/project.rb:2156:in `update_from_blueprint'", "/src/lib/gooddata/lcm/actions/synchronize_ldm.rb:157:in `block in sync_segment_ldm'", "/usr/local/rvm/gems/jruby-9.4.1.0/gems/pmap-1.1.1/lib/pmap.rb:82:in `block in pmap'", "/usr/local/rvm/gems/jruby-9.4.1.0/gems/pmap-1.1.1/lib/pmap/thread_pool.rb:58:in `block in spawn_worker'"]
E, [2023-11-08T07:05:17.534138 #7] ERROR -- : Execution failed. Error: [
{
"action": "GoodData::LCM2::SynchronizeLdm",
"err": "Synchronize LDM cannot proceed. Adjust your update_preferences and try again. Available chunks with preference: {:cascade_drops=>true, :preserve_data=>true}, {:cascade_drops=>true, :preserve_data=>false}",
"backtrace": [
"/src/lib/gooddata/models/project_creator.rb:207:in `pick_correct_chunks'",
"/src/lib/gooddata/models/project_creator.rb:69:in `migrate_datasets'",
"/src/lib/gooddata/models/project_creator.rb:29:in `migrate'",
"/src/lib/gooddata/models/project.rb:2156:in `update_from_blueprint'",
"/src/lib/gooddata/lcm/actions/synchronize_ldm.rb:157:in `block in sync_segment_ldm'",
"/usr/local/rvm/gems/jruby-9.4.1.0/gems/pmap-1.1.1/lib/pmap.rb:82:in `block in pmap'",
"/usr/local/rvm/gems/jruby-9.4.1.0/gems/pmap-1.1.1/lib/pmap/thread_pool.rb:58:in `block in spawn_worker'"
]
}
]
The execution finished with error
Moises Morales
11/08/2023, 3:44 PMHanna Seweryn
11/08/2023, 6:12 PM410 Gone: Background task failed: Failed to get project model request_id: 654bca95559afe7305192bad:HjZuBFSm9GMFUO8_kl4-eQ:2mv4IHEGPBiTn4uaArL3nw:svNJpvPFvzastQ9x
- what does it mean?
I’ve noticed such error in the past few times but it always resolved after a retry, now it’s reappearing one after anotherMoises Morales
11/09/2023, 4:58 PM