Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32134

4.16 doesn’t has dedicated-admin namespace for SDN live migration to OVN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • 4.16
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      4.16 doesn’t has dedicated-admin namespace for SDN live migration to OVN, still need manual to create one.
      We had https://issues.redhat.com/browse/OCPBUGS-30299 for 4.15.

      From Azure cluster:
      $ oc get Infrastructure/cluster -o jsonpath='{.status.platformStatus.type}'
      Azure
      $ oc get network.config/cluster -o jsonpath='{.status.networkType}'
      OpenShiftSDN
      $ oc get clusterversion
      NA4.16 doesn’t has dedicated-admin namespace for SDN live migration to OVN
      ME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.16.0-0.nightly-2024-04-08-024331   True        False         86m     Cluster version is 4.16.0-0.nightly-2024-04-08-024331
      
      $ oc get project | grep dedicated-admin
      
      From GCP cluster:
      $ oc get Infrastructure/cluster -o jsonpath='{.status.platformStatus.type}'
      GCP
      $ oc get network.config/cluster -o jsonpath='{.status.networkType}'
      OpenShiftSDN
      $ oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.16.0-0.nightly-2024-04-08-024331   True        False         12m     Cluster version is 4.16.0-0.nightly-2024-04-08-024331
      $ oc get project | grep dedicated-admin
      $ oc new-project dedicated-admin
      Now using project "dedicated-admin" on server "https://api.weliang-4116.qe.gcp.devcluster.openshift.com:6443".
      
      You can add applications to this project with the 'new-app' command. For example, try:
      
          oc new-app rails-postgresql-example
      
      to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:
      
          kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.43 -- /agnhost serve-hostname
      
      $ oc patch Network.config.openshift.io cluster --type='merge' --patch '{"metadata":{"annotations":{"network.openshift.io/network-type-migration":""}},"spec":{"networkType":"OVNKubernetes"}}'
      network.config.openshift.io/cluster patched
      
      

            bbennett@redhat.com Ben Bennett
            weliang1@redhat.com Weibin Liang
            Weibin Liang Weibin Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: