-
Notifications
You must be signed in to change notification settings - Fork 15
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
extensionUrl not working with remote URLs with BIG-IP 15.1.2 #5
Comments
Thanks for reporting this issue! I have created an internal ticket to investigate this: ESECLDTPLT-2398 |
Thanks for providing this screenshot. I have attached the pic and comment to the ticket. |
Hi @chen23, I'm unable to repro this error on v15.1.2. If using the default log level, have you tried bumping it up to debug or silly? https://github.com/F5Networks/f5-bigip-runtime-init#logging thanks |
|
Looks like it got past the first error, but then logging stopped dead when downloading AS3? Can you tell me:
thanks |
This was running in AWS with a single NIC. Script below (you can omit the S3 parts) #!/bin/bash
mkdir -p /config/cloud
cat << 'EOF' > /config/cloud/runtime-init-conf.yaml
---
runtime_parameters: []
pre_onboard_enabled:
- name: provision_rest
type: inline
commands:
- /usr/bin/setdb provision.extramb 500
- /usr/bin/setdb restjavad.useextramb true
- /usr/bin/setdb setup.run false
extension_packages:
install_operations:
- extensionType: as3
extensionVersion: 3.24.0
extensionUrl: https://github.com/F5Networks/f5-appsvcs-extension/releases/download/v3.24.0/f5-appsvcs-3.24.0-5.noarch.rpm
extension_services:
service_operations: []
post_onboard_enabled:
- name: custom-config
type: inline
commands:
- bash /config/custom-config.sh
EOF
cat << 'EOF' > /config/custom-config.sh
#!/bin/bash
sleep 60
source /usr/lib/bigstart/bigip-ready-functions
wait_bigip_ready
PYTHONPATH=/opt/aws/awscli-1.10.26/lib/python2.7/site-packages/ /opt/aws/awscli-1.10.26/bin/aws s3 cp s3://${s3_bucket}/admin.shadow /config/admin.shadow --region ${region}
tmsh modify /auth user admin encrypted-password $(cat /config/admin.shadow)
tmsh modify auth user admin shell bash
tmsh save sys config
rm -f /config/admin.shadow
PYTHONPATH=/opt/aws/awscli-1.10.26/lib/python2.7/site-packages/ /opt/aws/awscli-1.10.26/bin/aws s3 rm s3://${s3_bucket}/admin.shadow --region ${region}
EOF
source /usr/lib/bigstart/bigip-ready-functions
wait_bigip_ready
for i in {1..30}; do
curl -fv --retry 1 --connect-timeout 5 -L "https://cdn.f5.com/product/cloudsolutions/f5-bigip-runtime-init/v1.1.0/dist/f5-bigip-runtime-init-1.1.0-1.gz.run" -o "/var/config/rest/downloads/f5-bigip-runtime-init-1.1.0-1.gz.run" && break || sleep 10
done
bash /var/config/rest/downloads/f5-bigip-runtime-init-1.1.0-1.gz.run -- '--cloud aws'
F5_BIGIP_RUNTIME_INIT_LOG_LEVEL=silly f5-bigip-runtime-init --config-file /config/cloud/runtime-init-conf.yaml |
When you specify an external URL for extensionUrl the process hangs on installing the extension. This occurs on 15.1.2, but does not occur on 15.1.0.4
Example that fails
example that works
The text was updated successfully, but these errors were encountered: