Bug 716918 - Creation of iSCSI storage domain fails due to wrong formatting
Summary: Creation of iSCSI storage domain fails due to wrong formatting
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-27 12:39 UTC by Rami Vaknin
Modified: 2016-04-18 06:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-27 14:03:08 UTC
Target Upstream Version:


Attachments (Terms of Use)
VDSM Logs (69.66 KB, application/x-gzip)
2011-06-27 12:39 UTC, Rami Vaknin
no flags Details

Description Rami Vaknin 2011-06-27 12:39:17 UTC
Created attachment 510086 [details]
VDSM Logs

Environment:
RHEVM 3.0 on dev env, backend on RHEL6, last commit bfe62be32c7ff836ba7784c807fef91d59e3a2fc
vdsm-4.9-76.el6.x86_64
libvirt-0.9.2-1.el6.x86_64

Scenario: Create iSCSI storage domain version 2
Results: Creation fails

From VDSM log:

Thread-2239::INFO::2011-06-27 14:30:08,302::dispatcher::94::Storage.Dispatcher.Protect::(run) Run and protect: createStorageDomain, args: ( storageType=3 sdUUID=4f9a37ae-95ab-4e20-ae5c-af1561cc80ad domainName=rvaknin_iscsi typeSpecificArg=dvnnvg-ZHMa-sV37-jz58-ib7Y-OZCc-P3U144 domClass=1 domVersion=2)
Thread-2239::DEBUG::2011-06-27 14:30:08,302::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: moving from state init -> state preparing
Thread-2239::ERROR::2011-06-27 14:30:08,333::task::865::TaskManager.Task::(_setError) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 873, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/hsm.py", line 1210, in public_createStorageDomain
    sd.validateDomainVersion(domVersion)
  File "/usr/share/vdsm/storage/sd.py", line 135, in validateDomainVersion
    raise se.UnsupportedDomainVersion(version)
  File "/usr/share/vdsm/storage/storage_exception.py", line 675, in __init__
    self.message = "Domain version `%d` is unsupported by this version of VDSM" % version
TypeError: %d format: a number is required, not str
Thread-2239::DEBUG::2011-06-27 14:30:08,335::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: Task._run: eb27019e-f6e7-4707-a278-a1d60962ecda (3, '4f9a37ae-95ab-4e20-ae5c-af1561cc80ad', 'rvaknin_iscsi', 'dvnnvg-ZHMa-sV37-jz58-ib7Y-OZCc-P3U144', 1, '2') {} failed - stopping task
Thread-2239::DEBUG::2011-06-27 14:30:08,336::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: stopping in state preparing (force False)
Thread-2239::DEBUG::2011-06-27 14:30:08,336::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: ref 1 aborting True
Thread-2239::INFO::2011-06-27 14:30:08,336::task::1177::TaskManager.Task::(prepare) aborting: Task is aborted: '%d format: a number is required, not str' - code 100
Thread-2239::DEBUG::2011-06-27 14:30:08,337::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: Prepare: aborted: %d format: a number is required, not str
Thread-2239::DEBUG::2011-06-27 14:30:08,337::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: ref 0 aborting True
Thread-2239::DEBUG::2011-06-27 14:30:08,337::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: Task._doAbort: force False
Thread-2239::DEBUG::2011-06-27 14:30:08,338::resourceManager::821::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}
Thread-2239::DEBUG::2011-06-27 14:30:08,338::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: moving from state preparing -> state aborting
Thread-2239::DEBUG::2011-06-27 14:30:08,338::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: _aborting: recover policy none
Thread-2239::DEBUG::2011-06-27 14:30:08,338::task::492::TaskManager.Task::(_debug) Task eb27019e-f6e7-4707-a278-a1d60962ecda: moving from state aborting -> state failed
Thread-2239::DEBUG::2011-06-27 14:30:08,339::resourceManager::786::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}
Thread-2239::DEBUG::2011-06-27 14:30:08,339::resourceManager::821::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}
Thread-2239::ERROR::2011-06-27 14:30:08,339::dispatcher::106::Storage.Dispatcher.Protect::(run) %d format: a number is required, not str
Thread-2239::ERROR::2011-06-27 14:30:08,340::dispatcher::107::Storage.Dispatcher.Protect::(run) Traceback (most recent call last):
  File "/usr/share/vdsm/storage/dispatcher.py", line 96, in run
    result = ctask.prepare(self.func, *args, **kwargs)
  File "/usr/share/vdsm/storage/task.py", line 1184, in prepare
    raise self.error
TypeError: %d format: a number is required, not str

Comment 1 Rami Vaknin 2011-06-27 14:03:08 UTC
Closing this bug, it works in VDSM 77.


Note You need to log in before you can comment on or make changes to this bug.