2016-08-26 15:20:36 |
Andres Rodriguez |
bug |
|
|
added bug |
2016-08-26 15:24:06 |
Andres Rodriguez |
description |
I tested curtin bzr418 and bzr415, and I get the following error. This is a regression provided that whomever upgrades to the latest curtin, they wont be able to deploy CentOS images.
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 |
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 |
|
2016-08-26 15:24:56 |
Andres Rodriguez |
bug task added |
|
maas-images |
|
2016-08-26 15:25:57 |
Andres Rodriguez |
bug task deleted |
maas-images |
|
|
2016-08-26 15:45:48 |
Ryan Harper |
curtin: importance |
Undecided |
High |
|
2016-08-26 15:45:48 |
Ryan Harper |
curtin: status |
New |
Confirmed |
|
2016-08-29 17:08:53 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/curtin/trunk.run-in-chroot-revival |
|
2016-08-29 23:02:03 |
Launchpad Janitor |
branch linked |
|
lp:curtin |
|
2016-08-30 15:53:49 |
Ryan Harper |
curtin: status |
Confirmed |
Fix Committed |
|
2016-09-22 20:12:31 |
Nathaniel W. Turner |
bug |
|
|
added subscriber Nathaniel W. Turner |
2016-09-29 18:56:00 |
Launchpad Janitor |
branch linked |
|
lp:~smoser/ubuntu/yakkety/curtin/pkg |
|
2016-10-02 22:33:30 |
Andres Rodriguez |
bug task added |
|
curtin (Ubuntu) |
|
2016-10-02 22:34:07 |
Andres Rodriguez |
curtin (Ubuntu): importance |
Undecided |
Critical |
|
2016-10-02 22:34:38 |
Andres Rodriguez |
curtin (Ubuntu): status |
New |
Fix Released |
|
2016-10-02 22:34:47 |
Andres Rodriguez |
nominated for series |
|
Ubuntu Xenial |
|
2016-10-02 22:34:47 |
Andres Rodriguez |
bug task added |
|
curtin (Ubuntu Xenial) |
|
2016-10-02 22:34:53 |
Andres Rodriguez |
curtin (Ubuntu Xenial): importance |
Undecided |
Critical |
|
2016-10-03 13:26:52 |
Jon Grimm |
bug |
|
|
added subscriber Jon Grimm |
2016-10-03 18:52:23 |
Launchpad Janitor |
branch linked |
|
lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno425 |
|
2016-10-03 18:57:50 |
Ryan Harper |
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 |
[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 |
|
2016-10-05 15:40:51 |
Andy Whitcroft |
curtin (Ubuntu Xenial): status |
New |
Fix Committed |
|
2016-10-05 15:40:53 |
Andy Whitcroft |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-10-05 15:40:55 |
Andy Whitcroft |
bug |
|
|
added subscriber SRU Verification |
2016-10-05 15:41:02 |
Andy Whitcroft |
tags |
|
verification-needed |
|
2016-10-06 16:09:15 |
Nathaniel W. Turner |
tags |
verification-needed |
verification-done |
|
2016-10-17 03:58:02 |
Launchpad Janitor |
curtin (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-10-17 03:59:00 |
Martin Pitt |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-12-15 22:10:53 |
Scott Moser |
curtin: status |
Fix Committed |
Fix Released |
|