Oracle VM: Import an .OVA or an .ISO file in Oracle VM Manager Fails with Error GrabError
(Doc ID 2431623.1)
Last updated on JUNE 16, 2022
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterOracle VM - Version 3.0.1 to 3.4.5 [Release OVM30 to OVM34]
Private Cloud Appliance - Version 2.4.4 to 2.4.4 [Release 2.0]
Linux x86-64
Symptoms
- Not able to import an OVA into Oracle VM Manager
- From AdminServer.log in the OVM Manager
<2018-08-03T08:35:21.456-0500> <Info> <ovm.mgr.op.virtual.OvfAssemblyImport> <Importing: packer-rhel7-latest.ova from: http://testWebServer/directory/myOVAfile.ova, with proxy: NONE, to repo: OraVM_osdisk, via server: ovs.server.com>
-----------------------------------------------------------<snip>-------------------------------------------------
ovm.mgr.api.exception.JobFailureException: OVMAPI_5001E Job: 1533303321357/Import Virtual Appliance to Repository: OraVM_osdisk. URL: http://testWebServer/../myOVAfile.ova/Import Virtual Appliance to Repository: OraVM_osdisk. URL: http://testWebServer/../myOVAfile.ova, failed. Job Failure Event: 1533303323382/Server Async Command Failed/OVMEVT_00C014D_001 Async command failed on server: ovs.server.com. Object: myOVAfile.ova, PID: 23727,
Server error: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
- From the ovs-agent.log in the OVS Server:
[2018-08-03 09:35:26 23726] DEBUG (service:75) async call start: import_assembly('0004fb0000030000fbe787fcb64eaad3', '11f028b50f', 'http://testWebServer/directory/myOVAfile.ova', {'proxies': {'http': ''}})
[2018-08-03 09:35:26 23727] ERROR (base:253) async call exception
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/agent/api/host/base.py", line 251, in ovs_async_proc
output = function(*args)
File "/usr/lib64/python2.6/site-packages/agent/lib/service.py", line 110, in wrapper
return func(*args)
File "/usr/lib64/python2.6/site-packages/agent/api/hypervisor/base.py", line 625, in import_assembly
return assembly.import_assembly(repo_id, assembly_id, url, option)
File "/usr/lib64/python2.6/site-packages/agent/lib/assembly.py", line 165, in import_assembly
ova_filename = ovs_download_file(url, ova_filename, option, 'assembly')
File "/usr/lib64/python2.6/site-packages/agent/lib/files.py", line 310, in ovs_download_file
raise err
URLGrabError: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
[2018-08-03 09:35:26 23727] DEBUG (base:263) async call complete: func: import_assembly pid: 23727 status: 1 output: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
- wget from the OVS Server to the Web Server gives different HTTP errors:
# wget -dv http://testWebServer/directory/myOVAfile.ova
-----------------------------------------------------------<snip>-----------------------------------------------------------
---request end---
HTTP request sent, awaiting response... <---- Asking to provide the .ova file
---response begin---
HTTP/1.1 404 Not Found <---- HTTP Error
# wget -dv http://testWebServer/directory/myOVAfile.ova
-----------------------------------------------------------<snip>-----------------------------------------------------------
---request end---
HTTP request sent, awaiting response... <---- Asking to provide the .ova file
---response begin---
HTTP/1.1 301 Moved Permanently <---- HTTP error
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |