<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=GB2312" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
DIV.FoxDiv20131025160605047507 {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; MARGIN: 10px; LINE-HEIGHT: 1.5
}
BODY {
FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000080; LINE-HEIGHT: 1.5
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721">
<STYLE>BLOCKQUOTE {
MARGIN-TOP: 0px
}
OL {
MARGIN-TOP: 0px
}
UL {
MARGIN-TOP: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN: 10px">
<DIV>Adding comment.</DIV>
<DIV> </DIV>
<DIV>This is the apache error log.</DIV>
<DIV> </DIV>
<DIV>
<DIV>root@controller:/var/log/apache2# nova volume-attach test1
81554eb2-69c4-45c3-9886-21369a5238d7 /dev/vdb</DIV>
<DIV>+----------+--------------------------------------+</DIV>
<DIV>| Property |
Value
|</DIV>
<DIV>+----------+--------------------------------------+</DIV>
<DIV>| device |
/dev/vdb
|</DIV>
<DIV>| serverId | f2905850-d84f-4792-a868-b5018d379c9d |</DIV>
<DIV>| id |
81554eb2-69c4-45c3-9886-21369a5238d7 |</DIV>
<DIV>| volumeId | 81554eb2-69c4-45c3-9886-21369a5238d7 |</DIV>
<DIV>+----------+--------------------------------------+</DIV>
<DIV> </DIV>
<DIV>root@controller:/var/log/apache2# tail -f error.log</DIV>
<DIV> </DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] Internal Server Error:
/horizon/project/instances/f2905850-d84f-4792-a868-b5018d379c9d/</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] Traceback (most recent call last):</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in
get_response</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] response =
callback(request, *callback_args, **callback_kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] return
view_func(request, *args, **kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 54, in dec</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] return
view_func(request, *args, **kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/horizon/decorators.py", line 38, in dec</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] return
view_func(request, *args, **kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in
view</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] return
self.dispatch(request, *args, **kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in
dispatch</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] return
handler(request, *args, **kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 60, in get</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] context =
self.get_context_data(**kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py",
line 212, in get_context_data</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] context =
super(DetailView, self).get_context_data(**kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 44, in
get_context_data</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error]
exceptions.handle(self.request)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/lib/python2.7/dist-packages/horizon/tabs/views.py", line 39, in
get_context_data</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] tab_group =
self.get_tabs(self.request, **kwargs)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py",
line 239, in get_tabs</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] instance =
self.get_data()</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py",
line 234, in get_data</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error]
redirect=redirect)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py",
line 222, in get_data</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error]
instance_id)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
line 637, in instance_volumes_list</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] volume_data =
cinderclient(request).volumes.get(volume.id)</DIV>
<DIV>[Fri Oct 25 08:02:37 2013] [error] AttributeError: 'NoneType' object has no
attribute 'volumes'</DIV></DIV>
<DIV>
<DIV><SPAN>
<DIV
style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; COLOR: #000000; LINE-HEIGHT: 1.5">
<DIV style="FONT-SIZE: 22px"><FONT size=2></FONT></DIV>
<DIV>
<DIV></DIV></DIV></DIV></SPAN></DIV></DIV>
<DIV
style="BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<DIV
style="FONT-SIZE: 12px; FONT-FAMILY: tahoma; BACKGROUND: #efefef; COLOR: #000000; PADDING-BOTTOM: 8px; PADDING-TOP: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px">
<DIV><B>发件人:</B> <A href="mailto:dongjh@nci.com.cn">董建华</A></DIV>
<DIV><B>发送时间:</B> 2013-10-25 15:33</DIV>
<DIV><B>收件人:</B> <A
href="mailto:openstack@lists.openstack.org">openstack</A></DIV>
<DIV><B>主题:</B> The dashboard crash after attaching a volume to a
VM</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20131025160605047507 style="BACKGROUND-COLOR: white">
<STYLE>BLOCKQUOTE {
MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</STYLE>
<META name=GENERATOR content="MSHTML 10.00.9200.16721">
<DIV><SPAN>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana>Hello,</FONT></DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana></FONT> </DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana>I just installed and
configured the cinder services on the controller node. After attaching a volume
to a instance, i clicked the link of the instance name, the dashborad ceashed, i
got the below error messages, however i can click other instances without issue.
Have anybody encountered this ?</FONT></DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana></FONT> </DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana>
<DIV id=text>
<H2>Something went wrong!</H2>
<P>An unexpected error has occurred. Try refreshing the page. If that doesn't
help, contact your local administrator.</P></DIV></FONT></DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana></FONT> </DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2 face=Verdana></FONT> </DIV>
<DIV style="FONT-SIZE: 22px"><FONT size=2
face=Verdana></FONT> </DIV></DIV></SPAN></DIV></DIV></BODY></HTML>