This discussion is archived
4 Replies Latest reply: Dec 7, 2012 1:38 AM by 724791 RSS

OVM 3.1.1 Import Template from ftp site

724791 Newbie
Currently Being Moderated
Hi,

I am having problem importing the template using FTP.
This is my URL - ftp://username:password@host_IP/home/username/OVM_Templates/grc864_3347.tar.gz

I am able to access the URL from IE, but when I give the same URL in OVM Manager, I am getting the following error message

Could you please let me know what the issue is?


Error Message:
--------------------

Job Construction Phase
----------------------
begin()
Appended operation 'Import Virtual Machine Template' to object 'cfgFile_0004fb0000140000b83fbaa824732a04'.
Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb0000140000b83fbaa824732a04'.
commit()
Completed Step: COMMIT

Objects and Operations
----------------------
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000b83fbaa824732a04
Operation: Import Virtual Machine Template
Operation: Virtual Machine Cfg File Configure
Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000b83fbaa824732a04 (grc864_3347.tar.gz)

Job Running Phase at 14:07 on Wed, Dec 5, 2012
----------------------------------------------
Job Participants: [44:45:4c:4c:47:00:10:54:80:5a:c2:c0:4f:4b:48:31 (servername)]


Actioner
--------
Starting operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb0000140000b83fbaa824732a04'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1354745257498" Failed due to failure "(12/05/2012 02:07:38:934 PM)
Async operation failed on server: servername.
Object: cfgFile_0004fb0000140000b83fbaa824732a04,
PID: 8473,
Server error message: Template import error: [Errno 14] curl#9 - "Server denied you to change to the given directory"
" on server "44:45:4c:4c:47:00:10:54:80:5a:c2:c0:4f:4b:48:31" associated with object "cfgFile_0004fb0000140000b83fbaa824732a04"
Wed Dec 05 14:07:39 PST 2012
at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:624)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:602)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineTemplateImport.action(VirtualMachineTemplateImport.java:68)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineCfgFileProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)


FailedOperationCleanup
----------
Starting failed operation 'Import Virtual Machine Template' cleanup on object 'cfgFile_0004fb0000140000b83fbaa824732a04'
Complete rollback operation 'Import Virtual Machine Template' completed with direction=cfgFile_0004fb0000140000b83fbaa824732a04

Rollbacker
----------
Executing rollback operation 'Import Virtual Machine Template' on object 'cfgFile_0004fb0000140000b83fbaa824732a04'
Complete rollback operation 'Import Virtual Machine Template' completed with direction=DONE

Objects To Be Rolled Back
-------------------------
Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb0000140000b83fbaa824732a04
Object (CREATED): [VirtualMachineTemplate] 0004fb0000140000b83fbaa824732a04 (grc864_3347.tar.gz)


Write Methods Invoked
-------------------
Class=InternalJobDbImpl vessel_id=3561 method=addTransactionIdentifier accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setName accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setFoundryContext accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=onPersistableCreate accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setLifecycleState accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setRollbackLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setName accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setFoundryContext accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=onPersistableCreate accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setRollbackLifecycleState accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setJobAsset accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setVirtualMachineCfgFile accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setVirtualMachine accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=importVirtualMachineTemplate accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setSimpleName accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setAsset accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=configure accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setOrigin accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=setDescription accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=setAsset accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=configure accessLevel=6
Class=InternalJobDbImpl vessel_id=3561 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=3561 method=setAssociatedHandles accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=3561 method=setFailedOperation accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=nextJobOperation accessLevel=6
Class=VirtualMachineTemplateDbImpl vessel_id=3579 method=nextJobOperation accessLevel=6
Class=VirtualMachineCfgFileDbImpl vessel_id=3585 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
Job Failed Commit due to OVMAPI_5001E Job "1354745257498" Failed due to failure "(12/05/2012 02:07:38:934 PM)
Async operation failed on server: servername
Object: cfgFile_0004fb0000140000b83fbaa824732a04,
PID: 8473,
Server error message: Template import error: [Errno 14] curl#9 - "Server denied you to change to the given directory"
" on server "44:45:4c:4c:47:00:10:54:80:5a:c2:c0:4f:4b:48:31" associated with object "cfgFile_0004fb0000140000b83fbaa824732a04"
Wed Dec 05 14:07:39 PST 2012
com.oracle.ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job "1354745257498" Failed due to failure "(12/05/2012 02:07:38:934 PM)
Async operation failed on server: servername
Object: cfgFile_0004fb0000140000b83fbaa824732a04,
PID: 8473,
Server error message: Template import error: [Errno 14] curl#9 - "Server denied you to change to the given directory"
" on server "44:45:4c:4c:47:00:10:54:80:5a:c2:c0:4f:4b:48:31" associated with object "cfgFile_0004fb0000140000b83fbaa824732a04"
Wed Dec 05 14:07:39 PST 2012
at com.oracle.ovm.mgr.api.job.JobEngine.checkJobStatus(JobEngine.java:624)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:602)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineTemplateImport.action(VirtualMachineTemplateImport.java:68)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1009)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:822)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineCfgFileProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at sun.reflect.GeneratedMethodAccessor1273.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:330)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:290)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)


----------
End of Job
----------

Edited by: user721734 on Dec 5, 2012 2:24 PM

Edited by: user721734 on Dec 5, 2012 8:31 PM

Edited by: user721734 on Dec 5, 2012 8:34 PM
  • 1. Re: OVM 3.1.1 Import Template from ftp site
    user12273962 Pro
    Currently Being Moderated
    look at the server denied message in the log you posted. Personally... I'd use http. Much easier and in opinion.... faster. At least on a Linux server doing the hosting of the template.
  • 2. Re: OVM 3.1.1 Import Template from ftp site
    heng Explorer
    Currently Being Moderated
    I used to import Oracle VM Template many times using FTP Server successfully, what you should know first is your ftp server is access able and download smoothly without asking username and password in Oracle VM Manager.

    It mean before you past your URL into Oracle VM Manager, you should test download on your browser first whether it can download without ask permission like username and password. If you test above is working fine and download smoothly, I would download smoothly in Oracle VM Manager too.

    Example: you can install Openfiller on simple pc or install in Oracle VirtualBox and configure a few steps and copy VM Template into shared folder. Then try to download it with your browser on your pc, if it's working fine without asking username or password, it would be working fine in Oracle VM Manager too.

    Good luck,
    Vandy
  • 3. Re: OVM 3.1.1 Import Template from ftp site
    724791 Newbie
    Currently Being Moderated
    I was able to resolve the issue. The path had to be different.

    Thanks
  • 4. Re: OVM 3.1.1 Import Template from ftp site
    724791 Newbie
    Currently Being Moderated
    I was able to resolve the issue. The path had to be different

    Thanks

Legend

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