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

virt.volume_info fixes #131

Closed
wants to merge 5 commits into from

Conversation

cbosdo
Copy link
Contributor

@cbosdo cbosdo commented Mar 8, 2019

Backport saltstack/salt#52033 which is a fix for PR #129

cbosdo and others added 5 commits March 4, 2019 16:49
Expose more functions to handle libvirt storage volumes.

virt.volume_infos() expose informations of the volumes, either for one or
all the volumes. Among the provided data, this function exposes the
names of the virtual machines using the volumes of file type.

virt.volume_delete() allows removing a given volume.
Add UT for "is_fqdn"

Add "is_fqdn" check to the network utils

Bugfix: include FQDNs aliases

Deprecate UnitTest assertion in favour of built-in assert keyword

Add UT for fqdns aliases

Leverage cached interfaces, if any.
Add find_job checks

Check if should close on all events

Make batch_delay a request parameter

Allow multiple event handlers

Use config value for gather_job_timeout when not in payload

Add async batch unittests

Allow metadata to pass

Pass metadata only to batch jobs

Add the metadata to the start/done events

Pass only metadata not all **kwargs

Add separate batch presence_ping timeout
If 'fstype' parameter is not set in Linux environments, salt will
build a mount command with an empty -t value, making the command
fail.
It may happen on pools that have not refresh for a long time that the
volume list is not matching reality. Then when calling the info() or
XMLDesc() functions libvirt errors out. virt.volume_info() now handles
this case.

Since the pool and volume parameters can be None, make them optional and
default to None.
@dincamihai
Copy link
Contributor

We need to merge this with #129, forcepush 2019.2.0 and update the patch in OBS

@cbosdo
Copy link
Contributor Author

cbosdo commented Mar 27, 2019

@dincamihai any news on this PR?

@dincamihai
Copy link
Contributor

@cbosdo sorry, this got out of our sight for a while. I'll try to incorporate it today. Thanks for the reminder!

@dincamihai
Copy link
Contributor

Incorporated into 5e20220. Closing this PR. Thanks, @cbosdo !

@dincamihai dincamihai closed this Mar 28, 2019
@dincamihai
Copy link
Contributor

@cbosdo
Copy link
Contributor Author

cbosdo commented Nov 4, 2019

master-port: saltstack/salt#55165

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 this pull request may close these issues.

3 participants