Install test-requires in development venv.

Otherwise ./run_tests.sh may fail

Change-Id: I122fc474568e6670e6c8aa2a3c854a3f2ceccd53
Merge "Install test-requires in development venv."
If no password in env or command line, try prompting

Implements keystone portion of blueprint prompt-for-password

For security reasons, having the password on the command line
or in the environment is an issue for us. (See the blueprint for
details.) This change will simply make one attempt to prompt for
a password if (1) nothing was specified already and (2) there's
a tty available for the user to respond on. If we don't get a
password, then the existing error will be raised.

Remoted getpass from pip-requires, it's in the std lib

Tweaked a comment

Tweaked error message

Don't catch Ctl-C

Fix import to match conventions

Missed a tweak during the rebase.

Added suggested password prompt

Change-Id: I54bca2397da7bd366f7ac503e767b109efc093e7
Add '--insecure' commandline argument

Allows to ignore validation errors that typically occur with self-signed
SSL certificates. Making this explicit is important as one would
typically only use this in development or in-house deployments.

This should also fix bug 1012591.

Change-Id: I1210fafc9257648c902176fbcfae9d47e47fc557
Add nosehtmloutput as a test dependency.

Adding nosehtmloutput as a test dependency allows nose to output its
results to an html file. This will be used by Jenkins to save logs on
a different server.

Change-Id: I6d217ff3098650e013985afdd8f4186d8d77d609
Change underscores in new cert options to dashes

* --os_cacert -> --os-cacert
* --os_cert   -> --os-cert
* --os_key    -> --os-key

* OS_CA_CERT didn't match --os-cacert, change to OS_CACERT

Fixes bug 1040162

Change-Id: Ib03ff492b6ab2b76e54974e5436a444725615ea6
splitting http req and resp logging
also some pep8 cleanup in shell.py

Change-Id: I71aa2586a0196c0a6ba64b892b56c9d221bdcc1d
Merge "splitting http req and resp logging also some pep8 cleanup in shell.py"
Merge "Add nosehtmloutput as a test dependency."
Fix PEP8 issues.

Fix some pep8 issues in doc/source/conf.py make the code looks pretty.

Change-Id: Ib1e2f8214ad7f4bc49c8c3dfa016843f8df15fe6
fixing pep8 formatting for 1.0.1+ pep8

Change-Id: I3a4f9d43f3e36dac8f976100587d709736ad34ab
Merge "fixing pep8 formatting for 1.0.1+ pep8"
Getting Service ID
Fixing Service ID error
Fixing args problem
Fix service-id bug
Fixed httplib2 mocking (bug 1050091, bug 1050097)

- 204 No Content should be mocked with empty response bodies
- Content-Type headers should not be mocked with empty response bodies
- httplib2 would never return None as a response body
- The Identity API never expects a req/resp body with a string value of "null"

Change-Id: Ie22e8e5288573268165ed06049978195955f8ca6
Require httplib2 version 0.7 or higher.

SSL validation was not available until version 0.7 of httplib, which keystone
client makes use of. Therefore, we cannot just allow any version.

Change-Id: I05dc72aa77a4f861cc238fccf5a22192f7bdbf6f
removing deprecated commandline options

Change-Id: Ie0cb579583012cf41ff34946a48b16f132ac2421
Handle "503 Service Unavailable" exception.

Bug: 1028799

No traceback, if service is unavailable; error out gracefully.

* keystoneclient/exceptions.py
  ServiceUnavailable: New class to handle 503 status code.
  Add the new class to list of handled exceptions.

Change-Id: I39a8ac594ef922d682731a926be26c8b6f648f9d