This adds new variables to the 005-clone-dependencies script in
Airskiff to be able to turn off cloning for the Airship repositories.
The intended use case of this is so the Airskiff gate can avoid cloning
the repository it is currently testing.
Change-Id: I629ce9373b1b68f7e5fb6b134d9ea063a344a70c
The UID:GID under which commands from within containers are run does not
necessarily match UID:GID set in container. This patch enforces run of
containers with process UID:GID matching current user's UID:GID.
Creation of directories is documented, so that user's wouldn't get
unambigious error.
Change-Id: I122afc29e0968391574b74f330e5a3a4beb8ed52
Configure Airship Seaworthy site specific parameters
when running tests. This would allow to make required
changes to default values in ./tools/openstack script
which are currently Seaworthy specific.
Change-Id: Ieb1b412436627604fc6597dadfb5d83dd8944355
Note: all scripts in tools/deployment/aiab directory have been
moved into this repository as is (except a few changes to make
them work), they require a heavy refactoring that will be done
in separate patch-sets.
* Add a virtual single node manifests that are based on a sloop type.
* Use NFS provisioner instead of Ceph.
* Update tools/openstack to be non-seaworthy specific, use a default
region name and auth url.
* Make type/sloop/config/common-software-config.yaml to be site specific,
to allow to configure custom region_name.
* Remove max-pods-per-cpu parameter for kubelet, treasuremap needs
to support a diverse set of environments, without constraints
on the number of available cores. Max pods configuration parameter
is still present and helps to mitigate problems when kubernetes
unexpectedly starts a large number of pods.
Change-Id: I379a50d810b91b989f039dbb7c691f5ceec0cc67
Currently the manifest targeted by armada in the
030-armada-bootstrap.sh script is hard-coded to "ucp-bootstrap". This
patch set updates the 030 script to make drive the target manifest
off of a new environment variable "TARGET_MANIFEST". By default
"ucp-bootstrap" is still used, and existing functionality should not
be altered.
The motivation behind this, is it allows us to use the armada
bootstrap script to do more than just bootstrap the ucp components,
which may prove useful in zuul gate jobs that use treasuremap.
Change-Id: If3cf11f0d5701e273f5e626bff673a2b164284e3
New parameter allows to prefer image tags from quay.io matching filter,
e.g. "opensuse" or "ubuntu".
Change-Id: I75091645ea4492c0db0facfcb3e95f18a54a76c8
One of the first things the tools/airship utility script does is run
dpkg and apt. Because these commands were not being ran with sudo,
the airship script could only be ran as the root user. Adding sudo
so any user can run the tools/airship script.
Change-Id: Ia13321fcc7436931d82da274682bc700cf802d33
When running the 020-setup-client.sh script on a new ubuntu 16.04 VM,
the gcc, python-dev, and python-setuptools apt packages are required
for pip to install the cmd2 package.
Change-Id: Id4f46e7e0c6c607ffc660b8a26f17dbbbb340f4c
Previously, airskiff's 000-install-packages script added the docker
repo, then deleted stale docker packages, then updated the apt database.
This change moves the apt update before the delete, so that apt-get
knows about the packages it's being asked to delete. Without this in
place it'll fail on a fresh VM that doesn't know about the docker repo.
Change-Id: If009d8371c3ff49e4ed50599d8d62072868a84bf
Using Airship CLI script allows us to use pegleg
image configured in versions.yaml, which will be
updated during regular uplift procedure.
Change-Id: I68a6e5477fc72fb52dfc893b6eef69dd64320ded
Currently, Airskiff deploys a custom manifest defined in
tools/deployment/airskiff/manifests/airship.yaml to boostrap Airship
components. This exempts Airskiff from the daily version uplift process
and causes a divergence from the global UCP charts. This commit updates
the Airskiff bootstrap process to use the existing UCP charts at the
global layer.
Change-Id: I68dc405fda3cb1dbf5865104b657bdd75812e9bc
Since [0] updated the Airskiff CI jobs to clone dependent projects, the
relative OSH-infra path for the airskiff job no longer exists. This
change removes it so that the CI can use the cloned path as specified in
the airskiff deployment scripts.
[0] https://review.opendev.org/651628
Change-Id: Idc6970c3048f0e2bcf2fabcf79693973bde3f389
1. Docker env file format does not support quotation marks [0].
2. Use `shift` to remove `shipyard` command from the command,
shipyard image already has it configured in the entrypoint
script.
[0] See the official docs https://docs.docker.com/compose/env-file/
Change-Id: I8deaa60355004e182f51872a2fd15d94297ff319
Minikube is not yet compatible with Docker CE 18.09. This commit changes
the Docker version to 18.06 for compatibility with Minikube.
Change-Id: Ifb1fb0e5b0755d7340ce4f8a554e270dd5a2e6b5
Change path to globals from relative to absolute
to be able to run airship cli from any directory.
Change-Id: Ieb81ef6be7dff7fd49c206501035e75c8fd32bbe
On April 19, OpenStack completed the migration from openstack.org to
opendev.org [0]. During this migration, Airship projects moved from the
"openstack" namespace to the "airship" namespace. This commit makes
preliminary updates to gate and developer scripts to account for the
migration and fix broken integration gates.
[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005011.html
Change-Id: Ie955a777016deceed0d3f7f1aa839fba3cfdcc3e
On April 19, OpenStack completed the migration from openstack.org to
opendev.org [0]. During this migration, Airship projects moved from the
"openstack" namespace to the "airship" namespace. This commit makes
preliminary updates to gate and developer scripts to account for the
migration and fix broken integration gates.
[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005011.html
Change-Id: I88c4d96a756c59dd68ce8c3b801eba9ca8a6f8db
This commit adds a site linting gate for the new airsloop site.
Additionally, this change aims to standardize the names of all gates and
creates a parent job for site linting gates.
Change-Id: Ia8fa428909adf09c584540cfe4e5803bd3ca2420
Currently, Airskiff deployments fail in Airskiff due to pod a missing
helm-toolkit snippet. This change updates the OSH-infra reference to a
version that includes the missing snippet.
Change-Id: Iad523ecacf5563b4aa3c1ddb4b2a058dfe8c639c
Sloop type/site is a minimalistic approach to Airship with reduced
requirements towards hardware and external dependencies while keeping
all the functional features.
Major differences compared to reference site airship-seaworthy
- Two bare-metal server setup with 1 control, and 1 compute.
Most components are scaled to a single replica and doesn't carry
any HA as there is only a single control plane host.
- No requirements for DNS/certificates.
HTTP and internal cluster DNS is used.
- Ceph set to use the single (root) disk. This generally
provides minimalistic no-touch ceph deployment.
No replication of ceph data (single copy).
- Simplified networking (no bonding).
Two network interfaces are used by default (flat PXE, and DATA network
with VLANs for OAM, Calico, Storage, and OpenStack Overlay)
- Generic hostnames used (airsloop-control-1, airsloop-compute-1) that
simplifies generation of k8s certificates
- Usage of standard Ubuntu 16.04 GA kernel (as oppose to HWE)
Change-Id: I4944fcae7d29ed8799d810c93efb0120b6b3a105