Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2019

Handle upgrade scenario to rename the old ATLAS service def and use the new service def

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • Ranger
    • None

    Description

      Based on this RANGER-2004 commit, Atlas service def is updated. During the upgrade of existing env, old Atlas service def should be renamed so that new service def can be used.

       

      During migration to Ranger 1.1.0, this Jira should address the following:

      1. Check for service-def named 'atlas'. If it is not found - nothing more to do.
      2. Rename all service instances of type 'atlas', with the addition of a suffix "-v1". Existing service named 'cl1_atlas' will become 'cl1_atlas-v1'. If 'cl1_atlas-v1' already exists, append an count like 'cl1_atlas-v1.1', 'cl1_atlas-v1-2'
      3. After all service instances are renamed, rename service-def as 'atlas-v1'.

      Attachments

        1. RANGER-2019-2.patch
          8 kB
          Pradeep Agrawal

        Issue Links

          Activity

            People

              pradeep Pradeep Agrawal
              pradeep Pradeep Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: