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
api: remove useless get_actions() in consoles

This code is never called and refers to an non existent class.

Change-Id: Ia999d550315bf10dc7589f43e67e2fbf0d94501d
Use auth_token from keystonemiddleware

auth_token middleware in python-keystoneclient is deprecated and has
been moved to the keystonemiddleware repo.

Change-Id: I1aadbe24db63eb2507b088cd53886d7f2e192cab
Remove instance_uuids argument to _schedule

The instance_uuids argument to _schedule is pointless. The UUIDs are
already in the request_spec's 'instance_uuids' key.

Change-Id: I434c0be3ecd95dc5da7762770546c5f1274f985f
Make cells rpc bdm_update_or_create_at_top use BDM objects

We were sending SQLAlchemy objects previously, which is bad practice
since they work only with Rabbit rpc backend. Inter-cell RPC calls will
still use dicts.

Change-Id: I28ee5f914914b85be577291edef6c285f055be5a
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 "Use auth_token from keystonemiddleware"
Merge "Make cells rpc bdm_update_or_create_at_top use BDM objects"
Merge "Remove instance_uuids argument to _schedule"
Merge "api: remove useless get_actions() in consoles"
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"