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
Allow aggregate create to have None as the az

Aggregates do not require a zone any more, but in order to keep the current API,
Allow for availibilty zone to be set to None.

Fixes bug 1123468

Change-Id: I5209311f3417b5d7cdf343e5c06104357ed523d5
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>
Resize/Migrate functions for PowerVM driver

Added resize and migrate functionality to PowerVM driver.
Allows resizing of instance and cold migration of
an instance to different host.

bp powervm-compute-resize-migration

Change-Id: I723456266d3ceb4bd4a7ce4273008201b450f533
Module import style checking changes

* Implementing the * import detection (it is disabled for now)
* New style relative import testing based on syntax rules
* Old style relative import testing based on module search
* Inspection based solution replaced by PYTHONPATH search
  in order to avoid module compile and initialization steps
  (code execution) in a syntax checking phase.

This solution is faster and safer, but does not able to recognize
modules added dynamically to the module scope.

Change-Id: Ifc871f4fdbcd4a9a736170ceb4475f4f2cbe66bc
Add GlusterFS libvirt volume connector

This is to support GlusterFS as a storage backend for Cinder,
which works similarly to the NFS backend.

Change-Id: I047d58ba74d27273ba8f2639bcc77999f8be0f30
Correct misspelling in PowerVM comment

Correct a misspelling in a PowerVM comment

Change-Id: I12ab59826e8448a120ff3ef2b26034ea4aa2f1a0
API extension for accessing instance_actions

Adds a new API extension for accessing the recorded actions and events
on an instance.  Usage is documented with api samples.

Additionally it modified the db api to retrieve actions by request_id
since the api does not return the db id.  This extension is the first
consumer of that method so there's no issue of changing behaviour
elsewhere.

Blueprint instance-actions
DocImpact

Change-Id: I74109586cc762a7f51d2b114896cf071ee0671cb
Merge "Add GlusterFS libvirt volume connector"
Merge "Correct misspelling in PowerVM comment"
Merge "Module import style checking changes"
Merge "Resize/Migrate functions for PowerVM driver"
Merge "API extension for accessing instance_actions"
Merge "Use a more specific error reporting invalid disk hardware"
Merge "Fix passing conductor to get_instance_nw_info()"