Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21595

Ambari Server Setup Code Fails Because of Missing Stack Upgrade

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.6.0
    • ambari-server
    • None

    Description

      On branch-feature-AMBARI-21450, there is a Python failure on ambari-server setup:

      Using python  /usr/bin/python
      Setup ambari-server
      Traceback (most recent call last):
      File "/usr/sbin/ambari-server.py", line 40, in <module>
      from ambari_server.serverUpgrade import upgrade, upgrade_stack, set_current
      ImportError: cannot import name upgrade_stack
      

      This is most likely a cherry-pick issue from trunk where all "upgrade stack" code was removed. I think that we should also remove it from here as well since this will cause problems with PATCH repositories anyway.

      Attachments

        1. AMBARI-21595.patch
          19 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: