Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-12587

/api/storageinfo doesn't return the "fileStoreSummary" section if sharding is used

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 4.13.0
    • Fix Version/s: None
    • Component/s: Filestore
    • Labels:
      None

      Description

      To reproduce -

      1.Use a simple sharding binarystore.xml:

      <config version="4">
      <chain>
      <provider id="sharding" type="sharding">
      <redundancy>1</redundancy>
      <readBehavior>roundRobin</readBehavior>
      <writeBehavior>percentageFreeSpace</writeBehavior>
      <sub-provider id="shard-fs-1" type="state-aware"/>
      <sub-provider id="shard-fs-2" type="state-aware"/>
      </provider>
      </chain>

      <provider id="shard-fs-1" type="state-aware">
      <fileStoreDir>/Users/uriah/filestore1</fileStoreDir>
      </provider>

      <provider id="shard-fs-2" type="state-aware">
      <fileStoreDir>/Users/uriah/filestore2</fileStoreDir>
      </provider>
      </config>

      2.curl -uadmin:password http://localhost:8080/artifactory/api/storageinfo

      Note that the fileStoreSummary section shows this:
      "fileStoreSummary":

      { "freeSpace": "0 bytes (N/A)", "storageDirectory": "Filesystem storage is not used", "storageType": "filesystem", "totalSpace": "0 bytes", "usedSpace": "0 bytes (N/A)" }

      ,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                uriahl Uriah Levy
              • Votes:
                4 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: