You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Omar AitMous (JIRA)" <ji...@apache.org> on 2019/05/07 08:28:00 UTC
[jira] [Created] (MESOS-9772) A restart systemd-journald renders
mesos-agent unable to schedule tasks
Omar AitMous created MESOS-9772:
-----------------------------------
Summary: A restart systemd-journald renders mesos-agent unable to schedule tasks
Key: MESOS-9772
URL: https://issues.apache.org/jira/browse/MESOS-9772
Project: Mesos
Issue Type: Bug
Environment: Running on centos 7.4.1708, systemd 219 (probably heavily patched by centos)
mesos-agent command:
{code:java}
/usr/sbin/mesos-slave \
--attributes='canary:canary-false;maintenance_group:group-6;network:10g;platform:centos;platform_major_version:7;rack_name:22.05;type:base;version:v2018-q-1' \
--cgroups_enable_cfs \
--cgroups_hierarchy='/sys/fs/cgroup' \
--cgroups_net_cls_primary_handle='0xC370' \
--container_logger='org_apache_mesos_LogrotateContainerLogger' \
--containerizers='mesos' \
--credential='file:///etc/mesos-chef/slave-credential' \
--default_container_info='\{"type":"MESOS","volumes":[{"host_path":"tmp","container_path":"/tmp","mode":"RW"},\{"host_path":"var_tmp","container_path":"/var/tmp","mode":"RW"},\{"host_path":".","container_path":"/mnt/mesos/sandbox","mode":"RW"},\{"host_path":"/usr/share/mesos/geoip","container_path":"/mnt/mesos/geoip","mode":"RO"}]}' \
--docker_registry='https://filer-docker-registry.prod.crto.in/' \
--docker_store_dir='/var/opt/mesos/store/docker' \
--enforce_container_disk_quota \
--executor_environment_variables='\{"PATH":"/bin:/usr/bin","CRITEO_DC":"par","CRITEO_ENV":"prod","CRITEO_GEOIP_PATH":"/mnt/mesos/geoip"}' \
--executor_registration_timeout='5mins' \
--fetcher_cache_dir='/var/opt/mesos/cache' \
--fetcher_cache_size='2GB' \
--hooks='com_criteo_mesos_CommandHook' \
--image_providers='docker' \
--image_provisioner_backend='copy' \
--isolation='linux/capabilities,cgroups/cpu,cgroups/mem,cgroups/net_cls,namespaces/pid,filesystem/linux,docker/runtime,network/cni,disk/xfs,com_criteo_mesos_CommandIsolator' \
--logging_level='INFO' \
--master='zk://mesos:xxxxx@mesos-master01-par.central.criteo.prod:2181,mesos-master02-par.central.criteo.prod:2181,mesos-master03-par.central.criteo.prod:2181/mesos' \
--modules='file:///etc/mesos-chef/slave-modules.json' \
--port=5051 \
--recover='reconnect' \
--resources='file:///etc/mesos-chef/custom_resources.json' \
--strict \
--work_dir='/var/opt/mesos' \
--xfs_kill_containers \
--xfs_project_range='[5000-500000]'
{code}
Reporter: Omar AitMous
When mesos-agent is started through systemd, a restart of systemd-journald renders mesos-agent unable to schedule tasks anymore; it also stops logging (see https://jira.apache.org/jira/browse/MESOS-9749).
The tasks currently running on the agent are not affected, and we can query the state of the agent through http.
A restart of mesos-agent restores both the scheduling of tasks and the logging.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)