After turning on "Operations Manager > vCenter Config > Enables AVI Load Balancer", BOSH deployments fail post-VM creation with the following error in the CPI logs:
AVI LB Plugin: Error while reading or parsing config file '/var/vcap/jobs//avi/config/avi.yml'. Error: No such file or directory @ rb_sysopen - /var/vcap/jobs//avi/config/avi.yml
backtrace:
/var/vcap/data/packages/avi/258e17db7327b4a4efbdd32f0f1810f058471746/lib/avi.rb:71:in `rescue in create_avi_client'
/var/vcap/data/packages/avi/258e17db7327b4a4efbdd32f0f1810f058471746/lib/avi.rb:63:in `create_avi_client'
/var/vcap/data/packages/avi/258e17db7327b4a4efbdd32f0f1810f058471746/lib/avi.rb:14:in `create_vm_post'
This issue occurs in environments where the BOSH Director manages jobs via BPM (BOSH Process Manager). In affected versions of Operations Manager (up to and including 3.3.4), jobs managed by BPM fail to correctly read the configuration file from /var/vcap/jobs/avi/config/avi.yml, despite the file being present on the filesystem.
This issue is resolved in Operations Manager v3.3.5 and later releases.