Hide Forgot
Description of problem: If set "Provisioning.RegenerateSshHostKeyPair=n" in /etc/waagent.conf and execute "waagent -deprovision", the ssh how key pairs will not be deleted. But there is a message "WARNING! All SSH host key pairs will be deleted.". Version-Release number of selected component (if applicable): WALinuxAgent-2.0.16-1.el6 How reproducible: Always Steps to Reproduce: 1. Prepare a VM with WALinuxAgent installed. 2. Set RegenerateSshHostKeyPair=n in /etc/waagent.conf: Provisioning.RegenerateSshHostKeyPair=n 3. Execute deprovision, and focus on the warning messages: # waagent -deprovision Actual results: There's a message: "WARNING! All SSH host key pairs will be deleted." Expected results: There's no message: "WARNING! All SSH host key pairs will be deleted." because the ssh host key pairs will not be deleted. Additional info:
This issue is fixed in WALinuxAgent-2.1.5. Verify and close it. *** This bug has been marked as a duplicate of bug 1360493 ***