chef-cookbooks icon indicating copy to clipboard operation
chef-cookbooks copied to clipboard

[memcached-openstack / memcached] memcached is not set to start on reboot by memcached cookbook

Open breu opened this issue 11 years ago • 3 comments
trafficstars

memcached isn't set to start on a reboot. The memcached cookbook does this:

service 'memcached' do
  action :nothing
  supports :status => true, :start => true, :stop => true, :restart => true
end
[root@breu-centos-grizzly-ha-quantum-node3 ~]# chkconfig --list memcached
memcached       0:off   1:off   2:off   3:off   4:off   5:off   6:off

memcached is not monitored by monit.

breu avatar Mar 12 '14 02:03 breu

https://github.com/opscode-cookbooks/memcached/pull/28

breu avatar Mar 12 '14 02:03 breu

https://tickets.opscode.com/browse/COOK-4308

breu avatar Mar 12 '14 02:03 breu

For future me. The upstream cookbook requires yum >= 3 and we're pinned to the 2.x series due to the recipe changes in yup. To get this fix we have to either:

  • fork, patch, submodule yum
  • update all of chef-cookbooks to yum 3+
  • alter/add service resource, action :enable somewhere in our wrapper cookbooks

Depending on the strategy and time, this may or may not need back ported.

claco avatar Mar 12 '14 17:03 claco