OVM 3.4.x - Clone fails with error "cp: illegal option -- sparse=always" on SPARC server

(Doc ID 2331550.1)

Last updated on DECEMBER 05, 2017

Applies to:

Oracle VM - Version 3.4.3 and later


Clone job fails with following errors on Oracle VM server for SPARC:

[2017-11-16 10:02:04 961] ERROR (base:253) async call exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/agent/api/host/base.py", line 251,
in ovs_async_proc
output = function(*args)
File "/usr/lib/python2.7/site-packages/agent/lib/service.py", line 110, in
return func(*args)
File "/usr/lib/python2.7/site-packages/agent/api/hypervisor/base.py", line
659, in deploy_assembly_to_vm
target_repo_id, option)
File "/usr/lib/python2.7/site-packages/agent/lib/assembly.py", line 448, in
raise e
RuntimeError: Command failed: cmds ([['cat',
u'/OVS/Repositories/0004fb000003000000c2f916690c144c/Assemblies/112561446e/unpacked/0004fb00001200008c539997fadf51ac.vmdk'], ['vbox-img', 'convert','--stdin', '--srcformat', 'vmdk', '--dstformat', 'raw', '--stdout'], ['cp',
'--sparse=always', '/dev/stdin','/OVS/Repositories/0004fb000003000000c2f916690c144c/VirtualDisks/cb6399e948f7445b83f0b939759c28fe.img']]) output file (None) success_return_codes (0,)) rc (2) stdout () stderr (cp: illegal option -- sparse=always
Usage: cp [-f] [-i] [-p] [-@] [-/] f1 f2
cp [-f] [-i] [-p] [-@] [-/] f1 ... fn d1
cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] [-/] d1 ... dn-1 dn






Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms