Un-Auto-Deployed-ed

I had a system this week that was having issues with AutoDeploy, so I decided to uninstall and reinstall it.  Uninstall went fine but the reinstall gave me a “The service is already registered with specified vCenter Server” message.   I found the commandline to unregister the service – but the uninstall had removed the binaries.  I copied the “c$Program Files (x86)VMwareVMware vSphere Auto Deploy” directory off another host and ran “autodeploy-register -U -a ipaddress -u username -w password -p 80″ and got a bunch of errors:

warning: unable to setup logging — No section: ‘formatters’
warning: unable to delete DB — [Error 3] The system cannot find the path specified: ‘/var/lib/rbd\db’
WARNING:root:client SSL material does not exist!

I reran the command and this time got the same errors plus  “error: autodeploy is not registered with this vCenter.” Sure enough, the first run had worked so I reinstalled AutoDeploy… to additional errors.  I had forgotten the directory included a database and setup info for the other host!  I reran the unregister, uninstalled, verified the directory was gone and reinstalled without issue.

Moral of the story: unregister the Autodeploy service manually before uninstalling!

This entry was posted in Cloud, Computing, Virtualization, VMware and tagged , , , . Bookmark the permalink.

2 Responses to Un-Auto-Deployed-ed

  1. Peter Scott says:

    Spot on, thanks so much!

  2. Caleb says:

    Perfect, thanks!

Leave a Reply