This discussion is archived
2 Replies Latest reply: Oct 31, 2012 7:54 AM by user12273962 RSS

"Template import error: No VM configure file found" on brand new setup

971118 Newbie
Currently Being Moderated
Previously, I posted Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file which was about VM Console not launching. Since this is a new installation, and it seemed to be a unique problem, I scratched the whole installation and started again from scratch. Everything, including the NFS file server, was re-installed from scratch CD OS installation.

The process is pretty straightforward once you're used to it, and in less than three hours I was ready again to import my first template (a template I had imported before). But now, I submit the the request, and almost immediately the process aborts. (You can see in the information below, that 1 second passes between the Import request (06:32:36) and the failure.)

Thing is, it takes about three minutes, even locally on the web server, to get an index of that large file (tar tzf), and at completion, the vm config file is listed.

Am I misreading the error? My web searches for enlightenment found only one good hit on this error, and in that case it appeared to be an "out of space" issue. In this case, though, I'm importing a 5GB tarfile into a 390GB, otherwise-empty file system, so I don't think that is the issue. The failure in ovs-agent.log is below. What other information may I provide to get to the bottom of this? (Thanks for any guidance/help, of course!)

[2012-10-31 06:31:40 3341] DEBUG (monitor:36) Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:40 3341] INFO (notification:67) Notification sent: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:40 3338] INFO (notification:193) Sending notification: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
[2012-10-31 06:31:48 4914] DEBUG (service:77) discover_cluster: ()
[2012-10-31 06:31:48 4914] DEBUG (service:85) discover_cluster: call completed.
[2012-10-31 06:32:03 4926] DEBUG (service:77) storage_plugin_mount: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, {'status': '', 'uuid': 'fc3564eb-ce8b-489c-96bc-df6de2cc8a11', 'ss_uuid': '0004fb00000900003cf41964f3476788', 'size': '330279518208', 'free_sz': '330075340800', 'state': 2, 'access_grp_names': [], 'access_path': 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', 'name': 'nfs:/mnt/ps_big/repo/repo'}, '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55', None, True, [])
[2012-10-31 06:32:03 4926] INFO (storageplugin:108) storage_plugin_mount(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2012-10-31 06:32:03 4926] DEBUG (NFSPlugin:353) cmd = ['mount', '-t', 'nfs', 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55']
[2012-10-31 06:32:03 4926] DEBUG (service:85) storage_plugin_mount: call completed.
[2012-10-31 06:32:03 4931] DEBUG (service:77) add_repository: ('filesrv.ps.***.com:/mnt/ps_big/repo/repo', '0004fb0000030000659e0ce6f2ecfb55')
[2012-10-31 06:32:03 4931] DEBUG (service:85) add_repository: call completed.
[2012-10-31 06:32:36 4972] DEBUG (linux:847) async call function: import_template
[2012-10-31 06:32:36 4975] DEBUG (service:77) import_template: ('0004fb0000030000659e0ce6f2ecfb55', '0004fb0000140000fdc18a572a244015', ['http://aspire/pstop/OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz'])
[2012-10-31 06:32:37 4975] INFO (notification:74) async_proc_prog: notification {ASYNC_PROC} progress PID 4975 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 0L, 'CURRENT_BYTES': 613L, 'OPERATION': 'download'}
[2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} progress PID 4975
[2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} progress PID 4975
[2012-10-31 06:32:37 4975] ERROR (service:96) catch_error: Template import error: No VM configure file found.
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
return func(*args)
File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 1041, in import_template
raise RuntimeError('Template import error: %s' % err)
RuntimeError: Template import error: No VM configure file found.
[2012-10-31 06:32:37 4975] DEBUG (linux:879) ovs_async_proc: pid 4975 status 1 output Template import error: No VM configure file found.
[2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} exit PID 4975
[2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} exit PID 4975
[2012-10-31 06:32:39 4987] DEBUG (service:77) storage_plugin_listFileSystems: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, True)
[2012-10-31 06:32:39 4987] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
[2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
[2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:257) EXIT : listFileSysytems()
[2012-10-31 06:32:39 4987] DEBUG (service:85) storage_plugin_listFileSystems: call completed.
[2012-10-31 06:32:39 5005] DEBUG (service:77) discover_pool_filesystem: ()
[2012-10-31 06:32:39 5005] DEBUG (service:85) discover_pool_filesystem: call completed.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points