VirshSSH referencing invalid attributes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse | ||
1.5 |
Fix Released
|
Critical
|
Blake Rouse | ||
maas (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
R = retval = fun(*args, **kwargs)
File "/usr/lib/
return self.run(*args, **kwargs)
File "/usr/lib/
func(*args, **kwargs)
File "/usr/lib/
probe_
File "/usr/lib/
if not conn.login(
File "/usr/lib/
i = self.expect(
AttributeError: 'VirshSSH' object has no attribute 'EXPECT_PROMPTS'
[Impact]
* Fix for VirshSSH for a using login with password (and ssh key interaction); needed for powerkvm
[Testcase]
* Install maas; provision a virssh node that requires a password or ssh key interaction
[Regression Potential]
* Minimal, testcases included and run through maasCI; fixes existent bug with near no outside accessed changes to provisioningser
Related branches
- Raphaël Badin (community): Approve
-
Diff: 201 lines (+125/-10)2 files modifiedsrc/provisioningserver/custom_hardware/tests/test_virsh.py (+114/-3)
src/provisioningserver/custom_hardware/virsh.py (+11/-7)
- Blake Rouse (community): Approve
-
Diff: 201 lines (+125/-10)2 files modifiedsrc/provisioningserver/custom_hardware/tests/test_virsh.py (+114/-3)
src/provisioningserver/custom_hardware/virsh.py (+11/-7)
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
no longer affects: | ubuntu (Ubuntu) |
no longer affects: | ubuntu (Ubuntu) |
Changed in maas (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Changed in maas (Ubuntu Trusty): | |
status: | Fix Released → In Progress |
branch which fixes this and other 1.5.2 release bugs for SRU is linked to bug #1325038