Use the heat-container-agent from a system container.
It means that the docker daemon can be started later.
Pass as a software deployment with the heat-agent the following
** pin prometheus to v1.8.2 since its config is not 2.0.0
Add heat-container-agent container image.
Implements: blueprint heat-agent
Following up of https://review.openstack.org/#/c/487357
Implements: blueprint run-kube-as-container
The patch https://review.openstack.org/#/c/437048/ changed the
permission of /etc/sysconfig/heat-params to 600, so non-file owners
would require use of 'sudo' in order to access the file. This patch
For multinode jobs a key with the default name id_rsa already
exists. Add a key for magnum named id_rsa_magnum.
Co-Authored-By: yatinkarel <email@example.com>
Get the pod logs for controller-manager and scheduler.
The current copy logs from journalctl because controller-manager
and scheduler used to be managed by systemd.
Atomic image contains:
The ironic image contains exactly the same packages.
* For this upgrade the upstream image is used, which is
uploaded here .
* Minor changes for flannel and docker-storage-setup
* The image will be built in the CI and uploaded to
tarballs.openstack.org as soon as possible.
* Ironic image .
* docker-storage-setup config changes were needed because in
the previous images it was disabled and it was started by us.
* We can have selinux enables in containers since the images
have kernel 4.9.x.
This is patch 3 of 3 to change the internal usage of the terms
Bay and BayModel. This patch updates Bay to Cluster in DB and
Object as well as all the usages. No functionality should be
changed by this patch, just naming and db updates.
Implements: blueprint rename-bay-to-cluster
Since the fedora atomic already gets set up with the user "fedora",
we can get rid of the "minion" user since it does not add any value
and it is somewhat confusing logging into master nodes as "minion".
Kubernetes bay needs to be fully functional before notifying Heat
to bring the stack to CREATE_COMPLETE. This patch added a systemd
unit that keeps pinging the kube-apiserver and notify Heat once
it goes through.
Magnum SSH into each bay node and copy logs when a test fails.
The specified SSH key path is relative to the home directory ("~"),
which didn't get expanded correctly.
Make thhe minions work correctly without depending on the master.
Removing this dependency decreases provisioning time by provisioning
nodes in parallel.
This patch will copy logs from nova servers to local environment
on test failures.
Don't delete bays until teardown so log gathering will work.
Give functional test types a common base.
Added timeout to docker ps; else, the command would time out,
failing to run the rest of the tests.
Co-Authored-By: Corey O'Brien <firstname.lastname@example.org>
Add logs for docker and docker-storage-setup services.
docker-storage-setup uses MIN_DATA_SIZE=2G for Docker volume, so we
cannot use Docker volume less that 2G (realistic 3G, because some
space should be allocatedtd for medata-data)
Magnum run several services (Swarm master/agent, Kub
api/scheduler/proxy) as Docker containers. For debugging any gate
issues we need output/configs from these running containers.
This patch adds a copy_logs as the handler with unittest's addOnException,
by doing this, we can get logs for all failed cases instead of copy them
If without any failed case, don't copy logs for saving time.
Partially implements: blueprint swarm-functional-testing