Hello,
I''m testing a very simple ("local") lustre configuration
which is=20
generated by the following script. Unfortunately, lconf stops with an=20
error message ("AttributeError: LustreDB_XML instance has no attribute=20
''get_lov_tgts''") an I unfortunately can''t spot
the problem.
Thanks!
- Christoph
root@lx64e2:/tmp: uname -a
Linux lx64e2 2.6.5-7.141_lustre.1.4.2.1smp #1 SMP Wed May 11 14:13:42=20
EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
---------------------- cut ----------------------------
#!/bin/sh
rm -f config.xml
# node
lmc -m config.xml --add net --node lx64e2 --nid lx64e2 --nettype tcp
# mds
lmc -m config.xml --add mds --node lx64e2 --mds mds1 --fstype ldiskfs=20
--dev /tmp/mdsfile --size 500000
# ost
lmc -m config.xml --add lov --lov lov1 --mds mds1 --stripe_sz 1048576=20
--stripe_cnt 0 --stripe_pattern 0
lmc -m config.xml --add ost --node lx64e2 --lov lov1 --ost OST_ost1=20
--fstype ldiskfs --dev /tmp/osttest1 --size 1000000
# client
lmc -m config.xml --add mtpt --node lx64e2 --path /mnt/lustre --mds=20
mds1 --lov lov1
---------------------- cut ----------------------------
root@lx64e2:/tmp: sh ./testme.sh
root@lx64e2:/tmp: lconf --reformat config.xml
Traceback (most recent call last):
File "/usr/sbin/lconf", line 3092, in ?
main()
File "/usr/sbin/lconf", line 3085, in main
doHost(lustreDB, node_list)
File "/usr/sbin/lconf", line 2681, in doHost
for_each_profile(node_db, prof_list, doModules)
File "/usr/sbin/lconf", line 2564, in for_each_profile
operation(services)
File "/usr/sbin/lconf", line 2585, in doModules
n =3D newService(s[1])
File "/usr/sbin/lconf", line 2541, in newService
n =3D Mountpoint(db)
File "/usr/sbin/lconf", line 2246, in __init__
self.vosc =3D VOSC(obd, client_uuid, self.name)
File "/usr/sbin/lconf", line 2157, in __init__
self.osc =3D LOV(db, uuid, fs_name, name_override)
File "/usr/sbin/lconf", line 1501, in __init__
self.devlist =3D self.db.get_lov_tgts(''lov_tgt'')
AttributeError: LustreDB_XML instance has no attribute
''get_lov_tgts''
--=20
Leibniz Rechenzentrum M=FCnchen (LRZ)
http://www.lrz.de
Abteilung Hochleistungssysteme
Barer Str. 21 - 80333 M=FCnchen - Germany
Tel. ++49-(0)89 / 289-28853, Raum S1527