RHEV: table of storage status in vdsm log

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Virtualization 2.2

Issue

  • How to identify status code from vdsm log for storage events.

Resolution

  • All codes are available at /usr/share/vdsm/storage/storage_exception.py during the time of creation of this document, the below table was valid
error code message
100 General exception
1000 Invalid parameter
1001 Invalid Default Exception
200 General Storage Exception
3000 Resource Exception
4000 Volume General Exception
4900 Unicode arguments are not supported
2000 Method not implemented
2001 Internal file read failure
2002 Internal file write failure
2003 Internal block device read failure
2004 Internal block device write failure
2005 Operation is already in progress
2006 Internal block device write incomplete
2007 Internal block device read incomplete
2008 Directory cleanup failure
201 Volume does not exist
202 Incorrect Volume format
203 Volume is busy
204 Cannot delete volume which has children (non-ethical)
205 Error creating a new volume
206 Error extending volume
207 Error while processing volume meta data
208 Error while updating volume meta data
209 Error accessing a volume
210 Volume unlink failed
211 Orphan volume, volume hasn't image
212 Volume already exists
213 Volume cannot be access to writes
214 Volume cannot be shared, it's not Shared/Template volume
215 Volume ownership error
216 Cannot get parent volume
217 Cannot clone volume
218 Cannot share volume
219 Shared volume is read only
220 Volume cannot be access to writes, it's Internal volume
221 Cannot change volume's modify time
222 Volume deletion error
223 Shared Volume cannot be deleted
224 Volume cannot be accessed to writes, it's not a leaf volume
225 Volume copy failed
226 Cannot create volume snapshot from illegal volume
227 Cannot prepare illegal volume
228 Failure create volume rollback
229 Requested size is too small. Must be larger or equal to 1
250 Error images action
251 Error creating template from VM
252 Error merging snapshots
253 Error moving image
254 Image path does not exist or cannot be accessed/created
255 Image validation error
256 Could not remove all files
257 Image is not empty
258 Image is empty
259 Error during source image manipulation
260 Error during destination image manipulation
261 low level Image copy failed
262 Image is not a legal chain
263 Cannot validate template on target domain
264 Error moving multiple image
265 Can't overwrite image
266 Cannot move template's image because it is used by a VM
267 Cannot rollback merge volume
300 Error storage pool action
301 Error creating a storage pool
302 Error storage pool connection
303 Error storage pool disconnection
304 Cannot find master domain
305 Cannot update VM
306 Cannot reconstruct master domain
307 Too many masters for StoragePool
308 Error destroying a storage pool
309 Unknown pool id, pool not connected
310 Master role should be moved to another domain
311 Storage pool not defined
312 Image missing from VM
313 Storage pool not connected
314 Cannot get ISO list
315 Cannot get floppy list
316 Error creating a storage pool - pool already exists
317 ISO domain cannot be a master storage domain
318 Pool check failed
319 Backup domain cannot be a master storage domain
320 Missing OVF file from VM
321 Image cannot be found on the specified domain
322 Cannot found VMs directory
323 Cannot connect pool, already connected to another pool
324 Wrong Master domain or its version
325 Cannot perform action while storage pool is connected
326 Found master domain with higher master version than input
327 Storage pool description is too long
328 Too many domains in Storage pool
350 Error in storage domain action
351 Error creating a storage domain
352 Error formating a storage domain
353 Storage domain not in pool
354 Error attaching storage domain
355 Error validating master storage domain
356 Error detaching storage domain
357 Error deactivating storage domain
358 Storage domain does not exist
359 Error activating storage domain
360 Storage domain remote path not mounted
361 Storage domain is not empty - requires cleaning
362 Error creating a storage domain's metadata
363 Could not retrieve metadata file name for domain
364 Storage domain invalid, metadata not found
365 Storage domain already exists
366 Error unmounting master storage domain
367 BlockSD master file system FSCK error
368 BlockSD master file system mount error
369 Storage domain not active
370 Error copying master storage domain's data
371 Storage domain layout corrupted
372 Unsupported Storage Domain type
373 Cannot get Storage Domains list
374 Cannot zero out volume
375 Domain is not member in pool
376 Unsupported Storage Domain status
377 Domain has errors
378 Domain type should be 'backup' but is not
379 Domain is not accessible
380 Storage domain already attached to pool
381 Domain state change illegal
382 Illegal action, domain active
383 Illegal action
384 Stale NFS handle on underlying NFS server
385 Insufficient access permissions to underlying storage
386 Invalid domain class value
387 Storage domain description is too long
388 Storage domain is made from too many PVs
389 Tried to create a VG from too many PVs
400 Task invalid
401 Task id unknown
402 Could not clear task
403 Task not finished
404 Invalid task type
405 TaskManager error, unable to add task
406 Running Task in progress
407 Can't save Task Metadata
408 Can't load Task Metadata
409 can't find/access task dir
410 Operation is not allowed in this task state
411 Task is aborted
412 Operation can't be performed on unmanaged task
413 Can't persist task
420 Job is invalid
430 Recovery is invalid
440 invalid Task Manager
441 cannot move task to requested state
442 operation cannot be performed - task has active references
450 Error storage server action
451 Error storage server connection
452 Error storage server disconnection
453 Error storage server validation
454 iSCSI connection error
455 Multipath service restart error
456 Get iSCSI session list error
457 Add iSCSI portal error
458 Remove iSCSI portal error
459 Remove iSCSI node error
460 Add iSCSI node error
461 Set iSCSI authentication error
462 Set iSCSI username error
463 Set iSCSI password error
464 Failed to login to iSCSI node
465 Failed to setup iSCSI subsystem
466 Device not found or not accessible
467 Failed to setup multipath
468 Storage type error
469 Host Agent doesn't have enough access permissions on NFS mount
500 Error volume group action
501 Could not update/change volume group permissions
502 Cannot create Volume Group
503 Cannot extend Volume Group
504 Volume Group not big enough
505 Volume Group Already Exists
506 Volume Group does not exist
507 Volume Group rename error
508 Volume Group remove error
509 Volume Group not initialize
510 Read Volume Group's tag error
511 Add tag to Volume Group error
512 Remove tag from Volume Group error
513 Volume Group scanning error
514 Get Volume Group list error
515 Volume Group has domain tag - requires cleaning
550 Cannot create Logical Volume
551 Cannot remove Logical Volume
552 Cannot deactivate Logical Volume
553 Cannot access Logical Volume
554 Logical Volume extend failed
555 Cannot get Logical Volumes list from Volume Group
556 Cannot refresh Logical Volume
557 Logical volume scanning error
558 Cannot activate Logical Volume
559 Cannot update/change logical volume permissions
560 Add tag to Logical Volume error
561 Remove tag from Logical Volume error
562 Cannot get tags of Logical Volumes
563 Cannot get Logical Volumes with specific tag
564 Cannot get tags of all Logical Volumes of Volume Group
565 Cannot get physical devices of logical volume
566 Cannot rename Logical Volume
567 Cannot access logical volume for write
568 Cannot set Logical volume RW permission
569 Logical volume scanning error
570 Cannot activate Logical Volumes
571 Cannot get Logical Volume Info
600 Error block device action
601 Failed to initialize physical device
602 LVM setup failed
603 Could not retrieve pv list
604 Cannot create logical volume - already exists
605 Could not retrieve lv list
606 Invalid physical device
607 Partitioned physical device
608 Missing logical volume tag
650 Error starting SPM
651 Could not obtain lock
652 Pool previous lver/id don't match request
653 Error stopping SPM, SPM has unfinished task(s)
654 Not SPM
655 Error fencing SPM
656 Operation not allowed while SPM is active
657 Cannot acquire lock, resource marked as locked
658 Cannot release lock, resource not found
700 Host id not found or does not match manager host id
750 Meta data key error
751 Meta Data key not found error
752 Meta Data seal is broken (checksum mismatch)
753 Meta Data self-validation failed
754 Meta Data mapping failed
755 Meta Data parameter invalid
756 Metadata is too big. Cannot change Metadata
800 Error importing image
801 Import candidate info error
802 Unknown import type
803 Error exporting VM
850 Resource Namespace is not empty
851 Resource timeout

Root Cause

Diagnostic Steps

Thread-450356::ERROR::2011-04-05 15:31:53,571::misc::66::irs::u'connectStorageServer'
Thread-450356::ERROR::2011-04-05 15:31:53,572::misc::67::irs::Traceback (most recent call last):
File "/usr/share/vdsm/storage/storage_connection.py", line 161, in __connectiSCSIServer
File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 388, in _dispatch
KeyError: u'connectStorageServer'
Thread-450356::DEBUG::2011-04-05 15:31:53,572::task::577::irs::Task 99dcde79-835d-455e-9241-56b149ee82ea: finished: {'statuslist': [{'status': 200, 'id': '446dab05-8c5c-4a11-94db-36f23c1b5d64'}]}

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.