Despite recommendations in VCF Operations, the Optimize tab for a deployment shows ALL OPTIMIZED in VCF Automation
search cancel

Despite recommendations in VCF Operations, the Optimize tab for a deployment shows ALL OPTIMIZED in VCF Automation

book

Article ID: 457387

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

  • In VCF Automation (VCFA), users are unable to see the correct information under the Optimize tab. It displays "ALL OPTIMIZED" even though there are active recommendations in VCF Operations (Ops).
  • The following error is observed in the hcmp-service logs:
    • ERROR hcmp-service [host='hcmp-service-app-587f46d585-2mnpm' thread='Thread-141' user='' org='' trace=''  parent='' span=''] c.v.a.h.p.v.r.ResourcesDomainImpl.lambda$getVropsResourceIdentifier$45:533 -  [531ad18f-b51e-4c8d-abe7-f6bb138bd80d]: Unable to fetch resource's identifier from Aria Operations endpoint javax.net.ssl.SSLException: org.bouncycastle.tls.TlsFatalAlert:  certificate_unknown(46)
        at org.bouncycastle.jsse.provider.ProvSSLEngine.unwrap(ProvSSLEngine.java:511) ~[bctls-fips-2.1.23.jar:2.1.23]
        at java.base/javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:679)

  • The Ops certificate was updated but the there is no way to update or sync that certificate in VCFA GUI (such an option does not exist) and hence you see the above certificate unknown error.

Environment

VMware Cloud Foundation Automation 9.1.0 or earlier

Cause

The current VCF Operations SSL certificate is not recognized by VCF Automation. The API for connecting to Operations verifies the certificate when VCFA fetches details from Ops. Since VCFA will have the old certificate from initial integration this fails to verify, leading to the certificate_unknown exception. To invalidate the old cache we need to restart the hcmp service.

Resolution

A fix to allow certificate update in the VCFA GUI is scheduled for an upcoming release.

 

Workaround

  1. Delete and re-add the Aria Operations integration in VCF Automation.
  2. Restart the hcmp-service pods by executing the following command:
    • kubectl rollout restart deployment hcmp-service-app -n prelude