Bug 1314734 - [WALA]warning message is wrong while deprovisioning if don't delete ssh host key pairs
Summary: [WALA]warning message is wrong while deprovisioning if don't delete ssh host ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: WALinuxAgent
Version: 6.7
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Yue Zhang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1359574 1366045 1387784
TreeView+ depends on / blocked
 
Reported: 2016-03-04 11:22 UTC by Yuxin Sun
Modified: 2016-11-16 06:20 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-09 08:38:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yuxin Sun 2016-03-04 11:22:15 UTC
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:

Comment 3 Yuxin Sun 2016-08-09 08:38:25 UTC
This issue is fixed in WALinuxAgent-2.1.5. Verify and close it.

*** This bug has been marked as a duplicate of bug 1360493 ***


Note You need to log in before you can comment on or make changes to this bug.