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

Added the azure volume unattached #715

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

athiruma
Copy link
Collaborator

@athiruma athiruma commented Jan 3, 2024

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Added the azure volumes_unattached policy.

  1. Retrieve the azure volumes
  2. Filter the unattached volumes
  3. verify and delete the resource
  4. Upload to the Elasticsearch
Screenshot 2024-01-03 at 1 48 32 PM Screenshot 2024-01-03 at 1 48 32 PM

For security reasons, all pull requests need to be approved first before running any automated CI

@athiruma athiruma added enhancement New feature or request ok-to-test PR ok to test labels Jan 3, 2024
@athiruma athiruma requested a review from ebattat January 3, 2024 11:20
@athiruma athiruma self-assigned this Jan 3, 2024
@athiruma athiruma force-pushed the azure_avialable_volumes branch 3 times, most recently from bd7afe8 to 44abd64 Compare January 3, 2024 13:20
Copy link
Collaborator

@ebattat ebattat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/LGTM

@athiruma athiruma force-pushed the azure_avialable_volumes branch from 44abd64 to f902739 Compare January 5, 2024 04:31
@@ -38,7 +38,7 @@ def run(self):
policy_runner = self.get_policy_runner()
for policy_type, policies in policies_list.items():
# @Todo support for all the aws policies, currently supports ec2_run as urgent requirement
if self._policy in policies and self._policy in "instance_run":
if self._policy in policies and self._policy in ["instance_run", "unattached_volume"]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it going to change inthe future, if yes add todo comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already have the comment above.

@ebattat ebattat merged commit f316397 into redhat-performance:main Jan 5, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ok-to-test PR ok to test
Projects
Development

Successfully merging this pull request may close these issues.

2 participants