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

Upgrade from 1.6.5.3/4 to 1.7.1 broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.1.1
    • Component/s: installer
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Ubuntu-64,centos-64

      Description

      Install 1.6.5.4 and upgrade to 1.7.1.

      Get the following error:-

      Copying /etc/opt/membase/1.6.5.4/ns_1/config.dat.debsave
          cp /etc/opt/membase/1.6.5.4/ns_1/config.dat.debsave /opt/membase/var/lib/membase/config/config.dat
      Copying /opt/membase/var/lib/membase/ip
          cp /opt/membase/var/lib/membase/ip /opt/membase/var/lib/membase/ip
      Traceback (most recent call last):
        File "/opt/membase/bin/mbupgrade", line 435, in <module>
          main()
        File "/opt/membase/bin/mbupgrade", line 430, in main
          dbdir, buckets, dry_run=dry_run)
        File "/opt/membase/bin/mbupgrade", line 130, in upgrade
          dry_run=dry_run)
        File "/opt/membase/bin/mbupgrade", line 84, in copy_cfg
          shutil.copyfile(cfg, dst)
        File "/usr/local/lib/python2.7/shutil.py", line 68, in copyfile
          raise Error("`%s` and `%s` are the same file" % (src, dst))
      shutil.Error: `/opt/membase/var/lib/membase/ip` and `/opt/membase/var/lib/membase/ip` are the same file
      dpkg: error processing membase-server (--install):
       subprocess installed post-installation script returned error exit status 1
      Processing triggers for ureadahead ...
      Errors were encountered while processing:
       membase-server
      
      

      From /var/log/dpkg.log

      2011-08-11 14:23:27 upgrade membase-server 1.6.5.4 1.7.1
      2011-08-11 14:23:27 status half-configured membase-server 1.6.5.4
      2011-08-11 14:23:30 status unpacked membase-server 1.6.5.4
      2011-08-11 14:23:30 status half-installed membase-server 1.6.5.4
      2011-08-11 14:23:59 status triggers-pending ureadahead 0.100.0-4.1
      2011-08-11 14:23:59 status half-installed membase-server 1.6.5.4
      2011-08-11 14:24:11 status half-installed membase-server 1.6.5.4
      2011-08-11 14:24:12 status unpacked membase-server 1.7.1
      2011-08-11 14:24:12 status unpacked membase-server 1.7.1
      2011-08-11 14:24:12 configure membase-server 1.7.1 1.7.1
      2011-08-11 14:24:12 status unpacked membase-server 1.7.1
      2011-08-11 14:24:12 status half-configured membase-server 1.7.1
      2011-08-11 14:24:14 trigproc ureadahead 0.100.0-4.1 0.100.0-4.1
      2011-08-11 14:24:14 status half-configured ureadahead 0.100.0-4.1
      2011-08-11 14:24:15 status installed ureadahead 0.100.0-4.1
      

      The membase-server installation is right now left in half-configured state.

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-4182=message:MB-4182

        Activity

        kkumar86 kkumar86 created issue -
        farshid Farshid Ghods (Inactive) made changes -
        Field Original Value New Value
        Project Couchbase Single Server [ 10030 ] Couchbase Server [ 10010 ]
        Key CB-34 MB-4182
        Component/s linux_installer [ 10021 ]
        Component/s Installer [ 10050 ]
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Steve Yen [ steve ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary Upgrade from 1.6.5.4 to 1.7.1 broken Upgrade from 1.6.5.3/4 to 1.7.1 broken
        farshid Farshid Ghods (Inactive) made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        karan Karan Kumar (Inactive) made changes -
        Comment [ This was 1.6.5.3 to 1.7.1 ]
        steve Steve Yen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7.1.1 [ 10210 ]
        Resolution Fixed [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Affects Version/s 1.7.1 [ 10183 ]
        Environment Ubuntu-64 Ubuntu-64,centos-64
        karan Karan Kumar (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Steve Yen [ steve ] Karan Kumar [ karan ]
        peter peter made changes -
        Component/s installer [ 10221 ]
        Component/s linux_installer [ 10021 ]

          People

          • Assignee:
            karan Karan Kumar (Inactive)
            Reporter:
            kkumar86 kkumar86
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes