We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, my datastore path on vSphere looks like this:
EXAMPLE_DC/Level1/Level2/Level3/dc1_openshift_datastore_1_ssd
which I define as a pool in the ~/.kcli/config.yml:
~/.kcli/config.yml
mysphere: ... ... pool: "EXAMPLE_DC/Level1/Level2/Level3/dc1_openshift_datastore_1_ssd"
If I list all host infos with the command:
kcli info host
all datastores are listed just by their names, without their hierarchical path.
if i try to use the hierarchical path to the datastore like metioned above, i get a KeyError exception from
KeyError
https://github.com/karmab/kcli/blob/fbf766ca3f7e929131ba646bef501a0122e87e26/kvirt/providers/vsphere/init.py#L188
(Line 188): if datastores[pool] != self.dc.name:
if datastores[pool] != self.dc.name:
If I get it right, arround line 1626 the datastore names are just added by their plain name not by a full path or uuid.
The text was updated successfully, but these errors were encountered:
what does kcli list pool print in your case?
Sorry, something went wrong.
closing as I m not able to create a nested hierarchical datastore to explore how it should behave
No branches or pull requests
For example, my datastore path on vSphere looks like this:
EXAMPLE_DC/Level1/Level2/Level3/dc1_openshift_datastore_1_ssd
which I define as a pool in the
~/.kcli/config.yml
:If I list all host infos with the command:
all datastores are listed just by their names, without their hierarchical path.
if i try to use the hierarchical path to the datastore like metioned above, i get a
KeyError
exception fromhttps://github.com/karmab/kcli/blob/fbf766ca3f7e929131ba646bef501a0122e87e26/kvirt/providers/vsphere/init.py#L188
(Line 188):
if datastores[pool] != self.dc.name:
If I get it right, arround line 1626 the datastore names are just added by their plain name not by a full path or uuid.
The text was updated successfully, but these errors were encountered: