VMware Cloud Foundation 3.9 bringup fails if the option to join an existing SSO domain is enabled in the parameter file.
search cancel

VMware Cloud Foundation 3.9 bringup fails if the option to join an existing SSO domain is enabled in the parameter file.

book

Article ID: 324008

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

Symptoms:
  • Bringup fails on task "Set Universal Sync Role on NSX Manager" if the option to "Join Existing Single-Sign-On Domain" in Parameter excel file has been enabled.
 
  • In the /var/log/vmware/vcf/bringup/vcf-bringup-debug.log file  the following error is seen:
    2019-11-05T00:39:58.348+0000 [bringup-app,[6dec58371d3e339e,0a8e]] ERROR [c.v.e.s.o.c.ProcessingTaskSubscriber,pool-3-thread-7] method invocation target not found
    java.lang.reflect.InvocationTargetException: null
     at sun.reflect.GeneratedMethodAccessor2972.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.getParams(ProcessingTaskSubscriber.java:306)
     at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:343)
     at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:538)
     at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:122)
     at sun.reflect.GeneratedMethodAccessor1931.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:498)
     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
     at org.springframework.cloud.sleuth.instrument.async.TraceRunnable.run(TraceRunnable.java:67)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
     at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.NullPointerException: null
     at com.vmware.evo.sddc.bringup.adapters.toplugin.nsx.NsxRoleParamAdapter.toPlugin(NsxRoleParamAdapter.java:42)


Resolution

  1. SSH to the Cloud Builder VM and change to root user:
su -
  1. Backup the /opt/vmware/bringup/webapps/bringup-app/lib/bringup-adapters-3.9.0-RELEASE.jar file.
cp /opt/vmware/bringup/webapps/bringup-app/lib/bringup-adapters-3.9.0-RELEASE.jar /opt/vmware/bringup/webapps/bringup-app/lib/bringup-adapters-3.9.0-RELEASE.jar.bk
  1. Using a file transfer utility, like WinSCP, move the attached bringup-adapters-3.9.0-RELEASE.jar to /home/admin. On the SSH, move the file to /opt/vmware/bringup/webapps/bringup-app/lib/, overwriting the current file. 
mv /home/admin/ringup-adapters-3.9.0-RELEASE.jar /opt/vmware/bringup/webapps/bringup-app/lib/bringup-adapters-3.9.0-RELEASE.jar
  1. Run  the below command to set the permissions on the file:
chown vcf_bringup:vcf /opt/vmware/bringup/webapps/bringup-app/lib/bringup-adapters-3.9.0-RELEASE.jar
  1. Restart the vcf-bringup service:
systemctl restart vcf-bringup
  1. Wait for the bringup service to restart and then restart the failed task.


Attachments

bringup-adapters-3.9.0-RELEASE get_app