Public bug reported:

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.']}

** Affects: maas-enlist (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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
+   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 node VM sigkills all processes and shuts down. On the
- MAAS master server, I can see this error message in
- /var/log/maas/maas.log: http://paste.ubuntu.com/5809908/ .
+ After this, the node VM sigkills all processes and shuts down. The node
+ is not adde 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.']}

** Description changed:

  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 node VM sigkills all processes and shuts down. The node
- is not adde on the MAAS master server. On the MAAS master server, I can
- see this error message in /var/log/maas/maas.log:
+ 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)
+   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.']}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1198639

Title:
  Unable to add nodes to MAAS Server running in VirtualBox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas-enlist/+bug/1198639/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to