1924 Commits

Author SHA1 Message Date
Zuul
ba7756d1fb Merge "Error messages checked expected value" 2021-03-04 19:03:10 +00:00
Rishabh Kumar Jain
ffe763b96a Update docker base template (CAPD)
- update cluster, controlplane and workers
  template
- update includes removing machine
  health check crd
- update pod and service cidr
- remove cni application as post kubeadm command

Relates-To: #452
Change-Id: I04f0a3ed0966cdb6a58d618e50381b45b80f1f10
2021-03-04 18:05:20 +00:00
Zuul
63a5d1146c Merge "Copy only current logs from apache2" 2021-03-04 12:29:16 +00:00
Zuul
65feb7eafc Merge "Optimize pod logs and cluster object description gathering" 2021-03-03 21:21:07 +00:00
Zuul
32a2461b27 Merge "Execute systemctl daemon-reload to update docker unit proxy settings" 2021-03-03 21:11:42 +00:00
dt241s
7d617b24b2 Add NTP to k8scontrol
Change-Id: Ied4e141b6faf232c03106e982e67cee5923617f2
2021-03-03 21:08:31 +00:00
Scott Williams
fb997d49e1 Error messages checked expected value
Modified the test framework so that error messages are actualy checked
for an expected value (instead of previously only checking if there was
an error returned)

Closes-Bug: #451
Change-Id: I9c4b172a705a7648467afe41346c389c503e764b
2021-03-03 12:00:36 -06:00
Zuul
12d4b63a3d Merge "Phase Validation: cmd changes to support Phase Validation sub command" 2021-03-03 16:52:23 +00:00
siraj.yasin
bf588f993a Copy only current logs from apache2
* `cp -r /var/log/apache2` copies all the archive(*.gz) logs also.
   So just copy only the current logs
    access.log, error.log, *vhost.log

Change-Id: I2ec55b3da61eb258337f0c0023eb7ebcd9ce1913
2021-03-03 08:54:08 +00:00
Zuul
046e8fb05a Merge "Don't allow to run baremetal actions without flags" 2021-03-03 05:43:29 +00:00
Zuul
8c15f6413d Merge "Phase Validation: clusterctl package changes to support Phase Validation sub command" 2021-03-03 02:33:07 +00:00
Zuul
544180d571 Merge "Update common provider script" 2021-03-03 02:18:26 +00:00
Sirajudeen
25ae719d12 Wait for CR tigerastatus to be available
* Wait for CRD's Established state.
* Wait for CR tigerastatus to show up in api to query
* Once CR is created, wait for its condition to be available.

Change-Id: Ibb83e16a15a7e0e351b6ae030e3e82ce22d41c70
Closes: #442
2021-03-03 00:49:36 +00:00
Zuul
fec3b8b989 Merge "Uplift cli-utils and cluster-api" 2021-03-02 22:03:52 +00:00
Zuul
98bbcc81f1 Merge "Extend cluster get-kubeconfig cmd functionality" 2021-03-02 20:01:25 +00:00
Dmitry Ukov
1a0ba5647d Uplift cli-utils and cluster-api
Change-Id: I9b46421812dd15c01a250e6102f9c132ce82dd42
2021-03-02 21:52:50 +04:00
Ratnopam Chakrabarti
670658958b Update common provider script
Updated env variable TEST_SITE to SITE to remove
error with capd deployment
Updated scripts to use phase "initinfra-networking" for deploying
calico cni in target cluster

Change-Id: Ib372e8fe8d1124aa83c5e69a861c523a967c22c9
2021-03-02 16:47:30 +00:00
bijayasharma
9d4d0cf863 Phase Validation: clusterctl package changes to support Phase Validation sub command
Relates-To: #330

Change-Id: I1b9ece114934a05245898df2088d80fe2f1c69c5
2021-03-02 13:20:45 +00:00
muly
b0eabe544b Phase Validation: cmd changes to support Phase Validation sub command
Relates-To: #330

Change-Id: I8e45696723823d568e2f2eac8de65b38d30c09c3
2021-03-02 13:19:45 +00:00
Vladislav Kuzmin
63e6012133 Mount kubeconfig to GenericContainer executor
Change-Id: Ide647fc0cfd9d281d57eeeaf8b3f9c33f59e7fdf
2021-03-02 14:17:20 +04:00
Vladimir Kozhukalov
ab5ff1076f Remove image build command
We use phases for building the ephemeral ISO image, so
 a user can use `phase run` command instead. It is better
 to remove `image build` subcommand to avoid support of
 an unnecessary piece of code.

Change-Id: Ife9b5fdebc3cdfd5dac3ecccc8fef55811741ce8
Closes: #473
2021-03-02 13:08:15 +03:00
Sirisha Gopigiri
3bade9c0ed Update capm3 to 0.4.0 to fix clusterctl move BMH bug
This PS updates the capm3 version to 0.4.0, to fix the
clusterctl move BMH bug.

Closes: #466
Change-Id: If9369b6421bde628efee90f1a94681c13f9e749c
2021-03-02 10:06:10 +00:00
Vladimir Kozhukalov
f4001bcffa Remove isogen executor and related code
Isogen executor is not needed any more since there is
 iso build phase plan that runs two phases using generic
 containers.

Relates-To: #440

Change-Id: I3600e82fa1d8a92cdf103d93cd4536bf4a713cca
2021-03-02 08:14:57 +00:00
Vladimir Kozhukalov
9cd9304a22 Fix typos in struct tags
Change-Id: Ied4c5cc120ce9a86253e6af407f46c687c3a7fd8
2021-03-02 06:29:33 +00:00
Ruslan Aliev
68e76a9059 Extend cluster get-kubeconfig cmd functionality
This PS will allow us to retrieve kubeconfig from different
kind of sources.

Change-Id: I31381cf466c58373efda40d06587e34bef411c68
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2021-03-02 00:22:45 -06:00
Zuul
e2af947337 Merge "Correct ephemeral image name in cleanup script" 2021-03-02 05:59:36 +00:00
Andrii Ostapenko
8e341b4e83
Execute systemctl daemon-reload to update docker unit proxy settings
Change-Id: Ifeaade1976d935b1f8026a723981b3f3e03d37bc
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-03-01 21:37:21 -06:00
Zuul
5a6213e80d Merge "Phase Validation: pkg/phase change to add Phase validation sub command" 2021-03-02 01:36:37 +00:00
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
Sreejith Punnapuzha
798bf4927c Correct ephemeral image name in cleanup script
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I557c4dc8dfd25d2eee29b9dff1f7fe28e32229e7
2021-03-01 11:07:10 -06: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
Andrii Ostapenko
e53f52549a Optimize pod logs and cluster object description gathering
Don't gather logs for unavailable cluster that is always the case for
ephemeral cluster in successful deployments. Cheap ~5 mins on each
deployment.

Change-Id: I32f84e9dadbad11fe92337cd0dc04870d1a0ff3e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-02-25 14:46:27 +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