unable to install node due to failure unmounting /dev on node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This error is preventing me from deploying a node using Xenial and MAAS 1.9 from maas/proposed:
Running command ['umount', '/tmp/tmp_
umount: /tmp/tmp_
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
Traceback (most recent call last):
File "/curtin/
ret = args.func(args)
File "/curtin/
setup_grub(cfg, target)
File "/curtin/
util.
File "/curtin/
aptopts=
File "/curtin/
apt_
File "/curtin/
inchroot(
File "/curtin/
do_umount(p)
File "/curtin/
subp(['umount', mountpoint])
File "/curtin/
return _subp(*args, **kwargs)
File "/curtin/
cmd=args)
I'm deploying using a Xenial image from today via the daily stream.
on my MAAS server I have:
maas 1.9.0+bzr4533-
maas-cert-server 0.2.13-
maas-cli 1.9.0+bzr4533-
maas-cluster-
maas-common 1.9.0+bzr4533-
maas-dhcp 1.9.0+bzr4533-
maas-dns 1.9.0+bzr4533-
maas-proxy 1.9.0+bzr4533-
maas-region-
maas-region-
python-django-maas 1.9.0+bzr4533-
python-maas-client 1.9.0+bzr4533-
python-
curtin-common 0.1.0~bzr314-
python-curtin 0.1.0~bzr314-
This is the curtin_userdata file from my maas server
#cloud-config preseed) .splitlines( )}} 'key_binary' ])])}} 00_get_ key: /bin/echo -en '{{key_string}}' > /tmp/maas- {{driver[ 'package' ]}}.gpg 01_add_ key: ["apt-key", "add", "/tmp/maas- {{driver[ 'package' ]}}.gpg" ] repository" , "-y", "deb {{driver[ 'repository' ]}} {{node. get_distro_ series( )}} main"] 03_update_ install: ["sh", "-c", "apt-get update --quiet && apt-get --assume-yes install {{driver[ 'package' ]}}"] 'module' ]}}"] disable_ pxe_url| escape. shell}} ', '--post-data', '{{node_ disable_ pxe_data| escape. shell}} ', '-O', '/dev/null'] 00_key_ get: curtin in-target -- sh -c "/bin/echo -en '{{key_string}}' > /tmp/maas- {{driver[ 'package' ]}}.gpg" 02_key_ add: ["curtin", "in-target", "--", "apt-key", "add", "/tmp/maas- {{driver[ 'package' ]}}.gpg" ] repository" , "-y", "deb {{driver[ 'repository' ]}} {{node. get_distro_ series( )}} main"] 04_update_ install: ["curtin", "in-target", "--", "apt-get", "update", "--quiet"] 05_install: ["curtin", "in-target", "--", "apt-get", "-y", "install", "{{driver[ 'package' ]}}"] 07_update_ initramfs: ["curtin", "in-target", "--", "update-initramfs", "-u"]
debconf_selections:
maas: |
{{for line in str(curtin_
{{line}}
{{endfor}}
{{if third_party_drivers and driver}}
early_commands:
{{py: key_string = ''.join(['\\x%x' % x for x in map(ord, driver[
driver_
driver_
driver_02_add: ["add-apt-
driver_
driver_04_load: ["sh", "-c", "depmod && modprobe {{driver[
{{endif}}
late_commands:
maas: [wget, '--no-proxy', '{{node_
{{if third_party_drivers and driver}}
driver_
driver_
driver_03_add: ["curtin", "in-target", "--", "add-apt-
driver_
driver_
driver_06_depmod: ["curtin", "in-target", "--", "depmod"]
driver_
{{endif}}
power_state:
mode: reboot
{{if node.split_ arch()[ 0] in {'i386', 'amd64'} }} archive_ hostname} }/{{main_ archive_ directory} } archive_ hostname} }/{{main_ archive_ directory} } archive_ hostname} }/{{ports_ archive_ directory} } archive_ hostname} }/{{ports_ archive_ directory} }
apt_mirrors:
ubuntu_archive: http://{{main_
ubuntu_security: http://{{main_
{{else}}
apt_mirrors:
ubuntu_archive: http://{{ports_
ubuntu_security: http://{{ports_
{{endif}}
{{if enable_http_proxy}} host}}: 8000/
{{if http_proxy }}
apt_proxy: {{http_proxy}}
{{else}}
apt_proxy: http://{{server_
{{endif}}
{{endif}}