This bug was fixed in the package curtin - 0.1.0~bzr425-0ubuntu1~16.04.1 --------------- curtin (0.1.0~bzr425-0ubuntu1~16.04.1) xenial-proposed; urgency=medium
[ Scott Moser ] * debian/new-upstream-snapshot: add writing of debian changelog entries. [ Ryan Harper ] * New upstream snapshot. - unittest,tox.ini: catch and fix issue with trusty-level mock of open - block/mdadm: add option to ignore mdadm_assemble errors (LP: #1618429) - curtin/doc: overhaul curtin documentation for readthedocs.org (LP: #1351085) - curtin.util: re-add support for RunInChroot (LP: #1617375) - curtin/net: overhaul of eni rendering to handle mixed ipv4/ipv6 configs - curtin.block: refactor clear_holders logic into block.clear_holders and cli cmd - curtin.apply_net should exit non-zero upon exception. (LP: #1615780) - apt: fix bug in disable_suites if sources.list line is blank. - vmtests: disable Wily in vmtests - Fix the unittests for test_apt_source. - get CURTIN_VMTEST_PARALLEL shown correctly in jenkins-runner output - fix vmtest check_file_strippedline to strip lines before comparing - fix whitespace damage in tests/vmtests/__init__.py - fix dpkg-reconfigure when debconf_selections was provided. (LP: #1609614) - fix apt tests on non-intel arch - Add apt features to curtin. (LP: #1574113) - vmtest: easier use of parallel and controlling timeouts - mkfs.vfat: add force flag for formating whole disks (LP: #1597923) - block.mkfs: fix sectorsize flag (LP: #1597522) - block_meta: cleanup use of sys_block_path and handle cciss knames (LP: #1562249) - block.get_blockdev_sector_size: handle _lsblock multi result return (LP: #1598310) - util: add target (chroot) support to subp, add target_path helper. - block_meta: fallback to parted if blkid does not produce output (LP: #1524031) - commands.block_wipe: correct default wipe mode to 'superblock' - tox.ini: run coverage normally rather than separately - move uefi boot knowledge from launch and vmtest to xkvm -- Ryan Harper <ryan.har...@canonical.com> Mon, 03 Oct 2016 13:43:54 -0500 ** Changed in: curtin (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1617375 Title: AttributeError: module 'curtin.util' has no attribute 'RunInChroot' Status in curtin: Fix Committed Status in curtin package in Ubuntu: Fix Released Status in curtin source package in Xenial: Fix Released Bug description: [Impact] * Curtin removed a previously used python module method, 'RunInChroot' which was used by non-ubuntu curthooks for deploying OSes like CentOS. Removing the method prevents deploying CentOS where it worked prior to updating. Curtin has been updated to include an alias to the previous method that provides backward compat to callers of 'RunInChroot' [Test Case] * Install proposed curtin package and deploy CentOS to target system PASS: CentOS deploys successfully. FAIL: CentOS deployment fails with message: AttributeError: module 'curtin.util' has no attribute 'RunInChroot' [Regression Potential] * Other OSes besides CentOS may have used other flags against the original 'RunInChroot' method which is not being tested and may fail with the backward compat mode supporting 'RunInChroot'. [Original Description] I tested curtin bzr418 and bzr415, and I get the following error. This is a regression provided that it is not backward compatible and will cause all CentOS deployments via MAAS to fail. MAAS injects curtin_hooks code to CentOS images that call such function. If users upgrade to the latest curtin, they wont be able to deploy CentOS. AttributeError: module 'curtin.util' has no attribute 'RunInChroot' curtin bzr418: In [1]: import curtin.util In [2]: curtin.util.RunInChroot --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-2-4e8269de26cc> in <module>() ----> 1 curtin.util.RunInChroot AttributeError: module 'curtin.util' has no attribute 'RunInChroot' curtin bzr399: In [1]: import curtin.util In [2]: curtin.util.RunInChroot Out[2]: curtin.util.RunInChroot To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1617375/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp