In an older post, I already found that permissions on SAP related RPMs are restricted, which is perfectly ok for me.
However, upgrading mirror 4.51.00 to 4.51.00.01 (we ran into encrypted KVM issues during PROD migration), if I run the command
http_proxy=http://proxy.mydomain.net:8080; https_proxy=https://proxy.mydomain.net:8080; export http_proxy; export https_proxy; /opt/apigee/apigee-service/bin/apigee-service apigee-mirror sync
I run into output which does not tell me if I have consistently ALL OTHER (non-SAP) files or not. Log see at the end.
→ How can I know that ONLY SAP files are missing, but everything else is present?
I would need an information that only these are missing and everything else is there. The repodata UUID doesn’t help me to see if this error message is SAP related. Furthermore I do not see any option how to skip SAP, using additional command line parameters.
Intentionally running a shell script into an error condition (due to different licensing) is an anti-pattern for automation/scripting.
As I want to create a .tar.gz out of the mirror folder, for a one-shot upload to JFrog, it MUST be complete. Otherwise the path in JFrog is blocked, having incomplete mirror contents in it, polluting the “nice”/correct paths with some dummy-postfixed paths like “4.51.00.01-copy1” or something like that. I cannot upload tar gzip twice to the same path in JFrog.
Programmatic comparison of Apigee software with already downloaded mirror is a mess, as it would require nested repodata.xml parsing and heavy scripting…
Output:
replacing apigeecredentialswithat in /cs/apiservice/data/apigee-mirror/apigee-mirror.repo
replacing apigeeprotocol in /cs/apiservice/data/apigee-mirror/apigee-mirror.repo
replacing apigeereleasever in /cs/apiservice/data/apigee-mirror/apigee-mirror.repo
replacing apigeerepobasepath in /cs/apiservice/data/apigee-mirror/apigee-mirror.repo
replacing apigeerepohost in /cs/apiservice/data/apigee-mirror/apigee-mirror.repo
replacing apigeestage in /cs/apiservice/data/apigee-mirror/apigee-mirror.repo
apigee-thirdparty-2 | 1.4 kB 00:00
apigee-thirdparty-6 | 1.4 kB 00:00
apigee-thirdparty-7 | 3.0 kB 00:00
apigee-thirdparty-8 | 1.4 kB 00:00
apigee-mirror-release | 1.4 kB 00:00
apigee-sap-drupal-devportal-4. FAILED
apigee-sap-drupal-devportal-4. FAILED
edge-sap-ui-4.51.00-0.0.20015. FAILED
apigee-sap-drupal-devportal-4.51.00-0.0.411.noarch: [Errno 256] No more mirrors to try.
edge-sap-ui-4.51.00-0.0.20015.noarch: [Errno 256] No more mirrors to try.
apigee-sap-drupal-devportal-4.51.00-0.0.410.noarch: [Errno 256] No more mirrors to try.
Download repodata/e71e9c0cdb7ebe3ec9d777972eb91ce8a01c66a7-other.xml.gz failed. Exiting.