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

Provide granular checkpoints for move_and_rebuild_hosts.py #277

Open
sadsfae opened this issue Jul 19, 2019 · 5 comments
Open

Provide granular checkpoints for move_and_rebuild_hosts.py #277

sadsfae opened this issue Jul 19, 2019 · 5 comments

Comments

@sadsfae
Copy link
Member

sadsfae commented Jul 19, 2019

This issue covers providing transparent look into the percentage of an environment's buildout/validation as well as to accomodate provisioning checks into situations where we add net-new systems to already-existing, running assignments.

This might manifest itself in two major ways

  • make move_and_rebuild_hosts.py granular, capturing what's passed/failed across all the various actions as to not perform them again if they have already succeeded, or in case of power actions been executed
  • store these values in a dict or other data structure, potentially utilizing the hosts collection in mongo as needed.
  • provide a "ready" status percentage on the automated system assignments page based on what is left to be processed by quads-cli --move-hosts --dry-run and illustrate this in the wiki assignments page regeneration. addressed in 3485b88

This is particularly useful to cover validation gaps we have currently in systems that are added to already-running and validated/released environments

UPDATE: We are going to address this with: #256 instead here.

@sadsfae
Copy link
Member Author

sadsfae commented Jul 30, 2019

The following patchset provides the visible provisioning and move status indicators as a percentage on the assignments page:

https://review.gerrithub.io/c/redhat-performance/quads/+/463515

We still need to discuss, architect and implement the following:

  1. simple, pragmatic way to provide coverage for checking host build status for systems moving into an already-existing cloud
  2. ensure changes are complimentary to the inclusion of asyncio which we're aiming to adopt ASAP as soon as 1.1.0 is stable as outlined here:

#256
#266

Most likely this will involve just refactoring validate_env.py to move the build status checking into move_and_rebuild_hosts.py.

sadsfae pushed a commit that referenced this issue Jul 30, 2019
Under cloud assignments wiki we want to display percentage of hosts
successfully moved. For this we want to check existing current
schedules per cloud plus the number of hosts which have already been
moved. We take both counts and calculate a percent out of those.

Related-to: #277
Change-Id: Ieb1b3369cfffe617aaf13d8aaa590a8b01fa9f16
@sadsfae
Copy link
Member Author

sadsfae commented Jul 31, 2019

Closing this, the scope has changed to only provide visual progress status on assignments page, we will accomplish the granularity break-out here with a proper asyncio implementation as noted here:

#256

@sadsfae
Copy link
Member Author

sadsfae commented Aug 1, 2019

After some further discussion we're re-opening this as some elements can be implemented that compliment asyncio here:

https://review.gerrithub.io/c/redhat-performance/quads/+/463871

@sadsfae sadsfae reopened this Aug 1, 2019
@sadsfae
Copy link
Member Author

sadsfae commented Aug 22, 2019

There are elements of this RFE that can/should be implemented post-asyncio, pushing this to 1.2 milestone.

@sadsfae
Copy link
Member Author

sadsfae commented Jun 26, 2024

This is related in part to serving the foundation for this 2.0 RFE: #471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant