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

Inventorize disks in eryph storage independently of catlets #211

Open
ChristopherMann opened this issue Jun 21, 2024 · 1 comment · May be fixed by #293
Open

Inventorize disks in eryph storage independently of catlets #211

ChristopherMann opened this issue Jun 21, 2024 · 1 comment · May be fixed by #293
Milestone

Comments

@ChristopherMann
Copy link
Collaborator

ChristopherMann commented Jun 21, 2024

Currently, the inventory job only detects virtual disks (VHDs) which are attached to VMs. We should extend the inventory job such that it scans the file system for VHD files and inventorizes them. This way, we can pick up virtual disks which were manually added by the user or rediscover unattached disks which we lost track of.

The inventory job should regularly scan all file system paths which were configured as storage in eryph. We need to keep in mind that some of the file systems might be clustered and might be visible to multiple hosts which are managed by eryph. Hence, we should either:

  • use mechanism to define a primary host for each shared file system. The primary host is then responsible for scanning the file system and sending inventory updates.
  • use a mechanism to identity events of different hosts which reference the same file system or virtual disk and deduplicate them.

AB#678

@ChristopherMann ChristopherMann changed the title Inventorize disk in eryph storage independently of the catlets Inventorize disks in eryph storage independently of catlets Jun 21, 2024
@fw2568 fw2568 added this to the zero beta 2 milestone Jun 25, 2024
@fw2568 fw2568 modified the milestones: zero beta 2, zero Beta Aug 22, 2024
@fw2568 fw2568 modified the milestones: zero Beta, zero beta 2 Sep 11, 2024
@fw2568
Copy link
Member

fw2568 commented Nov 22, 2024

Note that currently all disks attached to any type of VM (not just catlets) are inventorized. This is inconsistent with the inventorization behavior since we do not import non-catlet VMs. Instead, after this change, disks that are either in storage or attached to a catlet should be imported.

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 a pull request may close this issue.

2 participants