I ran into this kind of "NoneType" error message when the zpool that the filesystem tag
pointed to did not exist. In dc_ai_x86.xml this would be this line

<filesystem name="rpool/dc/ai" action="preserve"/>

Does your root zpool maybe have another name than rpool or does not exist or is a
a UFS filesystem or so?

  --Marcus


Alan Maguire wrote on 03/31/11 14:15:
I'm seeing the same problem running distro_const using the standard 
dc_ai_x86.xml file on an snv_160 system. Here's the distro_const build -v 
output:

09:36:53    progress: manifest-parser, reported 100, normalized 100, total=100
09:36:53    Snapshotting DOC to 
/var/run/install_engine/engine.mFRYkS/.data_cache.latest
09:37:10    Engine registering:
09:37:11    name: target-instantiation
09:37:15    module_path: solaris_install/target/ti
09:37:15    checkpoint_class_name: TargetInstantiation
09:37:15    args: ()
09:37:15    kwargs: None
09:37:15    insert_before: None
09:37:15    log_level: None
09:37:15    =============================
09:37:15    Loading checkpoint target-instantiation by module name 
(solaris_install/target/ti)
09:37:15    Current checkpoint list:
09:37:15        manifest-parser
09:37:15        target-instantiation
09:37:15    'NoneType' object has no attribute 'endswith'

...and output from the logs in /var/tmp/install/ shows the following stack 
traceback

2011-03-31 09:28:36,548   InstallationLogger DEBUG      ========================
=====
2011-03-31 09:28:36,548   InstallationLogger.target-instantiation DEBUG      Loa
ding checkpoint target-instantiation by module name (solaris_install/target/ti)
2011-03-31 09:28:36,557   InstallationLogger DEBUG      Current checkpoint list:

2011-03-31 09:28:36,557   InstallationLogger DEBUG              manifest-parser

2011-03-31 09:28:36,557   InstallationLogger DEBUG              target-instantia
tion
2011-03-31 09:28:36,558   InstallationLogger ERROR      'NoneType' object has no
  attribute 'endswith'
Traceback (most recent call last):
   File 
"/usr/lib/python2.6/vendor-packages/solaris_install/distro_const/__init__
.py", line 574, in main
     resume_checkpoint)
   File 
"/usr/lib/python2.6/vendor-packages/solaris_install/distro_const/__init__
.py", line 375, in setup_build_dataset
     build_data_mp = os.path.join(base_dataset_mp, "build_data")
   File "/usr/lib/python2.6/posixpath.py", line 67, in join
     elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Hope this helps,

Alan

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to