[PCC 2.x] Creating Kubernetes Cluster from Enterprise Manager Fails with Error "RESOURCE_DOES_NOT_EXIST_001"
(Doc ID 2771039.1)
Last updated on SEPTEMBER 06, 2023
Applies to:
Private Cloud Appliance - Version 2.4.3 and laterLinux x86-64
Symptoms
Creating Kubernetes cluster from OEM failed.
The ovca.log shows below errors:
[2021-04-13 15:50:45 1914437] DEBUG (service:147) call start: create_kubernetes_cluster({'worker-pool': {'memory': 8192, 'hostnames': ['k8sp2012opcc1vm0135'], 'cpu': 2, 'quantity': 0}, 'cluster': {'name': 'devops-lab', 'load_balancer_ip': '10.20.12.131', 'external_network_name': 'VLAN2012.KUBERNETS.COMMON', 'repository': 'PCC_internal_hc_repo_02', 'tenant_group_name': 'Rack1_ServerPool'}, 'network': {'name_servers': ['10.20.3.2', '10.20.3.3'], 'search_domains': ['valecard.com.br'], 'netmask': '255.255.252.0', 'gateway': '10.20.12.1'}, 'master-pool': {'hostnames': [{'k8sp2012opcc1vm0132': '10.20.12.132'}, {'k8sp2012opcc1vm0133': ''}, {'k8sp2012opcc1vm0134': ''}], 'cpu': 4, 'memory': 16384}},)
[2021-04-13 15:50:45 1914437] INFO (kube_utils:46) _validate_parameters: missing keys: set([])
[2021-04-13 15:50:45 1914437] INFO (kube_utils:46) _validate_parameters: missing keys: set([])
[2021-04-13 15:50:45 1914437] INFO (kube_setup:184) Checking for resources in create cluster devops-lab
[2021-04-13 15:50:45 1914437] INFO (ovm:108) Calling ovmwsh script [get_assembly_info.py] with args ('--repository=PCC_internal_hc_repo_02', '--assembly=pca-k8s-1-0-0.ova')
[2021-04-13 15:50:49 185899] DEBUG (kubestateserver:1049) Callout for state (worker_loop_wait_for_vm_to_add) to function (check_ovm_job): {'substate': 'WORKERS', 'private_network_id': u'1086bd21d1', 'ovm_job_description': u'Create VM from Virtual Appliance VM: PCA_K8S_OVM_OL71', 'node_op_start_time': 1618328960.8393891, 'ovm_job_error_msg': '(not set)','ovm_job_id': u'1618329042977', 'network_name': 'VLAN2012.KUBERNETS.COMMON', 'ovm_job_run_state': u'SUCCESS', 'node_substate': 'BUILD_VM', 'job_id': '397e9992e90abe', 'compute_node': 'ovcacn09r1', 'assembly_id': u'11c92b2399_vm_PCA_K8S_OVM_OL71', 'index': '11', 'state': 'worker_loop_wait_for_vm_to_add', 'ovm_job_start': 1618329044.1824679, 'vlan_tag': '1088', 'type': 'job', 'assembly': 'pca-k8s-1-0-0.ova', 'repository_id': u'0004fb0000030000d33b301c580ef14b', 'workflow': 'start', 'serverpool_id': '0004fb000002000045a50a42d23d87a2', 'start_time': 1618327173.2328489, 'ovm_job_result_id': u'0004fb00000600009a23166a3097326f', 'base_network_name': 'K8S_Private', 'interface': 'eth1', 'ovm_job_error_text': '(not set)', 'vm_id': u'0004fb00000600009a23166a3097326f', 'nodepool': 'worker', 'name': 'observability', 'ovm_job_error_type': '(not set)', 'ovm_job_attempts': 0, 'node_name': 'k8sp2012opcc1vm0014', 'vlan_ids': u'0004fb000024000053679d5aa55007b4,0004fb0000240000c6230e61e98c5a45,0004fb00002400002612c0c29674da2d,0004fb000024000026e9a383c91fa3e7,0004fb0000240000ff7b9a5625739ab1', 'start_vm_finish_time': u'1618328858803'}
[2021-04-13 15:50:49 185899] INFO (ovm:108) Calling ovmwsh script [get_job_information.py] with args (u'--job_id=1618329042977',)
[2021-04-13 15:50:50 1914437] WARNING (ovm:148) ovmwsh script finished with error: 1
STDOUT: RESULT:{"repository_id": "0004fb0000030000f73ce8ca6dbf03cb"}
STDERR:
Oracle VM Manager Core WS-API Shell 3.4.6.2684 (20200715_2684)
Copyright (C) 2007, 2016 Oracle. All rights reserved.
See the LICENSE file for redistribution information.
RESULT:{"replacement": "Virtual_Appliance,pca-k8s-1-0-0.ova,repository,PCC_internal_hc_repo_02", "error": "RESOURCE_DOES_NOT_EXIST_001"}
[2021-04-13 15:50:50 1914437] INFO (kube_utils:187) Exception built: Error (RESOURCE_DOES_NOT_EXIST_001): Virtual_Appliance 'pca-k8s-1-0-0.ova', does not exist in repository 'PCC_internal_hc_repo_02'.
[2021-04-13 15:50:50 1914437] INFO (kube_setup:191) Resources not found for cluster create devops-lab
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |