From 0670f13d90b06fb627719120f64018be27b0a462 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 18 Jun 2026 11:49:23 +0530 Subject: [PATCH] bump mysql-connection version to 8.0.31 8.0.31 is inline with the version used in el8 spec in ACS code. Without change error seen, ``` ERROR: Could not find a version that satisfies the requirement mysql-connector-python==8.0.20 (from versions: 8.0.5, 8.0.21, 8.0.22, 8.0.23, 8.0.24, 8.0.25, 8.0.26, 8.0.27, 8.0.28, 8.0.29, 8.0.30, 8.0.31, 8.0.32, 8.0.33) ``` THis may break el7 compatibility for deployment Signed-off-by: Abhishek Kumar --- mbx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbx b/mbx index 093938f..3c28c52 100755 --- a/mbx +++ b/mbx @@ -453,8 +453,8 @@ deploy() { issh root@$msip yum clean all issh root@$msip rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux-8 || true issh root@$msip yum install -y python3-pip - issh root@$msip "pip3 install --upgrade pip && pip3 install --ignore-installed netaddr mysql-connector-python==8.0.20" || true - issh root@$msip "pip2 install --upgrade pip && pip2 install --ignore-installed netaddr mysql-connector-python==8.0.20" || true + issh root@$msip "pip3 install --upgrade pip && pip3 install --ignore-installed netaddr mysql-connector-python==8.0.31" || true + issh root@$msip "pip2 install --upgrade pip && pip2 install --ignore-installed netaddr mysql-connector-python==8.0.31" || true issh root@$msip yum install -y cloudstack-management cloudstack-usage cloudstack-common cloudstack-integration-tests cloudstack-marvin tar tzdata-java issh root@$msip "cloudstack-setup-databases cloud:cloud@localhost --deploy-as=root: -i $msip" issh root@$msip "mysql -u root --execute=\"INSERT INTO cloud.configuration (category, instance, component, name, value) VALUES ('Advanced', 'DEFAULT', 'management-server', 'integration.api.port', '8096');\"" @@ -565,7 +565,7 @@ launch() { issh root@$msip "pip3 uninstall -y Marvin" || true issh root@$msip "cd /usr/share/cloudstack-marvin && tar zxf Marvin*.tar.gz && mv Marvin*.tar.gz archive-marvin.tar.gz && sed -i 's/-SNAPSHOT//g' Marvin-*/setup.py" issh root@$msip "pip3 install --ignore-installed /usr/share/cloudstack-marvin/Marvin-*/" - issh root@$msip "pip3 install --ignore-installed mysql-connector-python==8.0.20" || true + issh root@$msip "pip3 install --ignore-installed mysql-connector-python==8.0.31" || true issh root@$msip "cd /marvin && ln -sf /usr/share/cloudstack-integration-tests tests" || true issh root@$msip "python3 -m marvin.deployDataCenter -i /marvin/marvin.cfg"