Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

[Tenant] "vmdkops_admin tenant vm ls" is not showing VMs belongs to _DEFAULT tenant #965

Closed
shuklanirdesh82 opened this issue Feb 24, 2017 · 2 comments

Comments

@shuklanirdesh82
Copy link
Contributor

It would be helpful and great to have such information like how many docker_hosts are participating into _DEFAULT tenant just like vmdkops_admin showing for other tenants.

[root@sc-rdops-vm17-dhcp-0-84:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant ls
Uuid                                  Name      Description               Default_datastore  VM_list    
------------------------------------  --------  ------------------------  -----------------  ---------  
594dd43b-b93b-41c8-82bb-1e65374b8648  vsan                                                   VM84_vsan  
11111111-1111-1111-1111-111111111111  _DEFAULT  This is a default tenant                                

[root@sc-rdops-vm17-dhcp-0-84:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant vm ls --name=vsan
Uuid                                  Name       
------------------------------------  ---------  
422a93bc-62ac-e90d-6c7c-a028c6568a45  VM84_vsan  

[root@sc-rdops-vm17-dhcp-0-84:~] /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant vm ls --name=_DEFAULT
Uuid  Name  
----  ----  

[root@sc-rdops-vm17-dhcp-0-84:~] 

//CC @msterin @pdhamdhere

@lipingxue
Copy link
Contributor

Why do we need that info? Any VM which are not part of any user created tenant is associated with _DEFAULT tenant.

@msterin
Copy link
Contributor

msterin commented Mar 1, 2017

I agree with @shuklanirdesh82 , it is confusing when a specific request ("show me vms in default tenant") shows nothing - but it has nothing to show. We can print something like "all vms not participating in other tenants are a part of _DEFAULT tenant". this is a low priority though

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

4 participants