Allow connecting to a ssl-based glance

This introduces a new glance_api_insecure setting that can be used to
not verify the certificate of the glance server against the certificate
authorities.

Fix bug 1042081.

Change-Id: I0a9f081425854e9c01e00dfd641e42276c878c67
Correct live_migration rpc call in test

self.driver.compute_rpcapi.live_migration should be the correct
way to issue live_migration call instead of
compute_rpcapi.ComputeAPI.live_migration, because the ComputeAPI
is a class, not an instance of the class.
This technically does not matter because the method is moxed out
anyway for testing, but still it is confusing.

Partially fix bug 1037183

Change-Id: Id41520a44fb9cfc19e269427ee42493e5dc52f5b
Add ops to aggregate_instance_extra_specs filter.

The following operators on instance_type_extra_specs were added in
aggregate_instance_extra_specs filter. Fixes bug 1037090.

= (equal to or greater than as a number; same as vcpus case)
== (equal to as a number)
!= (not equal to as a number)
>= (greater than or equal to as a number)
<= (less than or equal to as a number)
s== (equal to as a string)
s!= (not equal to as a string)
s>= (greater than or equal to as a string)
s> (greater than as a string)
s<= (less than or equal to as a string)
s< (less than as a string)
<in> (substring)
<or> (find one of these)

If the first word in the instance_type_extra_spec is not one of the
keywords above, a default operator "s==" is used.

E.g.: ">= 5", "s== 2.1.0", "<in> gcc", and "<or> fpu <or> gpu"

Change-Id: Iee9bf68011738aab146e6311a17cb3c673d7a392
request_spec['instance_uuids'] as list in resize

Wrap instance['uuid'] in a list when building request_spec in
compute.api before sending it across to the scheduler on resize

regression introduced in I63bbc98c285faebec53f8e62857c01548807db68

fixes bug 1041351

Change-Id: I7cad8316171798e240bf78999cb94730c587a904
Merge "request_spec['instance_uuids'] as list in resize"
Add the self parameter to NoopFirewallDriver methods

Following the Python coding convention even though the current
code works with the *args magic.

Part of bug 1037183

Change-Id: I2be815a098913b5879d0d9b3563a55431408431c
Correct utils.execute() to check 0 in check_exit_code

If a process exits with returncode 0, the function always returns without
raising a exception, regardless of whether its check_exit_code includes 0 or
not. This patch fixes it; if check_exit_code does not includes 0 and a
process exits with 0, ProcessExecutionError is raised.

(No change required to caller-side since no one misses 0 in check_exit_code)

Change-Id: I824a9bc5e42038e27df6757cd47c06073681c342
Fixes backwards compatible rpc schedule_run

Commit 8718f8e47d7d0504724495538eb320be3e209180 changed the
schedule_run_instance call to create all of the db records on the
compute host, but the old code path was left in for backwards
compatibility. Unfortunately an extra reservations parameter was
left in causing the backwards compatibility to be broken.

This patch takes out the reservations parameter and commits the
reservation in the backwards compatible call.

Fixes bug 1042302

Change-Id: I1e710d1e9a992f59a18eeedcd7d71726ff96c485
Merge "Correct live_migration rpc call in test"
Merge "Add the self parameter to NoopFirewallDriver methods"
Merge "Add ops to aggregate_instance_extra_specs filter."
Merge "Allow connecting to a ssl-based glance"
Merge "Fixes backwards compatible rpc schedule_run"
Update nova.conf.sample

Regenerate to account for unused options which were removed by
commit ea06eff7e7

DocImpact: update nova.conf docs
Change-Id: I1082d2869d0b9d33747fb877efb6d99344074b2c