unable to import boot images in fresh install

Bug #1303935 reported by Brian Wawok
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
Undecided
Unassigned

Bug Description

I have a fresh unstall of MAAS.
Ubuntu 12.04
Installed MAAS install off of CD

Trying to import boot images off command line or the GUI, I see an error like this in the log

[2014-04-07 12:39:02,518: INFO/MainProcess] Got task from broker: provisioningserver.tasks.report_boot_images[xxxxxxx]
[2014-04-07 12:39:02,573: ERROR/MainProcess] Task provisioningserver.tasks.report_boot_images[xxxxxxx] raised exception: Invalid(u"The input field 'username' was not expected.", {'username': 'maas', 'logfile': '/var/log/maas/pserv.log', 'broker': None, 'cobbler': {'url': 'http://localhost/cobbler_api', 'username': 'maas', 'password': 'yyyyyyyyy'}, 'oops': {'directory': '/var/log/maas/oops', 'reporter': 'maas-pserv'}, 'password': 'yyyyyyyyy', 'port': 5241}, None, None, None)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 47, in trace
    return cls(states.SUCCESS, retval=fun(*args, **kwargs))
  File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 247, in __call__
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/celery/app/__init__.py", line 175, in run
    return fun(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 341, in report_boot_images
    boot_images.report_to_server()
  File "/usr/lib/python2.7/dist-packages/provisioningserver/boot_images.py", line 72, in report_to_server
    Config.load_from_cache()['tftp']['root'])
  File "/usr/lib/python2.7/dist-packages/provisioningserver/config.py", line 185, in load_from_cache
    cls._cache[filename] = cls.parse(stream)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/config.py", line 135, in parse
    return cls.to_python(yaml.safe_load(stream))
  File "/usr/lib/python2.7/dist-packages/formencode/api.py", line 419, in to_python
    value = tp(value, state)
  File "/usr/lib/python2.7/dist-packages/formencode/schema.py", line 145, in _to_python
    value_dict, state)
Invalid: The input field 'username' was not expected.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 47, in trace
    return cls(states.SUCCESS, retval=fun(*args, **kwargs))
  File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 247, in __call__
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/celery/app/__init__.py", line 175, in run
    return fun(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 341, in report_boot_images
    boot_images.report_to_server()
  File "/usr/lib/python2.7/dist-packages/provisioningserver/boot_images.py", line 72, in report_to_server
    Config.load_from_cache()['tftp']['root'])
  File "/usr/lib/python2.7/dist-packages/provisioningserver/config.py", line 185, in load_from_cache
    cls._cache[filename] = cls.parse(stream)
  File "/usr/lib/python2.7/dist-packages/provisioningserver/config.py", line 135, in parse
    return cls.to_python(yaml.safe_load(stream))
  File "/usr/lib/python2.7/dist-packages/formencode/api.py", line 419, in to_python
    value = tp(value, state)
  File "/usr/lib/python2.7/dist-packages/formencode/schema.py", line 145, in _to_python
    value_dict, state)
Invalid: The input field 'username' was not expected.

||/ Name Version Description
+++-=================================-====================================-==========================================================================
ii maas 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server
ii maas-cli 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Client Tool
ii maas-cluster-controller 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Cluster Controller
ii maas-common 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server
ii maas-dhcp 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server - DHCP Configuration (meta-package)
ii maas-dns 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server - DNS configuration (metapackage)
ii maas-provision 2.2.2-0ubuntu4.1 Install server
ii maas-provision-common 2.2.2-0ubuntu4.1 Cobbler Install server - common files
ii maas-region-controller 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server
ii python-django-maas 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server - (django files)
ii python-maas-client 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS API Client - (python files)
ii python-maas-provision 2.2.2-0ubuntu4.1 Install server - python libraries.
ii python-maas-provisioningserver 1.4+bzr1693+dfsg-0ubuntu2.3~ctools0 Ubuntu MAAS Server
un python2.7-maas-provision <none> (no description available)

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The version of maas that you are showing is not on the CD, did you update it from the cloud tools archive after installing the CD?

Can you paste your pserv.yaml file here please. I presume you've edited it somehow?

Changed in maas:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
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.