AS3 and DO: Keeping Pipelines Reproducible After Distribution Changes

If your pipeline downloads the RPM and schema directly from an external URL on every run, consider what happens when that source moves, stops receiving updates, or requires a different authentication process.

In the discussion “Changes to DO and AS3 GitHub — no longer monitored,” community members reported difficulties with downloads, schemas, and release discovery. F5’s response explained the consolidation of distribution through <a href://my.f5.com>MyF5</a> and the routing of support requests through the appropriate channels.

That change alone should not be interpreted as an announcement that AS3 or Declarative Onboarding is being discontinued. However, it does warrant reviewing pipelines built around the previous distribution model.

The approach below separates software acquisition, validation, and deployment. The goal is to reproduce a change and investigate failures without having to determine, during deployment, which package or schema was available.

  1. Separate extension upgrades from configuration deployments

Declarative Onboarding and AS3 have different responsibilities.

DO provides declarative configuration for BIG-IP infrastructure settings, depending on the capabilities supported by the version. AS3 manages declarative application service configurations.

I would maintain three separate workflows:

  • Acquiring, testing, and installing extensions.
  • Onboarding and infrastructure changes through DO.
  • Deploying application services through AS3.

Changing a pool should not require upgrading AS3. Likewise, an application pipeline should not automatically resubmit an onboarding declaration.

This separation helps identify whether a regression originated in the extension, the infrastructure configuration, or the application declaration.

  1. Promote an identifiable set of artifacts

For each change, record:

Component Required information
BIG-IP Version, build, hotfix, and provisioned modules
Extension RPM name, version, and release
Integrity SHA-256 of the approved artifact
Schema Version, source, and dependencies
Declaration Commit and identification of the rendered configuration
Execution environment Runner, tool, and library versions
Target Device and authorized scope of the change

Obtain the package through the official channel available for that version, then publish an approved copy to an internal repository with access controls and immutable versioning.

The production pipeline should consume that tested artifact. It should not automatically select a new version because it appears at an address named latest.

An internally calculated checksum detects subsequent changes to the file. It does not independently establish authenticity. Record the artifact’s provenance and verify vendor-provided signatures or hashes when available.

  1. Treat the schema as a deployment dependency

In AS3, $schema and schemaVersion serve different purposes.

$schema can guide editor validation and autocomplete. schemaVersion, within the ADC declaration, identifies the schema version used by the declaration. Changing the $schema URL does not upgrade the extension installed on BIG-IP.

Keep an identifiable copy of the schema corresponding to the tested combination. If it contains external $ref references, preserve the required dependencies as well.

Explicitly configure the CI validator to use that schema set. The presence of a $schema field alone does not guarantee that the validation tool will load it.

Validation needs to answer three separate questions:

  • Is the document valid JSON?
  • Does the declaration comply with the selected schema?
  • Can the installed extension apply that declaration to the target environment?

Passing schema validation does not establish module availability, the existence of referenced objects, or application functionality.

  1. Check the installed extension before submitting a declaration

Use the information endpoints:

GET /mgmt/shared/appsvcs/info
GET /mgmt/shared/declarative-onboarding/info

Compare the returned information against the approved combination for the change.

The following example queries AS3 from an administrative workstation with curl and jq:

curl --silent --show-error --fail \
  --cacert /etc/pki/ca-trust/source/anchors/bigip-management-ca.pem \
  --user automation \
  https://bigip-mgmt.example.com/mgmt/shared/appsvcs/info |
  jq .

In this interactive example, curl prompts for the password. In CI, use the runner’s secret-management mechanism and an authentication method supported by the environment. Do not store credentials in hardcoded arguments, version-controlled files, or logs.

Validate the management certificate. Permanently using -k removes an important check of the target’s identity.

  1. Distinguish submission, processing, and completion

The POST response should not be the only success criterion.

For AS3, an asynchronous submission can use:

POST /mgmt/shared/appsvcs/declare?async=true

The returned identifier allows the pipeline to track processing:

GET /mgmt/shared/appsvcs/task/<id>

The pipeline must interpret the task state and the result for each tenant involved. A successful HTTP response to a status query does not necessarily mean the configuration was applied successfully.

For DO, use the endpoints and fields documented for the installed version. Do not reuse the AS3 response parser: their response structures and status semantics are not interchangeable.

Define an overall timeout and polling interval. If the runner loses connectivity after the POST, investigate the task and target state before resubmitting. A transport failure does not prove that the change was rejected.

  1. Control scope and concurrency

Establish ownership for each managed configuration scope.

In AS3, a tenant is a logical grouping within the declaration; it does not necessarily represent a virtualized F5OS tenant.

Prevent two pipelines from modifying the same AS3 tenant concurrently. Review the rendered declaration before submission, including object removals and references to existing resources.

Manual changes to automation-managed objects require a reconciliation process. Otherwise, the next deployment may reapply a configuration that differs from what the operator expects.

In an HA environment, document the submission target and expected ConfigSync behavior. Do not submit the same change to both members by default without validating the applicable procedure.

  1. Validate the service after the task completes

Task completion reports the outcome of the configuration operation. Functional validation must check the deployed service.

For an HTTPS application, test at least:

  • Virtual server address and port.
  • Pool member status.
  • Certificate, trust chain, and SNI.
  • HTTP response and expected content.
  • Persistence or authentication, where applicable.
  • Error counters and logs associated with the change.

Record the commit, task identifier, timestamps, and test results. Protect evidence containing sensitive information.

  1. Define recovery before deployment

Retain the previous approved declaration and the artifacts needed to execute it. Test its reapplication as a new change, with its own validation steps.

Reapplying a declaration does not automatically recover sessions, application data, or every effect of an extension upgrade.

For DO, recovery planning must account for network and management changes that could interrupt remote access. Provide console access and backups appropriate to the change’s scope.

RPM upgrades and declaration changes also require different recovery plans. Do not assume that uninstalling an extension or installing an earlier version restores the service configuration.

The workflow I would use is:

Official acquisition → verification → internal repository → testing → approval → deployment → task monitoring → functional testing.

For those operating AS3 and DO: can you repeat a deployment using the same artifacts, schemas, and tools as the previous run?

References

2 Likes

Overall I did find this post has some good information - echoing good practices and previous comments.

On the lines of validation… You may want to follow your own advice - review links generated by ChatGPT prior to posting. Same goes for any AI , LLM, Chatbot or Agent interactions - actually track and review what it is or isn’t including. It’s tough - but when you don’t things slip in that you may not want. I appreciate people taking the time to share information - I do not appreciate AI slop - If I wanted that I could just chat with an LLM directly.

Anyway - regarding ‘Changes to DO and AS3 GitHub — no longer monitored’ - part of the complaints are not around how best to build secure pipelines. Complaints/difficulties (at least for me) were around practical on-the-ground ease of use and ease of feedback.

By locking access away behind a sign-in-wall it is one more barrier to entry. No sign in wall is required to provide cryptographic signatures and identity validation, that was already possible with sha256 hashes, signature files, and hosting provider TLS. Another problem with locking away the feedback is issues can not a readily be tracked or feedback provided, at least by the casual admin, the admin that has far to much to keep them busy then to stay deeply engaged with the F5 specific support chain.

I am glad to see downloads and schema files available with the downloads now in their new home. Releases seem to be very slow - I see several references in bug reports to new versions that still are not yet available for download. I am still sad to see the loss of easy access to open tickets/cases we had on GitHub - but can understand with pace of ticket/case/pull-request low-effort and high volume this is a problem projects/groups have had to solve in their own way.

Thanks for taking the time to read the article and explain your concerns.

I use AI to translate my content because my English isn’t yet strong enough to translate technical articles on my own. I don’t see anything wrong with using it for that purpose, but you’re right that I’m responsible for checking the final text and the links before publishing. If you point out the incorrect reference, I’ll review and correct it.

It’s disappointing to feel that using AI for translation disqualifies the article in your eyes. There’s a person behind this work, sharing knowledge and trying to contribute in a second language. No, you’re not talking to an LLM.

On the substance of your comment, I understand your distinction. My article focused on keeping pipelines reproducible, while your concern is the additional friction in everyday administration: accessing downloads, reporting problems, and following issues without having to go through a support process.

Those are valid concerns, and my recommendations don’t resolve them. I wasn’t suggesting that a login requirement is necessary to verify artifact integrity or authenticity, or that secure pipeline practices make up for losing public issue tracking.

The ability to find an existing issue, see whether others are affected, and follow progress without opening another case is valuable. I appreciate you bringing that perspective into the discussion.

3 Likes

Thank you for your reply.

I certainly don’t mean to disparage you for using AI translation. I also use it for translation and am aware that it can distort language in the process. I is possible that some of the ‘frustration’ I found reading your post were amplified by this, that was not my intent but I can recognize that happens and want you to know I do not fault you for that use.

I often find use of AI writing in general does tend to make it more difficult for others to understand when they are processing it (reading and trying to understand your intentions). This is not just a problem for you, or a problem for me, but for all of us moving forward. My hope is the more we all acknowledge this, hopefully we (all humans) can determine how to handle this.

In this case: I actually read your post twice as it first came in my feed initially outside my native language, then again likely after you translated it, so I did assume translation was likely one of your use cases for tooling. What informed me of your use of AI tooling probably outside of translation was not the just language (although I had suspicions). It was the link, even before translation the links are still the same.

These specific links are fine as a whole, the hostname, path are all good. But you included unnecessary parameters, which in this case key in use of AI tooling. If you look closely, each of your links (in both English and non-English) have the same ending:

?utm_source=chatgpt.com

# One of the the original full links:
https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/refguide/as3-api.html?utm_source=chatgpt.com

Small things like this can leak through, accidents happen but if this was a copy/paste may want to check. If you allow agents to build or post, this type of thing slips through or gets injected all the time.

2 Likes

Thank you both. @MJ_1024 and @WiliGasparetto

I cannot comment on the technical stuff, I’m not qualified for that, but I am deeply invested in how we, at DevCentral, show up for you. I share your concerns about generative AI and thank you for working through this issue in our comments together, and with respect. Much appreciated.

What I’m thinking about

Right upfront I’ll state that we support assistive AI (like grammar and translations) but we do not support AI-driven content farms. The line between those extremes is where it gets hard. While it may be fuzzy I promise we are working to hold a protective layer in that space so that our members may trust, when you are here, that you are speaking to humans who are acting in good faith. If (or when?) you are engaged with some sort of AI tool on DevCentral - we will make that clear.

DevCentral’s core value centers around the authenticity of the human experience while working through problems collaboratively.

Our community IS only a community when it is authentically and obviously human - with the expertise and judgement provided by you.

While authors naturally remain responsible for what they publish, I also want to emphasize that this space represents a continually moving stream of discussion. Sorta like a face-to-face conversation, we encourage community contributors to disclose the extent of their use of assistive AI. We (all) want this mostly so readers can make their own decisions but it also helps us, in the backend, to target and remove bad-faith actors whose motives remain intentionally obscured behind generative AI.

Heck, to the extent that generative AI is used/useful for something you post, like code, please share that fact as well. Code generated by frontier AI is increasingly common and may still have value but just say so and we are better off.

Our guidelines continue to evolve but check them out here: Guidelines - DevCentral

I welcome your comments, feedback, and ideas on this (or anything really) both publicly and privately. :f5-jimmypackets:

1 Like

You’re right now that I look at it, he took the links I searched for and added his own extension to the end of them. I think that’s terrible. I completely agree with you; if I were reading this and it weren’t my own text, I would also assume it had been done by AI. All I asked him to do was translate and organize the content I’m not sure if he went through and validated the links, only to add his own extension to them. This is the first time I’ve seen something like this happen, but thanks for letting me know; I’ll look into what went on here.

2 Likes