Bug #43900 Agent update installer forces mgmt hostname SSL port to 18443
Submitted: 26 Mar 2009 22:57 Modified: 7 Aug 2009 12:04
Reporter: Marcos Palacios
Status: Closed
Category:Monitoring: Install Severity:S3 (Non-critical)
Version:2.1.0.1020 OS:Any
Assigned to: BitRock Merlin Target Version:2.0 maint release

[26 Mar 2009 22:57] Marcos Palacios
Description:
When updating an agent that uses SSL, to connect to the dashboard, on a port other than
'18443', the resulting ini file will have the SSL port changed to '18443'. For example,
if I had port '28443' then it changes it to '18443'.

If the agent does not use SSL, the port is kept the same: i.e., if I had '28080' then it
does not change it.

How to repeat:
- install a 2.0 agent with the following parameter (in etc/mysql-monitor-agent.ini):
  agent-mgmt-hostname = https://<agent-id>:<agent-password>@127.0.0.1:28443/heartbeat
 This means: use the "28443" as the SSL port when installing the 2.0 agent and
indicate/check "Use SSL".
- use the 2.1 agent update installer to upgrade the agent
- observe that the SSL port in the agent-mgmt-hostname parameter (in the new ini file) is
now "18443".
[31 Mar 2009 13:44] BitRock Merlin
Should this issue be fixed for 2.0 and 2.1 versions? Please specify the "Target Version"
tag, thanks.
[28 Apr 2009 21:00] Andy Bang
Please fix in both 2.0 and 2.1.
[29 Apr 2009 19:15] BitRock Merlin
Patch sent to Keith.
[5 May 2009 1:30] Keith Russell
Patch installed in versions => 2.1.0.1036.
[5 May 2009 17:08] Marcos Palacios
Verified fixed in build 2.1.0.1036 - setting back to Patch pending for 2.0.6 build.
[31 Jul 2009 5:27] Enterprise Tools JIRA Robot
Keith Russell writes: 
Patch installed in versions => 2.0.6.7159.
[5 Aug 2009 0:16] Enterprise Tools JIRA Robot
Marcos Palacios writes: 
Verified fixed in agent update installer build 2.0.6.7159.
[7 Aug 2009 12:04] Tony Bedford
An entry was added to both the 2.0.6 and 2.1.0 changelogs:

When updating an Agent from 2.0 to 2.1 the mysql-monitor-agent.ini was incorrectly
updated.

This happened if the Agent was configured to use SSL to connect to the Enterprise
Dashboard, on a port other than 18443. The update installer caused any value specified
for the port to be changed to 18443. This did not happen if the Agent was not using SSL.