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
Since support for additional operating systems has been added to some
components, the image tag "latest" is no longer used by their Makefiles.
This commit changes the tags for the aforementioned components to use
the new default tag and updates the job name to reflect the use of
Ubuntu images.
Change-Id: Ia1adf156c4b3798b2400f9c821ac2ba685557591
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
Added service specific version of helm toolkit for all OSH services
in treasuremap global chart and version definitions. Kept the current
version of htk for all services to limit the changes in this commit.
Change-Id: I35cf8fce32f1e414aebd284054feb36f8305b628
Globals have logging override defined which is now different from
openstack services values in openstack-helm.
Openstack-helm addressed issue of missing logs related to warnings and
above for root logger which is catch-all logger when component specific
logger is not explictly defined.
OSH review: https://review.opendev.org/#/c/639711
Dropping logs in case of error or warnings can be problem for operators
in triaging an issue. We should not be hiding warning/error/critical logs
even when specific component logger is not defined as there can be cases
where each component is not defined in logging definition. See example
from OSH review.
In addition, is there a specific reason to have logging override for OS services
in airship side as they appear to be quite similar to defaults defined in
openstack-helm side. So may be we should revisit its need and address in
different patch if needed.
Change-Id: Iea24280546af1959d9da7164f0f18bf6a0a86e2d
Currently, many of the charts in the sloop type are missing labels that
are required to enable layering at the site level. This change adds the
missing labels.
Change-Id: Ife825f3e9223fd97d663ba23a026bebf4dd5b2d5
This change introduces an initial contributors' guide, with the
intention of providing a starting point for developers interested in
contributing to Airship.
Future changes should expand on this documentation, including the
addition of documentation that covers the spec design and approval
process, standards and conventions for Helm charts, and how versions are
controlled in Airship.
Change-Id: Ifd146549d0707f9db2aefaefbadc77e47a1546e3
Story: 2005122
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