1686 Commits

Author SHA1 Message Date
Zuul
14a5398746 Merge "Fix CAPG Provider Documentation" 2021-03-01 23:46:36 +00:00
Zuul
27b94cbd1b Merge "Build ephemeral iso using generic container" 2021-03-01 19:45:05 +00:00
Zuul
c89a8c1949 Merge "Phase Validation: k8s applier package changes to support Phase Validation sub command" 2021-03-01 18:59:01 +00:00
Zuul
4eef828bab Merge "Remove -x from 34_deploy_worker_node.sh" 2021-03-01 18:13:17 +00:00
Zuul
ba81a32a50 Merge "Revert "Adding Filesystem check function to templater"" 2021-03-01 17:45:24 +00:00
Zuul
44f48999e7 Merge "Bump clusterctl libraries to v0.3.13" 2021-03-01 16:41:38 +00:00
Zuul
7bc5c24218 Merge "Revert "Adding Utility to generate CA"" 2021-03-01 15:38:02 +00:00
Gage Hugo
8d76b7aeda Remove -x from 34_deploy_worker_node.sh
The deploy_worker_node script waits for the nodes to come up and
spams the logs as it runs. This change removes -x from the script
in order to remove a lot of unnecessary stdout since the script
already contains several echo statements to indicate progress.

Change-Id: I4c7465b6aa3538ea171f61387035e79c7d852088
2021-02-28 20:23:00 -06:00
Zuul
c0fcc8c37f Merge "Add support for extra BMO replacements" 2021-02-27 02:05:56 +00:00
Zuul
0c651e3b4d Merge "Create NetworkCatalogue structural schema CRD" 2021-02-27 00:46:49 +00:00
Zuul
f746f86af6 Merge "Define structural schema for VersionsCatalogue" 2021-02-27 00:40:12 +00:00
Alexey
6d9ae7c228 Revert "Adding Utility to generate CA"
This reverts commit c51438462697bdc0509d8a033d9111572f13c57b.

Reason for revert: this was the original idea
to incorporate everything into airhsipct.
But later we implemented generation/encryption
via templater/sops plugins and this part isn't needed
anymore.

Change-Id: Ib09eb08f10b783091470940fdd1c618a1aeece1b
2021-02-26 23:56:12 +00:00
Zuul
b3e31b78d9 Merge "SED script to update image repos for KRM functions" 2021-02-26 22:00:14 +00:00
Alexey Odinokov
b70848b57b Revert "Adding Filesystem check function to templater"
This reverts commit 154bcec95cc207339f05dd4d62e987efb25d0366

We don't use this function anywhere, moreover
fs related functions are way beyond the reasonable
functionality of templater. Especially taking
into account that we have only 1 function.

Change-Id: I919d8466ff1eab2d2687db7055bf974b7b608d8e
2021-02-26 20:29:36 +00:00
Zuul
f4b7c70537 Merge "Airship in a Pod" 2021-02-26 15:50:22 +00:00
Zuul
681f8547c9 Merge "Remove obsolete proxy substitutions" 2021-02-26 14:44:18 +00:00
Matthew Fuller
763b5c2248 Add support for extra BMO replacements
Adds support for additional Baremetal Operator replacements
in the NetworkCatalogue CRD.

Relates-To: #469
Change-Id: I4788813b3db82459d2b975fca2b3e74d3792cb63
2021-02-25 22:57:34 +00:00
Kostiantyn Kalynovskyi
ea7d7eb86a Bump clusterctl libraries to v0.3.13
Change-Id: I77b5d6fef838ad6ef3a2b33a907073c8a3eed10f
2021-02-25 16:08:16 +00:00
Zuul
b360d6de22 Merge "Use document filesystem in config object to read/write files" 2021-02-25 15:56:45 +00:00
Vladimir Kozhukalov
6523c800ad Build ephemeral iso using generic container
We build iso image in two steps
 1) We prepare cloud-init data using a krm function
    krm-functions/cloud-init which uses arishipctl capabilities
    to gather necessary data from the executor document bundle.
    Cloud-init data files are written into a directory mounted
    to the krm function container.
 2) We build iso image using image-builder. While doing this
    we mount the directory with cloud-init data files and set
    necessary environment variables defined in the executor
    document.

Relates-To: #440
Change-Id: Id0b34822e95f494d2e2f8fb407700b7f873e7c69
2021-02-25 13:08:31 +00:00
Vladimir Kozhukalov
57f2885f47 Bump kustomize version
kustomize/api v0.6.5 => v0.7.2
 kustomize/kyaml v0.10.0 => v0.10.6

Change-Id: I944d1224bfc2a2ae9608438d655b61381d98b8c7
2021-02-25 05:13:24 +00:00
Zuul
d083cfbd8a Merge "Allow filtering of config bundle" 2021-02-25 01:46:30 +00:00
Zuul
795a15cb5d Merge "Set proper role for worker node" 2021-02-25 01:46:25 +00:00
Matthew Fuller
5820e22d9f Create NetworkCatalogue structural schema CRD
Replaces the networking VariableCatalogue with a
structural schema NetworkCatalogue CRD.

Relates-To: #468
Change-Id: I9973708799ec35c2dde5832e7400c798dc7adae1
2021-02-24 18:03:01 +00:00
Matthew Fuller
3fec6981f0 Define structural schema for VersionsCatalogue
Changes the versions catalogue from a VariableCatalogue
to a structural schema VersionsCatalogue CRD.

Relates-To: #363
Change-Id: I445111356662ab33d9337ddd1537885d5afd094f
2021-02-24 18:00:28 +00:00
Niharika Bhavaraju
90c0116b7f Phase Validation: k8s applier package changes to support Phase Validation sub command
Relates-To: #330

Change-Id: I1503bcef1bc9d91d6897065a7c4418c1aa6181b6
2021-02-24 13:35:50 +00:00
Ruslan Aliev
f9fdf4eaa9 Use document filesystem in config object to read/write files
It allows us to have more clear and controllable unit tests and
to move towards bringing all file operations in airshipctl to a
common standard for all source files (using only document
filesystem module).

Change-Id: I560edb7c8e9cd682f3c188527245fcd40045e16c
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #415
2021-02-23 23:29:31 -06:00
Zuul
abc8315828 Merge "Implements custom QCOW delivery" 2021-02-24 05:21:01 +00:00
Ratnopam Chakrabarti
58c9210cbf Fix CAPG Provider Documentation
Removed deprecated airshipctl commands
Updated documentation with latest airshipctl commands
and instructions to deploy clusters on CAPG provider.

Closes: #472
Change-Id: I9372950c3c5652bff96ffbb430d3fcc8018e6381
2021-02-24 00:06:00 +00:00
Andrii Ostapenko
4ea437fd46 Remove obsolete proxy substitutions
Change-Id: Ida1aa4806e55c3d1656ac1f47c22d81137079b6e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-02-23 21:47:16 +00:00
Andrii Ostapenko
3f559c3c1e
Implements custom QCOW delivery
With this commit QCOW images are pulled as a docker image to new
qcow-bundle container within ironic pod and copy them to shared ironic
volume to be served to hosts.

Also squashed with [0], manifests are adjusted to consume new QCOWs and
old QCOW related funtionality is removed.

[0] https://review.opendev.org/c/airship/airshipctl/+/776270

Co-Authored-By: Alexey Odinokov <aodinokov@mirantis.com>
Co-Authored-By: Craig Anderson <craig.anderson@att.com>

Change-Id: I958184b34ae94206bc5e87993e9287587b6a11d9
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-02-23 15:43:45 -06:00
Zuul
1ffe4f044d Merge "Update sushy-tools to latest" 2021-02-23 18:52:30 +00:00
Fletcher, Stacey (sf5715)
a423607000 Airship in a Pod
Introduces Airship in pod. This includes:
* A base image which sets up common requirements
* An image for the libvirt service
* An image for building a specified instance of airshipctl
* An image for initializing the various libvirt infrastructure required
  for a deployment
