This change removes the --show-all flag from kubectl commands in the
debug report, as it's no longer supported. The data gathered without
this flag is sufficient for debugging.
Change-Id: Iac9515f99f5e4bc123500602094e70683dd73cb4
Signed-off-by: Drew Walters <andrew.walters@att.com>
yaml.load(input) is deprecated in pyyaml 5.1. This causes the
manifests_lookup function to append the python warning message
to the look up results. The pegleg cmd fails to launch container
due to extra strings after the image url. Added code to specify
the loader if the pyyaml version is 5.1 or newer.
Change-Id: I4765df28eedf99a8e823e192cf2f2f2b38434f2c
Signed-off-by: James Gu <james.gu@att.com>
* Last AIAB commit ID: d7d345f
* Also moving from Quagga to FRRouting for bgp router script.
* Synced the recent changes in aiab and removed the frrouting change
which is still open in aiab
Change-Id: If5e4e030dacaa7fcf525f9767f50c82b07516e27
Updated the commit id for openstack-helm-infra to include fix for
name resolution issue for Ubuntu 18.04
Also, updated deploy k8s script to remove local dns address
from /etc/resolv.conf.
Change-Id: I32e691696b72c67e88df83b0d511aece380faa46
This change adds AppArmor to airskiff in order to test apparmor changes
to Airship charts.
Change-Id: I642275a9d5d6d44110298356d7be51cf711c8fe3
Signed-off-by: Drew Walters <andrew.walters@att.com>
Pegleg requires for a password and salt to be longer than 24 characters. This
patch updates 'tools/airship' wrapper script with default Pegleg password and
salt to be longer than required.
Fixes error:
> pegleg.engine.exceptions.PassphraseInsufficientLengthException:
> PEGLEG_PASSPHRASE must be at least 24 characters long.
Change-Id: I31e7694970281ae992e918b67ff3d7f97d3c9bc5
Update Armada bootstrap script used by Airskiff to use latest Bionic
image ':latest-ubuntu_bionic', instead of older unsuppoerted
':latest' image.
This should solve the following issue:
> RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4)
> doesn't match a supported version!
Change-Id: Ic7b1b0a53c307e5416415aeb59767bcb33f753bb
Story: 2006939
Task: 37609
Statefulset pods in kubernetes are not evicted automatically
if a node goes down. Those pods would go to an 'unknown' status.
This script should be used in cases where we would want to forcefully
evict a stateful set pods.
Change-Id: I2f84b04b41d9c40201406dd540b595ff3422a83d
Added airskiff_suse site that deploys the ucp and openstack containers on openSUSE
images. Also renamed the previous airskiff site repo to airskiff-ubuntu. Added new
gates for airskiff-suse lint and deployment.
Change-Id: I5672e8db556ef02c3d74a598d2772fbebccf6f77
The OpenStack-Helm Infra minikube script installs all necessary package
dependencies prior to deploying Kubernetes, so the airskiff package
installation script is redundant. It also causes incompatibility with
OpenStack-Helm's minikube gate script.
This change removes the 000-install-packages.sh script in order to
mitigate the aforementioned issues.
Change-Id: I82aa4bbd69b29dd3760a4418f7455f9d7ddc5a4c
Signed-off-by: Drew Walters <andrew.walters@att.com>
Create a site type called skiff and point airskiff site to be based on
the new type. This will help to reduce the duplication when creating
airskiff-suse site in subsequent commit.
Change-Id: Ie9cd6d0e572a4556ee6ff5c3d37f20349c2d7de3
Docker uses DNS configuration from systemd-resolved,
when its running [1], stop it before starting docker
to use /etc/resolv.conf instead.
The issue has been introduced with Ubuntu Bionic,
because it brings systemd-resolved service for DNS
management.
[1] https://github.com/moby/moby/commit
/e353e7e3f0ce8eceeff657393cba2876375403fa
Change-Id: I8cabbc6b49383e3ac4e5596e574ffbe59ec1ee67
The script must wait for Processing actions if they exist,
it also needs to fail if it failed to retrieve a list of
actions from Shipyard.
Change-Id: I806a2c5c2e05fa768c6c3434c5c6d9bd102c6c92
This script mounts ~/.kube/config to a volume in the armada container,
however this file is not readable by the armada user with its' default
permissions. This change sets the permissions on the file to 0644 before
mounting it, then sets the permissions back to the original values
afterwards.
Change-Id: I60ee02b7edfd763e826488e787f02cda7f73eb92
This file calls either rpm, dpkg or apt to install a YAML module for
python. This change removes the need for this file to be run as root.
Change-Id: I77590d24e82f0ced69db97ef946fa7202d1f0a7a
Recently, changes in openstack-helm-infra have introduced and remedied
compatibility issues with Ubuntu Xenial. This change updates the
specified OSH_INFRA_COMMIT to one which is compatibile with Xenial.
OpenStack-Helm still supports Ubuntu Xenial, so this script should too.
Change-Id: I7eed51db24a3e6488615034e7f21ee3b4242e6c1
Wait-for-shipyard sctipt was just checking actions that are
in "Processing" state, but if some actions are "Complete",
it comes to infinity loop.
Change-Id: I9c007a60227159af561f5ceacf5fc3dd469fce0c
In order to utilize CI/CD more efficiently, it's better to execute
automatic uplift only on Seaworthy and keep Airsloop job for daily
PatchSet's.
Change-Id: I19983c9b95d78c32c667766eceaca234025fc625
Instead of printing a string constant "password" use
password from Horizon secret file to display at end of
deploy script.
Change-Id: I620a328eacfdbe6400648703938d16b83f165d5b
Generated file has superuser owner and it is set with permissions
that other users are not able to read the file, so later it can't be used
by Armada.
Change-Id: I571a3af0fa8f3a482e0a8e9726f92cc39a670e91
From recently merged document updates in [0] there is a desire to
standardize the Airship project python codebase. This is the effort
to do so for the Treasuremap project.
[0] https://review.opendev.org/#/c/671291/
Change-Id: Icd45f1b99a90e6c934a84fdd91f2f7f8af5a8ddb
Currently, treasuremap CI uses Ubuntu-Xenial. This change moves to
Ubuntu-Bionic in order to use the version of Docker requested by the
OpenStack-Helm minikube script.
Change-Id: Iba9bfda21c5a9995c775ff9bdc6bc9e0e2260d1b
This change integrates changes related to the new Patroni-enabled
high availability included in the postgresql helm chart.
1. Updates the version of the postgresql chart
2. Adds users/passphrases for the postgresql replication and exporter users
3. Sets the default number of replicas to 3 (except for skiff & sloop)
4. Adds documentation/scripting for upgrading the chart
Co-Authored-By: Evgeniy L <eli@mirantis.com>
Change-Id: I51e63fb2444610cfb144bc587a6a179fa4830809
Nagios and prometheus-openstack-exporter images and charts are sourced
from OpenStack-Helm project and do not need to be updated separately
here anymore.
Change-Id: I939329e1b602b465e4d43f19ec4b853dd07acee0
Also, if specific shipyard password is defined,
pass it on to shipyard component instead of OS_PASSWORD
(which might be defined with the value for another cloud).
Change-Id: I42d9797c8177ad4da2b401f874fb21a00e045883
This patch enhances skip list, so that images matching skip pattern are
skipped. Previous behavior was to skip only images ending with pattern.
Change-Id: Ic6548048412b6ab4e62398c66fedb888489bd605
Versions updater utility will cross-verify latest Git commit ID's and
latest container image tags. It will print useful information on
possibly missing references in versions.yaml and Git <-> image tag
mismatches.
Slightly increase timeouts to reach quay.io.
Wrap lines and use double quotes everywhere.
Logger is declared out. Global variables are still global if declared
at the top level.
Change-Id: I267ca57182d54d26f4e75d143ad273cb6c30060e
Git module used by Pegleg requires user to exist in /etc/passwd file,
or at least to have USER environment set to something. This patch
sets the variable.
Change-Id: I7fbb60b856c6ee7c26ff0dcec5778687836bb8b3