VMware Cloud Community
liuxiaoxi2237
Contributor
Contributor

VCO&VCD integration issue: Caches cannot be added by name when default cache config is not specified in the config

Hi experts,

I am doing some test to integrate VCO 5.5.1  with VCD 5.5.

VCO plugin version: vCloud Director 5.5.0.1546869

when add a VCD to VCO in " VCO client-> vCD->plugin config->Add connection",

configuration as below: 

session: share session,

Organization:system,

samel: no samel

user: administrator

I get error " login failed with user name administrator".

check log, find that:

[pool-16-thread-3] ERROR {user@abc.com:Add an organization:338080808080808080808080808080809580808001266312685778e677578588f:ff80808146660dff0146674c421e0107}

[ModelHelper] Error initializing host https://vcd server:443 (administrator@System). Host discarded!

com.vmware.vmo.plugin.vcloud.VCloudPluginException: Caches cannot be added by name when default cache config is not specified in the config. Please add a default cache config in the configuration.

        at com.vmware.vmo.plugin.vcloud.config.xml.VCloudHost.login(VCloudHost.java:346)

        at com.vmware.vmo.plugin.vcloud.model.ModelHelper$CloudHostLoginTask.call(ModelHelper.java:111)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

Caused by: net.sf.ehcache.CacheException: Caches cannot be added by name when default cache config is not specified in the config. Please add a default cache config in the configuration.

        at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1175)

        at com.vmware.vmo.plugin.vcloud.VCloudCacheManager.getCache(VCloudCacheManager.java:67)

        at com.vmware.vmo.plugin.vcloud.VCloudAdaptor.login(VCloudAdaptor.java:324)

        at com.vmware.vmo.plugin.vcloud.config.xml.VCloudHost.login(VCloudHost.java:333)

        ... 5 more

Any suggestions.

thanks.

david

0 Kudos
2 Replies
igaydajiev
VMware Employee
VMware Employee

There is technical preview version of the plugin available here :https://communities.vmware.com/docs/DOC-26474

You can try with it.

0 Kudos
admin
Immortal
Immortal

David,

Could you give us some more information...

1. Is this happening if the vCD Plugin "Add connection" workflow is the first workflow executed after vCO has been started?

(Looking from that perspective could you restart the vCO from the vCO Configurator http page and try to reproduce the problem again)

2. Do you have a vCAC plugin coexisting with the vCD plugin in the same vCO instance?

Regards,

Ivan

0 Kudos