Symptoms

Upon attempt to add template in Cloud Infrastructure > Virtualization Nodes > OS Templates, it gets scheduled, but an event appears in Tasks > Cloud Infrastructure:

Failed to query template <Templatename>

Cause

Most likely dispatcher service is not installed or not running at the node, PACI-vm2vf.log reflects that :

2014-08-18 13:15:42,153 (7be147c7-2a91-4f77-8b2b-0efb0b887e6b) ERROR NativeVm2VfCode [RequestProcessor-5] - [446:359006] ERR PrlSrv_LoginEx:(<IP>, 0x12459): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER @[common/common_lib.c][407][login_fill_session_uuid][18684])
2014-08-18 13:15:42,153 (7be147c7-2a91-4f77-8b2b-0efb0b887e6b) ERROR NativeVm2VfCode [RequestProcessor-5] - [446:359006] ERR login_fill_session_uuid(<IP>): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER @[common/common_lib.c][580][establish_connection_ex][18684])
2014-08-18 13:15:42,153 (7be147c7-2a91-4f77-8b2b-0efb0b887e6b) ERROR NativeVm2VfCode [RequestProcessor-5] - [446:359006] ERR establish_connection(<IP>): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER @[common/generic_sdk_cb.c][649][__init_generic_params][18684])
2014-08-18 13:15:42,153 (dccc2487-0b53-4bc9-b10f-7c5578c867e0) ERROR NativeVm2VfCode [RequestProcessor-2] - [447:359046] ERR cached connection(<IP>, 0): failure PRL_ERR_CANT_CONNECT_TO_DISPATCHER @[common/common_lib.c][547][establish_connection_ex][18681])

Resolution

Verify that dispatcher service is installed and running on the virtualization node.

Internal content