Deploying Ubuntu 19.10 with btrfs FS failed

Bug #1857215 reported by Luis Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

I tried to deploy 19.10 with btrfs root filesystem. curtin is failing because of a issing packace btrfs-tools referenced by another package

Package btrfs-tools is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another source
E: Package 'btrfs-tools' has no installation candidateRunning command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)TIMED subp(['udevadm', 'settle']): 0.021Running command ['umount', '/tmp/tmpkj4275cu/target/sys'] with allowed return codes [0] (capture=False)Running command ['umount', '/tmp/tmpkj4275cu/target/proc'] with allowed return codes [0] (capture=False)Running command ['umount', '/tmp/tmpkj4275cu/target/dev'] with allowed return codes [0] (capture=False)finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: Installing packages on target system: ['btrfs-tools']finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: FAIL: installing missing packagesfinish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooksTraceback (most recent call last): File "/curtin/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/curtin/curtin/commands/curthooks.py", line 1442, in curthooks builtin_curthooks(cfg, target, state) File "/curtin/curtin/commands/curthooks.py", line 1284, in builtin_curthooks install_missing_packages(cfg, target, osfamily=osfamily) File "/curtin/curtin/commands/curthooks.py", line 905, in install_missing_packages distro.install_packages(to_add, target=target, osfamily=osfamily) File "/curtin/curtin/distro.py", line 375, in install_packages env=env, allow_daemons=allow_daemons) File "/curtin/curtin/distro.py", line 274, in run_apt_command return inchroot.subp(cmd, env=env) File "/curtin/curtin/util.py", line 689, in subp return subp(*args, **kwargs) File "/curtin/curtin/util.py", line 275, in subp return _subp(*args, **kwargs) File "/curtin/curtin/util.py", line 141, in _subp cmd=args)curtin.util.ProcessExecutionError: Unexpected error while running command.Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpkj4275cu/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'btrfs-tools']Exit code: 100Reason: -Stdout: ''Stderr: ''Unexpected error while running command.Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/tmp/tmpkj4275cu/target', 'eatmydata', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'btrfs-tools']Exit code: 100Reason: -Stdout: ''Stderr: ''curtin: Installation failed with exception: Unexpected error while running command.Command: ['curtin', 'curthooks']Exit code: 3Reason: -Stdout: start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks Running curtin builtin curthooks Configuring target system for distro: ubuntu osfamily: debian start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: configuring apt configuring apt Transferred {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': "cloud-init cloud-init/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://10.3.4.6:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string oauth_consumer_key=HcckHZtaMaYNqBLCgd&oauth_token_key=5PCrYm4djenLuGBELA&oauth_token_secret=JUdaG3s2sCDxmXf8RHuzeVSjsMeP2HuR\ncloud-init cloud-init/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas: {consumer_key: HcckHZtaMaYNqBLCgd, endpoint: 'http://10.3.4.6:5248/MAAS/metadata/status/8xrr4t',\\n token_key: 5PCrYm4djenLuGBELA, token_secret: JUdaG3s2sCDxmXf8RHuzeVSjsMeP2HuR,\\n type: webhook}\\n\n"} into new format: {'preserve_sources_list': False, 'proxy': 'http://10.3.4.6:8000/', 'sources_list': 'deb http://archive.ubuntu.com/ubuntu $RELEASE main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE main universe restricted multiverse\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-updates main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-updates main universe restricted multiverse\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-security main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-security main universe restricted multiverse\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-backports main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-backports main universe restricted multiverse\n', 'debconf_selections': {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': "cloud-init cloud-init/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://10.3.4.6:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string oauth_consumer_key=HcckHZtaMaYNqBLCgd&oauth_token_key=5PCrYm4djenLuGBELA&oauth_token_secret=JUdaG3s2sCDxmXf8RHuzeVSjsMeP2HuR\ncloud-init cloud-init/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas: {consumer_key: HcckHZtaMaYNqBLCgd, endpoint: 'http://10.3.4.6:5248/MAAS/metadata/status/8xrr4t',\\n token_key: 5PCrYm4djenLuGBELA, token_secret: JUdaG3s2sCDxmXf8RHuzeVSjsMeP2HuR,\\n type: webhook}\\n\n"}} curthooks handling apt to target /tmp/tmpkj4275cu/target with config {'preserve_sources_list': False, 'proxy': 'http://10.3.4.6:8000/', 'sources_list': 'deb http://archive.ubuntu.com/ubuntu $RELEASE main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE main universe restricted multiverse\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-updates main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-updates main universe restricted multiverse\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-security main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-security main universe restricted multiverse\ndeb http://archive.ubuntu.com/ubuntu $RELEASE-backports main universe restricted multiverse\n# deb-src http://archive.ubuntu.com/ubuntu $RELEASE-backports main universe restricted multiverse\n', 'debconf_selections': {'grub2': 'grub2 grub2/update_nvram boolean false', 'maas': "cloud-init cloud-init/datasources multiselect MAAS\ncloud-init cloud-init/maas-metadata-url string http://10.3.4.6:5248/MAAS/metadata/\ncloud-init cloud-init/maas-metadata-credentials string oauth_consumer_key=HcckHZtaMaYNqBLCgd&oauth_token_key=5PCrYm4djenLuGBELA&oauth_token_secret=JUdaG3s2sCDxmXf8RHuzeVSjsMeP2HuR\ncloud-init cloud-init/local-cloud-config string manage_etc_hosts: true\\nmanual_cache_clean: true\\nreporting:\\n maas: {consumer_key: HcckHZtaMaYNqBLCgd, endpoint: 'http://10.3.4.6:5248/MAAS/metadata/status/8xrr4t',\\n token_key: 5PCrYm4djenLuGBELA, token_secret: JUdaG3s2sCDxmXf8RHuzeVSjsMeP2HuR,\\n type: webhook}\\n\n"}}

Revision history for this message
Luis Rodriguez (laragones) wrote :

This error doesn't happen if I deploy 19.04

Revision history for this message
Luis Rodriguez (laragones) wrote :
Revision history for this message
Luis Rodriguez (laragones) wrote :

deploying only ext4 partitions on 19.10 works fine.. but if I add a single btrfs partition there is an issue with btrfs-tools

Revision history for this message
Alberto Donato (ack) wrote :
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.