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

[enterprise-4.10] Issue in file security/compliance_operator/compliance-operator-uninstallation.adoc

XMLWordPrintable

    • No
    • 1
    • OSDOCS Sprint 240
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      incorrect commands

      Version-Release number of selected component (if applicable):

      all

      How reproducible:

      always

      Steps to Reproduce:

      1. Attempt to run commands for uninstall.  These commands are incorrect:
      
      oc delete CSV -n openshift-compliance
      
      oc delete project -n openshift-compliance
      
      They should be:
      
      oc delete csv <compliance-csv> -n openshift-compliance
      (Only the compliance csv would be removed. There can be other csv's as well such as elasticsearch, that are installed in all namespaces. In my experience, the CSVs don't really need to be removed in order to destroy the namespace and uninstall the operator.  I believe OLM takes care of removing them after you remove the Subscription.)
      
      oc delete project openshift-compliance 
      (the project is a namespace and thus cannot be referenced within itself with the `-n` flag)

      Actual results:

      Failure to delete CSVs.
      Failure to delete namespace.

      Expected results:

      CSV is deleted.
      Namespace is deleted.

      Additional info:

       

            antaylor@redhat.com Andrew Taylor
            rhn-gps-bward Brian Ward
            Xiaojie Yuan Xiaojie Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: