| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I1add952ced2e7956de61f15084c71eee988ac475
|
| |
|
|
| |
Change-Id: I41a243db38cf9b012f1d886b393dd0ffa1b905d0
|
| |
|
|
| |
Change-Id: I30337837bbbfcf71f8ceeea1941f8b281bce2e38
|
| |
|
|
| |
Change-Id: I615315ae3ebbcba6375c8a1e2175622582351328
|
| |
|
|
| |
Change-Id: I7c2d72b87be80b109d4131ffb6a7b90e90b5c46c
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Parse nested files if they are in template format.
Closes-Bug: #1429036
Change-Id: I6b01ed853edac815510e89fbfaf775084a9c5ac7
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Change test class names to start with upper case.
Change-Id: I68c2a7c60770154da539dde5ba5532542668ecb8
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows us to unset hooks with the same wildcard support as when
creating a stack:
heat hook-clear mystack 'foo*' '*_group/*_stage1'
Change-Id: I235f0d1cf7adcb30e14d5a0633079c3a65abf080
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hooks can be set on stack create / update:
heat stack-create mystack -f mytemplate.yaml \
--pre-create SomeResource \
--pre-create SomeOtherResource \
--pre-create nested_stack/nested_2/NestedResource
or within the resource_registry section of the environment:
resource_registry:
resources:
SomeResource:
hooks: pre-create
SomeOtherResource:
hooks: pre-create
nested_stack:
nested_2:
NestedResource:
hooks: pre-create
Hooks can be then cleared:
heat hook-clear --pre-create mystack SomeResource SomeOtherResource
heat hook-clear --pre-create mystack nested_stack/nested_2/NestedResource
Change-Id: I6b77f2895bada7b423fc47feb44cb87555d6afd8
|
| |
|
|
|
|
|
|
|
|
|
| |
A variant of -P (-Pf) which loads the parameter value
from the specified files.
$heat stack-create teststack -f sample.yaml \
-P "key_name=heat_key" -Pf "private_key=private_key.env"
Change-Id: If73e702d035404356905db0f45bb15546b96ba3b
Closes-Bug:#1334839
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This patch resync openstack common modules from oslo_incubator. The most
significant changes include the migration to namespace oslo_foo and the
deletion of uuidutils.py (moved to oslo_utils now).
Change-Id: I133f15c99b4dd9efaede357a06b4e4e0246a5fbb
|
| |/
|
|
|
|
|
|
| |
This patch migrates the namespace of oslo packages from oslo.foobar to
oslo_foobar. The oslo_incubator code need to be resynced, which will be
submitted in another patch.
Change-Id: Id77207750556b71f20797a0ee6f2cafd62ea30e1
|
| |
|
|
| |
Change-Id: I7e428a82e70562d9e2e370eb57b2a47983cd86f0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The deployment-create command creates a derived config
from the supplied config, then creates a deployment with
that. Supported signal transports are TEMP_URL_SIGNAL and
NO_SIGNAL (CFN_SIGNAL and HEAT_SIGNAL are not possible as
they require the deployment to be associated with a stack resource).
The transport TEMP_URL_SIGNAL requires that a swift object
(with TempURL) be created to receive the signal, so heatclient
now depends on swiftclient so that this object can be created.
This change implements the heatclient portion of
blueprint software-config-trigger.
Implements-Blueprint: software-config-trigger
Change-Id: I6d73ba1f0cb9abc3331b5c3d3c788678ad88ff20
|
| |
|
|
|
|
|
|
| |
This allows a single deployment output to be displayed
in either raw or json format. This is a convenience command
for scripting based on deployment output values.
Change-Id: Iaf6f5a3345a5554403588c3ad74b4c4c4ae0e81b
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Semicolon splitting is legacy behaviour from the old cfn
client. New arguments (like deployment input values)
can use format_parameters but won't want to support semicolon splitting.
This change makes semicolon parsing optional.
Change-Id: I1126fd8882d3ba68a03822e5f519656d78d2d535
|
| |/
|
|
| |
Change-Id: I44ba7f16d0ab240b6e4f120ddb713bffc95d7e36
|
| |
|
|
|
|
|
|
|
| |
If there is no endpoint, SessionClient failes because of
required endpoint in __init__ args. Also this patch adds
tests for SessionClient.
Change-Id: I0475698fe34d4acf0d0187fb87d02781bce6f74a
Closes-bug: #1427310
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since event-list is log-like, it would be *much* friendlier
to users to sort by oldest first, especially for large
stacks where the events scroll.
This change adds sort_dir=asc to the event list query for
the CLI event-list command only.
Change-Id: I479e9ec36bf14a5f250348ca4279c508da23c2a2
Closes-Bug: #1420091
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whatever the endpoint type passed with --os-endpoint-type or
OS_ENDPOINT_TYPE, the publicURL is always used (instead of, for
instance, adminURL or internalURL).
This patch passes the user-defined endpoint type to keystoneclient's
get_endpoint() so that the correct endpoint is chosen from the catalog.
Change-Id: Iee9f0e576d5fba3b4bf1dd267dfee233b0a7ea8f
Closes-Bug: #1422487
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
Updates heat.rst man page with new command 'heat service-list'
Change-Id: I9f3d6ca5e4c489a65344fb451be4c274e8298129
Closes-bug: #1421299
|
| |/
|
|
| |
Change-Id: I5d1ce3c61f8129fc9475a151bc90c77c726412dd
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds 'service-list' to heat CLI for reporting the status
of all running engines in given cloud environment
"DocImpact"
Implements: blueprint heat-manage-service-list
Change-Id: Ief8b6e9bdd1a9b7428e0c8f58b65e9bff607c592
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Format the attributes as indented JSON to improve the output format
of command resource-show.
Change-Id: I5a72f12c7710c782cbc0e89483d271ab86bddc3c
Closes-Bug: #1394094
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added adopt command description to heat manual.
Added note that adopt/abandon are disabled by default.
Change-Id: I36d0b70fe32750b82cd5fe9cf0403866b8501ed9
|
| | |/
|/|
| |
| |
| |
| |
| |
| | |
THe 3.4 json changes the way json.dumps works when indent is specified,
which breaks tests. Passing the separators argument explicitely forces
the old behavior back.
Change-Id: Ie27eb1491b984e65fedeb21864e2833ada2872fe
|
| |\ \ |
|
| | | |
| | |
| | |
| | | |
Change-Id: Ic0fdb1adc3e04dbc4e80c5f6177dd5c448d34ee1
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default the output-show command formats the output value as
serialized json, which is inconvenient if the value is a simple
multi-line string.
This change adds a -F, --format option to specify json or raw for
the format of the output value. The default retains the current
json behaviour. List and map values use json formatting regardless
of the selected format.
Change-Id: I07c8b2c08daae4ac9f56b06863461ee22e6ad0d8
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the following heat cli commands for interacting
with the config and deployment REST APIs outside of a heat
template.
It adds the following commands:
- config-create
- config-show
- config-delete
- deployment-show
- deployment-metadata
- deployment-delete
This change does not include deployment-create or deployment-update
commands. These will come in a later change once it becomes obvious
how to discover the stack_user_project_id to pass.
Partial-Bug: #1319986
Change-Id: I405560f7bc085cc35d791cd1218691e7999f9502
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently there is no way to get all stack outputs in one query.
This prevents user scripts to be able to parse those values.
A workaround is to call `heat stack-show mystack` and to manually
extract outputs from the pretty table. Another way is to list output
keys with `heat output-list` then fetch each value separately using
`heat output-show`, which induces many queries.
This patch adds the ability to query all outputs in one command, in
a format readable by parsers.
$ heat output-show mystack --all
[
{
"output_key": "controller_ip",
"output_value": "10.0.0.42",
"description": "IP address"
},
{
"output_key": "another_output",
"output_value": "Hi, reviewer!",
"description": "no description"
}
]
Change-Id: I560540643b3045d0281474aebb26eba6d62eb97f
Partially-implements: blueprint stack-outputs-in-shell
Related-Bug: #1258622
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If test environment is located behind a http proxy, tox and pip
require to set http proxy environment variable.
However httpretty mock library does NOT work as expected if http proxy
is set.
Therefor code to remove the http proxy environment variable is added
into the fixture.
Change-Id: Ida9e9e3ce8868721aede1219db9c4477bbbe7ae8
Closes-Bug: #1404203
|
| | |
| |
| |
| | |
Change-Id: Ie37952f28568cfb91799352e83bb68289ec3ee13
|
| | |
| |
| |
| |
| |
| |
| | |
Remove all references to httpretty in favour of requests-mock. It is
easier to work with and seems to have less side effects.
Change-Id: Ia489df4749f76f37af2d6b7e76c1705f4ffd4715
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Most of the basic test data that was being copied from keystone was
unused or available as a fixture. Remove that copied data and use the
fixture.
I5436e86378db64163c69060feccaf6fa2054c8f4
Change-Id: Ifd6a64b57f5a2fe901088bceef8cb06ce49845ec
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Make a wrapper around the raw_request function so that it correctly
returns a string rather than a requests.Response object to match
the required API.
Closes-Bug: #1408199
Change-Id: Ic497d952ede7500d3787495865440befd0a92c0a
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| | |
Change-Id: I1d5169804ef72a505b0ccc57df9ca944e7187a3f
Closes-Bug: #1269930
|
| |\ \
| |/ |
|