{"id":1329,"date":"2022-01-19T10:28:17","date_gmt":"2022-01-19T16:28:17","guid":{"rendered":"http:\/\/zewwy.ca\/?p=1329"},"modified":"2022-01-19T10:28:17","modified_gmt":"2022-01-19T16:28:17","slug":"vmotion-not-allowed-in-the-current-state","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2022\/01\/19\/vmotion-not-allowed-in-the-current-state\/","title":{"rendered":"vMotion &#8211; Not Allowed in the Current State"},"content":{"rendered":"<p><a href=\"https:\/\/i.imgur.com\/EPuxKnv.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/EPuxKnv.jpg\" alt=\"\" width=\"1680\" height=\"64\" \/><\/a><\/p>\n<p>First things first, I vMotioned the vm to another host and that worked fine, so the issue appeared to be target related. I also found <a href=\"https:\/\/www.jasonsamuel.com\/2011\/06\/14\/vmotion-fails-saying-the-operation-is-not-allowed-in-the-current-state\/\">this post<\/a>, which states to restart the mgmt and vpxa services:<\/p>\n<pre>\/etc\/init.d\/hostd restart\r\n\r\n\/etc\/init.d\/vpxa restart<\/pre>\n<p>doing this on the source ESXi did nothing, again seeming the issue is on the target. Did the same tasks on the target and it still failed.<\/p>\n<p>I then disconnected the target esxi, put it in maintenance mode, rebooted it, took it out of maintenance mode, reconnected to vCenter, and this time the vMotino worked.<\/p>\n<p>Hope this helps someone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First things first, I vMotioned the vm to another host and that worked fine, so the issue appeared to be target related. I also found this post, which states to restart the mgmt and vpxa services: \/etc\/init.d\/hostd restart \/etc\/init.d\/vpxa restart doing this on the source ESXi did nothing, again seeming the issue is on the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2022\/01\/19\/vmotion-not-allowed-in-the-current-state\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;vMotion &#8211; Not Allowed in the Current State&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5],"tags":[39,190],"class_list":["post-1329","post","type-post","status-publish","format-standard","hentry","category-hypervisors","tag-failed","tag-vmotion"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1329"}],"version-history":[{"count":2,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1329\/revisions"}],"predecessor-version":[{"id":1332,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1329\/revisions\/1332"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}