Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-40220

non-root install failure message on success

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.6.0
    • Component/s: tools
    • Triage:
      Triaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      Problem
      The cb-non-package-installer gives both success and failure messages for both install and upgrade, when both have been successful.

      [vagrant@node1-mad-hatter-testing-centos7 ~]$ ./cb-non-package-installer --install --install-location ./cb-install --package ./couchbase-server-enterprise-6.6.0-7848-centos7.x86_64.rpm 
       
      Successfully installed
       
      Traceback (most recent call last):
       
        File "cb-non-package-installer", line 350, in <module>
       
        File "cb-non-package-installer", line 346, in main
       
      NameError: name 'exit' is not defined
       
      [6989] Failed to execute script cb-non-package-installer
      

      Expectations
       For only a success message to be printed when the upgrade/install is successfull.

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          tony.hillman Tony Hillman created issue -
          owend Daniel Owen made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Critical [ 2 ]
          pvarley Patrick Varley made changes -
          Description The cb-non-package-installer gives both success and failure messages for both install and upgrade, when both have been successful.

           

          [vagrant@node1-mad-hatter-testing-centos7 ~]$ ./cb-non-package-installer --install --install-location ./cb-install --package ./couchbase-server-enterprise-6.6.0-7848-centos7.x86_64.rpm

          Successfully installed

          Traceback (most recent call last):

            File "cb-non-package-installer", line 350, in <module>

            File "cb-non-package-installer", line 346, in main

          NameError: name 'exit' is not defined

          [6989] Failed to execute script cb-non-package-installer

           

          [vagrant@node1-mad-hatter-testing-centos7 ~]$ ./cb-non-package-installer --upgrade --install-location ./cb-install --package ./couchbase-server-enterprise-6.6.0-7853-centos7.x86_64.rpm

          Running cbupgrade this could take some time

          Upgrade has completed successfully

          Traceback (most recent call last):

            File "cb-non-package-installer", line 350, in <module>

            File "cb-non-package-installer", line 345, in main

            File "cb-non-package-installer", line 230, in upgrade

          NameError: name 'exit' is not defined

          [8087] Failed to execute script cb-non-package-installer

           

           
          +Problem+
          The cb-non-package-installer gives both success and failure messages for both install and upgrade, when both have been successful.

          {noformat}
          [vagrant@node1-mad-hatter-testing-centos7 ~]$ ./cb-non-package-installer --install --install-location ./cb-install --package ./couchbase-server-enterprise-6.6.0-7848-centos7.x86_64.rpm

          Successfully installed

          Traceback (most recent call last):

            File "cb-non-package-installer", line 350, in <module>

            File "cb-non-package-installer", line 346, in main

          NameError: name 'exit' is not defined

          [6989] Failed to execute script cb-non-package-installer
          {noformat}

          +Expectations+
           For only a success message to be printed when the upgrade/install is successfull.

           
          pvarley Patrick Varley made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          pvarley Patrick Varley made changes -
          Triage Untriaged [ 10351 ] Triaged [ 10350 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          till Till Westmann made changes -
          Link This issue blocks MB-38724 [ MB-38724 ]
          till Till Westmann made changes -
          Labels approved-for-6.6.0
          arunkumar Arunkumar Senthilnathan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            pvarley Patrick Varley
            Reporter:
            tony.hillman Tony Hillman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty