Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7c04d06
VMware: add support for 8.0b (8.0.0.2)
weizhouapache Mar 29, 2023
186812e
VMware 8: add new guest os mappings in VirtualMachineGuestOsIdentifier
weizhouapache Mar 31, 2023
ae48f0d
VMware: get guest os mappings of parent version
weizhouapache Mar 31, 2023
746133f
VMware8: remove guest os mappings for 8.0.0.2
weizhouapache Mar 31, 2023
4e5dd95
VMware8: fix code smells
weizhouapache Mar 31, 2023
bd093f8
vmware: remove annotations in VmwareVmImplementerTest which caused 0.…
weizhouapache Apr 6, 2023
e13699b
VMware8: add a unit test case
weizhouapache Apr 14, 2023
a25b3a3
VMware: add support for 8.0c (8.0.0.3)
weizhouapache Apr 17, 2023
bee5705
VMware8: move to CloudStackVersion.getVMwareParentVersion
weizhouapache Apr 24, 2023
d6cd854
VMware: add support for 8.0u1 (8.0.1.0)
weizhouapache Apr 24, 2023
503d6eb
Copy engine/schema/src/main/java/com/cloud/upgrade/GuestOsMapper.java…
weizhouapache Apr 24, 2023
a9b6803
Copy engine/schema/src/main/java/com/cloud/storage/dao/GuestOSHypervi…
weizhouapache Apr 24, 2023
4facd6f
VMware: ignore the last number in VMware versions
weizhouapache Apr 24, 2023
f6be497
VMware: copy guest os mapping from 8.0 to 8.0.1
weizhouapache Apr 25, 2023
f813c9a
VMware: add unit tests in VmwareVmImplementerTest.java
weizhouapache Apr 25, 2023
d6cfa42
Copy engine/schema/src/test/java/com/cloud/upgrade/GuestOsMapperTest.…
weizhouapache Apr 25, 2023
d0b9b26
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache Apr 27, 2023
8de66f3
VMware8: retry vm poweron if fails due to exception "File system spec…
weizhouapache Apr 27, 2023
a2fcf0d
VMware: extract to method powerOnVM
weizhouapache Apr 27, 2023
9c00c8c
vmware: fix mistake in logs
weizhouapache Apr 27, 2023
6923d97
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache May 31, 2023
b1c08fd
vmware8: use curl instead of wget to fix test failures
weizhouapache May 31, 2023
c3c44ba
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache May 31, 2023
3caa0e7
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache Jun 19, 2023
8f9b180
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache Jun 23, 2023
4f7ba08
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache Jun 27, 2023
cd0ae4a
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache Jul 7, 2023
51a674e
Merge branch '4.18' into 4.18.1-add-support-vmware-8.0b
weizhouapache Jul 25, 2023
ef03da5
Merge branch '4.18' into 4.18.1-add-support-vmware-8.0b
weizhouapache Jul 26, 2023
90fe245
Merge remote-tracking branch 'apache/4.18' into 4.18.1-add-support-vm…
weizhouapache Jul 27, 2023
dc16479
VMware: correct guest OS names in hypervisor mappings for VMware 8.0
weizhouapache Jul 27, 2023
e838579
VMware: add Ubuntu 20.04 and 22.04 support for vmware 7.0+
weizhouapache Jul 27, 2023
59fb606
PR7380: only add guest os mappings for Ubuntu 20.04
weizhouapache Jul 27, 2023
7d5f3c7
PR7380: Correct RHEL9 guest os names and others for VMware 8.0
weizhouapache Jul 27, 2023
6126f95
PR7380: correct guest os names on 8.0.0.1 as well
weizhouapache Jul 27, 2023
7e56053
Merge branch '4.18' into 4.18.1-add-support-vmware-8.0b
weizhouapache Aug 4, 2023
06d9952
Merge branch '4.18' into 4.18.1-add-support-vmware-8.0b
weizhouapache Aug 11, 2023
fc07405
PR7380: remove Windows 12 and Windows Server 2025 which are not relea…
weizhouapache Aug 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.util.ArrayList;
import java.util.List;

import org.apache.cloudstack.utils.CloudStackVersion;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;
Expand Down Expand Up @@ -73,6 +74,12 @@ public HypervisorCapabilitiesVO findByHypervisorTypeAndVersion(HypervisorType hy
SearchCriteria<HypervisorCapabilitiesVO> sc = HypervisorTypeAndVersionSearch.create();
sc.setParameters("hypervisorType", hypervisorType);
sc.setParameters("hypervisorVersion", hypervisorVersion);
HypervisorCapabilitiesVO result = findOneBy(sc);
if (result != null || !HypervisorType.VMware.equals(hypervisorType) ||
CloudStackVersion.getVMwareParentVersion(hypervisorVersion) == null) {
return result;
}
sc.setParameters("hypervisorVersion", CloudStackVersion.getVMwareParentVersion(hypervisorVersion));
return findOneBy(sc);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ List<GuestOSHypervisorVO> listByOsNameAndHypervisorMinimumVersion(String guestOs
String minHypervisorVersion);

List<String> listHypervisorSupportedVersionsFromMinimumVersion(String hypervisorType, String hypervisorVersion);

List<GuestOSHypervisorVO> listByHypervisorTypeAndVersion(String hypervisorType, String hypervisorVersion);
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class GuestOSHypervisorDaoImpl extends GenericDaoBase<GuestOSHypervisorVO
protected final SearchBuilder<GuestOSHypervisorVO> userDefinedMappingSearch;
protected final SearchBuilder<GuestOSHypervisorVO> guestOsNameSearch;
protected final SearchBuilder<GuestOSHypervisorVO> availableHypervisorVersionSearch;
protected final SearchBuilder<GuestOSHypervisorVO> hypervisorTypeAndVersionSearch;

public GuestOSHypervisorDaoImpl() {
guestOsSearch = createSearchBuilder();
Expand Down Expand Up @@ -73,6 +74,11 @@ public GuestOSHypervisorDaoImpl() {
availableHypervisorVersionSearch.select(null, SearchCriteria.Func.DISTINCT,
availableHypervisorVersionSearch.entity().getHypervisorVersion());
availableHypervisorVersionSearch.done();

hypervisorTypeAndVersionSearch = createSearchBuilder();
hypervisorTypeAndVersionSearch.and("hypervisor_type", hypervisorTypeAndVersionSearch.entity().getHypervisorType(), SearchCriteria.Op.EQ);
hypervisorTypeAndVersionSearch.and("hypervisor_version", hypervisorTypeAndVersionSearch.entity().getHypervisorVersion(), SearchCriteria.Op.EQ);
hypervisorTypeAndVersionSearch.done();
}

@Override
Expand Down Expand Up @@ -176,4 +182,11 @@ public List<String> listHypervisorSupportedVersionsFromMinimumVersion(String hyp
return versions;
}

@Override
public List<GuestOSHypervisorVO> listByHypervisorTypeAndVersion(String hypervisorType, String hypervisorVersion) {
SearchCriteria<GuestOSHypervisorVO> sc = hypervisorTypeAndVersionSearch.create();
sc.setParameters("hypervisor_type", hypervisorType);
sc.setParameters("hypervisor_version", hypervisorVersion);
return listIncludingRemovedBy(sc);
}
}
51 changes: 49 additions & 2 deletions engine/schema/src/main/java/com/cloud/upgrade/GuestOsMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.cloud.upgrade;

import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;

import java.sql.Connection;
Expand All @@ -26,6 +27,7 @@

import javax.inject.Inject;

import com.cloud.hypervisor.Hypervisor.HypervisorType;
import com.cloud.storage.GuestOSHypervisorMapping;
import com.cloud.storage.GuestOSHypervisorVO;
import com.cloud.storage.GuestOSVO;
Expand Down Expand Up @@ -94,7 +96,7 @@ public void addGuestOsAndHypervisorMappings(long categoryId, String displayName,
}
}

