Deploy failure involving curtin and a temporary directory

Bug #1918490 reported by Peter Matulis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Incomplete
Low
Unassigned
curtin
New
Undecided
Unassigned

Bug Description

I tried to deploy Ubuntu 18.04 LTS on a bare metal machine and there was a failure at the very end of the process. I was even able to log in over SSH but got booted out shortly after.

A temporary directory appears to be busy, EFI-related packages cannot be installed, and the directory cannot be unmounted.

See attachment 'install-log.txt' for details.

Revision history for this message
Peter Matulis (petermatulis) wrote :
description: updated
Revision history for this message
Ryan Harper (raharper) wrote :

Hi,

Thanks for filing a bug.

"umount: /tmp/tmplaz_auvz/target/run: target is busy."

I've seen the error before and typically it happens when you ssh into the instance during the install. When the ubuntu user logs in , systemd will mount up some temp directories for the user in /run.

Can you recreate this failure without logging in to the system at all? MAAS will detect if the deployment has failed. You can fetch and collect logs after the failure if needed.

https://discourse.maas.io/t/getting-curtin-debug-logs/169

Changed in curtin:
status: New → Incomplete
Revision history for this message
Peter Matulis (petermatulis) wrote :

I was not able to reproduce. What you describe is probably what happened since I did indeed SSH in quite early. I wonder if this can be prevented somehow.

Revision history for this message
Alberto Donato (ack) wrote :

I hit the same issue by ssh-ing in the machine during a deploy

Changed in maas:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Waiting for curtin analysis to be completed.

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for curtin because there has been no activity for 60 days.]

Changed in curtin:
status: Incomplete → Expired
Changed in curtin:
status: Expired → New
Changed in maas:
status: Expired → Incomplete
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.