From 49e0734dc286d75221cc12733c67ee9571ac8390 Mon Sep 17 00:00:00 2001 From: "Qi (Keira) Zhang" Date: Tue, 6 Jul 2021 11:24:38 +0800 Subject: [PATCH] Change photon repo's baseurl for Photon 3.x and earlier (#87) * Change photon repo's baseurl for Photon 3.x and earlier Signed-off-by: Qi Zhang * Add vgauth_check_service known issue with open-vm-tools 11.2.5 on Photon OS 3.x Signed-off-by: Qi Zhang --- docs/KNOWN_ISSUES.md | 12 ++++++++++-- linux/utils/add_official_online_repo.yml | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/docs/KNOWN_ISSUES.md b/docs/KNOWN_ISSUES.md index 78c468318..3bde54e46 100644 --- a/docs/KNOWN_ISSUES.md +++ b/docs/KNOWN_ISSUES.md @@ -55,10 +55,18 @@ guest_customization/gosc_cloudinit_dhcp.yml vhba_hot_add_remove/nvme_vhba_device_ops.yml ``` -4. VMware Photon OS 3.0 and later +4. VMware Photon OS 3.x +* Failure: After reinstalling open-vm-tools 11.2.5, the VGAuthService cann't be started successfully due to xmlsec1 version mismatch +* Workaround: Manually upgrade xmlsec1 package by running command 'tdnf install xmlsec1', and then reboot Photon OS. +* Affected test cases: +``` +vgauth_check_service/vgauth_check_service.yml +``` + +5. VMware Photon OS 3.0 and later * Failure: When hot adding or removing NVMe disk to existing controller, VMware Photon OS cannot detect NVMe disk changes. * Workaround: not available * Affected test cases: ``` -nvme_vhba_device_ops +vhba_hot_add_remove/nvme_vhba_device_ops.yml ``` diff --git a/linux/utils/add_official_online_repo.yml b/linux/utils/add_official_online_repo.yml index dcfd27137..3aac7f852 100644 --- a/linux/utils/add_official_online_repo.yml +++ b/linux/utils/add_official_online_repo.yml @@ -102,12 +102,12 @@ - block: - name: "Set the fact of Photon OS {{ guest_os_ansible_distribution_major_ver }} online repos" set_fact: - photon_online_repos: ["photon", "photon-updates"] + photon_online_repos: ["photon", "photon-updates", "photon-extras"] when: guest_os_ansible_distribution_major_ver | int < 4 - name: "Set the fact of Photon OS {{ guest_os_ansible_distribution_major_ver }} online repos" set_fact: - photon_online_repos: ["photon", "photon-release", "photon-updates"] + photon_online_repos: ["photon", "photon-release", "photon-updates", "photon-extras"] when: guest_os_ansible_distribution_major_ver | int >= 4 - include_tasks: ../../common/update_ini_style_file.yml @@ -117,4 +117,12 @@ option_name: "enabled" option_value: 1 with_items: "{{ photon_online_repos }}" + + # Update baseurl to repos on https://packages.vmware.com/photon + - block: + - name: "Update repo's baseurl" + command: "sed -i 's#dl.bintray.com/vmware/#packages.vmware.com/photon/$releasever/#' /etc/yum.repos.d/{{ item }}.repo" + delegate_to: "{{ vm_guest_ip }}" + with_items: "{{ photon_online_repos }}" + when: guest_os_ansible_distribution_major_ver | int < 4 when: guest_os_ansible_distribution == 'VMware Photon OS'