OS deployment fails after a change in the primary appliance

Symptom
In a multienclosure setup, when you remove a primary appliance from the CIM slot and intend to bring back the same appliance later as the primary appliance, you perform the following steps:
  1. You invoke the Change Deployment Appliance operation from Edit OS Deployment Server screen in HPE OneView user interface. This action assigns an existing secondary Image Streamer appliance pair with a logical enclosure already configured, as the new primary Image Streamer appliance.

  2. You reinsert the old primary appliance in the CIM slot, reconfigure a logical enclosure on this old primary appliance and reinvoke the Change Deployment Appliance operation. Performing these tasks assigned the reinserted appliance as the new primary appliance. This action ensures that the overall topology of the Image Streamer appliances remain unaffected in spite of the insertion/removal of the primary Image Streamer appliance pair.

  3. You attempt to resume OS deployments on the primary appliance.

However, you might encounter the following error when performing a new deployment:

Unable to expand golden image

Cause

In an environment with multiple logical enclosures configured, newly uploaded Golden Images in the primary Image Streamer appliance pair are synced periodically to the secondary Image Streamer appliance pairs. This periodical synchronization is executed every 30 minutes. You might have invoked the Change Deployment Appliance operation before the newly uploaded Golden Images are synced to the secondary Image Streamer appliance pairs.

Action
  1. Always perform a backup of the Golden Images in your local repository before removing a primary Image Streamer appliance pair from the CIM slot.

    Save this backup of the Golden Images from the primary appliance to a preferred location.

  2. Once the removed primary appliance is reinserted and restored to its primary status, you must restore the Golden Images from the backup before OS deployment.
  3. If you did not restore the Golden Images before OS deployment and encounter the Unable to expand golden image error, restore the Golden Images from the backup and retry the OS deployment.