Hi GD Folks, I am having an issue re-deploying a c...
# gooddata-cloud
t
Hi GD Folks, I am having an issue re-deploying a child workspace after some changes to the LDM (although I don't see how they would impact it). Can I get some more information on this error message?
Copy code
Diagnostic Error (server-service): An error occurred when uploading workspace definition: 400 - Bad Request
    details: Unknown identifiers of grain 'c4e7886f-ef90-4cd3-83d3-87a7ebcbf09c:company_groups.organization_id' in dataset 'company_groups'.
    traceId: 9d4d711536e94e0caa784712b3fe2a88
👀 1
m
Hi Tim, can you please provide more details and expand on the actions you have taken to run into this issue you’re facing?
t
I'm moving child workspaces to a new parent workspaces. In the new parent, I've updated some formatting of the data model but haven't made any real substantive changes (in my mind at least). Then, I'm trying to redeploy the child workspaces using the GD CLI (v0.9.0). Running
gd validate -p PROFILE
passes successfully. Running
gd deploy -p PROFILE
fails.
Copy code
Deploy analytical objects to GoodData.

✓ Loading local environment
✓ Validating
✓ Deploying to <http://pushoperations.cloud.gooddata.com|pushoperations.cloud.gooddata.com>
✓ Deploying to server
[e] Failed to deploy gooddata.yaml with profile PROFILE
[e] Diagnostic Error (server-service): An error occurred when uploading workspace definition: 400 - Bad Request
    details: Unknown identifiers of grain 'c4e7886f-ef90-4cd3-83d3-87a7ebcbf09c:company_groups.organization_id' in dataset 'company_groups'.
    traceId: 9d4d711536e94e0caa784712b3fe2a88
I've changed the profile to point to the source directory where I cloned the old child workspace to.
m
Thank you for getting back to me with this additional information - I will need to check this internally and get back to you ASAP. Thanks for bearing with us in the meantime! 🙂
j
Hi Tim, could you please tell me what is the use case for redeploying child under different parent? Generally all objects are inherited from the parent. So it would be enough to create a new child/s under the parents. Feel free to provide further details, I would like to better understand what you are trying to achieve.
t
Hi Jan, This is more of a single time migration to a parent with different settings. The child workspaces already have custom dashboards and visualizations in them so I'm looking to deploy those to the new child workspaces.
j
Hi Tim, I’m sorry for the delay getting back to you. Are you still facing the issue? As far as I can tell, changing parent workspace for child workspace is not supported https://www.gooddata.com/docs/cloud/workspaces/workspace-hierarchy/#BuildaWorkspaceHierarchy-ChangeaWorkspacesParameters