<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi ,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I install Juno AIO on CentOS7 today, I get two issues.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#Issue 1, glance-api can’t start up:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Here is the error message in glance-api.log:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:39.994 22950 INFO glance.wsgi.server [-] (22950) wsgi starting up on http://0.0.0.0:9292/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:39.995 22943 INFO glance.wsgi.server [-] Started child 22951<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:39.996 22951 INFO glance.wsgi.server [-] (22951) wsgi starting up on http://0.0.0.0:9292/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:39.997 22943 INFO glance.wsgi.server [-] Started child 22952<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:39.998 22952 INFO glance.wsgi.server [-] (22952) wsgi starting up on http://0.0.0.0:9292/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.000 22943 INFO glance.wsgi.server [-] Started child 22953<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.000 22953 INFO glance.wsgi.server [-] (22953) wsgi starting up on http://0.0.0.0:9292/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 CRITICAL glance [-] error: [Errno 13] Permission denied<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance File "/usr/bin/glance-api", line 10, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance sys.exit(main())<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 84, in main<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance systemd.notify_once()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance File "/usr/lib/python2.7/site-packages/glance/openstack/common/systemd.py", line 66, in notify_once<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance _sd_notify(True, 'READY=1')<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance File "/usr/lib/python2.7/site-packages/glance/openstack/common/systemd.py", line 39, in _sd_notify<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance File "/usr/lib/python2.7/site-packages/eventlet/greenio.py", line 125, in __init__<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance fd = _original_socket(family_or_realsock, *args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance File "/usr/lib64/python2.7/socket.py", line 187, in __init__<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance _sock = _realsocket(family, type, proto)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance error: [Errno 13] Permission denied<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:50:40.034 22943 TRACE glance<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#Issue 2, nova-api can’t start up:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The error message in nova-api.log:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/bin/nova-api", line 10, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova sys.exit(main())<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/cmd/api.py", line 55, in main<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova server = service.WSGIService(api, use_ssl=should_use_ssl)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 331, in __init__<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova self.manager = self._get_manager()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 383, in _get_manager<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova return manager_class()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/api/manager.py", line 30, in __init__<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova self.network_driver.metadata_accept()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/network/linux_net.py", line 666, in metadata_accept<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova iptables_manager.apply()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/network/linux_net.py", line 434, in apply<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova self._apply()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/openstack/common/lockutils.py", line 322, in inner<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova with lock(name, lock_file_prefix, external, lock_path):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova return self.gen.next()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/openstack/common/lockutils.py", line 287, in lock<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova with ext_lock:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/openstack/common/lockutils.py", line 171, in __enter__<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova self.acquire()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova File "/usr/lib/python2.7/site-packages/nova/openstack/common/lockutils.py", line 166, in acquire<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova initial_value=1)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova OSError: [Errno 38] Function not implemented<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2014-09-26 07:59:42.206 28353 TRACE nova<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I temporarily skip the two issues by run glance-api and nova-api with root user… After this , everything else works well for me.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Anyone get this kind of error before?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Liping Mao<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>