--series trusty returns a 400 error

Bug #1262248 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-test
New
Undecided
Unassigned

Bug Description

tried running maas-test while specifying --series trusty. It launched the VM and then returned a 400 BAD REQUEST error after that. Here's the log:

2013-12-18 09:18:14,952 INFO Checking for KVM extensions.
2013-12-18 09:18:14,981 INFO Checking for virtualised hardware...
2013-12-18 09:18:15,080 INFO Scanning for unexpected DHCP servers on testing network...
2013-12-18 09:18:18,266 INFO Checking for running proxy instance...
2013-12-18 09:18:18,267 INFO Starting proxy...
2013-12-18 09:18:18,273 INFO Done starting proxy.
2013-12-18 09:18:18,338 INFO Downloading KVM image for series=saucy, arch=amd64...
2013-12-18 09:18:24,123 INFO Done downloading KVM image for series=saucy, arch=amd64.
2013-12-18 09:18:24,124 INFO Creating virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790, arch=amd64...
2013-12-18 09:18:27,078 INFO Done creating virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790, arch=amd64.
2013-12-18 09:18:27,078 INFO Waiting for the virtual machine to come up...
2013-12-18 09:18:48,144 INFO Virtual machine is running.
2013-12-18 09:18:48,145 INFO Waiting for cloud-init to finish its work...
2013-12-18 09:19:38,267 INFO Cloud-init run finished.
2013-12-18 09:19:38,267 INFO Configuring network interface on virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790...
2013-12-18 09:19:47,020 INFO Done configuring network interface on virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790
2013-12-18 09:19:49,889 INFO Virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790 is ready.
2013-12-18 09:19:49,890 INFO Installing MAAS...
2013-12-18 09:21:50,040 INFO Done installing MAAS.
2013-12-18 09:21:55,358 INFO Importing MAAS PXE files series=trusty, architectures=amd64/generic i386/generic...
2013-12-18 09:23:12,781 INFO Done importing MAAS PXE Files.
2013-12-18 09:23:12,897 INFO Destroying virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790...
2013-12-18 09:23:14,740 INFO Done destroying virtual machine 3dd3b8ae-67ef-11e3-a26a-001f16355790.
2013-12-18 09:23:14,741 INFO Killing proxy...
2013-12-18 09:23:14,745 INFO Done killing proxy.
ERROR
======================================================================
ERROR: setUpClass (maastest.main.ConfiguredTestMAAS)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/maastest/cases.py", line 96, in setUpClass
    cls.fixtures.useFixture(cls.maas)
  File "/usr/lib/python2.7/dist-packages/maastest/cases.py", line 45, in useFixture
    super(ClassFixture, self).useFixture(fixture)
  File "/usr/lib/python2.7/dist-packages/fixtures/fixture.py", line 192, in useFixture
    fixture.setUp()
  File "/usr/lib/python2.7/dist-packages/maastest/maasfixture.py", line 226, in setUp
    self.configure_default_series(self.series)
  File "/usr/lib/python2.7/dist-packages/maastest/maasfixture.py", line 196, in configure_default_series
    self.configure('commissioning_distro_series', series)
  File "/usr/lib/python2.7/dist-packages/maastest/maasfixture.py", line 188, in configure
    uri, op='set_config', name=name, value=value)
  File "/usr/lib/python2.7/dist-packages/apiclient/maas_client.py", line 220, in post
    url, method="POST", headers=headers, data=body)
  File "/usr/lib/python2.7/dist-packages/apiclient/maas_client.py", line 101, in dispatch_query
    res = urllib2.urlopen(req)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: BAD REQUEST

----------------------------------------------------------------------
Ran 0 tests in 296.529s

FAILED (errors=1)
Command exited with non-zero status 1

Revision history for this message
Jeff Lane  (bladernr) wrote :

I retried with specifying precise and that seems to have gone well... so maybe we're just missing the trusty files and this can be ignored.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.