memcache package update breaks memcache starting due to rlimits issue

Bug #1638646 reported by Alex Schultz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Emilien Macchi

Bug Description

RDO recently promoted a new memcache package which may not start if the number of max connections is greater than 1024. The default puppet memcache module sets the default max_connections to 8192 resulting in a failure.

Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: [/usr/lib/systemd/system/memcached.service:42] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Started memcached daemon.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Starting memcached daemon...
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 memcached[4893]: failed to set rlimit for open files. Try starting as root or requesting smaller maxconns value.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: memcached.service: main process exited, code=exited, status=71/n/a
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Unit memcached.service entered failed state.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: memcached.service failed.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Reloading.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: [/usr/lib/systemd/system/memcached.service:42] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Reloading.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: Configuration file /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Nov 02 15:59:11 centos-7-internap-mtl01-5158826 systemd[1]: [/usr/lib/systemd/system/memcached.service:42] Unknown lvalue 'MemoryDenyWriteExecute' in section 'Service'

Tags: alert ci
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/392901

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to instack-undercloud (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/392909

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

Fix proposed to branch: master
Review: https://review.openstack.org/392914

Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Emilien Macchi (emilienm)
tags: added: alert ci
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-tripleo (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/392901
Reason: Getting fixed in packaging as this needs a systemd unit file fix

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on instack-undercloud (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/392914
Reason: Fix will be coming in packaging because the systemd file needs an update which we don't manage via puppet

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/392909

Revision history for this message
Alex Schultz (alex-schultz) wrote :

Fix was included in memcached-1.4.33-2 https://cbs.centos.org/koji/buildinfo?buildID=13784

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.