<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:685984892;
        mso-list-template-ids:-83593472;}
@list l0:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1858422455;
        mso-list-template-ids:786328768;}
@list l1:level1
        {mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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 bgcolor=white lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>The rngd service has nothing to do with your problem. It’s described as “Hardware RNG Entropy Gatherer Daemon” and probably fails because your DevStack runs in a VM, not on hardware.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>From what I see, n-cpu fails because Paramiko, the Python library that implements the SSH protocol, succeeds in importing a module named gssapi, but then fails accessing an attribute GSSException in gssapi. This looks like what I see here: <a href="https://github.com/paramiko/paramiko/issues/584">https://github.com/paramiko/paramiko/issues/584</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>It seems to me that you have the wrong Python module gssapi installed on that server. If you don’t use Kerberos for authentication, you shouldn’t have gssapi at all. When gssapi doesn’t exist, Paramiko doesn’t even try to access gssapi.GSSException. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Check if you have gssapi, and if so, remove it. Just look for a directory named *<b>gssapi</b>*, and do a <b>pip uninstall </b>on the name of that directory.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Bernd.<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></a></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'> sagar.kohli@nic.in [mailto:sagar.kohli@nic.in] <br><b>Sent:</b> Thursday, March 22, 2018 6:42 PM<br><b>To:</b> Bernd Bausch <berndbausch@gmail.com>; openstack@lists.openstack.org<br><b>Subject:</b> Re: [Openstack] Unable to start devstack@n-cpu.service<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>thanks for the response, as suggested I have tried stable/queens but still getting the same error.<br>Few observations <o:p></o:p></p><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>services rngd.service  and <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a> are failed to start.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>processor family - AMD Phenom(tm) II X4 955 Processor<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>openvswitch.service is in exited state<o:p></o:p></li></ol><p class=MsoNormal><br>please find attached <o:p></o:p></p><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2'>output of<b> journalctl-n-cpu</b><o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2'>output of systemctl list-units<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2'>/etc/nova/nova.conf <o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo2'>/proc/cpuinfo<o:p></o:p></li></ol><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 03/22/2018 05:10 AM, Bernd Bausch wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>In my experience, a DevStack cloned from the master branch (which is the default) may occasionally run into inconsistencies such as incompatible library versions. Try a stable branch e.g. </span><span style='font-size:10.0pt;font-family:Consolas'>git clone ... –b stable/queens</span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>. Or just clone the master again later.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Your local.conf may also be at the origin of this error. </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>The full stack trace with a little bit of context may also be helpful (</span><span style='font-size:10.0pt;font-family:Consolas'>journalctl –u devstack@n-cpu</span><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>). It might contain other errors or warnings that provide a clue.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Also look for Nova-related errors or warnings in the stack.sh log file.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>                                                                                                                                                                    </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Bernd.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Sagar Kohli [<a href="mailto:sagar.kohli@nic.in">mailto:sagar.kohli@nic.in</a>] <br><b>Sent:</b> Wednesday, March 21, 2018 6:08 PM<br><b>To:</b> <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br><b>Subject:</b> [Openstack] Unable to start <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a></span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>I am trying to install devstack on my fresh centos7 machine. All went well.<br>But i am not able to get service  <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a> up. following is the output of <span style='font-size:10.0pt;color:lightcoral;background:white'>systemctl status <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a></span><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:10.0pt;color:lightcoral'> <span style='background:white'>sudo systemctl status <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a><br>● <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a> - Devstack <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a><br>   Loaded: loaded (<a href="mailto:/etc/systemd/system/devstack@n-cpu.service">/etc/systemd/system/devstack@n-cpu.service</a>; enabled; vendor preset: disabled)<br>   Active: failed (Result: exit-code) since Wed 2018-03-21 15:22:55 EDT; 10h left<br>  Process: 4252 ExecStart=/usr/bin/nova-compute --config-file /etc/nova/nova-cpu.conf (code=exited, status=1/FAILURE)<br> Main PID: 4252 (code=exited, status=1/FAILURE)<br><br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova     from paramiko.auth_handler import AuthHandler<br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova   File "/usr/lib/python2.7/site-packages/paramiko/auth_handler.py", lin...module><br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova     from paramiko.ssh_gss import GSSAuth, GSS_EXCEPTIONS<br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova   File "/usr/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 54,...module><br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova     GSS_EXCEPTIONS = (gssapi.GSSException,)<br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova AttributeError: 'module' object has no attribute 'GSSException'<br>Mar 21 15:22:55 localhost.localdomain nova-compute[4252]: ERROR nova <br>Mar 21 15:22:55 localhost.localdomain systemd[1]: <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a>: main process exited, code=exited, status=1/FAILURE<br>Mar 21 15:22:55 localhost.localdomain systemd[1]: Unit <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a> entered failed state.<br>Mar 21 15:22:55 localhost.localdomain systemd[1]: <a href="mailto:devstack@n-cpu.service">devstack@n-cpu.service</a> failed.<br>Hint: Some lines were ellipsized, use -l to show in full.</span></span><o:p></o:p></p></blockquote></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>