VMware Cloud Community
kevin_tor
Contributor
Contributor

REST API request blueprint with software component keep failed.

Hi, All, i got a very wired issue when try to reqest catalog it by REST API (a,k,a PowerVRA)

I use power VRA to request catalog item, when i feed with JSON, it's failed, but manually request successful.

I have attached a blueprint in file. It's a windows 2012 R2 server with SQL installation, SQL hardening module is rely on MSSQL module to install SQL server, and they share password between.

I got error when I request from PowerVRA, it says: One or more of the spawned tasks failed. See task log for more details

The command completed successfully.

[Error] Please Start SQL Server Services and Try again.

Error while executing script: Process exited with an error: 1 (Exit value: 1)

It's looks like  the SQL server wasn't finished install while hardening  is kicks in.  Part of request template is here:

   "WIN_Base_Settings_1": {

   "componentTypeId""com.vmware.csp.component.cafe.composition",

   "componentId"null,

   "classId""Blueprint.Component.Declaration",

   "typeFilter""MicrosoftSQLServer2012R2Servicecopyjuly132017*WIN_Base_Settings_1",

   "data": {

   "_hasChildren"false

  }

  },

   "WIN_MSSQL_2012_1": {

   "componentTypeId""com.vmware.csp.component.cafe.composition",

   "componentId"null,

   "classId""Blueprint.Component.Declaration",

   "typeFilter""MicrosoftSQLServer2012R2Servicecopyjuly132017*WIN_MSSQL_2012_1",

   "data": {

   "_hasChildren"true

  }

  },

   "WIN_MSSQL_2012_Hardening_1": {

   "componentTypeId""com.vmware.csp.component.cafe.composition",

   "componentId"null,

   "classId""Blueprint.Component.Declaration",

   "typeFilter""MicrosoftSQLServer2012R2Servicecopyjuly132017*WIN_MSSQL_2012_Hardening_1",

   "data": {

   "_hasChildren"false

  }

  },

Anybody has running into similar issue? Or what's the proper way to request blueprint when software component has dependency?

Thank you very much....

Reply
0 Kudos
2 Replies
kevin_tor
Contributor
Contributor

maybe forgot the screen shot.

Reply
0 Kudos
kevin_tor
Contributor
Contributor

attached a blueprint yaml file for software componentynl..png relationship.

Reply
0 Kudos