Commit Graph

10 Commits

Author SHA1 Message Date
Rabi Mishra 96b5b060d0 Remove unused support.yaml workbook
Depends-On: https://review.opendev.org/714640
Change-Id: I412ccac60bcba3dc1fcc04d5cbe3b7f7ecf21e6e
2020-03-24 19:07:34 +05:30
Rabi Mishra 3b028df012 Remove swift_backup workbook and some related actions
Change-Id: I5be6d1b58a958165b17b31c25d8bbf49cbf13c89
2020-03-24 14:57:58 +05:30
Rabi Mishra 163addcaa8 Move swift tempurl creation functionality to utils
Change-Id: I25b6670f62e8702bba875fb0c4aa36b39a4c40b3
2020-03-13 14:16:39 +05:30
Adriano Petrich 76b3e025b7 use Result from mistral_lib instead of mistral
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
2017-06-23 14:20:45 +01:00
Ana Krivokapic a05e4510bf Fix plan export
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
2017-06-19 15:22:43 +02:00
Adriano Petrich fe8df0a228 Use the mistral-lib actions
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
2017-06-06 10:15:31 +01:00
Jenkins 779f4adf96 Merge "Add log capturing support workflows" 2017-06-01 00:01:17 +00:00
Adriano Petrich fbfe481ee4 move mistral base action dependency to mistral_lib
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
2017-05-17 23:51:05 +01:00
Alex Schultz 374b34d34f Add log capturing support workflows
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
2017-05-08 14:38:14 -06:00
Christian Schwede 067049594a Use Mistral to create Swift temporary URLs
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
2017-01-26 10:35:37 +01:00