{"id":1525,"date":"2016-02-06T16:38:49","date_gmt":"2016-02-06T16:38:49","guid":{"rendered":"http:\/\/www.tekhead.org\/blog\/?p=1525"},"modified":"2016-02-06T16:38:49","modified_gmt":"2016-02-06T16:38:49","slug":"quick-fix-for-the-task-was-canceled-by-a-user-when-deploying-ova-in-vcenter-6","status":"publish","type":"post","link":"https:\/\/tekhead.it\/blog\/2016\/02\/quick-fix-for-the-task-was-canceled-by-a-user-when-deploying-ova-in-vcenter-6\/","title":{"rendered":"Quick Fix for &#8220;The task was canceled by a user&#8221; when deploying OVA in vCenter 6"},"content":{"rendered":"<p>So I came across a very odd vCenter bug today when trying to deploy an OVA file on vSphere 6.0, specifically the latest\u00a0<a href=\"https:\/\/coreos.com\/os\/docs\/latest\/booting-on-vmware.html\" target=\"_blank\">CoreOS image<\/a>.<\/p>\n<p>The import was repeatedly failing with the same error message.<\/p>\n<p>What was more frustrating was the fact that the error message was\u00a0&#8220;The task was cancelled by a user&#8221;, which it blatantly was not!<\/p>\n<p>Error log example below:<\/p>\n<div id=\"attachment_1526\" style=\"width: 456px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.tekhead.org\/wp-uploads\/www.tekhead.org\/2016\/02\/OVAError.png\" rel=\"attachment wp-att-1526\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1526\" class=\"wp-image-1526 \" src=\"http:\/\/www.tekhead.org\/wp-uploads\/www.tekhead.org\/2016\/02\/OVAError-300x37.png\" alt=\"OVA Import Errors\" width=\"446\" height=\"55\" srcset=\"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/02\/OVAError-300x37.png 300w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/02\/OVAError-150x19.png 150w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/02\/OVAError.png 745w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/a><p id=\"caption-attachment-1526\" class=\"wp-caption-text\">OVA Import Errors<\/p><\/div>\n<p>A quick bit of testing and Googling and I came across an <a href=\"http:\/\/atherbeg.com\/2014\/10\/27\/easier-fix-failed-to-deploy-ovf-package-the-task-was-canceled-by-a-user\/\" target=\"_blank\">article by my good friend Ather Beg from the LonVMUG<\/a>, who had a very simple fix for the same issue in vSphere 5.5.<\/p>\n<ol>\n<li>Install 7-zip or a similar archiving tool<\/li>\n<li>Extract the OVA file using 7-zip into its component parts<\/li>\n<li>Import into vCenter, selecting the OVF file for the import target<\/li>\n<\/ol>\n<p>That&#8217;s it &#8211; simples!<\/p>\n<div id=\"attachment_1528\" style=\"width: 265px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1528\" class=\"size-full wp-image-1528\" src=\"http:\/\/www.tekhead.org\/wp-uploads\/www.tekhead.org\/2016\/02\/OVFSuccess.png\" alt=\"Success!\" width=\"255\" height=\"110\" srcset=\"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/02\/OVFSuccess.png 255w, https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/02\/OVFSuccess-150x65.png 150w\" sizes=\"auto, (max-width: 255px) 100vw, 255px\" \/><p id=\"caption-attachment-1528\" class=\"wp-caption-text\">Success!<\/p><\/div>\n<p>What&#8217;s really weird is that after importing the OVF successfully, I then went back and imported the OVA, and it worked fine!<\/p>\n<p>Very strange indeed\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I came across a very odd vCenter bug today when trying to deploy an OVA file on vSphere 6.0, specifically the latest\u00a0CoreOS image. The import was repeatedly [..]<\/p>\n","protected":false},"author":1,"featured_media":1527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"New Blog Post: Quick Fix for \"The task was canceled by a user\" when deploying OVA in #vCenter 6 | #vSphere","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[41],"tags":[324,493,693,689,123,692,220,691,690,694,240,88,400],"class_list":["post-1525","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware","tag-5-5","tag-6-0","tag-ather-beg","tag-deploy","tag-error","tag-import","tag-lonvmug","tag-ova","tag-ovf","tag-quick-fix","tag-vcenter","tag-vsphere","tag-vsphere-6"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/tekhead.it\/wp-uploads\/www.tekhead.org\/2016\/02\/deploy.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2l3lU-oB","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts\/1525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/comments?post=1525"}],"version-history":[{"count":0,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/posts\/1525\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/media\/1527"}],"wp:attachment":[{"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/media?parent=1525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/categories?post=1525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tekhead.it\/blog\/wp-json\/wp\/v2\/tags?post=1525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}