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

See remaining disk space for all of my hosts #6429

Closed
4 tasks
noahtalerman opened this issue Jun 29, 2022 · 7 comments
Closed
4 tasks

See remaining disk space for all of my hosts #6429

noahtalerman opened this issue Jun 29, 2022 · 7 comments
Assignees
Labels
~customer request A prioritized, customer feature request. Has ≥ 1 customer codename label(s) customer-ufa ~legacy-interface-product-group Associated with the legacy "interface" product group. (No longer exists) story A user story defining an entire feature

Comments

@noahtalerman
Copy link
Member

noahtalerman commented Jun 29, 2022

Problem

I'm an engineer managing thousands hosts and I'm overwhelmed with tracking the following goal:

  • Make sure all hosts have enough remaining disk space to install operating system updates. These operating system updates include security fixes that are crucial for my organization.

This makes is hard to make progress on this goal because I don't know what hosts I need to take action on.

Goals

  1. Add ability to see remaining disk space for all of my hosts.
  • We'll accomplish this by adding a "Disk space available" column to the Hosts page.
  1. Add ability to know which hosts don't have enough available disk space for operating system updates.
  • We'll accomplish this by adding a "yellow" (less than 32.0 GB remaining) and "red" (less than 16.0 GB remaining) state to the disk space available items.
    • Yellow indicates "Not enough disk space available to install most large operating systems updates."
    • Red indicates "Not enough disk space available to install most small operating systems updates."

Figma

https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/%F0%9F%9A%A7-Fleet-EE-(dev-ready%2C-scratchpad)?node-id=7645%3A271765

Requirements

  • User can see, and navigate to, a list of hosts filtered by macOS operating system version.
  • On the Hosts page, user can see the remaining disk space available and an indicator that visually presents the percentage of disk space available for each host.
  • The visual indicator is green when there is greater than 32.0 GB of remaining disk space. The user can view a tooltip that has unique copy for this green indicator.
  • The visual indicator is yellow when there is 32.0 GB or less remaining disk space. The user can view a tooltip that has unique copy for this yellow indicator.
  • The visual indicator is red when there is 16.0 GB or less remaining disk space. The user can view a tooltip that has unique copy for this red indicator.
  • The "Disk space" column is turned on by default.
  • The user can hide the "Disk space" column in the "Edit columns" modal.

Parent Epic

How?

Inform engineer which hosts have undesired amount of remaining disk space.

Child issues

Frontend:

  1. Add "Disk space" column and tooltips to Hosts page.
  1. Update the "Disk space" element on the Host details page with new colors and tooltips.
  1. Add "View all hosts" button to the existing macOS Operating systems table.
  1. Add a macOS Operating system filter on the Hosts page

Backend:

  1. Add a new filter to the GET /hosts API
  1. Disk space data is already being provided in the GET /hosts API response:
{
  "gigs_disk_space_available": 378.87,
  "percent_disk_space_available": 75
}
@noahtalerman noahtalerman added ~customer request A prioritized, customer feature request. Has ≥ 1 customer codename label(s) story A user story defining an entire feature customer-ufa ~legacy-interface-product-group Associated with the legacy "interface" product group. (No longer exists) labels Jun 29, 2022
@noahtalerman noahtalerman moved this to 🥚 Prioritized in ⚗️ ‎‎Roadmap Jun 29, 2022
@noahtalerman noahtalerman self-assigned this Jun 29, 2022
@noahtalerman noahtalerman moved this from 🥚 Prioritized to 🐣 Designed in ⚗️ ‎‎Roadmap Jun 29, 2022
@noahtalerman noahtalerman moved this from 🐣 Designed to 🥚 Prioritized in ⚗️ ‎‎Roadmap Jun 29, 2022
@noahtalerman noahtalerman changed the title Add ability to know which hosts have undesired remaining disk space See remaining disk space Jun 29, 2022
@noahtalerman noahtalerman moved this from 🥚 Prioritized to 🐣 Designed in ⚗️ ‎‎Roadmap Jun 29, 2022
@noahtalerman
Copy link
Member Author

noahtalerman commented Jul 5, 2022

EDIT: I just realized the below would ideally include a breaking change to the GET /os_version API. I think we'll need to come back to this in the next major version (Fleet 5).

@lukeheath heads up, I updated the proposed UI changes to break the name column into separate name and version columns:

Image

Reasoning is the same as breaking up Windows operating systems into separate name and version. This reasoning is here: #6428 (comment)

@noahtalerman
Copy link
Member Author

@lukeheath I updated the dev note in the linked Figma to call out the new name_only and version API properties.

Linking to the dev note here: https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/%F0%9F%9A%A7-Fleet-EE-(dev-ready%2C-scratchpad)?node-id=7720%3A275916

@lukeheath
Copy link
Member

@noahtalerman Now that this is spec'd and estimated I'm assigning the epic back to you as the epic DRI.

@lukeheath lukeheath moved this to 🥚 Ready in 🚀 Release Jul 8, 2022
@lukeheath lukeheath moved this from 🥚 Ready to 🐣 In progress in 🚀 Release Jul 14, 2022
@lukeheath lukeheath moved this from 🐣 In progress to ✨ ‎ ‎In review in 🚀 Release Jul 14, 2022
@noahtalerman noahtalerman moved this from 🥚 Prioritized to ✅ In development in ⚗️ ‎‎Roadmap Jul 15, 2022
@noahtalerman noahtalerman moved this to 🥚 Prioritized in ⚗️ ‎‎Roadmap Jul 15, 2022
@noahtalerman noahtalerman changed the title See remaining disk space Know which hosts have a certain amount of remaining disk space Aug 3, 2022
@noahtalerman noahtalerman changed the title Know which hosts have a certain amount of remaining disk space See remaining disk space for all of my hosts Aug 4, 2022
@noahtalerman noahtalerman moved this from ✅ In development to 🙌 Confirm & Celebrate in ⚗️ ‎‎Roadmap Aug 11, 2022
@noahtalerman noahtalerman moved this from 🙌 Confirm & Celebrate to ✅ In development in ⚗️ ‎‎Roadmap Aug 11, 2022
@noahtalerman
Copy link
Member Author

  1. Add "View all hosts" button to the existing macOS Operating systems table.
  1. Add a macOS Operating system filter on the Hosts page

@lukeheath I don't see (5) and (6) above in #6499. Are these requirements covered in a separate issue? Or, should I add these to #6499 and let Gabe (assigned to #6499) know?

@lukeheath
Copy link
Member

@noahtalerman Thanks for calling this out! Those items got missed in the spec. I've added them in. No need to let Gabe know because he has not started on this yet.

@lukeheath
Copy link
Member

@noahtalerman This feature was released in 4.19.0. Would you please confirm and close out this epic when you are available? Thanks!

@noahtalerman
Copy link
Member Author

This feature was released in 4.19.0.

Confirmed! Thanks for the reminder Luke.

No doc updates are required for this epic.

@noahtalerman noahtalerman moved this from ✅ In development to 🙌 Confirm & Celebrate in ⚗️ ‎‎Roadmap Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~customer request A prioritized, customer feature request. Has ≥ 1 customer codename label(s) customer-ufa ~legacy-interface-product-group Associated with the legacy "interface" product group. (No longer exists) story A user story defining an entire feature
Development

No branches or pull requests

2 participants