novncproxy: Setup log when start nova-novncproxy

Because log system not setup, so log_dir, log_file config item not work.

Change-Id: Iabe7a4ca41dc0de8c752f013f6afeed5fd80b4ea
Closes-Bug: #1291949
Fixes rbd backend image size

The original fix for bug 1219658 introduced a factor of 1024 error
in the resulting rbd image size.

Fix bug #1219658

Change-Id: I3ec53b3617d52f75784ebb3b0dad92ca815f8876
Co-authored-by: Nikola Dipanov <ndipanov@redhat.com>
Signed-off-by: Haomai Wang <haomai@unitedstack.com>
VM diagnostics (v3 API only)

There is no formal definition for the VM diagnostics. For the
V2 API the diagnostics will be returned as they are today.

This will continue to use the driver function get_diagnostics.

This change will be implemented by a new virt driver method called
get_instance_diagnostics.

This will support backward compatibility with the existing API's.

Part of the blueprint v3-diagnostics

This patch set is for the API's. Virt driver support in additional
patches.

DocImpact

Change-Id: Id722f38fb134b322413d2b5c3459c8fc0af7bd36
Remove unused instance variables from HostState

The request was to fix num_instances_by_project in HostState to
correctly report state even when last VM was deleted.

However in investigation I discovered this instance variable isn't
used in openstack code.  Following policy, we should be removing this
code.  Also removed vm_states, task_states and
num_instances_by_os_type.

Change-Id: I4ba30a9c0639803d19d5e8355f5bc8dd3f543671
Closes-Bug: 1201379
Merge "Fixes rbd backend image size"
Merge "VM diagnostics (v3 API only)"
Merge "Remove unused instance variables from HostState"
Merge "novncproxy: Setup log when start nova-novncproxy"