scheduler: Remove assert on the exact number of weighers

Since the weighers code is by design pluggable, downstream packagers may have
added additional weigher classes, causing this assert to fail.

Rather than require downstream maintain a patch against this line, the
proposal is to remove it since the asserts after it are sufficient.

Change-Id: I13765fae188af92a2e729dcd14caf981db01acb4
Fix instance_usage_audit_log test to use admin context

Nova V2 API 'os-instance_usage_audit_log' is for admin only
and Nova policy.json has rule for the same But
test_instance_usage_audit_log tests this API as non admin.

This patch fix test_instance_usage_audit_log test to use admin
context.

Also adding some more tests to verify this API with non-admin context.

Closes-Bug: #1387901

Change-Id: I20a477786ef0f3e1132629c4a12af40524e2b09f
virt: introduce types VirtPageSize and VirtPagesTopology

Introduces a new types VirtPageSize and VirtPagesTopology

Work-item: Enhance libvirt driver to report available
           large pages per NUMA node in the host state data

Change-Id: I4a52bd204930245bd0539210a7f703efdeb06542
Partial-Implement: blueprint virt-driver-large-pages
hardware: fix in doctstring the memory unit used

The unit used to handle memory is MiB not KiB

Change-Id: I49de12d0011cff8e4465759d17b502a821bb9740
hardware: introduce VirtNUMATopologyCellInstance

Introduces a new class VirtNUMATopologyCellInstance which extends
VirtNUMATopologyCell used to handle cells of VirtNUMAInstanceTopology
Also this commit make VirtNUMATopologyCell an abstract class.

Work-item: Enhance libvirt driver to report available
           large pages per NUMA node in the host state data

Change-Id: Icac19c17caec98ae31c039a2b22a7c1de546d9a2
Partial-Implement: blueprint virt-driver-large-pages
hardware: make cell instance topology to handle memory pages

Updates VirtNUMATopologyCellInstance to take into account
account pagesize information

Work-Item: Enhance libvirt driver to report available
           large pages per NUMA node in the host state data

Partial-Implement: blueprint virt-driver-large-pages
Change-Id: Ib8772bff16f6ba58a6266a2ef40b9d81b1d7f00a
object: update instance numa object to handle pagesize

Work-item: Enhance libvirt driver to report available
           large pages per NUMA node in the host state data

Partial-Implement: blueprint virt-driver-large-pages
Change-Id: I392bdc45aa3b6b169c1d1bfdada624a16c77c91c
Neutron: remove deprecated config options

Commit 5cacad3508570ce70b1f9ef620e0508169687fda and
commit c2697f8735a38fb05d54ff4f82110829ead85ee9 deprecated
configuration options in Juno. These have now been removed.

Change-Id: I1496ccd1e855c6a0eac4c1825305847e61cc1bcb
Cinder: remove deprecated configuration options

Commit d55dfc6d0d86157832d016243cb5e7a736f2495a deprcated
configuration options. These have been removed.

Change-Id: I96c3172266ea382ee405dc67b696355b97fa1fec
Glance: remove deprecated config options

Commit 4b6e75b5f8037adbf63ac2f03dca17f0c8c0bc08 marked configuration
options as deprecated in Juno. These were removed.

Change-Id: Ia450760b32228fb208e5316694d0ea536d3c685f
Quotas: remove deprecated configuration variable

Commit e17f6fd56d079c55921f2030275d8f5719748763 deprecated
the variable quota_injected_file_path_bytes in Juno. This
has been removed.

Change-Id: I61912a73b8a464d2fafed6c2463daaaecc0da1c0
Merge "Quotas: remove deprecated configuration variable"
Merge "Neutron: remove deprecated config options"
Merge "Cinder: remove deprecated configuration options"
Merge "Glance: remove deprecated config options"
Merge "virt: introduce types VirtPageSize and VirtPagesTopology"
Merge "hardware: fix in doctstring the memory unit used"
Merge "hardware: introduce VirtNUMATopologyCellInstance"
Merge "hardware: make cell instance topology to handle memory pages"
Merge "object: update instance numa object to handle pagesize"