mirror of https://github.com/apache/cloudstack.git
Merge release branch 4.18 to main
* 4.18: VR: remove apache2 config for removed VPC tiers (#7982) fix units labels (#8001)
This commit is contained in:
commit
b20554820b
|
|
@ -79,7 +79,7 @@ public interface VolumeOrchestrationService {
|
|||
Long.class,
|
||||
"storage.max.volume.size",
|
||||
"2000",
|
||||
"The maximum size for a volume (in GB).",
|
||||
"The maximum size for a volume (in GiB).",
|
||||
true);
|
||||
|
||||
VolumeInfo moveVolume(VolumeInfo volume, long destPoolDcId, Long destPoolPodId, Long destPoolClusterId, HypervisorType dataDiskHyperType)
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'manag
|
|||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'secstorage.capacity.standby', '10', 'The minimal number of command execution sessions that system is able to serve immediately(standby capacity)');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'secstorage.cmd.execution.time.max', '30', 'The max command execution time in minute');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'secstorage.session.max', '50', 'The max number of command execution sessions that a SSVM can handle');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Storage', 'DEFAULT', 'management-server', 'storage.max.volume.size', '2000', 'The maximum size for a volume (in GB).');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Storage', 'DEFAULT', 'management-server', 'storage.max.volume.size', '2000', 'The maximum size for a volume (in GiB).');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'task.cleanup.retry.interval', '600', 'Time (in seconds) to wait before retrying cleanup of tasks if the cleanup failed previously. 0 means to never retry.');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vmware.additional.vnc.portrange.start', '50000', 'Start port number of additional VNC port range');
|
||||
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', 'management-server', 'vmware.percluster.host.max', '8', 'maxmium hosts per vCenter cluster(do not let it grow over 8)');
|
||||
|
|
|
|||
|
|
@ -668,8 +668,12 @@ class CsIP:
|
|||
logging.info("Not making dns publicly available")
|
||||
|
||||
if self.config.has_metadata():
|
||||
app = CsApache(self)
|
||||
app.setup()
|
||||
if method == "add":
|
||||
app = CsApache(self)
|
||||
app.setup()
|
||||
elif method == "delete":
|
||||
app = CsApache(self)
|
||||
app.remove()
|
||||
|
||||
# If redundant then this is dealt with
|
||||
# by the primary backup functions
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class CsApache(CsApp):
|
|||
""" Set up Apache """
|
||||
|
||||
def remove(self):
|
||||
file = "/etc/apache2/sites-enabled/vhost-%s.conf" % self.dev
|
||||
file = "/etc/apache2/sites-enabled/vhost-%s.conf" % self.ip
|
||||
if os.path.isfile(file):
|
||||
os.remove(file)
|
||||
CsHelper.service("apache2", "restart")
|
||||
|
|
|
|||
Loading…
Reference in New Issue