[hardy] Ubiquity crashes with "MigrationAssistantApply failed with code 2"

Bug #235794 reported by Nikolaus Rath
4
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Medium
Unassigned

Bug Description

On my Dell Latitude D810, the installation from the Hardy live cd reproducibly crashes. I have attached the syslog of the live system.

Revision history for this message
Evan (ev) wrote :

Are you able to reproduce this? Can you attach /var/log/syslog (from the live CD environment) from such an install attempt once it completes?

Thanks!

Changed in ubiquity:
status: New → Incomplete
Revision history for this message
Nikolaus Rath (nikratio) wrote :

Yes, I can reproduce it. Attached is the syslog. I will stay in the live system for another hour or so if you have additional questions.

Note that this time I also noticed same strange message concerning a "Migration Assistant" (see screenshot)

Changed in ubiquity:
status: Incomplete → New
Revision history for this message
Nikolaus Rath (nikratio) wrote :
Revision history for this message
Nikolaus Rath (nikratio) wrote :
description: updated
Revision history for this message
Evan (ev) wrote :

Sorry to bother you again, but can you add set -x to the top of /usr/lib/ubiquity/migration-assistant/ma-ask and /usr/lib/ubiquity/migration-assistant/ma-apply, so they will look something like this:

#!/bin/sh
set -x
...

Then run the install again and attach /var/log/syslog to this bug report.

Thanks!

Changed in ubiquity:
assignee: nobody → evand
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
Nikolaus Rath (nikratio) wrote :

I am afraid that I already installed with the alternate installer and I have no unpartitioned space left for a trial install on the same hard disk.

But maybe I can still help you in triaging the bug. Is it possible that the installer tried to access the home folder of a previous Ubuntu installation but failed to do so, because the filesystem was encrypted using cbc-plain, for which there is no module in the live cd? In that case I could try to reproduce this situation on a USB disk. What exactly is this migration-assistant supposed to do?

Please give me some feedback whether this could be helpful before I spend time on it.

Changed in ubiquity:
status: Incomplete → New
Revision history for this message
D. Hugh Redelmeier (hugh-mimosa) wrote :

I've experienced this problem installing 8.04.1 on a Dell Inspiron 6000 notebook. This was repeatable. It also happened when I fell back to installing 8.04.

Should I create a new bug entry because this is Hardy?

To recap:

- I do a fresh install on this notebook.

