Bug 113406

Summary: database version mismatch in open-iscsi
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Charles Coffing <ccoffing>
Component: NetworkAssignee: Hannes Reinecke <hare>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Charles Coffing 2005-08-26 18:15:34 UTC
There seems to be a mismatch regarding the database version.  It can't read the
database files it just created:

linux:~ # rm  /var/db/iscsi/*
linux:~ # openiscsiadm  -m discovery --type=sendtargets --portal=137.65.59.163:3260
[0d5ab0] 137.65.59.163:3260,1 iqn.2002-10.edu.unh.iol.iscsi.draft20-target:0
[00e1b0] 137.65.59.163:860,1 iqn.2002-10.edu.unh.iol.iscsi.draft20-target:0
linux:~ # ls -l /var/db/iscsi/
total 64
drwxr-xr-x  2 root root   104 Aug 26 12:07 .
drwxr-xr-x  3 root root    72 Aug 26 11:05 ..
-rw-r--r--  1 root root 16384 Aug 26 12:07 discovery.db
-rw-r--r--  1 root root 53248 Aug 26 12:07 node.db
linux:~ # openiscsiadm -m discovery
iscsiadm: idbm: dbversion mismatch: 0.2 != 0.3: expecting v.0.3, exiting...
iscsiadm: Sorry! We are currently do not support an upgrade option.
Comment 1 Charles Coffing 2005-08-26 19:39:13 UTC
As of version 0.3rc6-4, and configuring things via /etc/sysconfig, I still see a
similar problem when I do "iscsiadm -m discovery".


Comment 2 Hannes Reinecke 2005-09-08 08:02:07 UTC
Works with the latest version (RC1). I've checked in a new version for RC2 (with
the latest fixes from open-iscsi svn); you might want to wait for that.