Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flasharray_client.get_arrays_space items are somestimes missing the parity value and id contains a bad value #20

Open
b1-luettje opened this issue Aug 20, 2021 · 0 comments

Comments

@b1-luettje
Copy link

This one does not occur all the time and might therefore be tricky to reproduce. At (seemingly) random times the response items do not include the parity value and it seems that in the same case the id value is wrong as well:

In [29]: fa_client.get_rest_version()
Out[29]: '2.7'

In [30]: print(list(fa_client.get_arrays_space(start_time=1629445392362).items))  # missing parity value in response items and weird format of the `id` value
[{'capacity': 12277751218176,
 'id': '[1]',
 'name': 'pure-fa-m20',
 'space': {'data_reduction': 2.1125418177307798,
           'replication': 0,
           'shared': 12796382,
           'snapshots': 0,
           'system': 0,
           'thin_provisioning': None,
           'total_physical': 6577403768,
           'total_provisioned': 108447924224,
           'total_reduction': None,
           'unique': 6564607386,
           'virtual': None},
 'time': 1629445414000}, {'capacity': 12277766317671,
 'id': '[1]',
 'name': 'pure-fa-m20',
 'space': {'data_reduction': 2.0993222170640338,
           'replication': 0,
           'shared': 10733859,
           'snapshots': 0,
           'system': 0,
           'thin_provisioning': None,
           'total_physical': 6558415481,
           'total_provisioned': 108447924224,
           'total_reduction': None,
           'unique': 6547681622,
           'virtual': None},
 'time': 1629445714000}]

In [31]: print(list(fa_client.get_arrays_space().items))  # valid response item with `parity` value
[{'capacity': 12277766317671,
 'id': 'cc44cb2c-43cd-408d-82ff-e96f036a7dd8',
 'name': 'pure-fa-m20',
 'parity': 1.0,
 'space': {'data_reduction': 2.0993222170640338,
           'replication': 0,
           'shared': 10733859,
           'snapshots': 0,
           'system': 0,
           'thin_provisioning': 0.8730429611583748,
           'total_physical': 6558415481,
           'total_provisioned': 108447924224,
           'total_reduction': 16.535689838220545,
           'unique': 6547681622,
           'virtual': 13768227328},
 'time': 1629445694363}]
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

No branches or pull requests

1 participant