- I do the partitioning: this is going to replace Fedora Core 4 and co-exist with Fedora Core 6. There is also a never-run WinXP installation partition (i.e. it isn't WinXP, but if it were run, it would install WinXP; as delivered by Dell).

- the installation runs to ~90% and then disappears from the desktop as if finished (except we know that that isn't how an installation finishes).

- the resulting system is unbootable: grub is not installed, no initrd is installed, no /boot/grub/menu.lst. This, in fact, is how I discovered something was wrong the first time: I didn't notice that the silent termination was in fact a failure.

As requested above, I did an installation run after installing "set -x" after the first line of two shell scripts /usr/lib/ubiquity/migration-assistant/ma-ask and /usr/lib/ubiquity/migration-assistant/ma-apply

Based on reading the tealeaves in the resulting /var/log/syslog, I decided to hide Fedora Core 6's fstab (I renamed it /etc/fstab.HIDE) and then the 8.04.1 installation worked.

As I type this report, I no longer have access to the notebook. I don't have a copy of the fstab. Perhaps the only odd thing was that I had commented out the last line since it referred to the partition that I was taking over for Ubuntu's /home. That line started with #LABEL=/space, I believe.

Evan (ev)
Changed in ubiquity (Ubuntu):
assignee: Evan Dandrea (ev) → nobody
tags: added: ubiquity-1.8.7
tags: added: hardy
Revision history for this message
Brian Murray (brian-murray) wrote : Traceback

Exception during installation:
May 30 13:59:17 ubuntu python: Traceback (most recent call last):
May 30 13:59:17 ubuntu python: File "/usr/share/ubiquity/install.py", line 1911, in <module>
May 30 13:59:17 ubuntu python: install.run()
May 30 13:59:17 ubuntu python: File "/usr/share/ubiquity/install.py", line 405, in run
May 30 13:59:17 ubuntu python: self.configure_ma()
May 30 13:59:17 ubuntu python: File "/usr/share/ubiquity/install.py", line 1101, in configure_ma
May 30 13:59:17 ubuntu python: raise InstallStepError("MigrationAssistantApply failed with code %d" % ret)
May 30 13:59:17 ubuntu python: InstallStepError: MigrationAssistantApply failed with code 2
May 30 13:59:17 ubuntu python:

tags: added: installer-crash
Revision history for this message
Brian Murray (brian-murray) wrote :
Download full text (291.1 KiB)

Exception during installation:
Jul 8 23:14:20 ubuntu python: Traceback (most recent call last):
Jul 8 23:14:20 ubuntu python: File "/usr/share/ubiquity/install.py", line 1911, in <module>
Jul 8 23:14:20 ubuntu python: install.run()
Jul 8 23:14:20 ubuntu python: File "/usr/share/ubiquity/install.py", line 405, in run
Jul 8 23:14:20 ubuntu python: self.configure_ma()
Jul 8 23:14:20 ubuntu python: File "/usr/share/ubiquity/install.py", line 1101, in configure_ma
Jul 8 23:14:20 ubuntu python: raise InstallStepError("MigrationAssistantApply failed with code %d" % ret)
Jul 8 23:14:20 ubuntu python: InstallStepError: MigrationAssistantApply failed with code 2
Jul 8 23:14:20 ubuntu python:
Jul 8 23:14:20 ubuntu ubiquity[9152]: debconffilter_done: Install (current: None)
Jul 8 23:14:20 ubuntu ubiquity[9152]: Exception in GTK frontend (invoking crash handler):
Jul 8 23:14:20 ubuntu ubiquity[9152]: Traceback (most recent call last):
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/lib/ubiquity/bin/ubiquity", line 229, in <module>
Jul 8 23:14:20 ubuntu ubiquity[9152]: main()
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/lib/ubiquity/bin/ubiquity", line 224, in main
Jul 8 23:14:20 ubuntu ubiquity[9152]: install(args[0])
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/lib/ubiquity/bin/ubiquity", line 68, in install
Jul 8 23:14:20 ubuntu ubiquity[9152]: ret = wizard.run()
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 428, in run
Jul 8 23:14:20 ubuntu ubiquity[9152]: self.progress_loop()
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 797, in progress_loop
Jul 8 23:14:20 ubuntu ubiquity[9152]: (ret, realtb))
Jul 8 23:14:20 ubuntu ubiquity[9152]: RuntimeError: Install failed with exit code 1
Jul 8 23:14:20 ubuntu ubiquity[9152]: Traceback (most recent call last):
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/share/ubiquity/install.py", line 1911, in <module>
Jul 8 23:14:20 ubuntu ubiquity[9152]: install.run()
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/share/ubiquity/install.py", line 405, in run
Jul 8 23:14:20 ubuntu ubiquity[9152]: self.configure_ma()
Jul 8 23:14:20 ubuntu ubiquity[9152]: File "/usr/share/ubiquity/install.py", line 1101, in configure_ma
Jul 8 23:14:20 ubuntu ubiquity[9152]: raise InstallStepError("MigrationAssistantApply failed with code %d" % ret)
Jul 8 23:14:20 ubuntu ubiquity[9152]: InstallStepError: MigrationAssistantApply failed with code 2
Jul 8 23:14:20 ubuntu ubiquity[9152]:
Jul 8 23:14:20 ubuntu last message repeated 2 times
Jul 8 23:17:02 ubuntu /USR/SBIN/CRON[743]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jul 8 23:25:55 ubuntu ubiquity[1158]: Ubiquity 1.8.7
Jul 8 23:25:56 ubuntu ubiquity[1158]: log-output -t ubiquity umount /target/home
Jul 8 23:25:56 ubuntu ubiquity[1158]: log-output -t ubiquity umount /target
Jul 8 23:26:01 ubuntu ubiquity[1158]: log-output -t ubiquity laptop-detect
Jul 8 23:26:03 ubuntu ubiquity[1158]: log-output -t ubiquity fontconfig-voodoo --auto --force --quiet
Jul 8 23:2...

Rajiv Shah (rajivshah3)
Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.