Bug #22826 Agent inst in unattended mode creates almost empty log (br 1585)
Submitted: 29 Sep 2006 15:12 Modified: 18 Oct 2006 10:25
Reporter: Carsten Segieth Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:0.6.26 OS:Linux (RHAS3 on IA64)
Assigned to: Keith Russell CPU Architecture:Any

[29 Sep 2006 15:12] Carsten Segieth
Description:
BitRock log is not very useful (nearly empty) if the agent installation is started in unattended mode.

So any type of debugging and/or checking, what the installer really did is very difficult.

-rw-------    1 csegieth csegieth      108 Sep 29 17:34 bitrock_installer.log

csegieth@qa-ia64-a:~/merlin>cat /tmp/bitrock_installer.log
Log started 09/29/06 at 17:33:52
Preferred installation mode : unattended
Log finished 09/29/06 at 17:34:04

How to repeat:
- check /tmp/bitrock_installer.log after installing the agent in unattended mode, e.g using this commands:

OS=rhas3-ia64
VERS=0.6.26
MYSQLHOST=win2003a-x86
MYSQLPORT=3000
MERLINHOST=net-qa2
MERLINPPORT=8080
$MERLINHOST:$MERLINPPORT
/users/schilders/public_html/official_builds/rhel4/bitrock_agents/mysqlserviceagent-$VERS-$OS-installer.bin --debugtrace /users/csegieth/mysql/network/agent/$VERS/$HOST/$OS/install_debug.log --prefix /users/csegieth/mysql/network/agent/$VERS/$HOST/$OS --mysqlhost $MYSQLHOST --mysqlport $MYSQLPORT --mysqluser agent --mysqlpass mysql --merlinhost $MERLINHOST --merlinport $MERLINPPORT --merlinuser agent --merlinpass mysql --merlinservername "$HOST ($OS) - $MYSQLHOST" --loglevel debug  --mode unattended

Suggested fix:
write full log also in unattended mode, like the log seen when running the UI install on Windows.
[18 Oct 2006 3:42] Keith Russell
updated starting with version 7.3
[18 Oct 2006 10:25] Carsten Segieth
solved with 0.7.4 (but I still think that there could be 'more' in the log, e.g. about the values entered for the configuration, but this is an other issue)

Log started 10/18/06 at 10:27:13
Preferred installation mode : unattended
Preparing to Install
Creating directory /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a
Creating directory /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/bin
Creating directory /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/etc
Creating directory /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/etc/init.d
Creating directory /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/share
Creating directory /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/share/mysql-service-agent
Unpacking files
Unpacking /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/bin/mysql-service-agent
Unpacking /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/etc/mysql-service-agent.ini
Unpacking /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/etc/init.d/mysql-service-agent
Unpacking /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/share/mysql-service-agent/items-mysql-network.xml
Unpacking /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/share/mysql-service-agent/items-os.xml
Unpacking /users/csegieth/mysql/network/agent/0.7.4/rhas3-ia64/qa-ia64-a/share/mysql-service-agent/items-slavestatus-mysql-4.1.6.xml
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 10/18/06 at 10:27:25