(Sorry it wouldn't let me edit my original post... something about not enough reputation points...)
Update 1: As I have been digging through the logs, there are two log sets that are relevant to this: essinstaller2.log and es_installer_controller.log
Inside the es_installer_controller.log I am getting essentially a timeout error through the different run attempts (just pasting those errors here)
2015-11-04 11:54:29,549 INFO file=<string>:stage:61 | stage="disable_apps" status="failed" exc="SplunkdConnectionException(u"Error connecting to /services/apps/local/SA-ThreatIntelligence/disable: ('The read operation timed out',)",) is not JSON serializable"
2015-11-04 11:54:29,549 INFO stage="disable_apps" status="failed" exc="SplunkdConnectionException(u"Error connecting to /services/apps/local/SA-ThreatIntelligence/disable: ('The read operation timed out',)",) is not JSON serializable"
2015-11-04 13:14:41,319 INFO stage="disable_apps" status="failed" exc="SplunkdConnectionException(u"Error connecting to /services/apps/local/SA-NetworkProtection/disable: ('The read operation timed out',)",) is not JSON serializable"
2015-11-04 13:41:57,632 INFO stage="disable_apps" status="failed" exc="SplunkdConnectionException(u"Error connecting to /services/apps/local/DA-ESS-AccessProtection/disable: ('The read operation timed out',)",) is not JSON serializable"
and inside the essinstaller2.log at the end of each run when it "hangs" it just does this:
2015-11-04 13:41:57,632 INFO stage="disable_apps" app="TA-tippingpoint" status="True" msg="disable"
2015-11-04 13:41:57,632 INFO STAGE COMPLETE: "disable_apps"
back in the middle of the log you will get an error like the below, which seems to correspond with the later thrown error inside the "controller" log:
2015-11-04 13:40:45,209 INFO stage="disable_apps" app="DA-ESS-AccessProtection" status="False" msg="Splunkd daemon is not responding: (u"Error connecting to /services/apps/local/DA-ESS-AccessProtection/disable: ('The read operation timed out',)",)"
What this all means I couldn't tell you. What I will say is I did have what appeared to be one "clean" run at 12:13 - blah which showed none of the above errors, yet still just decided it would hang and do nothing...
2015-11-04 12:13:30,833 INFO STAGE STARTING: "refresh"
2015-11-04 12:13:30,834 INFO stage="refresh" msg="Installation record found"
2015-11-04 12:13:30,834 INFO stage="refresh" msg="State data loaded."
2015-11-04 12:13:30,834 INFO stage="refresh" app="SA-EndpointProtection" status="False" msg="currently installed version: 3.3.1"
........
2015-11-04 12:13:30,842 INFO STAGE COMPLETE: "refresh"
2015-11-04 12:13:30,866 INFO STAGE STARTING: "deprecate_apps"
2015-11-04 12:13:30,866 INFO stage="deprecate_apps" msg="Installation record found"
2015-11-04 12:13:30,866 INFO stage="deprecate_apps" msg="State data loaded."
2015-11-04 12:13:31,755 INFO stage="deprecate_apps" app="TA-juniper" status="True" msg="deprecated"
........
2015-11-04 12:13:36,200 INFO STAGE COMPLETE: "deprecate_apps"
2015-11-04 12:13:36,235 INFO STAGE STARTING: "disable_apps"
2015-11-04 12:13:36,235 INFO stage="disable_apps" msg="Installation record found"
2015-11-04 12:13:36,235 INFO stage="disable_apps" msg="State data loaded."
2015-11-04 12:13:37,647 INFO stage="disable_apps" app="Splunk_TA_windows" status="True" msg="disable"
........
2015-11-04 12:16:14,137 INFO STAGE COMPLETE: "disable_apps"
and the comparable lines from the "controller" log:
2015-11-04 12:09:24,802 INFO Entering method: order
2015-11-04 12:09:24,802 INFO Installation stage order retrieved: [{'name': 'refresh', 'description': 'Refreshing app information'}, {'name': 'deprecate_apps', 'description': 'Deprecating old apps'}, {'name': 'disable_apps', 'description': 'Disabling apps prior to installation'}, {'name': 'install_apps', 'description': 'Installing new apps'}, {'name': 'reenable_apps', 'description': 'Re-enabling apps'}, {'name': 'postinstall', 'description': 'Conducting postinstall actions'}, {'name': 'finalize', 'description': 'Finalizing installation'}]
2015-11-04 12:13:29,527 INFO Entering method: order
2015-11-04 12:13:29,527 INFO Installation stage order retrieved: [{'name': 'refresh', 'description': 'Refreshing app information'}, {'name': 'deprecate_apps', 'description': 'Deprecating old apps'}, {'name': 'disable_apps', 'description': 'Disabling apps prior to installation'}, {'name': 'install_apps', 'description': 'Installing new apps'}, {'name': 'reenable_apps', 'description': 'Re-enabling apps'}, {'name': 'postinstall', 'description': 'Conducting postinstall actions'}, {'name': 'finalize', 'description': 'Finalizing installation'}]
2015-11-04 12:13:30,833 INFO Entering method: stage
2015-11-04 12:13:30,833 INFO stage="refresh" status="starting"
2015-11-04 12:13:30,843 INFO stage="refresh" status="completed"
2015-11-04 12:13:30,866 INFO Entering method: stage
2015-11-04 12:13:30,866 INFO stage="deprecate_apps" status="starting"
2015-11-04 12:13:36,200 INFO stage="deprecate_apps" status="completed"
2015-11-04 12:13:36,234 INFO Entering method: stage
2015-11-04 12:13:36,234 INFO stage="disable_apps" status="starting"
2015-11-04 12:16:14,137 INFO stage="disable_apps" status="completed"
So I am still over here scratching my head if there was a "clean" run through with no errors why did it still hit the "disable_apps" completed, yet never actually PROGRESS the web interface... The solution may be in the splunkd.log, as it has the following errors right after I get my last error from the "controller" log.
11-04-2015 13:41:57.633 -0500 WARN HttpListener - Socket error from 127.0.0.1 while accessing /en-US/custom/SplunkEnterpriseSecuritySuite/installer_controller/disable_apps: Broken pipe
(web_service.log)
"2015-11-04 13:41:57,633 INFO [563a50edc37f76689ceb10] root:129 - ENGINE: Bus STOPPING"
So that was after the last run (with the other errors) so lets look at the one that "seemingly" should have succeeded...
11-04-2015 12:16:14.138 -0500 ERROR HttpListener - Exception while processing request from 127.0.0.1 for /en-US/custom/SplunkEnterpriseSecuritySuite/installer_controller/disable_apps: Connection closed by peer
11-04-2015 12:16:14.139 -0500 ERROR HttpListener - Handler for /en-US/custom/SplunkEnterpriseSecuritySuite/installer_controller/disable_apps sent a 0 byte response after earlier claiming a Content-Length of 3055!
(web_service.log)
2015-11-04 12:16:14,139 INFO [563a3b87897facc4ad6ad0] root:129 - ENGINE: Bus STOPPING
Anyway, I am at a loss here, still... It looks like there is just something wrong with the way the installer is coded, but I am not getting clear enough error messages to know what to fix. Why can't we have a manual installation route?
... View more