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

ecloud vm list incorrectly returns no value for certain keys #110

Open
miff2000 opened this issue Jul 12, 2021 · 2 comments
Open

ecloud vm list incorrectly returns no value for certain keys #110

miff2000 opened this issue Jul 12, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@miff2000
Copy link
Contributor

What is the issue?

I'm unsure why this is, but when I do a ukfast ecloud vm list -o json | jq command, these fields are blank:

  • power_status
  • tools_status
  • hdd_disks

When I run the ukfast ecloud vm show <SID> -o json | jq for the server, I see the values are present

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Run ukfast ecloud vm list -o json | jq
  2. Check out the power_status, tools_status and hdd_disks values for the first entry
  3. Run ukfast ecloud vm show <SID> -o json | jq using the SID for the first entry
  4. Check the difference.

Expected behaviour

Same values should be returned in both cases, even if the keys should differ between the two

Possible fixes

N/A

Additional context

N/A

@miff2000 miff2000 added the bug Something isn't working label Jul 12, 2021
@0x4c6565
Copy link
Member

This is an API-side limitation - we don't return several properties when retrieving multiple VMs as these are expensive and slow. We could add something into the CLI to do this conditionally however (perform individual lookups after retrieving a list of IDs)

@miff2000
Copy link
Contributor Author

miff2000 commented Jul 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants