openshift / origin

Conformance test suite for OpenShift
http://www.openshift.org
Apache License 2.0
8.49k stars 4.7k forks source link

OpenShift 4.16.x - can not recreate a namespace #29292

Open n00bsi opened 1 week ago

n00bsi commented 1 week ago

[provide a description of the issue]

Version

[provide output of the openshift version or oc version command]

$ oc version
Client Version: 4.16.17
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: 4.16.17
Kubernetes Version: v1.29.8+632b078
Steps To Reproduce
1. $ oc get rs,ds,job,cj,statefulset -n demo-system
No resources found in demo-system namespace.

2. $ oc new-project demo-system
Error from server: timed out waiting for the condition
Current Result

Error from server: timed out waiting for the condition

Expected Result

that the Namespace is created

Additional Information

[try to run $ oc adm diagnostics (or oadm diagnostics) command if possible] [if you are reporting issue related to builds, provide build logs with BUILD_LOGLEVEL=5] [consider attaching output of the $ oc get all -o json -n <namespace> command to the issue] [visit https://docs.openshift.org/latest/welcome/index.html]

$ oc get all -o json -n longhorn-system
Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavaila                                                                                                             ble in v4.10000+
{
    "apiVersion": "v1",
    "items": [],
    "kind": "List",
    "metadata": {
        "resourceVersion": ""
    }
}

How to fix this ? Because I can create other Namespaces but only this namespace-name: demo-system is blocked... but I needs to be there... can not use another Namespace name....

Reboot of all nodes ( step by step ) did not help

n00bsi commented 3 days ago

we found ... there where some fragments after we deleted them we can recrate the namespace

Rolebindings Roles ServiceAccounts

Limitranges Res. Quatas Custom Res. Def

in YAML file remove finalizer