ValueError: Malformed credentials string. Expected 3 colon-separated items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-test |
Fix Committed
|
Critical
|
Diogo Matsubara |
Bug Description
Running maas-test with a utopic VM raises the following:
2014-07-31 19:26:23,169 INFO Downloading KVM image for arch=amd64 release=utopic label=daily...
2014-07-31 19:26:27,979 INFO Done downloading KVM image.
2014-07-31 19:26:27,997 INFO Creating virtual machine 15a879d8-
2014-07-31 19:26:30,700 INFO Done creating virtual machine 15a879d8-
2014-07-31 19:26:30,701 INFO Waiting for the virtual machine to come up...
2014-07-31 19:26:51,119 INFO Virtual machine is running.
2014-07-31 19:26:51,120 INFO Waiting for cloud-init to finish its work...
2014-07-31 19:26:54,315 INFO Cloud-init run finished.
2014-07-31 19:26:54,315 INFO Configuring network interface on virtual machine 15a879d8-
2014-07-31 19:27:01,298 INFO Done configuring network interface on virtual machine 15a879d8-
2014-07-31 19:27:15,865 INFO Virtual machine 15a879d8-
2014-07-31 19:27:32,695 INFO Installing MAAS (version 1.5.2+bzr2282-
2014-07-31 19:29:40,801 INFO Done installing MAAS.
2014-07-31 19:29:51,485 INFO Destroying virtual machine 15a879d8-
2014-07-31 19:29:52,543 INFO Done destroying virtual machine 15a879d8-
Traceback (most recent call last):
File "/home/
load_
File "/home/
return_code = main(args)
File "/home/
maas_
File "/home/
maas_client = self.get_
File "/home/
credentials = convert_
File "/usr/lib/
% creds_string)
ValueError: Malformed credentials string. Expected 3 colon-separated items, got 'Using: Python 2.7\npvpPQgg3nK
Related branches
- Julian Edwards (community): Approve
-
Diff: 15 lines (+4/-1)1 file modifiedmaastest/maasfixture.py (+4/-1)
summary: |
ValueError: Malformed credentials string. Expected 3 colon-separated - items, + items |
Changed in maas-test: | |
status: | New → Triaged |
Changed in maas-test: | |
status: | Triaged → Fix Committed |
Changed in maas-test: | |
assignee: | nobody → Diogo Matsubara (matsubara) |
The reason for this failure is due to an update to python-django source package version 1.6.5-3 (seehttps: //launchpad. net/ubuntu/ +source/ python- django/ 1.6.5-3) which replaced django-admin.py with a custom script that can run different versions of python. The script also prints the string: "Using: Python2.7\n" as part of normal operation with no option to to be less verbose. I think the easiest way to fix this is to fix maas-test to cope with that change.