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

Mention known issues while moving etcd to a different disk as part of day 2 activity.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • 4.13, 4.12, 4.14, 4.15
    • Documentation / etcd
    • Important
    • No
    • 5
    • OSDOCS Sprint 249, OSDOCS Sprint 250, OSDOCS Sprint 251, 252 - Core Packages
    • 4
    • False
    • Hide

      None

      Show
      None
    • Group Conversation
    • Release Note Not Required
    • In Progress
    • Show
      Doc PR# 71991 https://github.com/openshift/openshift-docs/pull/71991

    Description

      Description of problem:

      Mention known issue while moving etcd to a different disk as part of day 2 activity.

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

         OCP 4.12 and above
      
      

      How reproducible:

          Easily

      Steps to Reproduce:

         1. Follow https://docs.openshift.com/container-platform/4.12/scalability_and_performance/recommended-performance-scale-practices/recommended-etcd-practices.html#move-etcd-different-disk_recommended-etcd-practices
      
        2. Delete a master node or recreate     

      Actual results:

        Etcd db will be part of root mount and not secondary disk or the disk intended when the master node is recreated. Also the etcd mount will fail as the disk would not be formatted.

      Expected results:

          We should warn users that recreating the master node will not create a separate /var/lib/etcd mount, manual intervention would be needed to follow the same steps. 

      Additional info:

      I can see there are lot of issues for recreating the master after day2 activity of moving etcd mount.
      As when a master is recreated it will not honor the new etcd mount and it will continue to reside on root partition. 
      Also to note, if we follow the last step mentioned in below document, it will fail for master node which is recreated, as it's secondary device will not be formatted as the previous service will not be present. The etcd mount file will exist though which would cause a can't boot failure.
      
      >>
      
      https://docs.openshift.com/container-platform/4.12/scalability_and_performance/recommended-performance-scale-practices/recommended-etcd-practices.html#move-etcd-different-disk_recommended-etcd-practices
      
              After the nodes are on a separate disk, update the etcd-mc.yml file with contents such as the following, replacing instances of <new_disk_name> with the noted device name:    

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tlove Tami Love
              rhn-support-kdsouza Kenneth D'souza
              Sandeep Kundu Sandeep Kundu
              Tami Love Tami Love
              Kenneth D'souza, Tami Love
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: