My Oracle Support Banner

OLVM: VM Can't Create Snapshot with "Invalid parameter: 'capacity=XXXXXX'" Error after Migration from OVM. (Doc ID 2757991.1)

Last updated on MARCH 11, 2021

Applies to:

Linux OS - Version Oracle Linux 7.8 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

VM can't create snapshots after migrating from OVM on 4.3.6.

engine.log:

2021-02-18 10:03:43,652-06 DEBUG [org.ovirt.engine.core.vdsbroker.irsbroker.SPMGetAllTasksStatusesVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-22) [] FINISH, SPMGetAllTasksStatusesVDSCommand, 
return: {2330a012-ecfb-42e3-87df-ddad36088510=AsyncTaskStatus:{status='finished', result='cleanSuccess', exception='org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: 
VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Invalid parameter: 'capacity=20000002048', code = 100', message='VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, 
error = Invalid parameter: 'capacity=20000002048', code = 100'}, 36e8f363-2873-4ffb-abbd-beb9adb0a3fe=AsyncTaskStatus:{status='finished', result='success', exception='null', message=''}}, log id: 4b37a8fd
2021-02-18 10:03:43,654-06 ERROR [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-22) [] BaseAsyncTask::logEndTaskFailure: 
Task '2330a012-ecfb-42e3-87df-ddad36088510' (Parent Command 'CreateSnapshot', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended with failure:
-- Result: 'cleanSuccess'
-- Message: 'VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Invalid parameter: 'capacity=20000002048', code = 100',
-- Exception: 'VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = Invalid parameter: 'capacity=20000002048', code = 100
vdsm.log:

2021-02-18 10:03:36,457-0600 ERROR (tasks/8) [storage.Volume] Requested capacity 20000002048 < parent capacity 20132659200 (volume:1211)
2021-02-18 10:03:36,458-0600 ERROR (tasks/8) [storage.TaskManager.Task] (Task='2330a012-ecfb-42e3-87df-ddad36088510') Unexpected error (task:875)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in _run
return fn(*args, **kargs)
File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 336, in run
return self.cmd(*self.argslist, **self.argsdict)
File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, in wrapper
return method(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sp.py", line 1940, in createVolume
initial_size=initialSize)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 930, in createVolume
initial_size=initial_size)
File "/usr/lib/python2.7/site-packages/vdsm/storage/volume.py", line 1212, in create
raise se.InvalidParameterException("capacity", capacity)
InvalidParameterException: Invalid parameter: 'capacity=20000002048'
2021-02-18 10:03:36,458-0600 DEBUG (tasks/8) [storage.TaskManager.Task] (Task='2330a012-ecfb-42e3-87df-ddad36088510') Task._run: 2330a012-ecfb-42e3-87df-ddad36088510 () {} failed - stopping task (task:894)
2021-02-18 10:03:36,458-0600 DEBUG (tasks/8) [storage.TaskManager.Task] (Task='2330a012-ecfb-42e3-87df-ddad36088510') aborting: Task is aborted: u"Invalid parameter: 'capacity=20000002048'" - code 100 (task:928)

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.