Cleanup trailing whitespace in api samples.

No functional changes.

Change-Id: I7511ba490bc0c86e80eda10a8246884338f57fdd
Clarify volume related exception message

Before the message was "status must be available," which could either mean
nova couldn't fetch the status or the status was not set to 'available'. As
this message means the latter, make it more explicit by putting available in
quotes.

Change-Id: I1b167073463c781569919926fa9b8960f4fecf59
Simplify random host choice.

The random Python module provides a handy funcion for choosing a random
element from a sequence.  Use that instead of a more manual method of
accomplishing the same thing.

Change-Id: I1908bd5e79b6c21d0dcf7e540143e9b8de478d24
Remove unnecessary parens.

This is just some random code cleanup.  It removes some unnecessary
parens in some conditional statements to be more consistent with the
style used elsewhere in the code.

Change-Id: I49951c0ffe2b50e0dee50552eb1ddbf7ff871ecf
Remove unnecessary LOG initialisation

Remove a lot of getLogger lines and imports of logging in modules
which never use that functionality.

Change-Id: Icdaee2c540980412b000d02ebf1ec568dcf5b38a
Merge "Clarify volume related exception message"
Merge "Remove unnecessary LOG initialisation"
Merge "Cleanup trailing whitespace in api samples."
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp