vmware / vic

vSphere Integrated Containers Engine is a container runtime for vSphere.
http://vmware.github.io/vic
Other
640 stars 173 forks source link

Add VCH info to `docker info` output to identify VCH #1364

Closed fdawg4l closed 8 years ago

fdawg4l commented 8 years ago

Provide a VIC user with enough information that they can unambiguously identify the VCH they're using to a viadmin (VCH name in the docker info output will do for now).

corrieb commented 8 years ago

I'd nominate this as a relatively important thing to have for onsite.

@fdawg4l assigning to you to give this an owner, but can easily reassign if necessary

fdawg4l commented 8 years ago

@caglar10ur i nominate you. You can go ahead and nominate someone else if you feel like it.

sflxn commented 8 years ago

Hey, how is this different from #1390? It appears this sounds very similar and is nearly done. You all can look in #1390 to see what values is now retrieved from the VCH and exposed to docker info. If the data are the same, then we should just close this issue as a duplicate. If this is additional information, perhaps, @caglar10ur can piggyback on my swagger and portlayer infrastructure to add the data.

sflxn commented 8 years ago

PR #1572 takes care of #1390. If this issue is different, then we can add the additional information on top of #1572.

fdawg4l commented 8 years ago
fahmed@hasselhoff: ~/src/vic/src/github.com/vmware/vic/bin$ docker -H 192.168.8.131:2376 --tls info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Storage Driver: vSphere Integrated Containers Backend Engine
vSphere Integrated Containers Backend Engine: RUNNING
 VCH mhz limit: 4484 Mhz
 VCH memory limit: 840 MiB
 VMware Product: VMware ESXi
 VMware OS: vmnix-x86
 VMware OS version: 6.0.0
Execution Driver: vSphere Integrated Containers Backend Engine
Plugins: 
 Volume: voluums
 Network: bridge
Operating System: vmnix-x86
OSType: vmnix-x86
Architecture: x86_64
CPUs: 4484
Total Memory: 840 MiB
Name: virtual-container-host  <<< -  Looks like we're doing this now.
ID: vSphere Integrated Containers
Docker Root Dir: 
Debug mode (client): false
Debug mode (server): false
Registry: registry-1.docker.io
fdawg4l commented 8 years ago

I think we have enough info to close this but leaving it to you @caglar10ur to make the call.

mdubya66 commented 8 years ago

Closing per @hickeng