The following issues are observed on 3.1.x line of Tanzu Operations Manager -
1. DHCP Client fails during the cloud-init. Once Cloud-init completes, the client runs successfully. After the cloud-init completes and the dh-client is able to retrieve/assign the correct IP address, those dhclient service crashes. The VM and ops-manager apps are functional, but service has to be restarted.
2. During the cloud-init phase, the "ifup" functions are called to bring up the inet and loopback interfaces. This cgroups script exits with errors:
RULE_INSERT failed (Invalid Argument)
and
kernel: xt_cgroup: invalid path, errno=-2
This error results in the networking.service being marked as failed.
These DHCP and ifup errors are a result of a bug in the Jammy stemcell that Tanzu Operations Manager is built on.
The solution to above DHCP and ifup errors is to upgrade to Tanzu Operations Manager v3.1.12 or higher which is built on a new Stemcell v1.1234*. You can visit the Broadcom product page for Tanzu Operations Manager in order to download the latest patched version.