Do you see any error in view-bridge.log file(s)?
Found the root cause. The world object name has been changed. Because of which the pack upgrade failed.
Still not able to find the correct solution. Do you know how to resolve this?
Please advise how the world object name was changed. Approved way is update it by using "worldObjectName" attribute in describe.xml
In pack 1.0 the world object name key was "worldObjectName" in describe.xml. Which was changed to "world Object Name" in the next version of the pack in describe.xml file. So while upgrading the pack from 1.0 to 2.0 (with overriding the content check box enabled), pack is not getting upgraded.
As there can only be on world object, vROps pack installation fails.
You should not change key, instead of it you can customize just object name.
Please refer to this sample (key="Storage World" is constant):
<ResourceKind key="Storage World" nameKey="40" showTag="true" type="8" subType="6" worldObjectName="Storage World object">
<ResourceKind key="Storage World" nameKey="40" showTag="true" type="8" subType="6" worldObjectName="New Storage World object">
Is there any way to change the key of the world object?
The scenario is, world object key has been changed in our product and we are facing upgrade issue.
Is there any work around or some scripts which we can include in the prescript?
Probably, you see in view-bridge.log something like "ERROR [DistTaskSolutionManagerDistributedTask] com.vmware.vcops.bridge.plugin.server.SolutionManagerDistributedTask.installSolution - Could not process describe for adapter "RMAdapter": RuntimeException: java.lang.RuntimeException: Describe would remove resources, so we are failing describe. Problem resource kind is " ?
By design object type cannot be removed from describe.xml if any object exists, what's why I am recommending to keep old key and just update a name.
If you still want to change a key I can suggest the to delete old world object from pre-script by using REST API (delete resource) or ask customer to delete it from UI before upgrade
Deleting the resource will result into loss of data. Is there any way to change the key without any data loss?
Changing the key means to change object type, so i'ts impossible to prevent data loss