-
Bug
-
Resolution: Done
-
Medium
-
Dublin Release
-
None
-
None
resconf collector image does not exist in nexus repo
using dublin restconfcollector blueprint: https://git.onap.org/dcaegen2/collectors/restconf/tree/dpo/blueprints/k8s-rcc-policy.yaml-template?h=dublin
[root@dev-dcaegen2-dcae-bootstrap-5cd7478f7c-m8bvg /]# cfy blueprints validate /blueprints/k8s-rcc-policy.yaml Validating blueprint: /blueprints/k8s-rcc-policy.yaml Blueprint validated successfully [root@dev-dcaegen2-dcae-bootstrap-5cd7478f7c-m8bvg /]# cfy blueprints upload -b restconfcollector /blueprints/k8s-rcc-policy.yaml Uploading blueprint /blueprints/k8s-rcc-policy.yaml... k8s-rcc-policy.yaml |#################################################| 100.0% Blueprint uploaded. The blueprint's id is restconfcollector [root@dev-dcaegen2-dcae-bootstrap-5cd7478f7c-m8bvg /]# cfy deployments create -b restconfcollector Creating new deployment from blueprint restconfcollector... Deployment created. The deployment's id is restconfcollector [root@dev-dcaegen2-dcae-bootstrap-5cd7478f7c-m8bvg /]# cfy executions start -d restconfcollector install Executing workflow install on deployment restconfcollector [timeout=900 seconds] 2019-05-14 07:22:35.749 CFY <restconfcollector> Starting 'install' workflow execution 2019-05-14 07:22:36.421 CFY <restconfcollector> [rcc_k8s_awehav] Creating node instance 2019-05-14 07:22:37.087 CFY <restconfcollector> [rcc_k8s_awehav.create] Sending task 'k8splugin.create_for_platforms' 2019-05-14 07:22:38.904 LOG <restconfcollector> [rcc_k8s_awehav.create] INFO: Added config for dcaegen2-collectors-rcc 2019-05-14 07:22:39.584 LOG <restconfcollector> [rcc_k8s_awehav.create] INFO: Done setting up: dcaegen2-collectors-rcc 2019-05-14 07:22:39.584 CFY <restconfcollector> [rcc_k8s_awehav.create] Task succeeded 'k8splugin.create_for_platforms' 2019-05-14 07:22:39.584 CFY <restconfcollector> [rcc_k8s_awehav] Node instance created 2019-05-14 07:22:40.178 CFY <restconfcollector> [rcc_k8s_awehav] Configuring node instance: nothing to do 2019-05-14 07:22:40.178 CFY <restconfcollector> [rcc_k8s_awehav] Starting node instance 2019-05-14 07:22:40.178 CFY <restconfcollector> [rcc_k8s_awehav.start] Sending task 'k8splugin.create_and_start_container_for_platforms' 2019-05-14 07:22:41.545 LOG <restconfcollector> [rcc_k8s_awehav.start] INFO: Starting k8s deployment for dcaegen2-collectors-rcc, image: nexus3.onap.org:10001/org.onap.dcaegen2.collectors.restconfcollector:1.1.1, env: {'CONSUL_HOST': u'consul-server.onap.svc.cluster.local', u'DMAAPHOST': u'message-router.onap.svc.cluster.local', 'CONFIG_BINDING_SERVICE': u'config_binding_service', u'CBS_HOST': u'config-binding-service.dcae.svc.cluster.local', u'DMAAPPORT': u'3904', u'CBS_PORT': u'10000', u'CONSUL_PORT': u'8500', u'DMAAPPUBTOPIC': u'unauthenticated.DCAE_RCC_OUTPUT'}, kwargs: {'readiness': {u'endpoint': u'/healthcheck', u'type': u'http', u'timeout': u'1s', u'interval': u'15s'}, 'tls_info': {}, 'replicas': 1, u'envs': {u'CONSUL_HOST': u'consul-server.onap.svc.cluster.local', u'DMAAPHOST': u'message-router.onap.svc.cluster.local', u'CONFIG_BINDING_SERVICE': u'config_binding_service', u'CBS_HOST': u'config-binding-service.dcae.svc.cluster.local', u'DMAAPPORT': u'3904', u'CBS_PORT': u'10000', u'CONSUL_PORT': u'8500', u'DMAAPPUBTOPIC': u'unauthenticated.DCAE_RCC_OUTPUT'}, 'labels': {'cfydeployment': u'restconfcollector', 'cfynodeinstance': u'rcc_k8s_awehav', 'cfynode': u'rcc_k8s'}, 'ctx': <cloudify.context.CloudifyContext object at 0x7f9b47e17310>, 'always_pull_image': False, 'resource_config': {}, 'log_info': {u'log_directory': u'/opt/app/RCCollector/logs'}, u'ports': [u'8080:30416'], 'k8s_location': u'central'} 2019-05-14 07:22:42.167 LOG <restconfcollector> [rcc_k8s_awehav.start] INFO: Passing k8sconfig: {'tls': {u'cert_path': u'/opt/tls/shared', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:1.0.3'}, 'filebeat': {u'config_map': u'dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'consul_dns_name': u'consul-server.onap', 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap', 'consul_host': 'consul-server:8500', 'default_k8s_location': u'central'} 2019-05-14 07:22:42.167 LOG <restconfcollector> [rcc_k8s_awehav.start] INFO: k8s deployment initiated successfully for dcaegen2-collectors-rcc: {'services': ['dcaegen2-collectors-rcc', 'xdcaegen2-collectors-rcc'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcaegen2-collectors-rcc'} 2019-05-14 07:22:42.167 LOG <restconfcollector> [rcc_k8s_awehav.start] INFO: Waiting up to 1800 secs for dcaegen2-collectors-rcc to become ready
kubectl describe po dep-dcaegen2-collectors-rcc-d58955c49-95mwx ... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 2m10s default-scheduler Successfully assigned onap/dep-dcaegen2-collectors-rcc-d58955c49-95mwx to onap-k8s-12 Normal Pulled 2m6s kubelet, onap-k8s-12 Container image "docker.elastic.co/beats/filebeat:5.5.0" already present on machine Normal Created 2m6s kubelet, onap-k8s-12 Created container Normal Started 2m6s kubelet, onap-k8s-12 Started container Warning Failed 79s (x3 over 2m6s) kubelet, onap-k8s-12 Failed to pull image "nexus3.onap.org:10001/org.onap.dcaegen2.collectors.restconfcollector:1.1.1": [rpc error: code = Unknown desc = Error response from daemon: manifest for nexus3.onap.org:10001/org.onap.dcaegen2.collectors.restconfcollector:1.1.1 not found, rpc error: code = Unknown desc = Error response from daemon: manifest for nexus3.onap.org:10001/org.onap.dcaegen2.collectors.restconfcollector:1.1.1 not found] Warning Failed 79s (x3 over 2m6s) kubelet, onap-k8s-12 Error: ErrImagePull Normal BackOff 45s (x6 over 2m6s) kubelet, onap-k8s-12 Back-off pulling image "nexus3.onap.org:10001/org.onap.dcaegen2.collectors.restconfcollector:1.1.1" Warning Failed 45s (x6 over 2m6s) kubelet, onap-k8s-12 Error: ImagePullBackOff Normal Pulling 33s (x4 over 2m9s) kubelet, onap-k8s-12 pulling image "nexus3.onap.org:10001/org.onap.dcaegen2.collectors.restconfcollector:1.1.1"