private boolean addGuestOs(long categoryId, String displayName) {
public boolean addGuestOs(long categoryId, String displayName) {
LOG.debug("Adding guest OS with category id: " + categoryId + " and display name: " + displayName);
GuestOSVO guestOS = new GuestOSVO();
guestOS.setCategoryId(categoryId);
Expand All @@ -116,7 +118,7 @@ private void addGuestOsHypervisorMapping(GuestOSHypervisorMapping mapping, long
return;
}

LOG.debug("Adding guest OS hypervisor mapping - " + mapping.toString());
LOG.debug("Adding guest OS hypervisor mapping - " + mapping.toString() + ", for guest OS with id - " + guestOsId);
GuestOSHypervisorVO guestOsMapping = new GuestOSHypervisorVO();
guestOsMapping.setHypervisorType(mapping.getHypervisorType());
guestOsMapping.setHypervisorVersion(mapping.getHypervisorVersion());
Expand Down Expand Up @@ -198,4 +200,49 @@ private boolean isValidGuestOSHypervisorMapping(GuestOSHypervisorMapping mapping
LOG.warn("Invalid Guest OS hypervisor mapping");
return false;
}

/**
* Copies guest OS mappings from src version to dest version for the hypervisor (use this to copy all mappings from older version to newer version during upgrade)
* @return true if copied successfully, else false.
*/
public boolean copyGuestOSHypervisorMappings(HypervisorType hypervisorType, String srcVersion, String destVersion) {
if (hypervisorType == HypervisorType.None || hypervisorType == HypervisorType.Any) {
LOG.warn("Unable to copy, invalid hypervisor");
return false;
}

if (StringUtils.isBlank(srcVersion) || StringUtils.isBlank(destVersion)) {
LOG.warn("Unable to copy, invalid hypervisor version details");
return false;
}

List<GuestOSHypervisorVO> guestOSHypervisorMappingsForSrcVersion = guestOSHypervisorDao.listByHypervisorTypeAndVersion(hypervisorType.toString(), srcVersion);
if (CollectionUtils.isEmpty(guestOSHypervisorMappingsForSrcVersion)) {
LOG.warn(String.format("Unable to copy, couldn't find guest OS mappings for hypervisor: %s and src version: %s", hypervisorType.toString(), srcVersion));
return false;
}

LOG.debug(String.format("Adding guest OS mappings for hypervisor: %s and version: %s, from version: %s ", hypervisorType.toString(), destVersion, srcVersion));
for (GuestOSHypervisorVO guestOSHypervisorMapping : guestOSHypervisorMappingsForSrcVersion) {
GuestOSHypervisorMapping mapping = new GuestOSHypervisorMapping(hypervisorType.toString(), destVersion, guestOSHypervisorMapping.getGuestOsName());
addGuestOsHypervisorMapping(mapping, guestOSHypervisorMapping.getGuestOsId());
}
return true;
}

public void updateGuestOsNameInHypervisorMapping(long categoryId, String displayName, GuestOSHypervisorMapping mapping) {
if (!isValidGuestOSHypervisorMapping(mapping)) {
return;
}

long guestOsId = getGuestOsId(categoryId, displayName);
if (guestOsId == 0) {
LOG.error(String.format("no guest os found for category %d and name %s, skipping mapping it to %s/%s", guestOsId, displayName, mapping.getHypervisorType(), mapping.getHypervisorVersion()));
return;
}

GuestOSHypervisorVO guestOsMapping = guestOSHypervisorDao.findByOsIdAndHypervisor(guestOsId, mapping.getHypervisorType(), mapping.getHypervisorVersion());
guestOsMapping.setGuestOsName(mapping.getGuestOsName());
guestOSHypervisorDao.update(guestOsMapping.getId(), guestOsMapping);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
// under the License.
package com.cloud.upgrade.dao;

import com.cloud.hypervisor.Hypervisor;
import com.cloud.storage.GuestOSHypervisorMapping;
import com.cloud.upgrade.GuestOsMapper;
import com.cloud.upgrade.SystemVmTemplateRegistration;
import com.cloud.utils.exception.CloudRuntimeException;
import org.apache.log4j.Logger;
Expand Down Expand Up @@ -58,6 +61,8 @@ public InputStream[] getPrepareScripts() {
@Override
public void performDataMigration(Connection conn) {
fixForeignKeyNames(conn);
updateGuestOsMappings(conn);
copyGuestOsMappingsToVMware80u1();
}

@Override
Expand Down Expand Up @@ -86,6 +91,115 @@ public void updateSystemVmTemplates(Connection conn) {
}
}

private void updateGuestOsMappings(Connection conn) {
LOG.debug("Updating guest OS mappings");

GuestOsMapper guestOsMapper = new GuestOsMapper();
List<GuestOSHypervisorMapping> mappings = new ArrayList<>();

LOG.debug("Adding Ubuntu 20.04 support for VMware 6.5+");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "6.5", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "6.7", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "6.7.1", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "6.7.2", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "6.7.3", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "7.0", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "7.0.1.0", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "7.0.2.0", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "7.0.3.0", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");
guestOsMapper.addGuestOsHypervisorMapping(new GuestOSHypervisorMapping("VMware", "8.0", "ubuntu64Guest"), 10, "Ubuntu 20.04 LTS");

LOG.debug("Adding Ubuntu 22.04 support for KVM and VMware 6.5+");
mappings.add(new GuestOSHypervisorMapping("KVM", "default", "Ubuntu 22.04 LTS"));
mappings.add(new GuestOSHypervisorMapping("VMware", "6.5", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "6.7", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "6.7.1", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "6.7.2", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "6.7.3", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "7.0", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "7.0.1.0", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "7.0.2.0", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "7.0.3.0", "ubuntu64Guest"));
mappings.add(new GuestOSHypervisorMapping("VMware", "8.0", "ubuntu64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(10, "Ubuntu 22.04 LTS", mappings);
mappings.clear();

LOG.debug("Correcting guest OS names in hypervisor mappings for VMware 8.0 ad 8.0.0.1");
final String hypervisorVMware = Hypervisor.HypervisorType.VMware.name();
final String hypervisorVersionVmware8 = "8.0";
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "AlmaLinux 9", new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "almalinux_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Oracle Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "oracleLinux9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Rocky Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "rockylinux_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "AlmaLinux 9", new GuestOSHypervisorMapping(hypervisorVMware, "8.0.0.1", "almalinux_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Oracle Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "8.0.0.1", "oracleLinux9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Rocky Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "8.0.0.1", "rockylinux_64Guest"));

LOG.debug("Correcting guest OS names in hypervisor mappings for Red Hat Enterprise Linux 9");
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Red Hat Enterprise Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "7.0", "rhel9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Red Hat Enterprise Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "7.0.1.0", "rhel9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Red Hat Enterprise Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "7.0.2.0", "rhel9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Red Hat Enterprise Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "7.0.3.0", "rhel9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Red Hat Enterprise Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "rhel9_64Guest"));
guestOsMapper.updateGuestOsNameInHypervisorMapping(1, "Red Hat Enterprise Linux 9", new GuestOSHypervisorMapping(hypervisorVMware, "8.0.0.1", "rhel9_64Guest"));

LOG.debug("Adding new guest OS ids in hypervisor mappings for VMware 8.0");
// Add support for darwin22_64Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "darwin22_64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(7, "macOS 13 (64-bit)", mappings);
mappings.clear();

// Add support for darwin23_64Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "darwin23_64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(7, "macOS 14 (64-bit)", mappings);
mappings.clear();

// Add support for debian12_64Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "debian12_64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(2, "Debian GNU/Linux 12 (64-bit)", mappings);
mappings.clear();

// Add support for debian12Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "debian12Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(2, "Debian GNU/Linux 12 (32-bit)", mappings);
mappings.clear();

// Add support for freebsd14_64Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "freebsd14_64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(9, "FreeBSD 14 (64-bit)", mappings);
mappings.clear();

// Add support for freebsd14Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "freebsd14Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(9, "FreeBSD 14 (32-bit)", mappings);
mappings.clear();

// Add support for other6xLinux64Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "other6xLinux64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(7, "Linux 6.x Kernel (64-bit)", mappings);
mappings.clear();

// Add support for other6xLinuxGuest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "other6xLinuxGuest"));
guestOsMapper.addGuestOsAndHypervisorMappings(7, "Linux 6.x Kernel (32-bit)", mappings);
mappings.clear();

// Add support for vmkernel8Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "vmkernel8Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(7, "VMware ESXi 8.0", mappings);
mappings.clear();

// Add support for windows11_64Guest from VMware 8.0
mappings.add(new GuestOSHypervisorMapping(hypervisorVMware, hypervisorVersionVmware8, "windows11_64Guest"));
guestOsMapper.addGuestOsAndHypervisorMappings(6, "Windows 11 (64-bit)", mappings);
mappings.clear();
}

private void copyGuestOsMappingsToVMware80u1() {
LOG.debug("Copying guest OS mappings from VMware 8.0 to VMware 8.0.1");
GuestOsMapper guestOsMapper = new GuestOsMapper();
guestOsMapper.copyGuestOSHypervisorMappings(Hypervisor.HypervisorType.VMware, "8.0", "8.0.1");
}

private void fixForeignKeyNames(Connection conn) {
//Alter foreign key name for user_vm table from fk_user_data_id to fk_user_vm__user_data_id (if exists)
List<String> keys = new ArrayList<String>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
-- Schema upgrade from 4.18.0.0 to 4.18.1.0
--;

-- Add support for VMware 8.0u1 (8.0.1.x)
INSERT IGNORE INTO `cloud`.`hypervisor_capabilities` (uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, max_hosts_per_cluster, storage_motion_supported, vm_snapshot_enabled) values (UUID(), 'VMware', '8.0.1', 1024, 0, 59, 64, 1, 1);

-- Update conserve_mode of the default network offering for Tungsten Fabric (this fixes issue #7241)
UPDATE `cloud`.`network_offerings` SET conserve_mode = 0 WHERE unique_name ='DefaultTungstenFarbicNetworkOffering';

Expand Down
Loading