Closed nagendra202 closed 8 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.
Message: ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc new-app --template=redis-ephemeral -n test --name=build1. Error is error: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get templates.template.openshift.io) error: unable to locate any templates loaded in accessible projects with name "redis-ephemeral"
The 'oc new-app' command will match arguments to the following types:
Images tagged into image streams in the current project or the 'openshift' project
if you don't specify a tag, we'll add ':latest'
Images in the container storage, on remote registries, or on the local container engine
Templates in the current project or the 'openshift' project
Git repository URLs or local paths that point to Git repositories
--allow-missing-images can be used to point to an image that does not exist yet.
See 'oc new-app -h' for examples. Type: None
Text: self = <tests.e2e.workloads.ocp.registry.test_registry_by_increasing_num_of_image_registry_pods.TestRegistryByIncreasingNumPods object at 0x7fd25600bd00> threading_lock = <unlocked _thread.RLock object owner=0 count=0 at 0x7fd2b6a2f060> count = 3
@pytest.mark.polarion_id("OCS-1900") def test_registry_by_increasing_num_of_registry_pods(self, threading_lock, count=3): """ Test registry by increasing number of registry pods and validate all the image-registry pod should have the same PVC backend.
image_pull_and_push(project_name=self.project_name)
tests/e2e/workloads/ocp/registry/test_registry_by_increasing_num_of_image_registry_pods.py:85:
ocs_ci/ocs/registry.py:385: in image_pull_and_push ocp_obj.exec_oc_cmd(command=cmd, out_yaml_format=False) ocs_ci/ocs/ocp.py:178: in exec_oc_cmd out = run_cmd( ocs_ci/utility/utils.py:484: in run_cmd completed_process = exec_cmd(
cmd = ['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig', 'new-app', '--template=redis-ephemeral', '-n', ...] secrets = None, timeout = 600, ignore_error = False, threading_lock = None silent = False, use_shell = False cluster_config = <ocs_ci.framework.MultiClusterConfig object at 0x7fd2ea270fd0> kwargs = {} masked_cmd = 'oc new-app --template=redis-ephemeral -n test --name=build1' kubepath = '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig' completed_process = CompletedProcess(args=['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig'...low-missing-images can be used to point to an image that does not exist yet.\n\nSee 'oc new-app -h' for examples.\n') masked_stdout = '' masked_stderr = "error: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get templates.te...-allow-missing-images can be used to point to an image that does not exist yet.\n\nSee 'oc new-app -h' for examples.\n"
def exec_cmd( cmd, secrets=None, timeout=600, ignore_error=False, threading_lock=None, silent=False, use_shell=False, cluster_config=None, **kwargs, ): """ Run an arbitrary command locally
E ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc new-app --template=redis-ephemeral -n test --name=build1. E Error is error: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get templates.template.openshift.io) E error: unable to locate any templates loaded in accessible projects with name "redis-ephemeral" E E The 'oc new-app' command will match arguments to the following types: E E 1. Images tagged into image streams in the current project or the 'openshift' project E - if you don't specify a tag, we'll add ':latest' E 2. Images in the container storage, on remote registries, or on the local container engine E 3. Templates in the current project or the 'openshift' project E 4. Git repository URLs or local paths that point to Git repositories E E --allow-missing-images can be used to point to an image that does not exist yet. E E See 'oc new-app -h' for examples.
ocs_ci/utility/utils.py:664: CommandFailed
2023-12-04 01:25:35 Message: ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc new-app --template=redis-ephemeral -n test --name=build1. Error is error: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get templates.template.openshift.io) error: unable to locate any templates loaded in accessible projects with name "redis-ephemeral"
The 'oc new-app' command will match arguments to the following types:
Images tagged into image streams in the current project or the 'openshift' project
if you don't specify a tag, we'll add ':latest'
Images in the container storage, on remote registries, or on the local container engine
Templates in the current project or the 'openshift' project
Git repository URLs or local paths that point to Git repositories
--allow-missing-images can be used to point to an image that does not exist yet.
See 'oc new-app -h' for examples. Type: None
Text: self = <tests.e2e.workloads.ocp.registry.test_registry_by_increasing_num_of_image_registry_pods.TestRegistryByIncreasingNumPods object at 0x7fd25600bd00> threading_lock = <unlocked _thread.RLock object owner=0 count=0 at 0x7fd2b6a2f060> count = 3
@pytest.mark.polarion_id("OCS-1900") def test_registry_by_increasing_num_of_registry_pods(self, threading_lock, count=3): """ Test registry by increasing number of registry pods and validate all the image-registry pod should have the same PVC backend.
image_pull_and_push(project_name=self.project_name)
tests/e2e/workloads/ocp/registry/test_registry_by_increasing_num_of_image_registry_pods.py:85:
ocs_ci/ocs/registry.py:385: in image_pull_and_push ocp_obj.exec_oc_cmd(command=cmd, out_yaml_format=False) ocs_ci/ocs/ocp.py:178: in exec_oc_cmd out = run_cmd( ocs_ci/utility/utils.py:484: in run_cmd completed_process = exec_cmd(
cmd = ['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig', 'new-app', '--template=redis-ephemeral', '-n', ...] secrets = None, timeout = 600, ignore_error = False, threading_lock = None silent = False, use_shell = False cluster_config = <ocs_ci.framework.MultiClusterConfig object at 0x7fd2ea270fd0> kwargs = {} masked_cmd = 'oc new-app --template=redis-ephemeral -n test --name=build1' kubepath = '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig' completed_process = CompletedProcess(args=['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig'...low-missing-images can be used to point to an image that does not exist yet.\n\nSee 'oc new-app -h' for examples.\n') masked_stdout = '' masked_stderr = "error: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get templates.te...-allow-missing-images can be used to point to an image that does not exist yet.\n\nSee 'oc new-app -h' for examples.\n"
def exec_cmd( cmd, secrets=None, timeout=600, ignore_error=False, threading_lock=None, silent=False, use_shell=False, cluster_config=None, **kwargs, ): """ Run an arbitrary command locally
E ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc new-app --template=redis-ephemeral -n test --name=build1. E Error is error: Error from server (ServiceUnavailable): the server is currently unable to handle the request (get templates.template.openshift.io) E error: unable to locate any templates loaded in accessible projects with name "redis-ephemeral" E E The 'oc new-app' command will match arguments to the following types: E E 1. Images tagged into image streams in the current project or the 'openshift' project E - if you don't specify a tag, we'll add ':latest' E 2. Images in the container storage, on remote registries, or on the local container engine E 3. Templates in the current project or the 'openshift' project E 4. Git repository URLs or local paths that point to Git repositories E E --allow-missing-images can be used to point to an image that does not exist yet. E E See 'oc new-app -h' for examples.
ocs_ci/utility/utils.py:664: CommandFailed
RP: https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/557/17069/828575/828638/828640/log?logParams=history%3D828639%26page.page%3D1