Closed JeffGiroux closed 1 year ago
Attaching my edited template with all workarounds for easier testing. It also points to an AMI ID for v12.1.5 in us-east-1 Virginia. Make sure all testing is done in us-east-1 region. My template is using a Good 1Gb AMI ID for v12.1.5 = ami-0f6a9261c48d07860.
f5-existing-stack-payg-3nic-bigip_tag5.5_v12.1.5-fix.template.txt
This can either be fixed by one...updating the templates. Or two...t can be fixed by updating AS3 to not require RPM to be in a specific location. The RPM should be able to be pulled from any directory for install. I think /var should NOT be used especially considering the /var directory usually has disk space warnings.
Thanks for reporting this. This bug is now being tracked internally with ID ESECLDTPLT-2057.
Closing due to age. These legacy templates are now in maintenance mode and are being replaced by our next-generation templates available in the Cloud Templates 2.0 GitHub repo.
Do you already have an issue opened with F5 support?
No
Description
BIG-IP 12.1.5 will only install the F5 RPMs if they are located in /var/config/rest/downloads. The AWS template however downoads the RPM file and places in /config/cloud.
Then you receive this error during onboard:
I should note, the Azure template works fine on v12. Notice the ARM template json code where it copies the RPM to /var/config/rest/downloads before installing. You can see the line of code here - https://github.com/F5Networks/f5-azure-arm-templates/blob/df1c759377b5112b03236b1292ff6cff2fcb2bf7/supported/standalone/3nic/new-stack/payg/azuredeploy.json#L873
The AWS CFT template needs to do the same type of procedure where it copies RPM to /var/config/rest/downloads first. It appears that in BIG-IP v13, v14, and v15 in AWS will install RPM successfully when in /config/cloud, but v12 will not.
Template
All AWS templates that place RPM in /config/cloud. Specifically, I tested standalone, 3nic, payg. https://github.com/F5Networks/f5-aws-cloudformation/tree/master/supported/standalone/3nic/existing-stack/payg
Repro Environment
Template does not automatically work with v12. To make template work with v12, you will need to edit a bit.
original (works for v14, v15)
after (works for v12, v13)
The tweaks above allow the template to onboard v12. But...it does NOT allow AS3 to install due to the "RPM package file not in valid rpm base directory" error. Therefore ALSO do the following changes.
old
new
Severity Level
3