This increases the size of the nodes used for AIAP so that they match
those in our gating process.
Closes: #581
Change-Id: I978db75e252335842dd4311db0416617071617a4
This sets the airship-in-a-pod libvirt container to have `tty: false`.
With `tty: true`, the libvirt container would fail with the following
error in some environments (mostly baremetal, but VMs as well):
Error: failed to create containerd task: failed to create shim:
OCI runtime create failed: container_linux.go:380: starting container
process caused: process_linux.go:545: container init caused:
setctty: operation not permitted: unknown
The RC for the error is unknown, but `tty: true` appears to be a leftover
debugging tool, so this change disables it by default.
Change-Id: I427bd1bdbe86c8a742b871c4f8fc18e4be58660b
Closes: #578
* adds kubectl-get-pods once workload deployment is completed.
* fix docker gate jobs failing because of missing script.
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I7f0bb0139b3fa3e5af524541b3e8f1978d640113
Waiting for BMH to become ready isn't needed because we wait for
node to become ready anyway. It is not guaranteed that BMH will
ever reach provisioning state ready, because this status is
intermediate.
Change-Id: Ia3a9e41daaf759dbb48dd7d615bf993b1831f1d1
Validate-docs script return exit 0 status even though
airshipctl command fails in variable assignment with
broken pipe. This make validate-docs zuul gate passes
without complete script execution. In order to solve
this issue added bash option 'set -o pipefail' which
ensure return exit 0 if all commands in the pipeline
exit successfully.
Also minor change in echo statement which should print
'successful site valiation' only when particular phase
evaluate not for skipped phases.
Change-Id: I24db77e8054f4c7017d533b6640516f3141675fc
- moves metal3 worker definition to its own function
- removes workers-classification phase
- removes 37_verify_hwcc_profiles.sh script
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
Co-authored-by: Matthew Fuller <mf4192@att.com>
Closes: #537
Change-Id: I844e88a1bf7a80954aca5afc8fa49a534c9ff2b0
This validation approach is no longer needed and less
effective than static one, so it should be deleted to not
consume additional time and resources during the validation
process.
Change-Id: I88603723d9a423955bd88d23e7b8e2a8275d9dde
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #543
Currently tools path and manifest path is hardcoded in validate_doc
script which make is hard to be resuable outside airshipctl project.
The aim of this PS is to overcome this issue and make validate_doc
script reused (in Make file) outsite airshipctl project manifest.
Change-Id: I2e9277c206e5e0c635c241abf1c4c6ec58f5a592
There will be another place to store that data: [1]
All previous appropriate phases will work for that,
e.g. secret-reencrypt all secret-show.
The documentation is updated accordinly.
[1]
manifests/site/test-site/target/encrypted/results/imported/secrets.yaml
Change-Id: Iaeeaae902420ef9158dcaba2a272e20459596ae5
`airshipctl config` doesn't yet support setting a context's
managementConfiguration value. This change adds in a sed
to set all managementConfigurations to default.
Change-Id: I0d8d0fb285a0b82e348640ef689eb3f0efb9e547
(cherry picked from commit bbd0ca2895)
This adds a script that can be used to create a new site definitions
based on reference manifests in treasuremap. It does the following:
1. clone treasuremap at the appropriate tag/branch
2. create a project side-by-side with airshipctl/treasuremap
3. copy in reference site manifests
4. update the site's metadata.yaml appropriately
5. create & update an airship config file for the site
Change-Id: Ied0403cc9df461a1a1ee75fca0caf17fb56055bc
(cherry picked from commit 9f51669d61)
document
Changes from hard coded value node01 to retrieve the first target
node name from the rendered phase document
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: I5e80b34a3a1267b75202b2bdef9d43d053bf22c5
(cherry picked from commit 1ceecdb1f1)
The ca-certificate packages is required in ephemeral node build phase.
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: Ic8e00ae1ef624c256ebc64c03ad64c0564e2bd68
(cherry picked from commit a20d8a4152)
This patch introduces ability to validate phases using kubeval.
Appropriate functionality was embedded into phase/plan validate
command.
Change-Id: I1e1ccae2b7e4948bdc97a199c96c07a3eb7292b2
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #503
Closes: #2
Closes: #19
Added 10 script to install required packaged and tools for a bew build node
Fixed docker cmd permisson error in 21 script
Fixed medadata path to use the SITE environment variable in 22 script
Added abibility to configure nocheckout option in document pull
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: Iea7c3e2cdac473188007e218f87889f6c1846bda
controlplane_target phase is needed for target cluster more than a
single node
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: I6e77d4268cdee0ebcc65e1f9172ef645ced53337
Since [1] has been merged it's possible to use
that command to generate kubeconfig in proper
way.
This patchset introduces that changes as well as
cleans up for non-needed anymore due to that changes
steps in gating.
[1]:
https://review.opendev.org/c/airship/airshipctl/+/774709
Change-Id: Ifc07c56c126c782d940a8ca4d111c59c5d3c9c78
Currently secret generation script is hard coded to test-site.
parameterizing it so that we can use the same script for multiple sites
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I501f577952d14541da1cb632e92ae19f577dbd53
This change ensures that catalogue CRs (i.e. networking,
versions) are validated when running validate_docs script.
Also fixes:
* problem encountered with the creation of the ironic-vars
ConfigMap when a non-string data type was used as the
replacement target value.
* amends VersionsCatalogue schema to allow an optional
'ipam-manager' object in capi_images, necessitated by
a change to the capm3 function[0].
[0] https://review.opendev.org/c/airship/airshipctl/+/780297
Closes: #476
Change-Id: Idd05eb046e411b757b7d4f7b21a9b89b6cc51bb6
kustomize is a useful tool for debugging when rendering fails
Relates-To: #504
Signed-off-by: James Gu <james.gu@att.com>
Change-Id: I649c74bb7868a80618617db16dc1f1028c262c11