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

Urgent: high priority: data ibm_schematics_workspace bug #4990

Closed
surajsbharadwaj opened this issue Dec 14, 2023 · 4 comments
Closed

Urgent: high priority: data ibm_schematics_workspace bug #4990

surajsbharadwaj opened this issue Dec 14, 2023 · 4 comments
Labels
service/Schematics Issues related to Schematics

Comments

@surajsbharadwaj
Copy link

I deployed First solution using 1.60.0 which created a schematics workspace and deployed the solution successfully.
I am using the second solution using 1.60.0 which reads schematics data and deploys more resources...
I also tried with 1.60.1 to read the workspace data from schematics which was deployed using 1.60.0
so 1.60.1 and 1.60.0 both fails to read the data from 1.60.0 workspace .

 
 │ Error: GetWorkspaceWithContext failed error unmarshalling schematicsv1.WorkspaceResponse: error unmarshalling property 'catalog_ref' as schematicsv1.CatalogRef: error unmarshalling property 'service_extensions' as []schematicsv1.ServiceExtensions: error unmarshalling property 'value': json: cannot unmarshal object into Go value of type string
│ {
│     "StatusCode": 200,
│     "Headers": {
│         "Cache-Control": [

I also tried to read the data(created using 1.60.0) using 1.58.0 and i got this error:

Error: The requested statefile cannot be located. Run apply action to create a statefile.
│ 
│   with data.ibm_schematics_output.schematics_output,
│   on locals_schematics_data.tf line 10, in data "ibm_schematics_output" "schematics_output":
│   10: data "ibm_schematics_output" "schematics_output" {

Also referencing it here: #4965

is 1.60.0 creating bad schematics outputs in workspace ?

@pradeep-b
Copy link

pradeep-b commented Dec 16, 2023

is 1.60.0 creating bad schematics outputs in workspace?

No. The v1.60.0 of the provider had support for server extensions. Current assessment is, server extensions element has elements that can be of type other than string and that's the issue. Since in the prior versions, server extensions itself was not processed, it didn't hit the problem.
Vaishnavi is aware and looking into this.

@surajsbharadwaj
Copy link
Author

Hey,
Would like to know what would be the ETA for this fix ? We have already made a DA release and its in PROD..

@VaishnaviGopal
Copy link
Collaborator

Hi @surajsbharadwaj ,

We are ready with the fix but we are going to make a release in the first week of January 2024.

@VaishnaviGopal
Copy link
Collaborator

Hi @surajsbharadwaj
Please test with the latest version of provider. 1.61.0 . Fix has been added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/Schematics Issues related to Schematics
Projects
None yet
Development

No branches or pull requests

3 participants