Affects Version/s: HCDC 3.0.0
Fix Version/s: None
Component/s: Data Center
Symptom Severity:Severity 2 - Major
When performing a Manual Deployment of HipChat Data Center, the hipchat datacenter restart command fails to complete when run on any of the data center nodes.
The following is observed in /var/log/chef.log
The chef run failed because no cwd_application table existed in the hipchat database (when it should have).
The cwd_* tables are created via a script located on the nodes here: /opt/atlassian/hipchat/postgres/hipchat-crowd-schema.sh
This script is normally created, then executed, the first time hipchat datacenter restart is invoked.
If hipchat datacenter restart is executed on a node multiple times for whatever reason (i.e. due to other failures, etc), the hipchat-crowd-schema.sh script is never executed because it already exists on the filesystem.
If the above error is found in the /var/log/chef.log, then the following steps should work around the issue:
- Log in to the command-line console of the affected node and execute: