Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      I've noticed that after importing OVA file pmm-server-1.3.2.ova to VirtualBox, starting it with NAT networking and rebooting with bridged networking Prometheus files got corrupted:

      paź 20 10:03:05 notek.home prometheus[4696]: time="2017-10-20T10:03:05Z" level=error msg="Error opening memory series storage: found existing files in storage path that do not look like storage files compatible with this version of Prometheus; please delete the files in the storage path or choose a different storage path" source="main.go:192"

      Also, pmm-mange will throw an ambiguous error when trying to change an initial password:

      {"code":500,"status":"Internal Server Error","title":"Cannot set Prometheus password","detail":"Post http://127.0.0.1:9090/prometheus/-/reload: dial tcp 127.0.0.1:9090: getsockopt: connection refused"} \{/code}
       

       
      An output of ls -laR /srv/prometheus:

      [root@notek prometheus]# ls -laR
      .:
      razem 16
      drwxr-xr-x. 1 nobody nobody 224 2017-10-20  .
      drwxr-xr-x. 1 root   root    78 10-10 07:52 ..
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  archived_fingerprint_to_metric
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  archived_fingerprint_to_timerange
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  labelname_to_labelvalues
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  labelpair_to_fingerprints
      
      ./archived_fingerprint_to_metric:
      razem 0
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  .
      drwxr-xr-x. 1 nobody nobody 224 2017-10-20  ..
      -rw-r--r--. 1 root   root     0 10-20 08:26 MANIFEST-000000
      
      ./archived_fingerprint_to_timerange:
      razem 0
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  .
      drwxr-xr-x. 1 nobody nobody 224 2017-10-20  ..
      ----------. 1 root   root     0 10-20 08:27 MANIFEST-000000
      
      ./labelname_to_labelvalues:
      razem 0
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  .
      drwxr-xr-x. 1 nobody nobody 224 2017-10-20  ..
      ----------. 1 root   root     0 10-20 08:31 MANIFEST-000000
      
      ./labelpair_to_fingerprints:
      razem 0
      drwxr-xr-x. 1 nobody nobody  30 2017-10-20  .
      drwxr-xr-x. 1 nobody nobody 224 2017-10-20  ..
      ----------. 1 root   root     0 10-20 08:28 MANIFEST-000000
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iwo.panowicz Iwo Panowicz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: