Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-770

service pods taking terminationGracePeriodSeconds to delete

XMLWordPrintable

    • Services Grafeful deletion/shutdown
    • False
    • Hide

      None

      Show
      None
    • False
    • Proposed
    • No Docs Impact
    • Proposed
    • Proposed
    • 0% To Do, 0% In Progress, 100% Done
    • Networking; Neutron

      When deleting neutron-api or ovsdbserver pods it will stay in TERMINATING state for the duration set on terminationGracePeriodSeconds (30 seconds), modifying this value won't change anything, it will take all the time given by terminationGracePeriodSeconds.

      ```

      [ospng@hardprov-fx2-12 install_yamls]$ time oc delete pod neutron-79c5d5ff8d-zn8xk --grace-period=45
      pod "neutron-79c5d5ff8d-zn8xk" deleted

      real    0m46.200s
      user    0m0.259s
      sys     0m0.055s

      $ time oc delete pod ovsdbserver-sb-0 --grace-period=90
      pod "ovsdbserver-sb-0" deleted

      real    1m31.570s
      user    0m0.201s
      sys     0m0.050s

      $ time oc delete pod cinder-api-6978fdbb87-fvhf5 --grace-period=100            
      pod "cinder-api-6978fdbb87-fvhf5" deleted                                                                       
                                                                                                                      
      real    1m41.656s                                                                                               
      user    0m0.195s                                                                                                
      sys     0m0.044s

       

      $ time oc delete pod manila-api-5bd6c9776-p7b7p --grace-period=100        
      pod "manila-api-5bd6c9776-p7b7p" deleted                                                                        

      real    1m41.709s
      user    0m0.206s
      sys     0m0.042s

      ```

       

       

      ^ Few examples of the observed behavior

       

            ykarel@redhat.com Yatin Karel
            averdagu@redhat.com Arnau Verdaguer Puigdollers
            rhos-dfg-networking-squad-neutron
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: