Browse Source

Removing unused flag disable_worker_services

The disable_worker_services file was originally created
to prevent the (bare metal) nova-compute services from
running on a newly upgraded controller in an AIO-DX
configuration. This situation no longer exists because
the bare metal nova-compute services do not exist after
transiting to containers. this flag is no longer needed.
Removing all references to the disable_worker_services file.

Change-Id: I4f11674956f9aae1e4e805db2eb0696c3023e71e
Closes-Bug: #1838432
Signed-off-by: marvin <weifei.yu@intel.com>
changes/75/684175/1
marvin 2 years ago
parent
commit
a2c247cd2d
  1. 7
      puppet-manifests/src/modules/platform/lib/facter/disable_worker_services.rb
  2. 4
      puppet-manifests/src/modules/platform/manifests/kubernetes.pp

7
puppet-manifests/src/modules/platform/lib/facter/disable_worker_services.rb

@ -1,7 +0,0 @@
# Returns true if worker services should be disabled
Facter.add("disable_worker_services") do
setcode do
File.exist?('/var/run/.disable_worker_services')
end
end

4
puppet-manifests/src/modules/platform/manifests/kubernetes.pp

@ -598,10 +598,6 @@ class platform::kubernetes::worker
}
}
file { '/var/run/.disable_worker_services':
ensure => file,
replace => no,
}
# TODO: The following exec is a workaround. Once kubernetes becomes the
# default installation, /etc/pmon.d/libvirtd.conf needs to be removed from
# the load.

Loading…
Cancel
Save