Skip to content

Volume metrics API to show all fields of list volumes API (only root admin)#3941

Closed
Pearl1594 wants to merge 1 commit intoapache:4.13from
shapeblue:VolumeApi_413
Closed

Volume metrics API to show all fields of list volumes API (only root admin)#3941
Pearl1594 wants to merge 1 commit intoapache:4.13from
shapeblue:VolumeApi_413

Conversation

@Pearl1594
Copy link
Copy Markdown
Contributor

@Pearl1594 Pearl1594 commented Mar 5, 2020

Description

list volumes metrics API has missing fields from list volumes API, which effects Primate UI
Addresses Issue: #3938

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

@DaanHoogland
Copy link
Copy Markdown
Contributor

too little information, but than you restrict full output even more. Can you add some more explanation @Pearl1594 ?

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Mar 6, 2020

I verified that in 4.13 no changes are needed, the issue is not valid for 4.13, keys are seen:

    {
      "account": "admin",
      "created": "2019-11-21T19:37:23+0000",
      "diskofferingdisplaytext": "Small Disk, 5 GB",
      "diskofferingid": "b3d20e7e-b888-488d-a930-a41ed239fd6a",
      "diskofferingname": "Small",
      "displayvolume": true,
      "domain": "ROOT",
      "domainid": "999bc3fb-f58b-11e9-a787-1a02163e4536",
      "hypervisor": "KVM",
      "id": "a8461799-b1d5-4a81-8b27-b3412f83abd9",
      "isextractable": true,
      "name": "testing-a-very-long-named-volume-just-to-see-how-it-would-look-in-primate-abc123",
      "path": "a8461799-b1d5-4a81-8b27-b3412f83abd9",
      "physicalsize": 221184,
      "provisioningtype": "thin",
      "quiescevm": false,
      "size": 5368709120,
      "sizegb": "5.00 GB",
      "state": "Ready",
      "storage": "PrimaryStorage",
      "storageid": "fd7d94b4-1672-3337-89f2-7dbc82e716f2",
      "storagetype": "Shared (DATADISK)",
      "tags": [],
      "type": "DATADISK",
      "utilization": "0.00",
      "virtualsize": 5368709120,
      "zoneid": "9170c586-d862-40ad-9361-58e13764480b",
      "zonename": "MeowZone"
    }

@yadvr yadvr closed this Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants