Template is not required on stack-adopt

stack-adopt does not require a template, so removing template
parameters passed to stack-adopt.

Change-Id: I713fba392b8b8bbebf2f0c9d9be220e5826bf993
Closes-Bug: #1300336
Re-add keystone v3 auth with fixes

The first part of the commit is to re-propose the v3 auth changes.
https://review.openstack.org/#/c/92728/

The second part of the commit is to address the unexpected keyword
argument 'follow_redirect' and missing endpoint issue in certain
code path such as 'heat event-list' or 'heat resource-metadata'.
With the fix, follow_redirect argument is consumed by
SessionClient.  Heat endpoint is now passed from Heatclient
shell to SessionClient.

Unit tests were added and updated to cover the issue.

Change-Id: I0cdf837c924afe9cbd8826bdca5dd611c183efeb
Closes-Bug: #1349467
Closes-Bug: #1348297
handles keyboard interrupt

When an user intentionally provides an keyboard interrupt, heatclient
throws the entire traceback on to the terminal instead of handling it.

heatclient will now handle the keyboard interrrupt and provides an crisp
message on to the terminal.

Change-Id: Iaa30048e7948d7db1d5b256dd59ca2e0dd842df9
Closes-Bug: #1367283
Merge "Template is not required on stack-adopt"
warn against sorting requirements

And do not check for sorted requirements.

Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Closes-Bug: 1365061
Add --show-nested option to stack-list

Adds an option to display nested stacks, provided the heat service
being called supports the show_nested argument.  In this mode we
display the parent stack ID as an additional column, a future TODO
is to add another switch which enables a tree/forest view as well,
which should be more friendly to human readers of the output.

Change-Id: Ic559d6c6467b1a2bc1058d792b99fea483cdfb65
blueprint: list-nested
Merge "handles keyboard interrupt"
Stop using intersphinx

Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
Reuse existing disable_rollback in stack-update

This patch makes `stack-update` command to change the `disable_rollback`
bit of the stack IF AND ONLY IF explicitly requested on CLI.

In order to facilitate this, `--rollback` CLI argument to `stack-update`
is added (accepting values from 1, on, true, t, 0, off, false, f and similar)
to explicitly set disable_rollback property of the stack on stack update.
If this argument is omitted, the value of disable_rollback
of the stack to be updated will be implicitly used by heat engine.

The boolean switch '--enable-rollback' is deprecated with appropriate
message (although the default behavior is effectively changed).

Change-Id: I235198ec04bfb192fcbfa4e2e3e618b64c99d3df
Closes-Bug: #1324366
Merge "Add --show-nested option to stack-list"
Add support for OSprofiler

To be able to create profiling traces for Heat, the client should be
able to send special HTTP header that contains trace info.

Change-Id: I2ff833fac2dfe3bb0fcbd6a31c210db2935b72f1
Closes-bug: #1363782
Merge "warn against sorting requirements"
Merge "Reuse existing disable_rollback in stack-update"
Display stack owner info on stack-list

When listing stacks using the --global-tenant flag, the user is not able
to tell who each stack belongs to.  Furthermore, the problem may also
happen if there are multiple users within the same project.

This adds a --show-owner flag to stack-list to display the stack_owner
information when doing a normal stack list.  This flag is also set to
true when using --global-tenant, including an extra project field as
well, since the username is not unique across all projects.

Closes-Bug: #1359898
Change-Id: Id517be1d147f0b3a72ef7c3f8e4d16c7460477f8
Add stack-update argument for patching parameters

A new argument named existing for stack-update will be
supported by the heat engine to use the parameters stored
in the Db.

Partially-implements: blueprint troubleshooting-low-level-control
Partial-Bug: 1224828
Change-Id: I30a2b223d7dd19a717ed989b419b1e6cb2ac143b
Add stack-update argument for reset parameters

A new argument named clear-parameter for stack-update
will be supported by the heat engine to reset the value of the
parameter back to the default value. This argument can be
specified multiple times.

Partially-implements: blueprint troubleshooting-low-level-control
Partial-Bug: 1224828
Change-Id: Ib04dbc13978fdefd1bf3485f2654e139a3f1df8d
Updated from global requirements

Change-Id: If3b35e58aefd336b9a620e74f1448da33a3618b5
Merge "Add stack-update argument for patching parameters"
Merge "Add stack-update argument for reset parameters"
Merge "Stop using intersphinx"