...
Due to the large number of possible issues in a deployment please run the following script and include the output in the Ticket.
#!/bin/bash
set -x
set -e
...
PW=$(grep OPENSTACK-PASSWORD /opt/app/dcae-controller/config.yaml | sed s/OPENSTACK-PASSWORD:.//)
set -e
echo ======= config.yaml
cat /opt/app/dcae-controller/config.yaml
...
|
...
sed
...
"s/
...
$PW/XXXXXX/"
echo ======= docker
docker images
docker
...
ps
...
-a
ID=$(docker
...
ps
...
|
...
grep
...
dcae-controller:
...
|
...
cut
...
-c1-12)
docker logs $ID
...
echo ======= docker logs
docker logs $ID 2>&1
echo ======= dcae-controller.sh.log
docker
...
exec
...
$ID
...
cat
...
/opt/app/dcae-controller-platform-server/logs/
...
dcae-controller.
...
docker exec $ID cat /opt/app/dcae-controller-platform-server/logs/controller-platform-server-controller.out | head -10000
...
sh.log
echo ======= reports
docker exec -e GROOVY_HOME=/opt/app/groovy-2.4.6
...
$ID
...
/opt/app/dcae-controller-platform-server/bin/dcae-controller.sh
...
report
...
-n
...
/reports/dcae/vms
docker
...
exec
...
-e
...
GROOVY_HOME=/opt/app/groovy-2.4.6
...
$ID
...
/opt/app/dcae-controller-platform-server/bin/dcae-controller.sh
...
report
...
-n
...
/reports/dcae/service-instances
echo ======= logs err
docker exec $ID cat /opt/app/dcae-controller-platform-server/logs/controller-platform-server-controller.err | head -10000 | sed "s/$PW/XXXXXX/"
echo ======= logs out
docker exec $ID cat /opt/app/dcae-controller-platform-server/logs/controller-platform-server-controller.out | head -10000