* An image which runs the deployment scripts

Closes: #313

Change-Id: Ib1114350190b0fe0c0761ff67b38b3eca783161a
2021-02-22 19:55:44 -06:00
Zuul
b9ecb7095a Merge "Add phase to apply CNI (capd)" 2021-02-23 01:25:54 +00:00
Zuul
0166bfc38f Merge "Fix role not found when running locally" 2021-02-23 00:58:56 +00:00
Zuul
69f5b3534d Merge "Allow airshipctl phase render to display encrypted secrets" 2021-02-22 23:40:56 +00:00
Zuul
4c1d1f87c0 Merge "Increase site doc validation job timeout" 2021-02-22 21:27:38 +00:00
Zuul
0124d16aba Merge "Cleaning up not needed artifacts" 2021-02-22 21:22:41 +00:00
Kostiantyn Kalynovskyi
5e76f32712 Allow filtering of config bundle
Change-Id: I4f2381bf775d202851fa1d6c3d65c2d1f1043ead
2021-02-22 17:42:08 +00:00
Ian Howell
fff18ea7b4 SED script to update image repos for KRM functions
This provides a script that can be used to swap out all instances of
current KRM function images with configurable replacements.  This will
be useful if an operator needs to use a private repo such as
artifactory.

Closes: #457

Change-Id: I5bb8b05737e7a3771517310ae64746660b6bf617
2021-02-22 11:16:17 -06:00
Zuul
7e2e6975ec Merge "Read manifest repository URL from env" 2021-02-22 17:02:12 +00:00
Rishabh Kumar Jain
95fc665cc3 Add phase to apply CNI (capd)
* add phase initinfra-networking-target
  to apply CNI

Relates-To: #452
Change-Id: I239de9d3cecb6da66a8f06ebc7bd93def9cdacee
2021-02-22 16:10:39 +00:00
Sreejith Punnapuzha
879c93bad2 Fix role not found when running locally
This Commit fixes role not found issue when running script
20_run_gate_runner.sh

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Ic671cf04f30ae9647b052ce31f2ca76fb80043cf
2021-02-22 10:03:24 -06:00
siraj.yasin
191736e852 Read manifest repository URL from env
* Read manifest repository URL from environment variable,
  so that it can be configured to use for other repos like
  treasuremap

Change-Id: I756e5be6fce72d4a5e7fe2d2f1115e92ea67843f
2021-02-19 21:41:28 +00:00
Sean Eagan
43698482ab Fix github release workflow npm permissions
Change-Id: I14d6ac20f10ed1aec0fa83108e92ba1dbf116dfe
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
2021-02-19 12:55:30 -06:00
Zuul
afcfd2422c Merge "CRITICAL: Switching to krm generic containers" 2021-02-19 08:54:34 +00:00
Alexey Odinokov
b9734169a1 CRITICAL: Switching to krm generic containers
There is an issue with airship generic containers -
if the output yaml contains empty lines it removes that.
Krm generic containers don't have that issue.
The plan is to switch to krm and continute to debug

Change-Id: I49dfea8ba4f05dca70209a56f783195d4a213fa4
2021-02-18 16:49:38 +00:00
Zuul
b8a4b6ad73 Merge "Adding secrets/encryption how-to-guide doc" 2021-02-17 20:52:06 +00:00
Alexey Odinokov
1d7f8db802 Adding secrets/encryption how-to-guide doc
Relates-to: #454
Change-Id: I7ab7a0be00e37ef74258b73e4b2477cc6ac35129
2021-02-17 18:37:26 +00:00
Alexey Odinokov
f2dc2ca3f6 Allow airshipctl phase render to display encrypted secrets
Relates-to: #453
Change-Id: I150a48cbec5c87943ed6c07a8ef8d562437fda46
2021-02-16 19:27:23 +00:00