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>
This commit is contained in:
marvin 2019-09-03 04:52:24 +00:00
parent 53051e82c9
commit a2c247cd2d
2 changed files with 0 additions and 11 deletions

View File

@ -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

View File

@ -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.