1613 Commits

Author SHA1 Message Date
Zuul
de970a8adf Merge "Fixed typos in inventory pkg" 2021-02-11 00:02:51 +00:00
Zuul
40f24de8b0 Merge "Added verbose to gate runner playbook" 2021-02-10 22:27:22 +00:00
Zuul
a73ee005ad Merge "Added a warning message that cluster api already initialized" 2021-02-10 22:20:42 +00:00
Zuul
34b618be9b Merge "Repair validate-site job" 2021-02-10 20:21:37 +00:00
bijayasharma
62272ed900 Added a warning message that cluster api already initialized
* Currently if the cluster init command is run & the cluster-api
  has already been initialized, the command fails.
* So,this commit adds a warning message that cluster-api already initialized.

Signed-off-by: bijayasharma <vetbijaya@gmail.com>
Change-Id: I93cc6b141c15fa4bc5661646ae0cbdf08580cbf9
Relates-To: #450
Closes: #450
2021-02-10 13:05:17 -05:00
siraj.yasin
3e1553684e Added verbose to gate runner playbook
* Add verbose to see little more details on each tasks of play
* Added option to prettyprint verbose in stdout
  ANSIBLE_STDOUT_CALLBACK=debug
* Updated the virsh cleanup sequence.
  The images(.img) within /var/lib/libvirt/images/ were not removed

Change-Id: I0a52aa4ccca41e3f2258420eb2e1173137ca0d06
2021-02-10 16:40:59 +00:00
bijayasharma
c50286d015 Fixed typos in inventory pkg
Signed-off-by: bijayasharma <vetbijaya@gmail.com>
Change-Id: I8da797a6883df63adf6089743faa757d1099ef82
2021-02-10 13:20:50 +00:00
Zuul
77268cd1d0 Merge "Implement cluster list command" 2021-02-10 07:11:37 +00:00
Zuul
d0a9adc752 Merge "Implement render method for clusterctl executor" 2021-02-10 04:28:14 +00:00
Zuul
bc919145ac Merge "Fix typos in baremetal executor" 2021-02-10 01:58:51 +00:00
Zuul
5647f5381e Merge "Add ability to create bundle from bytes" 2021-02-09 22:46:15 +00:00
Zuul
81b2ac677f Merge "remove redundant ephemeral host patch" 2021-02-09 19:50:08 +00:00
Ruslan Aliev
54256dbc70 Repair validate-site job
This job doesn't work properly since a lot of changes in the
airshipctl logic were applied. All the issues were addressed.

Change-Id: Iec6fa7e6a3aa1ab46d496a8fd63822df1f8124cc
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #19
2021-02-08 23:54:57 -06:00
Ruslan Aliev
7bf93ba699 Implement cluster list command
Required for document validation script.

Change-Id: I555173a445278b31ef51ebf831a79e63446a19bc
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-02-08 23:54:57 -06:00
Ruslan Aliev
0f44ad9a7c Implement render method for clusterctl executor
Change-Id: If3d66baa8eec27f51705c813f17854ad7ef23a26
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-02-08 23:53:37 -06:00
Ruslan Aliev
cc25bcf52e Add ability to create bundle from bytes
This patch implements new constructor of document.Bundle type
using raw bytes as source.

Change-Id: Ie7742bcf245083ac988541aa9987448f5827fec3
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-02-08 23:32:06 -06:00
Zuul
9ab2ed96b7 Merge "Implement airship container type" 2021-02-09 02:50:33 +00:00
Zuul
92cfc8c03f Merge "Extend Generic Container interface" 2021-02-09 02:33:23 +00:00
Zuul
8b19ced1b8 Merge "Extend container interface with mounts get log opts" 2021-02-09 01:11:37 +00:00
Zuul
a435109673 Merge "Add cluster name filter for phase list cmd" 2021-02-09 01:02:37 +00:00
Kostiantyn Kalynovskyi
769e164b59 Implement airship container type
This will enable airship to run containers in privileged mode
as well and to specify commands to be executed.

Change-Id: I663eb55547bb821f26a9071c24d08166a3b3d56b
2021-02-08 17:59:11 +00:00
Zuul
dc521a0455 Merge "Allow privileged mode in docker interface" 2021-02-08 17:41:25 +00:00
Zuul
dddcecaf92 Merge "Change container RunMethod to allow extending" 2021-02-08 17:41:01 +00:00
Kostiantyn Kalynovskyi
d78cbe96a1 Extend Generic Container interface
This also moves KRM related logic from executors package to
container package, and creates ClientV1Alpha1 interface that
would allow us to have versioned clients for generic container
executor.

Change-Id: I4b32fd8dd089b9ccea2ed64a805702e6a8705706
2021-02-08 15:50:20 +00:00
Kostiantyn Kalynovskyi
971c81acdb Extend container interface with mounts get log opts
This commit allows to specify options to get container logs, such
as stderr, stdout and if logs should be followed.

Also extends RunCommandOptions with ability to add mounts in addtion
to binds

Relates-To: #458
Change-Id: I83507f2f7ca6ea596f52f5d3e9f868467458b6a3
2021-02-08 00:11:29 +00:00
Ruslan Aliev
d1c7913ed3 Add cluster name filter for phase list cmd
This patch implements ability to filter phase by given
cluster name.

