[Bug 1236233] [NEW] BIOS that SMIBIOS is not fuly supported by dmidecode causes image autmatic installation fail

Hsin-Yi, Chen (hychen) 1236233 at bugs.launchpad.net
Mon Oct 7 08:36:36 UTC 2013


Public bug reported:

Image: Ubuntu 12.04 LTS

The suffix of hostname is too long and makes ubiqutiy automatic installation failed
because suffix contains the warring message of dmidecode.

Here is the error message in /var/log/installer/debug when installtion
is failed.

Traceback (most recent call last):
  File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 394, in info_loop
    self.hostname_error(make_error_string(self.controller, errors))
  File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 69, in make_error_string
    return "\n".join([controller.get_string(error) for error in errors])
TypeError: sequence item 0: expected string, NoneType found

In automation installtion, ubiquity uses product name from BIOS as hostname suffix by 
parsing dmidecode output, but if a SMBIOS version is large thatn the version dmidecode supported,
the output of `dmidecode -s system-product-name` or `dmidecode -s system-version` 
contains the following warring message, so that hostname suffix is invalid.

The warring message is

````
# SMBIOS implementations newer than version 2.7 are not
# fully supported by this version of dmidecode.
````

**** Additional information:

ubiquity package version:

ii ubiquity 2.10.26 Ubuntu live CD installer
ii ubiquity-casper 1.315.1 Configuration hooks for live installer
ii ubiquity-frontend-gtk 2.10.26 GTK+ frontend for Ubiquity live installer
ii ubiquity-plugin-apt-setup 1.1 Ubiquity plugin - apt-setup
ii ubiquity-slideshow-ubuntu 58.2 Ubiquity slideshow for Ubuntu
ii ubiquity-ubuntu-artwork 2.10.26 Ubuntu artwork for Ubiquity live installer

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "ubiquity_debug.txt"
   https://bugs.launchpad.net/bugs/1236233/+attachment/3863835/+files/ubiquity_debug.txt

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1236233

Title:
  BIOS that SMIBIOS is not fuly supported by dmidecode causes image
  autmatic installation fail

Status in “ubiquity” package in Ubuntu:
  New

Bug description:
  Image: Ubuntu 12.04 LTS

  The suffix of hostname is too long and makes ubiqutiy automatic installation failed
  because suffix contains the warring message of dmidecode.

  Here is the error message in /var/log/installer/debug when installtion
  is failed.

  Traceback (most recent call last):
    File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 394, in info_loop
      self.hostname_error(make_error_string(self.controller, errors))
    File "/usr/lib/ubiquity/plugins/ubi-usersetup.py", line 69, in make_error_string
      return "\n".join([controller.get_string(error) for error in errors])
  TypeError: sequence item 0: expected string, NoneType found

  In automation installtion, ubiquity uses product name from BIOS as hostname suffix by 
  parsing dmidecode output, but if a SMBIOS version is large thatn the version dmidecode supported,
  the output of `dmidecode -s system-product-name` or `dmidecode -s system-version` 
  contains the following warring message, so that hostname suffix is invalid.

  The warring message is

  ````
  # SMBIOS implementations newer than version 2.7 are not
  # fully supported by this version of dmidecode.
  ````

  **** Additional information:

  ubiquity package version:

  ii ubiquity 2.10.26 Ubuntu live CD installer
  ii ubiquity-casper 1.315.1 Configuration hooks for live installer
  ii ubiquity-frontend-gtk 2.10.26 GTK+ frontend for Ubiquity live installer
  ii ubiquity-plugin-apt-setup 1.1 Ubiquity plugin - apt-setup
  ii ubiquity-slideshow-ubuntu 58.2 Ubiquity slideshow for Ubuntu
  ii ubiquity-ubuntu-artwork 2.10.26 Ubuntu artwork for Ubiquity live installer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1236233/+subscriptions



More information about the foundations-bugs mailing list