MatchVersionFalgs object should be used instead as cli-utils
library suggests, particularly it will allow us to avoid the
issue when airshipctl apply process stuck after Unknown state.
Change-Id: Id6d6ca69a67cb4a500b150a00df538ffffa11eb3
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #552
There appears to be a race condition in the
kubectl_wait_bmh.sh script. It waits for the bmh
to reach provisioning state 'ready', but it may
have already moved into 'provisioning' state between
checks. Changed the script to wait for the final
'provisioned' state instead.
Change-Id: I3d825e8d6b2b4d3f2a4b15fe4c2823fb03588405
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
The description and examples are updated for the airshipctl
commands, which will be inturn used for generating documentation.
Please ignore the .md file changes in this PS. They are added for zuul
gates to pass. Here is the PS with generated documention
files https://review.opendev.org/c/airship/airshipctl/+/789250
Relates-To: #280
Change-Id: If3ec175e2f582919296576a4bff6ae64871a7333
This fixes the name of the ansible `site` variable to `site_name`, so
that we can properly set the value of the SITE environment variable
while running gate scripts.
Change-Id: I9156fbdda4e52dc2b5310beb4d285736282bc8b6
This patch will inject custom root certificate authorities if needed.
Change-Id: I00199606b0353f674d61773bf3215fa46109d9c6
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
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
Initially we did not want this because we had a feeling that
at some point we want to perform render action inside the script.
Rendering inside the script would facilitate better debugging
functionality. Where each script would be able to render, validate
and run. However, at this point solution seems like overengineering
and seems like this should be simply a limitation of the toolbox image.
Change-Id: I99871c1c79934612d9a1ac06a5141e57e5497054
Adds an ntp object to the NetworkCatalogue schema
and populates default ntp servers into the networking
base catalogue. Also adds replacement rules in:
* function/k8scontrol/replacements
* function/workers-capm3/replacements
Change-Id: I5dedda563c8825c283e7ba846bedb0b282459d41
Removed the namespace condition check from the validation of 'Move'.
This is to allow validation of docker and cloud provider test site
manifests that do not use namespace.
Relates-To: #503
Change-Id: I39544ba9c9c13ff5a6519b7afd8844629e60087e
The command "airshipctl config get-context" will display the name of the contexts as well as the current context name.
Relates-To: #475
Change-Id: I8234d74f6b98869e27e4974a54b68230d8be8565
Neither ARG or ENV are not expandable in ENTRYPOINT, though since
ENV is available at runtime, we can use it as a work-around here.
Thus, before [0], ENTRYPOINT could be overridden using env by passing
--env BINARY=../../../<path to any binary>.
Now previous default behavior is broken since we don't have ENTRYPOINT
env var. This commit fixes default behavior and allows to modify it
from build arg as was intended with [0].
[0] https://review.opendev.org/c/airship/airshipctl/+/791886
Change-Id: I115df039bc4f845d07f53f68fa3b716d86e8b3a9
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
- 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