Change-Id: I4eb95f9f75c57eff4ae8eb41c608c6f6d7fa009c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-02-05 17:09:44 -06:00
Kostiantyn Kalynovskyi
ce3dcec6fe remove redundant ephemeral host patch
Change-Id: Ie451d82cf87d72b1c21fbe588b92aec7f017becc
2021-02-05 20:07:43 +00:00
Sirajudeen
a527b7f1f5 Wrap commands using code block in doc
* Wrapped the SOPs export commands in code block
  to avoid any copy paste issues

Change-Id: I0ba17745ab11caedd575970878d6b34225815fd2
2021-02-05 16:05:51 +00:00
Kostiantyn Kalynovskyi
4671ea7f74 Allow privileged mode in docker interface
Change-Id: I12e7a895c5ccd228a3bb1a2ef3588be96893ae36
2021-02-05 04:25:06 +00:00
Kostiantyn Kalynovskyi
3ae387e9f2 Change container RunMethod to allow extending
This will make sure that when we add new features to how the
docker container is run, we don't need to change interface
method signature everywhere we use it.

Relates-To: #458

Change-Id: I12273264c1a8061300017246a1a4a17125ca8ae2
2021-02-05 04:25:06 +00:00
Zuul
aaf738396e Merge "Update packages and documentation" 2021-02-04 22:19:14 +00:00
Zuul
bc7d253586 Merge "Add ability to render different document sets" 2021-02-04 21:21:40 +00:00
Zuul
5632c0b169 Merge "Revert "Disabling airship-airshipctl-gate-script-runner"" 2021-02-04 19:17:04 +00:00
Kostiantyn Kalynovskyi
6807547ab2 Add ability to render different document sets
Now we would be able to render phase bundle, executor bundle
and config bundle. Config bundle will contain documents such as
phases and executors.

Relates-To: #459
Closes: #459

Change-Id: Ia6b9196dfb3d8fb3264fef676c975ccc32883fee
2021-02-04 17:40:35 +00:00
Sreejith Punnapuzha
9ac2ecd9a0 Update packages and documentation
* update developer guide with necessary steps
  * update setup script with new packages

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I9930f3a626f744bcace63fe22210bb4153306ede
2021-02-04 09:46:54 -06:00
Roman Gorshunov
a28c710528 Revert "Disabling airship-airshipctl-gate-script-runner"
This reverts commit 9bd01de3dad7304b4eaedf09dba081b92470d736.

Reason for revert: cloud instances we use for CI are more stable now.

Change-Id: Id14f84e2a5b40d537161f1b4ea35fc97e9b1467d
2021-02-04 12:27:11 +00:00
Kostiantyn Kalynovskyi
0a5f1e2ca4 Reuse RemoteDirect function for redfish dell client
Change-Id: I17726cae6f4d1f99e1cec4fa7a29c1a9e1dee3d5
2021-02-04 01:11:09 +00:00
Zuul
a89666a36e Merge "Integrate baremetal manager executor with manifest" 2021-02-04 01:09:05 +00:00
Zuul
106a2c6e8f Merge "Replaced incorrect deployment scripts in developers guide" 2021-02-03 19:06:24 +00:00
Sreejith Punnapuzha
a60d54e34c Add nodeselector to init infra components
* Add nodeselector to ironic, baremetal-operator and capm3

Relates-To: #407

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Iba71666c333c9f551e51b1cae7145a64eda03ce1
2021-02-03 02:26:01 +00:00
Kostiantyn Kalynovskyi
26c37807ba Integrate baremetal manager executor with manifest
Change-Id: Ib1b3c49c440363d37de4bd47ed6e940be22def40
2021-02-03 00:08:15 +00:00
bijayasharma
fc8009f8f0 Replaced incorrect deployment scripts in developers guide
* This commit will replace ./tools/deployment/02_install_clusterctl.sh
  with correct scripts as ./tools/deploymen/21_systemwide_executable.sh
* Also replace ./tools/deployment/24_build_ephemeral_iso.sh with
  ./tools/deployment/24_build_images.sh

Signed-off-by: bijayasharma <vetbijaya@gmail.com>
Change-Id: I61ccc557b31a2aa4ab03974fda597caaa51ca040
2021-02-02 20:14:59 +00:00
Kostiantyn Kalynovskyi
0d13002f9a Fix typos in baremetal executor
Change-Id: I3b9ace228722a357b277927ef2e80a9427f7f687
2021-02-02 19:30:52 +00:00
Kostiantyn Kalynovskyi
f0e80cfdc5 Add BaremetalManager executor
This will allow to peform remote BMH operations as a phase

Change-Id: I8e99285e0407d1922312a08ad4f766363f8855d2
2021-02-02 16:42:09 +00:00
Zuul
08681115d5 Merge "Cleanup CAPI deployment script" 2021-02-02 16:38:40 +00:00
Kostyantyn Kalynovskyi
faf07af718 Revert "Adding encryption of"
This reverts commit 6ffde8fa17dcecd4243be076340a29a3c807f6e0.

Reason for revert: it seems like this commit introduced breaking changes, reverting to see if this helps with toos/deployment/30_* script

Change-Id: Ib67babfd3683489e1c3afe1264784758791fe44d
2021-02-02 00:28:37 -06:00
Zuul
aca738afa1 Merge "Reverting secret-generation template and adding examples" 2021-02-02 05:40:18 +00:00
Zuul
3984e81095 Merge "Add BMH manager executor api object" 2021-02-01 22:54:41 +00:00
Zuul
ba8b0fb556 Merge "Update ephemeral deployment script with variables" 2021-02-01 22:26:11 +00:00
Zuul
d2c03c670b Merge "Adding encryption of tls secrets and iso users passwords" 2021-02-01 21:42:25 +00:00