Unable to add nodes to MAAS Server running in VirtualBox

Bug #1198639 reported by Rigved Rakshit
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-enlist (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu 12.04.2 LTS
Release: 12.04

maas-enlist:
  Installed: 0.4-0ubuntu1.3
  Candidate: 0.4-0ubuntu1.3
  Version table:
 *** 0.4-0ubuntu1.3 0
        500 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     0.4-0ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

Expected Outcome: The client node should be enlisted on the maas master.

Actual Outcome:

I have followed the tutorials here (http://maas.ubuntu.com/docs/install.html) and here (http://marcoceppi.com/2012/05/juju-maas-virtualbox/). My MAAS master server (running Ubuntu 12.04 server) is already set up in a VirtualBox VM. I have not installed DHCP on this server as I already have a DHCP server on my LAN router. I am also able to access the MAAS web-interface from my host Ubuntu 12.04 desktop machine's web browser. However, when I try to add nodes to the MAAS server by using the "Multiple Server Install with MAAS" method of the Ubuntu 12.04 server ISO, the node does not get added to the MAAS server. For clarification, the node is also a VirtualBox VM.

After the network auto-configuration step of the installation process has completed, I am presented with the following options:

* ubuntu-maas-master MAAS Server - (192.168.1.105:80)
* Specify MAAS by name or address
* Create a new MAAS on this server

So, I select the first option (ubuntu-maas-master MAAS Server), which is the correct IP address of my MAAS master server VM.

After this, the client node VM sigkills all processes and shuts down. The client node is not added on the MAAS master server. On the MAAS master server, I can see this error message in /var/log/maas/maas.log:

ERROR 2013-06-29 10:26:03,713 maas.maasserver ################################ Exception: {u'after_commissioning_action': [u'Select a valid choice. 2 is not one of the available choices.']} ################################
ERROR 2013-06-29 10:26:03,723 maas.maasserver Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/decorators/vary.py", line 22, in inner_func
    response = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/piston/resource.py", line 166, in __call__
    result = self.error_handler(e, request, meth, em_format)
  File "/usr/lib/python2.7/dist-packages/piston/resource.py", line 164, in __call__
    result = meth(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 311, in dispatch
    return function(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 699, in new
    return create_node(request)
  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 675, in create_node
    raise ValidationError(form.errors)
ValidationError: {u'after_commissioning_action': [u'Select a valid choice. 2 is not one of the available choices.']}

Tags: trusty
Rigved Rakshit (rigved)
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maas-enlist (Ubuntu):
status: New → Confirmed
Ken Sharp (kennybobs)
tags: added: trusty
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.