VMware Cloud Community
TrotmanRalphCBS
Enthusiast
Enthusiast

HTTP-REST not configured after vro restart

wondering if anyone else using the vro 7 with built-in HTTP-REST plugin..   After restart the vro service all the server and operations disappear... strange

0-8281-exec-3] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:01:11.362+0000 [http-nio-0.0.0.0-8281-exec-6] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:01:23.860+0000 [http-nio-0.0.0.0-8281-exec-9] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:01:24.308+0000 [http-nio-0.0.0.0-8281-exec-8] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:03:20.439+0000 [http-nio-0.0.0.0-8281-exec-2] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:03:20.893+0000 [http-nio-0.0.0.0-8281-exec-1] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:04:12.026+0000 [WorkflowExecutorPool-Thread-30] WARN {svcpvco@cbs.ad.cbs.net:test-action:wfid=4abfcacf-c2e0-4092-b5dd-5e8182ced557[4abfcacf-c2e0-4092-b5dd-5e8182ced557]:token=8af6ece75217f9890152181c455a00b5} [SDKDatasource] Plug-in :[REST] is not implementing interface ch.dunes.vso.sdk.api.ITokenPluginAdaptor interface, and the system is configured to use Authentication with Tokens. An internal user will be used to create plug-in factory!!!
2016-01-06 18:04:24.061+0000 [http-nio-0.0.0.0-8281-exec-10] WARN {} [SDKDatasource] Plug-in :[REST] is not implementing interface ch.dunes.vso.sdk.api.ITokenPluginAdaptor interface, and the system is configured to use Authentication with Tokens. An internal user will be used to create plug-in factory!!!
2016-01-06 18:07:30.514+0000 [http-nio-0.0.0.0-8281-exec-1] ERROR {} [BaseController] Error invoking REST
2016-01-06 18:07:30.958+0000 [http-nio-0.0.0.0-8281-exec-9] ERROR {} [BaseController] Error invoking REST
11 Replies
bdamian
Expert
Expert

Hi Ralph,

It happened to me once and the problem was inconsistent resources in vRO.

To solve my problem I did the following steps:

  • Delete all HTTP-Rest hosts
  • In the "Resources" tab, go to "Library -> REST -> Configuration" and delete all config files remaining.
  • If you are using vRO 7, go to "Orchestrator Control Center" and restart the vRO service
  • Configure HTTP hosts again, create some REST Operations, restart the service again and check if then remain there.

Hope this helps

D.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
TrotmanRalphCBS
Enthusiast
Enthusiast

Unfortunately it doesnt help.. all the rest actions and rest host disappear and I get "error in Plugin in"  in the inventrory vie

 

 

2016-01-22 20:11:18.675+0000 [vcoInitializerScheduler-1] INFO {} [Jaxb2Marshaller] Creating JAXBContext by scanning packages [com.vmware.vcac.**.rest.stubs,com.vmware.vcac.platform.rest.data,com.vmware.vcac.platform.content]
2016-01-22 20:11:23.504+0000 [Loading : o11nplugin-rest.dar] INFO {} [PluginConfigurationLoader] Loading plug-in file : /var/lib/vco/app-server/plugins/o11nplugin-rest.dar
2016-01-22 20:11:23.677+0000 [Loading : o11nplugin-rest.dar] INFO {} [PluginConfigurationLoader] Plug-in is a file, exploded version set to : /var/lib/vco/app-server/temp/dars/o11nplugin-rest.dar
2016-01-22 20:11:36.670+0000 [vcoInitializerScheduler-1] INFO {} [CglibAopProxy] Unable to proxy method [void java.util.concurrent.ThreadPoolExecutor.ensurePrestart()] because it is package-visible across different ClassLoaders: All calls to this method via a proxy will NOT be routed to the target instance.
2016-01-22 20:11:36.735+0000 [vcoInitializerScheduler-1] INFO {} [PluginJaxb2Marshaller] Creating JAXBContext by scanning packages [com.vmware.vcac.**.rest.stubs,com.vmware.vcac.platform.rest.data,com.vmware.vcac.platform.content]
2016-01-22 20:11:39.041+0000 [vcoInitializerScheduler-1] INFO {} [ModulesFactory] Deploying plug-in : '/var/lib/vco/app-server/plugins/o11nplugin-rest.dar'
2016-01-22 20:11:39.283+0000 [vcoInitializerScheduler-1] INFO {} [SDKDatasource] setInvokerMode() -> Datasource 'main-datasource' in module 'REST' set to 'direct'
2016-01-22 20:11:44.654+0000 [vcoInitializerScheduler-1] INFO {} [RegistryService] endPoint:[endPointType: com.vmware.vco.o11n.api, endPointUrl: https://TAISTVRO01:8281/vco/api, endPointProtocol: REST]
2016-01-22 20:11:44.654+0000 [vcoInitializerScheduler-1] INFO {} [RegistryService] endPoint:[endPointType: com.vmware.csp.core.cafe.service.callback.listener, endPointUrl: https://TAISTVRO01:8281/vco/api/updates, endPointProtocol: REST]
2016-01-22 20:11:44.654+0000 [vcoInitializerScheduler-1] INFO {} [RegistryService] endPoint:[endPointType: com.vmware.csp.core.cafe.service.registry.status, endPointUrl: https://TAISTVRO01:8281/vco/api/status, endPointProtocol: REST]

Log view show this......

0 Kudos
bdamian
Expert
Expert

Of course all hosts and operations disappear. But if you create a new Rest host and a new operation, they also disapeares when you restart vRO?

What is the version of your vRO and HTTP-Rest plugin?

D.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
TrotmanRalphCBS
Enthusiast
Enthusiast

Here's a screenshot from inventory.. I couldnt cut and paste...   Anyone else with this issue???

0 Kudos
bdamian
Expert
Expert

Please, in vRO, select the "Design View", then go to "Resources -> Library -> REST -> Configuration" and show me what is there.

I'm attaching a screenshot of my vRO

httprest_res.png

D.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
mvaleva
VMware Employee
VMware Employee

In addition to bdamian's suggestion, you can save REST/Configuration elements (for each of them, right-click + safe to file) and send them to me to explore the problem.

0 Kudos
TrotmanRalphCBS
Enthusiast
Enthusiast

where can I send or upload the files?
0 Kudos
TrotmanRalphCBS
Enthusiast
Enthusiast

Wondering if anyone else has this issue.  Anytime i restart the service or reboot the appliance  the HTTP/REST plugin fails and I need re-created the endpoint and actions.   Is there a way to only reinstall this plugin?
0 Kudos
thakala
Hot Shot
Hot Shot

I have been hit by this also, but I have been able to recover from this by just restarting VRO service. I filed a SR for this last week, but it seems that fixed REST plugin was just released.

Tomi http://v-reality.info
0 Kudos
A380_i686
Contributor
Contributor

I have  the same problem, (using the vRO that ships builtin with vRA appliance 7.0.1 )

Is there any solution this is not ideal.

0 Kudos