Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19158

hostInfo for Windows has incorrect version

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.1.4
    • Component/s: Diagnostics, Shell
    • Windows
    • Hide

      db.hostInfo()

      Show
      db.hostInfo()

      The admin command, hostInfo, returns an incorrect os version for Windows 2012R2:

      > db.hostInfo()
      {
      	"system" : {
      		"currentTime" : ISODate("2015-06-26T21:16:11.670Z"),
      		"hostname" : "CAPJA-Win2012R2:37017",
      		"cpuAddrSize" : 64,
      		"memSizeMB" : 4095,
      		"numCores" : 4,
      		"cpuArch" : "x86_64",
      		"numaEnabled" : false
      	},
      	"os" : {
      		"type" : "Windows",
      		"name" : "Microsoft Windows Server 2012",
      		"version" : "6.2 (build 9200)"
      	},
      	"extra" : {
      		"pageSize" : NumberLong(4096)
      	},
      	"ok" : 1
      }
      

      This is the output from systeminfo for the same host:

      Host Name:                 CAPJA-WIN2012R2
      OS Name:                   Microsoft Windows Server 2012 R2 Standard
      OS Version:                6.3.9600 N/A Build 9600
      OS Manufacturer:           Microsoft Corporation
      OS Configuration:          Standalone Server
      OS Build Type:             Multiprocessor Free
      ..
      

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: