This discussion is archived
1 Reply Latest reply: Jan 31, 2013 7:36 PM by tauseefcafe RSS

Unable to Import Template

tauseefcafe Newbie
Currently Being Moderated
Hi,

I am using Oracle VM 3.1.1. I have successfully installed VM Server and Manager. Able to setup HTTP server and its accebble from OVM Manager.

I am trying to import Oracle EBS 12.1.3 template files. The files comes in 3 .zip files. I unzipped them and concatinated to get the .img files. Now I have four files under the directory -
Readme.txt
System.img
ebs1211apps.img
vm.cfg

When I try to import all thee by giving files path like -
http://ovmwebserver.loc/Apps-VM/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/vm.cfg
http://ovmwebserver.loc/Apps-VM/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/System.img
http://ovmwebserver.loc/Apps-VM/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/ebs1211apps.img

Its giving error -
Actioner
--------
Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb0000140000c66ebe841617021e'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1359609912409" Failed due to failure "(01/31/2013 10:55:17:106 AM)
Async operation failed on server: ovserver.invincibleapps.com.
Object: cfgFile_0004fb0000140000c66ebe841617021e,
PID: 16004,
Server error message: Template import error: invalid syntax (vm.cfg, line 1)
" on server "a9:77:36:5c:23:68:44:c3:8d:b9:e2:27:47:71:b6:c2" associated with object "cfgFile_0004fb0000140000c66ebe841617021e"

If I just try to import files without giving vm.cf file like
http://ovmwebserver.loc/Apps-VM/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/System.img
http://ovmwebserver.loc/Apps-VM/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/ebs1211apps.img

Its giving me error -
Actioner
--------
Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb00001400000dbd3851fed79b35'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1359609067451" Failed due to failure "(01/31/2013 10:41:10:564 AM)
Async operation failed on server: ovserver.invincibleapps.com.
Object: cfgFile_0004fb00001400000dbd3851fed79b35,
PID: 14551,
Server error message: Template import error: No VM configure file found.
" on server "a9:77:36:5c:23:68:44:c3:8d:b9:e2:27:47:71:b6:c2" associated with object "cfgFile_0004fb00001400000dbd3851fed79b35"

I am not sure what is going wrong here. Is it something related to vm.cfg files config?

I ran df -h its giving me proper details. I can see the nfs mounted storage.

[root@ovserver log]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 34G 744M 32G 3% /
/dev/sdb1 400G 1.5G 399G 1% /seed_pool
/dev/sdc1 400G 1.5G 399G 1% /ovm_repos
/dev/sda1 99M 28M 67M 29% /boot
tmpfs 216M 0 216M 0% /dev/shm
none 216M 40K 216M 1% /var/lib/xenstored
192.168.56.150:/seed_pool
400G 1.5G 399G 1% /nfsmnt/95ffaf7c-7500-4bca-af8b-f3366d021dd4
192.168.56.150:/ovm_repos
400G 1.5G 399G 1% /OVS/Repositories/0004fb000003000032ca1bcb6f353852

Any help is much appreciated.

Tauseef
  • 1. Re: Unable to Import Template
    tauseefcafe Newbie
    Currently Being Moderated
    Hi,

    I have also tried only by concatenating tgz.0, tgz1 and tgz2 to xxxx.tgz file.

    But that also fails with error -
    Actioner
    --------
    Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb00001400000ecbb94ee4a12bf6'
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1359655524031" Failed due to failure "(01/31/2013 11:35:26:955 PM)
    Async operation failed on server: ovserver.invincibleapps.com.
    Object: cfgFile_0004fb00001400000ecbb94ee4a12bf6,
    PID: 6742,
    Server error message: Template import error: No VM configure file found.
    " on server "a9:77:36:5c:23:68:44:c3:8d:b9:e2:27:47:71:b6:c2" associated with object "cfgFile_0004fb00001400000ecbb94ee4a12bf6"

    I am not sure if I need to modify my vm.cfg file.

    Here is the content of the file.
    bootloader = '/usr/bin/pygrub'
    disk = ['file:/OVS/seed_pool/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/System.img,xvda,w',
    'file:/OVS/seed_pool/OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM/ebs1211apps.img,xvdb,w',
    ]
    memory = '1048'
    name = 'OVM_OL5U6_X86_64_EBIZ12.1.3_APPS_VIS_PVM'
    on_crash = 'restart'
    on_reboot = 'restart'
    uuid = '4f8d3443-44db-4d85-aec2-a903e42641c5'
    vcpus = 1
    vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
    vif = ['type=netfront']

    Please note that the file path mentioned above... Files are not there.. I am trying to import the files from HTTP server... Do need to put the actual file path where it exist?

    Regards
    Tauseef

Legend

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