HTTP Error 500: Internal Server Error (internal server error)

Asked by yoonjaeyol

Hi

I keep on installation.

I have a occurred another problem.

please check my log

  File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
    return tocall(*args)
  File "<string>", line 2, in GET
  File "/usr/lib/python2.6/site-packages/nailgun/api/handlers/base.py", line 95, in content_json
    data = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/nailgun/api/handlers/node.py", line 87, in GET
    return self.collection.to_json(nodes)
  File "/usr/lib/python2.6/site-packages/nailgun/objects/base.py", line 312, in to_json
    iterable=iterable
  File "/usr/lib/python2.6/site-packages/nailgun/objects/base.py", line 295, in to_list
    use_iterable
  File "/usr/lib/python2.6/site-packages/nailgun/objects/base.py", line 294, in <lambda>
    lambda o: cls.single.to_dict(o, fields=fields),
  File "/usr/lib/python2.6/site-packages/nailgun/objects/node.py", line 600, in to_dict
    networks_grouped.get(instance.cluster_id, [])
  File "/usr/lib/python2.6/site-packages/nailgun/network/manager.py", line 614, in get_node_networks_optimized
    net.name
  File "/usr/lib/python2.6/site-packages/nailgun/network/manager.py", line 886, in _get_interface_by_network_name
    '{1}'.format(network_name, node.full_name))
CanNotFindInterface: Cannot find interface by name "fixed" for node: Untitled (00:52) (id=283, mac=00:22:99:a4:00:52)

2014-07-10 05:03:40.908 ERROR [7f6b64dfa700] (logger) Response code '500 Internal Server Error' for GET /api/v1/nodes/ from 172.17.42.1:46575

when the number of nodes exceeded 20.
It seems that occur.

Please help me.

Question information

Language:
English Edit question
Status:
Solved
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Solved by:
yoonjaeyol
Solved:
Last query:
Last reply:
Revision history for this message
Evgeny Kozhemyakin (ekozhemyakin) said :
#1

Hi again,

I assume you use v5.0.(!)

Your issue looks like this bug: https://bugs.launchpad.net/fuel/+bug/1328200
It's fixed in 5.0.1.
You can make out a patch from here: https://review.openstack.org/#/c/102267/
and apply it on the fly on your master node.

Or the ready for use one is here: https://drive.google.com/file/d/0Bx8kTQbhCIUBOVp3OUtCQ0dnUkU
You have to patch nailgun's container. Somethink like:

<code>
# install patch
yum install patch
# cd into nailgun dir
docker_ID=`docker ps | grep nailgun | awk '{print $1}'`
cd /var/lib/docker/devicemapper/mnt/$docker_ID*/rootfs/usr/lib/python2.6/site-packages/
# test if all is ok
# patch --dry-run -p2 < /root/1328200.diff
#
patch -p2 < /root/1328200.diff
# then restart nailgun and nginx containers
dockerctl restart nailgun
dockerctl restart nginx
</code>

Revision history for this message
yoonjaeyol (yoonjaeyol) said :
#2

Hi again.

 your help is very correct to me.

There is additionally question.

why mirantis doesn't make modified iso image?

I have a ISO 5.0 image that downloaded mirantis homepage.

there are many problem...

anyway my problem is solved.

thank you your help

Revision history for this message
Evgeny Kozhemyakin (ekozhemyakin) said :
#3

Fuel iso v5.0.1 will be issued very soon.