ImportError: No module named pexpect setting up maas-dns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| maas (Ubuntu) |
Critical
|
Raphaël Badin | ||
| Trusty |
Undecided
|
Unassigned |
Bug Description
As per http://
Setting up maas-dns (1.5+bzr2252+
Traceback (most recent call last):
File "/usr/bin/
management.
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.validate()
File "/usr/lib/
num_errors = get_validation_
File "/usr/lib/
for (app_name, error) in get_app_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
models = import_
File "/usr/lib/
__import_
File "/usr/lib/
from maasserver.
File "/usr/lib/
from maasserver.
File "/usr/lib/
from maasserver.
File "/usr/lib/
from provisioningser
File "/usr/lib/
from provisioningser
File "/usr/lib/
import pexpect
ImportError: No module named pexpect
[Impact]
* Missing dep for package maas-cluster-
[Testcase]
* sudo apt-get install maas-cluster-
[Regression Potential]
* non-existent, add package dependency
Related branches
- Jeroen T. Vermeulen (community): Approve on 2014-05-22
-
Diff: 26 lines (+5/-0)2 files modifieddebian/changelog (+4/-0)
debian/control (+1/-0)
Raphaël Badin (rvb) wrote : | #1 |
Changed in maas (Ubuntu): | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → In Progress |
Changed in maas (Ubuntu): | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #2 |
This bug was fixed in the package maas - 1.5.2+bzr2282-
---------------
maas (1.5.2+
* New upstream bugfix release:
- Remove workaround for fixed Django bug 1311433 (LP: #1311433)
- Ensure that validation errors are returned when adding a node over
the API and its cluster controller is not contactable. (LP: #1305061)
- Hardware enablement support for PowerKVM (LP: #1325038)
- Shorten the time taken for a cluster to initially connect to the region
via RPC to around 2 seconds (LP: #1317682)
- Faster DHCP leases parser (LP: #1305102)
- Documentation fixed explaining how to enable an ephemeral backdoor
(LP: #1321696)
- Use probe-and-
a libvirt machine, allow password qemu+ssh connections.
(LP: #1315155, LP: #1315157)
- Rename ppc64el boot loader to PowerKVM (LP: #1315154)
- Fix NodeForm's is_valid() method so that it uses Django's way of setting
errors on forms instead of putting text in self.errors[
(LP: #1301465)
- Change BootMethods to return their own IReader per-request, update method
names to reflect new usage. (LP: #1315154)
- Return early and stop the DHCP server when the list of managed interfaces
of the nodegroup is empty. (LP: #1324944)
- Fix invalid attribute references in the VirshSSH class. Added more test
for the VirshSSH class. (LP: #1324966)
* debian/control:
- Add missing dependency in maas-cluster-
(LP: #1322151)
-- Greg Lutostanski <email address hidden> Mon, 02 Jun 2014 11:57:58 -0500
Changed in maas (Ubuntu): | |
status: | Fix Committed → Fix Released |
Greg Lutostanski (lutostag) wrote : | #3 |
branch which fixes this and other 1.5.2 release bugs for SRU is linked to bug #1325038
description: | updated |
Hello Diogo, or anyone else affected,
Accepted maas into trusty-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
Changed in maas (Ubuntu Trusty): | |
status: | New → Fix Committed |
tags: | added: verification-needed |
Diogo Matsubara (matsubara) wrote : | #5 |
This has been verified in the MAAS qa lab: http://
tags: |
added: verification-done removed: verification-needed |
Stéphane Graber (stgraber) wrote : | #6 |
Hello Diogo, or anyone else affected,
Accepted maas into trusty-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
tags: | removed: verification-done |
tags: | added: verification-needed |
Greg Lutostanski (lutostag) wrote : | #7 |
Verified fix with given testcase, install completes successfully with no errors.
tags: |
added: verification-done removed: verification-needed |
Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package maas - 1.5.2+bzr2282-
---------------
maas (1.5.2+
* debian/control:
- Add missing dependency in maas-cluster-
(LP: #1328231)
- Move dependency from maas-cluster-
for python-
maas (1.5.2+
* New upstream release:
- Remove workaround for fixed Django bug 1311433 (LP: #1311433)
- Ensure that validation errors are returned when adding a node over
the API and its cluster controller is not contactable. (LP: #1305061)
- Hardware enablement support for PowerKVM (LP: #1325038)
- Shorten the time taken for a cluster to initially connect to the region
via RPC to around 2 seconds (LP: #1317682)
- Faster DHCP leases parser (LP: #1305102)
- Documentation fixed explaining how to enable an ephemeral backdoor
(LP: #1321696)
- Use probe-and-
a libvirt machine, allow password qemu+ssh connections.
(LP: #1315155, LP: #1315157)
- Rename ppc64el boot loader to PowerKVM (LP: #1315154)
- Fix NodeForm's is_valid() method so that it uses Django's way of setting
errors on forms instead of putting text in self.errors[
(LP: #1301465)
- Change BootMethods to return their own IReader per-request, update method
names to reflect new usage. (LP: #1315154)
- Return early and stop the DHCP server when the list of managed interfaces
of the nodegroup is empty. (LP: #1324944)
- Fix invalid attribute references in the VirshSSH class. Added more test
for the VirshSSH class. (LP: #1324966)
* debian/control:
- Add missing dependency in maas-cluster-
(LP: #1322151)
-- Greg Lutostanski <email address hidden> Fri, 20 Jun 2014 10:10:47 -0500
Changed in maas (Ubuntu Trusty): | |
status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for maas has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
A new dependency on python-pexpect was introduced in revision 2353. python-pexpect is in main so fixing this is as simple as adding a dependency in the packaging.