-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Made some attempts to get the CentOS testing working again but ran into a number of hurdles.
centos-6
This was actually working as-is a few months back for version: '4.4:
- https://travis-ci.com/github/saltstack-formulas/zabbix-formula/jobs/250901749
- This is the last run that worked on
centos-6.
- This is the last run that worked on
The zabbix-server-mysql package is no longer available in the repo:
The highest version that still has it available is 2.4 (this isn't really useful, though):
centos-7 & centos-8
Essentially, these are failing due to issues between docker and systemd. The main error that reoccurs:
New main PID does not belong to service, and PID file is not owned by root. Refusing.
Research:
- Cgroupfs and cgroup ns handling in Docker breaks non-root services using latest systemd docker/for-linux#835 (comment)
- Suggestion here is to bypass the service and just run the binary directly when in a container.
- Test for CentOS 7 current failing due to bug in docker voxpupuli/puppet-zabbix#645
- cgroup delegation issue moby/moby#38749
- Stricter PIDfile handling breaks all non-root services running in docker systemd/systemd#11752 (comment)
- Get the same duplication as well for
systemd.
- Get the same duplication as well for
Potential solutions
- Check if we're in a container and then run the service manually instead, using a check similar to:
- Use Vagrant boxes instead:
- Biggest issue here is that this will only be local testing, which is always difficult to work with.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels