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

Add Accessible to HostStorages #329

Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Jan 23, 2019

Add a property to the host storage mount information about if a
particular datastore is accessible to the given host or not.

If a datastore is inaccessible for some reason (e.g. the NFS server is
down) then even though read_only may be false the datastore still cannot
be accessed.

VMware tracks this property in the HostMountInfo (where read_only is
already pulled from) in a boolean field called "accessible" [0].

This can be used to ignore offline datastore for the purposes of
provisioning as well as alerting the user of issues on their datastores

[0] https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.host.MountInfo.html

https://bugzilla.redhat.com/show_bug.cgi?id=1668020

Add a property to the host storage mount information about if a
particular datastore is accessible to the given host or not.

If a datastore is inaccessible for some reason (e.g. the NFS server is
down) then even though read_only may be false the datastore still cannot
be accessed.

VMware tracks this property in the HostMountInfo (where read_only is
already pulled from) in a boolean field called "accessible" [0].

This can be used to ignore offline datastore for the purposes of
provisioning as well as alerting the user of issues on their datastores

[0] https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.host.MountInfo.html

https://bugzilla.redhat.com/show_bug.cgi?id=1668020
@agrare agrare added the bug label Jan 23, 2019
@agrare agrare requested a review from Fryguy January 23, 2019 21:15
@miq-bot
Copy link
Member

miq-bot commented Jan 23, 2019

Checked commit agrare@547d4af with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@bdunne bdunne merged commit d0ad280 into ManageIQ:master Jan 23, 2019
@bdunne bdunne self-assigned this Jan 23, 2019
@bdunne bdunne added this to the Sprint 104 Ending Feb 4, 2019 milestone Jan 23, 2019
@agrare agrare deleted the bz_1668020_add_accessible_to_host_storages branch January 24, 2019 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants