-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Photon OS 3.0 to 5.0 without internet #1544
Comments
Hi, Do you mean upgrading VCSA or offline upgrade of an open-source Photon OS 3.0 virtual machine? VCSA is a commercial product. It uses a closed-source version of Photon OS as a subsystem in the process of maintaining VCSA. Open-source Photon OS Offline upgrading Photon OS virtual machines isn't difficult, but it isn't described in the docs because initial situation (flavor), configuration and installed applications lead rapidly to environment-specific cascades. Historically, see here, here and here. Basically the package manager tdnf got a nifty functionality called reposync on top of rpm-ostree. This custom recipe contains a description of an offline upgrade method without network connectivity on the target environment. It's in progress and I try to finish it soon. Also, have a look to VMware By Broadcom Telco Cloud Automation airgap server deployment topologies, in which the commercial version of Photon OS is in use as subsystem, see https://docs.vmware.com/en/VMware-Telco-Cloud-Automation/1.9.5/com.vmware.tca.userguide/GUID-27304C0A-2D5C-4E99-8932-E7FE08B92D31.html and the follow-up chapters. Hope this helps. |
Hi @dcasota , Thank you for your prompt reply. I will have a look at your mentioned reference. |
edited 3/20/2024: weblink custom recipe offline upgrading Photon OS 3.0 to 5.0 and a few correction in the text below. Hi, Reflecting the custom recipe from above, it seems to be more difficult that I thought. QA actually wouldn't accept the custom recipe proposed, because:
|
Thanks @PTTASIA for your query and thanks @dcasota for your responses. @PTTASIA, is the query about - A) upgrading Photon OS 3.0 VM which is managed by a VC? For (B), the correct build of VC needs to consumed and the upgrade process of VC needs to be followed. For (A), the latest ISOs of 3.0 and 5.0 can be downloaded, copied over to the VM which does not have internet and then can be mounted locally within the VM to paths like /repo/3.0 and /repo/5.0 respectively, for example. Then local repo file need to be created in /etc/yum.repos.d - for example a file named local.repo can be created having the An example
|
Describe the bug
May I know the official procedure to upgrade the existing Photon OS 3.0 to 5.0 in vCenter. I was trying to use Photon OS 5.0 full ISO but unsuccess.
Reproduction steps
1.Download Photon OS 5.0 ISO
2.Mount the Photon OS 5.0 ISO
3.Run the photon-upgrade script
...
Expected behavior
Please help provide steps and commands to upgrade Photon OS 3.0 to latest version without internet.
Additional context
No response
The text was updated successfully, but these errors were encountered: