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

Calm version 3.2.1 incompatibility #4

Open
basraayman opened this issue Aug 2, 2021 · 4 comments
Open

Calm version 3.2.1 incompatibility #4

basraayman opened this issue Aug 2, 2021 · 4 comments

Comments

@basraayman
Copy link

When leveraging the plugin with newer versions of Calm, there seems to be an issue with the json being parsed. With Calm version 3.2.1 while launching a blueprint I receive the following error:

[Pipeline] { (Build)
[Pipeline] step
Executing Nutanix Calm Blueprint launch Build Step
##Connecting to calm instance##
 Selected Project: default
 Selected Blueprint: SLES12-4SAP_Automatic_Installation_development_bas
 Selected Profile: SLES12_Automatic_Installation
 Application Name: bas_auto_build_4
Waiting for application bas_auto_build_4 launch to complete : 
JSONObject["application_uuid"] not a string.

Since there were a couple of changes under the hood to what is returned, my guess is that we simply do not account for these changes in the officially released plugin?

@A-Gamez
Copy link

A-Gamez commented May 19, 2022

Seeing a similar message and my Jenkins Calm actions are failing after upgrading to Calm 3.5.0 from Calm 3.2.1. Otherwise successful Calm actions performed by the plugin end with "JSONArray[0] not found." and change the Jenkins build state to failure.
CalmPluginFailure

@HSDeshpande
Copy link

HSDeshpande commented Jun 16, 2022

@A-Gamez could you please share the Jenkins version in which you have encountered this issue? Please share the tracebacks from system logs it will help us debugging further

@A-Gamez
Copy link

A-Gamez commented Jun 16, 2022

Jenkins version 2.263.1. The Jenkins system log is not showing any relevant errors or warnings to the Calm plugin.

@HSDeshpande
Copy link

@A-Gamez could you please share the blueprint json with which above app was created. Please make sure to strip off any information from the tasks etc.

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

No branches or pull requests

3 participants