Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On HEAT

#Enable Robot log access from browser

>sudo /opt/demo.sh init_robot

Access from browser http://{{robot_ip}}:88/logs/


On OOM

Step 1: Run init_robot test to enable remote access to Robot through web browser

root@oom-rancher:~# ./oom/kubernetes/robot/demo-k8s.sh onap init_robot

Step 2: Find the mapping port:

root@oom-rancher:~# kubectl -n onap get service |grep robot
robot NodePort 10.43.136.36 <none> 88:30209/TCP 7h

Step 3: Access from browser with ANY k8s cluster node IP plus the above mapping port 30209, like:

http://10.12.5.200:30209/

http://10.12.5.200:30209/logs/


Check certificate

Code Block
titleCheck Certificate
collapsetrue
root@dev-robot-robot-56bcbffb5d-jlvgj:~# cat verify_cert.sh 
#!/bin/bash
for server in aaf-service.onap:8100 aai.onap:8443 deployment-handler.onap:8443 dmaap-bc.onap:8443 dmaap-dr-node.onap:8443 dmaap-dr-prov.onap:8443 vid.onap:8443 portal-app.onap:8443 sdc-fe.onap:9443 sdc-be.onap:8443 sdnc.onap:8443 clamp.onap:8443 pap.onap:8443
do
    host=$(echo $server | cut -d ":" -f 1)
    echo host:$host
    echo | openssl s_client -showcerts -servername $host -connect $server 2>/dev/null | openssl x509 -inform pem -noout -text | grep -E "Not After|Not Before|Issuer:|Subject:"
done