VMware SRM and the PBM & PreCloneCheckCallback error

Quick post here. I recently updated my environment to vCenter 6.0 Update 1 and VMware Site Recovery Manager 6.1 and after my first attempted test failover (and subsequent ones) the test would always fail when it tried to power on the virtual machines. Some powered-on and some didn’t. The following errors appeared for about half of my VMs:

error

It says,

“Error – A general system error occurred: PBM error occurred during PreMigrateCheckCallback: Invalid response code: 503 Service Unavailable”

Alrighty. That means what? At first I thought maybe it was a VMware tools issue, so I made sure I had the latest and greatest installed on all of my VMs.

Re-attempted the test recovery and it failed again. No rhyme or reason to it, different VMs, no relationship to hosts or datastores or anything that I could tell. The datastores were recovered and the proper VMs registered but failed to power on.

If I tried to manually power them on in the Web Client, all of the power-on options were gone (well grayed-out). Looking in the logs there was not much more interesting,

2015-09-14T15:23:40.487-07:00 [02176 error ‘LocalPbmServer’] Exception caught while performing GetContent
–> std::exception ‘class Vmacore::Soap::InvalidResponseException’ “Invalid response code: 503 Service Unavailable”
2015-09-14T15:23:40.487-07:00 [02176 warning ‘LocalPbmServer’] Failed to connect: std::exception ‘class Vmacore::Soap::InvalidResponseException’ “Invalid response code: 503 Service Unavailable”

But I then realized that PBM probably means Policy Based Management or something close which probably means the Profile Driven Storage service. I clicked on the vCenter Storage Provider screen and sure enough the following error popped up:

error2

 

Popped over to the service management page and gave it a start:

guistart

You can always just run the following too:

service vmware-sps start

And voila! My next test recovery worked like a charm. So I am not sure if this was a freak thing, a version thing or just the upgrade and the service wasn’t started (most likely). But there you go, pretty simple fix. Wish the error was a bit more clear though.

So I hit up google and found a KB article and a community post:

https://communities.vmware.com/message/2484314#2484314

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2118557

Neither is related to SRM so I thought it was worth putting a post together.

 

6 Replies to “VMware SRM and the PBM & PreCloneCheckCallback error”

  1. One thing i experienced during a recovery scenario is that we needed to migrate a SBS 2011 server that was virtualized from a recovery ESX to the original ESX, Prior to the migration to Azure for performance issues. This server was acting as the DNS Server and therefore it could not resolve. When adding the temporary VCenter and both ESX Servers to the Hosts file, it went smoothly.

  2. On a vCenter Server running on Windows this same fix works when you start vSphere Profile Driven Storage Service

  3. Nice helpful post Cody! We have a vRA implementation (no SRM in the mix) and this cropped up on a Friday night during our attempt to clone out a bunch of VMs in support of COVID-19 work from home efforts for my company. A quick restart of the vSphere Profile-Driven Storage Service and we were back in business.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.