Hi,
I have following custom group exported from vrops 6.7 and trying to import into another vrops instance 6.6 .
But it is failing saying "Failed to import custom group from: {resName=Storage Arrays, resKind=Storage Arrays, adKind=Container}, reason: Cannot find ResourceKind by provided ResourceKindKey". I believe it is not importing because there is no group type called Storage Arrays. Is vrops 6.6 will not create group type automatically if i import customgroup from 6.7?
vrops 6.7 CustomGroup Export File:
{ "customGroups": [{
"resourceKind": "Storage Arrays",
"membershipDefinition": {"ruleGroups": [{
"resourceKind": "StorageArray",
"adapterKind": "VceAdapter",
"rules": []
}]},
"adapterKind": "Container",
"autoResolveMembership": false,
"name": "Storage Arrays",
"description": "",
"started": true
}],
"customGroupTypes": [{
"resourceKind": "Storage Arrays",
"localization": [{
"resourceKindName": "Storage Arrays",
"locale": "en"
}]
}]
}
Hello
Yes, you are correct - group type (resource kind) is automatically created only in 6.7.
In 6.6 you need to create it manuaaly, before import.
Hello
Yes, you are correct - group type (resource kind) is automatically created in 6.7 +.
In 6.6 you need to create it manually, before import.
Hi Robert,
And i am trying to import exported customgroup.json from my adapter code(old structure - using vcops-common-6.3.0-snapshot). I have put it inside conf/customgroups folder. but unfortunately the customgroups are not getting created when i imported in vrops 6.7. Can you please suggest what might be the issue.
Regards,
Sagar
In general, vRops 6.7 allows to import custom groups (and other content like dashboards/reports etc.) automatically, without any scripting. Please refer to updated 6.7 SDK guide.