This is part of the ongoing change to remove the mistral
dependency from tripleo-common and use mistral_lib instead
In order to do that we are using the Result class from mistral_lib
Change-Id: I59ce8c6d68de9e9719d84cbaa82462fbd8d647e2
Depends-on: Icc0036bae3c969112f2f67c4a8264bae18f3cc73
Plan export is currently failing due to the `get_object_client()`
method being called without the mandatory `context` argument.
This change also fixes another instance of the missing `context` argument
to the `get_object_client()` method in the SwiftInformationAction action.
Change-Id: I70f522f85dbbbabb5d50d202001017ab0473385a
Closes-bug: #1698811
A mistral actions were deprecated in favor of mistral-lib actions
mistral-lib actions have a different signature for the abstract method
run in which it receives the context.
tripleo_commons TripleoAction is already using mistral-lib so this is
just a bugfix
Change-Id: Icc0036bae3c969112f2f67c4a8264bae18f3cc73
mistral_lib base TripleoAction has a context in the run method
signature. These changes remove the mistral.context and make use
of the one provide by the default executor
Change-Id: Ib1a5aa8d5735b05f5308dc943ac088b5eeeec253
This change creates a set of workflows for use with support actions. The
first set of support actions supported is the ability to run sosreport
on various nodes and upload them to a swift container on the undercloud.
After they file bundles have been uploaded to the swift container, the
tripleoclient can be used to pull the files down to a local machine.
Change-Id: I47c486d14c46a653c61cfd92d9f484efe0407217
Partial-Blueprint: capture-environment-status-and-logs
This patch consists of two parts.
A new Mistral action has been added to create signed temporary URLs.
The method to generate temporary URLs isnt' exposed by
python-swiftclient, therefore adding that method using it's own action.
It also sets the required metadata with a random key if not yet
existing.
The deployment workbook has been updated to create two temporary URLs
(one PUT, one GET) that can be used during the deployment for up- and
downloading Swift rings to the undercloud node.
Related-Bug: 1609421
Change-Id: Ic3da38cffdd993c768bdb137c17d625dff1aa372