Internal Server Error in Fuel UI when adding nodes

Bug #1256033 reported by Nikolay Korshenin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Nikolay Markov

Bug Description

ENVIRONMENT
============
VirtualBox 4.2.16 r86992
5 VMs created by vbox-scripts-3.2.zip
Fuel from ISO image: fuel-3.2.1-73-2013-11-28_06-53-30.iso

TEST CASE
=========
1) Deploy OpenStack in simple (non-HA) mode with Centos
1 controller + 1 cinder + 1 compute
Neutron + GRE (eth0 - admin pxe, eth1 - public, eth2 - other )

2) Then remove the environment

3) And deploy on the same VMs new environmet :
HA-mode, Centos, 3 controllers + 1 cinder+ceph-osd + 1 compute+ceph-osd
Neutron + GRE (eth0 - admin pxe, eth1 - public, eth2 - other )

EXPECTED RESULT
===============
new env is successfully deployed

ACTUAL RESULT
=============
 Response code '500 Internal Server Error' when I tryed to add 3 nodes as controllers to new cloud env:

2013-11-28 15:45:45 ERROR

(logger) Response code '500 Internal Server Error' for PUT /api/nodes from 10.20.0.1:44476

2013-11-28 15:45:45 ERROR

(logger) Traceback (most recent call last):
  File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/opt/nailgun/lib/python2.6/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
...
...
  File "/opt/nailgun/lib/python2.6/site-packages/sqlalchemy/engine/default.py", line 331, in do_execute
    cursor.execute(statement, parameters)

IntegrityError: (IntegrityError) null value in column "name" violates not-null constraint
 'INSERT INTO roles (release_id, name) VALUES (%(release_id)s, %(name)s) RETURNING roles.id' {'release_id': None, 'name': None}

See the logs attached.

Revision history for this message
Nikolay Korshenin (nkorshenin) wrote :
Changed in fuel:
assignee: nobody → Nikolay Markov (nmarkov)
importance: Undecided → High
description: updated
description: updated
Changed in fuel:
milestone: none → 3.2.1
Nikolay Markov (nmarkov)
Changed in fuel:
status: New → In Progress
Nikolay Markov (nmarkov)
Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
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.