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

Installation time checking for required OS.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • None
    • None
    • installer
    • None
    • 1

    Description

      When a Couchbase package has been built and targeted for a specific OS version the installation should check that it is being installed on that targeted version.

      This will reduce customer complaints about not being informed and stopped from doing a bad install.

       

      Attachments

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

        Activity

          I reject this as written, at least. We build and package Couchbase Server on some specific Linux distributions, but it needs to be up to the user to determine whether the distribution they are running is compatible with that. Several reasons:

          1. First and foremost, it's actually quite hard to determine canonically what distribution you're currently running on. I know several approaches, but they work differently between older and newer distros. Many approaches also depend on at least some OS packages being installed, such as lsb_release, and those are not always available - for example, the ubuntu:20.04 Docker image doesn't have lsb_release so the user would need to install it first (it's rather large). We could put in a significant amount of effort to do this detection and still wind up with false negatives.
          2. Secondly, there are hundreds of Linux distributions out there. Most are "based on" one of the ones we support (eg., Linux Mint is an Ubuntu derivative), but there's no way we could enumerate all of the distributions which are "compatible" with a given Couchbase Server package. This again could lead to false negatives, where we refuse to install in a situation where it would been perfectly fine to do so.

          So again, as written, no. If you can reduce the scope of the problem, or even offer some anecdotes which led to this idea in the first place, you can re-open to continue the discussion.

          ceej Chris Hillery added a comment - I reject this as written, at least. We build and package Couchbase Server on some specific Linux distributions, but it needs to be up to the user to determine whether the distribution they are running is compatible with that. Several reasons: First and foremost, it's actually quite hard to determine canonically what distribution you're currently running on. I know several approaches, but they work differently between older and newer distros. Many approaches also depend on at least some OS packages being installed, such as lsb_release, and those are not always available - for example, the ubuntu:20.04 Docker image doesn't have lsb_release so the user would need to install it first (it's rather large). We could put in a significant amount of effort to do this detection and still wind up with false negatives. Secondly, there are hundreds of Linux distributions out there. Most are "based on" one of the ones we support (eg., Linux Mint is an Ubuntu derivative), but there's no way we could enumerate all of the distributions which are "compatible" with a given Couchbase Server package. This again could lead to false negatives, where we refuse to install in a situation where it would been perfectly fine to do so. So again, as written, no. If you can reduce the scope of the problem, or even offer some anecdotes which led to this idea in the first place, you can re-open to continue the discussion.

          FYI, I've just opened MB-41913 which would resolve the lion's share of the problems we've had with customers installing packages on the "wrong OS".

          ceej Chris Hillery added a comment - FYI, I've just opened MB-41913 which would resolve the lion's share of the problems we've had with customers installing packages on the "wrong OS".

          People

            rohinton.kazak Rohinton Kazak (Inactive)
            rohinton.kazak Rohinton Kazak (Inactive)
            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