{"id":46,"date":"2024-05-09T16:33:20","date_gmt":"2024-05-09T14:33:20","guid":{"rendered":"https:\/\/v-tailor.hu\/en\/?p=46"},"modified":"2024-05-10T13:42:19","modified_gmt":"2024-05-10T11:42:19","slug":"cannot-add-esxi-host-to-vcenter","status":"publish","type":"post","link":"https:\/\/v-tailor.hu\/en\/2024\/05\/09\/cannot-add-esxi-host-to-vcenter\/","title":{"rendered":"Cannot add ESXi host back to vCenter &#8211; &#8220;Weak password, too short&#8221;"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Symptom<\/h2>\n\n\n\n<p>You have disconnected and removed your ESXi host from the vCenter for any reason and when you wanted to add it back and after you finished with the &#8220;Add Host&#8230;&#8221; wizard, you get the following error message: &#8220;A general system error occurred: Weak password: too short. *** passwd: Authentication token manipulation error&#8221;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-1.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"394\" src=\"https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-1-1024x394.jpg\" alt=\"\" class=\"wp-image-47\" srcset=\"https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-1-1024x394.jpg 1024w, https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-1-300x115.jpg 300w, https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-1-768x295.jpg 768w, https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-1.jpg 1027w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Related error message<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Cause<\/h2>\n\n\n\n<p>In my case the main issue was that because security reason we set a strict password policy to allow passwords only if it is forty (40) characters long. When the vCenter try to create\/update the vpxuser&#8217;s password it is going to be failed because the password complexity is stricter than what the vCenter want to set.<\/p>\n\n\n\n<p>To verify your password complexity login to your currently standalone ESXi host with the root account and navigate to <em>Manage<\/em> > <em>System<\/em> > <em>Advanced<\/em> <em>settings<\/em> and type <em>Security.PasswordQualityControl<\/em> to the search field. Its default value is &#8220;retry=3 min=disabled,disabled,disabled,7,7&#8221; but in my case, because the mentioned security thing it is modified to &#8220;retry=3 min=disabled,disabled,disabled,40,40&#8221;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-2.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"262\" src=\"https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-2-1024x262.jpg\" alt=\"\" class=\"wp-image-49\" srcset=\"https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-2-1024x262.jpg 1024w, https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-2-300x77.jpg 300w, https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-2-768x196.jpg 768w, https:\/\/v-tailor.hu\/en\/wp-content\/uploads\/sites\/2\/2024\/05\/Password-too-short-2.jpg 1369w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">The modified advanced setting<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<p>The good news is you do not need to modify the root account&#8217;s password to solve this issue. To be able to add your ESXi host back to the vCenter just follow these steps:<\/p>\n\n\n\n<ol>\n<li>Log in to the standalone ESXi host if you are not already logged in<\/li>\n\n\n\n<li>Navigate to <em>Manage<\/em> > <em>System<\/em> > <em>Advanced<\/em> <em>settings<\/em> and type <em>Security.PasswordQualityControl<\/em> to the search field, select the setting and click to &#8220;Edit option&#8221;<\/li>\n\n\n\n<li>Edit the value to be the default &#8220;retry=3 min=disabled,disabled,disabled,7,7&#8221; one then click to Save<\/li>\n\n\n\n<li>Log in to the vCenter and start the &#8220;Add Host&#8230;&#8221; wizard. Enter the &#8220;Name and location&#8221; then enter the &#8220;Connection settings&#8221; then Next<\/li>\n\n\n\n<li>The &#8220;Host summary&#8221; page should be visible<\/li>\n\n\n\n<li>Finish the wizard<\/li>\n\n\n\n<li>Now the ESXi host should be available in the vCenter<\/li>\n\n\n\n<li>Go back to the ESXi host&#8217;s GUI and set back the <em>Security.PasswordQualityControl<\/em> advanced settings to its previous value and Save the modification<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Symptom You have disconnected and removed your ESXi host from the vCenter for any reason and when you wanted to add it back and after you finished with the &#8220;Add Host&#8230;&#8221; wizard, you get the following error message: &#8220;A general system error occurred: Weak password:&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":47,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[5],"_links":{"self":[{"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":9,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/posts\/46\/revisions\/63"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/media\/47"}],"wp:attachment":[{"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v-tailor.hu\/en\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}