Remove Docker Logical Volume in CGTS-VG.
Do not add Docker Logical Volume in CGTS-VG at all if --kubernetes option not specified for config_controller. Will prevent hw lab installs from failing. VBox installs with --kubernetes will be fine if disk size is appropriate, hw lab installs with --kubernetes still need work. Change-Id: I6f3f3620dd06bfa5fbc751f5ca84191c4195ced4
This commit is contained in:
parent
dafa02b84d
commit
a691d3f9bb
|
@ -138,6 +138,9 @@ class platform::filesystem::docker::params (
|
|||
class platform::filesystem::docker
|
||||
inherits ::platform::filesystem::docker::params {
|
||||
|
||||
include ::platform::kubernetes::params
|
||||
|
||||
if $::platform::kubernetes::params::enabled {
|
||||
platform::filesystem { $lv_name:
|
||||
lv_name => $lv_name,
|
||||
lv_size => $lv_size,
|
||||
|
@ -145,6 +148,7 @@ class platform::filesystem::docker
|
|||
fs_type => $fs_type,
|
||||
fs_options => $fs_options
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class platform::filesystem::img_conversions::params (
|
||||
|
|
|
@ -6368,8 +6368,6 @@ class ConductorManager(service.PeriodicService):
|
|||
|
||||
if kubernetes_config:
|
||||
docker_lv_size = constants.KUBERNETES_DOCKER_STOR_SIZE
|
||||
else:
|
||||
docker_lv_size = constants.DEFAULT_DOCKER_STOR_SIZE
|
||||
|
||||
data = {
|
||||
'name': constants.FILESYSTEM_NAME_DOCKER,
|
||||
|
|
Loading…
Reference in New Issue