vCloud OVF Import Fails From vCenter OVF Export • Chris Colotti's Blog

vCloud OVF Import Fails From vCenter OVF Export

Today I just ran into a small little issue trying to re-export a virtual machine from vSphere on premises back to vCloud Air.  The interesting thing that I discovered with some help was this is caused by old vCloud data in the vApp configuration.  This problem happens when you do export a virtual machine from vCloud Director to vCenter then BACK to vCloud Director using the OVF process.  This is in fact exactly what I did because I wanted the machine from vCloud Air used on premises as well.

What happens is that the original OVF export from vCloud Director is that it includes vCloud Director Extensions in the OVF file.  When that is imported into vCenter those extensions are ignored, but they are left there preserved.  When it is then re-exported from vCenter the OVF will include the original extensions whose values will not match the vCloud Director it is going back to.  From vCloud Director’s perspective, the OVF is not valid.

The good news is there is an EASY fix so you can re-export the machine back to vCloud Director.

  1.  Select the node corresponding to the VM
  2.  Right click and select menu item “Edit Settings…”
  3.  Select the tab “vApp Options”
  4.  Unselect the checkbox “Enable vApp options”

The UI will probably ask you to confirm the operation and that is fine.  If you are curious, before unchecking the checkbox (step 4), you can expand the “Unrecognized OVF sections” category and you will see all the vCloud Director special elements causing the issue.  Now you should be able to export the OVF and import it back into vCloud Director with no issue!

About Chris Colotti

Chris is currently a Principal Architect at Cohesity. In his role he spends the majority of his time supporting Cohesity events and creating outward facing content. He also acts as an active interface between the field and engineering/product management as customer zero in the TAG production lab. Chris is active on the VMUG and event speaking circuit and is available for many events if you want to reach out and ask. Previously to this he spent close to a decade working for VMware as a Principal Architect. Previous to his nine plus years at VMware, Chris was a System Administrator that evolved his career into a data center architect. Chris spends a lot of time mentoring co-workers and friends on the benefits of personal growth and professional development. Chris is also amongst the first VMware Certified Design Experts (VCDX#37), and author of multiple white papers. In his spare time he helps his wife Julie run her promotional products as the accountant, book keeper, and IT Support. Chris also believes in both a healthy body and healthy mind, and has become heavily involved with fitness as a Diamond Team Beachbody Coach using P90X and other Beachbody Programs. Although Technology is his day job, Chris is passionate about fitness after losing 60 pounds himself in the last few years.

Leave a Reply

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