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

[Windows] - cbas keeps crashing consistently when upgrading from 7.0.4-7274 to 7.1.0 on windows due to java.exe missing

    XMLWordPrintable

Details

    • Untriaged
    • Windows 64-bit
    • 1
    • Yes

    Description

      Found this issue while verifying toy build from MB-52249

      1. Install 7.0.4-7274 on a single windows 2019 node
      2. Setup the cluster and install travel-sample
      3. Upgrade the cluster to 7.1.0 release version

      Observe that cbas keeps crashing continuously with error:

      Service 'cbas' exited with status 1. Restarting. Messages:
      2022-05-25T17:05:20.024-07:00 INFO CBAS.cbas uuid: 88f1c109b55511914b3dc6b24fd61eeb
      2022-05-25T17:05:20.032-07:00 INFO CBAS.cbas IPv4 addresses: [172.23.136.107 127.0.0.1]
      2022-05-25T17:05:20.032-07:00 INFO CBAS.cbas IPv6 addresses: [fe80::f56b:fdf5:1076:31ed%Ethernet 5 ::1%Loopback Pseudo-Interface 1]
      2022-05-25T17:05:20.032-07:00 INFO CBAS.cbas setting ipv4 required, ipv6 optional
      2022-05-25T17:05:20.034-07:00 INFO CBAS.cbas using previously configured io devices (1)
      2022-05-25T17:05:20.034-07:00 INFO CBAS.cbas setting java.home to bundled jre (c:/Program Files/Couchbase/Server/lib/cbas\runtime)
      2022-05-25T17:05:20.034-07:00 ERRO CBAS.cbas cbas process aborting with exit code 1 due to error validating java home: unable to determine java version: exec: "c:/Program Files/Couchbase/Server/lib/cbas\\runtime\\bin
      java.exe": file does not exist
      2022-05-25T17:05:20.034-07:00 FATA CBAS.cbas error validating java home: unable to determine java version: exec: "c:/Program Files/Couchbase/Server/lib/cbas\\runtime\\bin
      java.exe": file does not exist

      We can see that java.exe is missing in the specified location

      Issue is not observed in 7.0.4-7265 (RC1)

      Issue not observed in linux and deb packages (verified with 7.0.4-7278)

      Attachments

        Issue Links

          Activity

            People

              gary.gray Gary Gray
              arunkumar Arunkumar Senthilnathan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:

                PagerDuty