Done
Details
Assignee
Former userFormer user(Deactivated)Reporter
Former userFormer user(Deactivated)Sprint
NoneFix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Former user
Former user(Deactivated)Reporter
Former user
Former user(Deactivated)Sprint
None
Fix versions
Affects versions
Priority
Created January 3, 2019 at 3:47 PM
Updated February 11, 2019 at 9:30 PM
Resolved February 11, 2019 at 9:30 PM
Upon successful deployment of Casablanca with all components present except PNDA, the VVP component shows frequent pod restarts on the Imagescanner pod. Example VVP component pod status after a few days of Casablanca uptime (see highlighted red font):
onap onap-vvp-vvp-647df775c-kwgzp 1/1 Running 0 2d
onap onap-vvp-vvp-ci-uwsgi-869547b95d-8lfl5 1/1 Running 0 2d
onap onap-vvp-vvp-cms-uwsgi-67875bc58d-c2p6v 1/1 Running 0 2d
onap onap-vvp-vvp-em-uwsgi-cb5946fcd-75gbt 1/1 Running 1 2d
onap onap-vvp-vvp-ext-haproxy-78cfc9686-vlmhr 1/1 Running 0 2d
onap onap-vvp-vvp-gitlab-d854f8b88-dp9cd 1/1 Running 0 2d
onap onap-vvp-vvp-imagescanner-67ddfd664d-25dm5 3/3 Running 156 2d
onap onap-vvp-vvp-int-haproxy-6c77648b48-mgm9n 1/1 Running 0 2d
onap onap-vvp-vvp-jenkins-6c8b6fff88-fqtb9 1/1 Running 0 2d
onap onap-vvp-vvp-postgres-559b9fc8b5-mblhg 1/1 Running 0 2d
onap onap-vvp-vvp-redis-5d566fdf44-mznns 1/1 Running 0 2d
Log output from the pod shows respectively:
# kubectl -n onap logs onap-vvp-vvp-imagescanner-67ddfd664d-25dm5 -c imagescanner-worker
<...snip...>
[2019-01-03 15:26:50,223: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379//: Error -2 connecting to redis:6379. Name does not resolve..
Trying again in 2.00 seconds...
# kubectl -n onap logs onap-vvp-vvp-imagescanner-67ddfd664d-25dm5 -c notification-worker
<...snip...>
[2019-01-03 15:32:37,527: ERROR/MainProcess] consumer: Cannot connect to redis://redis:6379//: Error -2 connecting to redis:6379. Name does not resolve..
Trying again in 32.00 seconds...
Also, there is a (perhaps unrelated) warning at the top of each of these logs which may need attention:
/usr/lib/python3.6/site-packages/celery/platforms.py:796: RuntimeWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!
Please specify a different user using the --uid option.
User information: uid=0 euid=0 gid=0 egid=0
uid=uid, euid=euid, gid=gid, egid=egid,
The related JIRA issue noted (VVP-117) appears to have the same vvp-imagescanner pod restarts shown in that ticket's description text.