maint: remove unused imports from bin/nova-*

Change-Id: I80b58ac41bbb0517221d5fd5ba9938f2b7836779
Allow multiple dns servers when starting dnsmasq

Previously we only allowed one upstream dns server even though we
can store two in the network object. This changes the dns_server
flag to a MultiStrOpt so it can be specified multiple times.

It also adds a new config 'use_network_dns_servers' which specifies
to uses the dns servers from the network if they are set. This
defaults to false to ensure configs do not need to be changed.

DocImpact

Change-Id: I4c96259bce25036392afe6e027ec47b92679ecbc
Return dest_check_data as expected by the Scheduler

the scheduler driver expects data in return when
calling compute_rcp.check_can_live_migrate_destination
in method 'schedule_live_migration'.

In turn check_can_live_migrate_destination calls
check_can_live_migrate_source that also expects data
returned from the driver.

Fixes bug #1118491

Change-Id: I3dbfa716d5d9bc849c1f67005e7bb1b8ba1ccd30
Fix regression in non-admin simple_usage:show.

Commit 6ff32210772a67a1b526d9d784030afc90f3ce99 optimized the db query
for usage but replaced a call that had require_context with one that
had require_admin_context. This causes usage show to throw a 403. We
check for admin_or_owner in policy, so there is no need to check for
admin context at the db layer.

Fixes bug 1122267

Change-Id: Iff362f46d83a710f3883538bcb646e3457e0ba64
Fix passing conductor to get_instance_nw_info()

The recent metadata patch missed this one spot, which wasn't caught
because the network stubs weren't updated for the signature change.

Fixes bug 1123435

Change-Id: Iebeb98bba62189476af2c0b85615ea407a8b2ecd
Add "is not" test to hacking.py

HACKING.rst was updated in I7534ef73e6fd525fd8f4bee594a4b37524699c08.
This adds hacking.py enforcement.

Change-Id: I5d75d536762449d0a7ae38213addd02aeceede0b
Use a more specific error reporting invalid disk hardware

Instead of using NovaException for reporting invalid user
specified disk hardware, use UnsupportedHardware and
UnsupportedVirtType exceptions.

Change-Id: I68ed1c0569bd0c0679e9fff3ffd436197f78a9f0
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Merge "Use a more specific error reporting invalid disk hardware"
Merge "Fix passing conductor to get_instance_nw_info()"
Merge "Fix regression in non-admin simple_usage:show."
Merge "maint: remove unused imports from bin/nova-*"
Merge "Return dest_check_data as expected by the Scheduler"
Merge "Add "is not" test to hacking.py"
Merge "Allow multiple dns servers when starting dnsmasq"