<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;color:rgb(0,0,0)"><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">Hi all,</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">For the past few days I have been trying to install Openstack through Devsatck on Ubuntu 13.10 & 14.04, but while installing I was getting the following errors:</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">1. <b>ERROR :</b> ln: failed to create symbolic link `/logs/screen/screen- key.log': No such file or directory</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000"><br></font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">2. <b>ERROR :</b> mkdir: cannot create directory '/logs': Permission denied</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">           find: `/logs': No such file or directory</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">           Traceback (most recent call last):</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">             File "/home/devstack/devstack/tools/outfilter.py", line 85, in <module></font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">               sys.exit(main())</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">             File "/home/devstack/devstack/tools/outfilter.py", line 53, in main</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">               outfile = open(opts.outfile, 'a', 0)</font></div><div class="gmail_default" style="color:rgb(34,34,34)"><font color="#000000">           IOError: [Errno 2] No such file or directory: '/logs/stack.sh.log.2015-01-14-144819'</font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><font color="#000000"><br></font></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">To find the root cause of this problem, I played with the $DEST variable on my local.conf file & found the installation was running fine.</font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">But later I found that the problem was not actually the DEST variable, but it was something else. <br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">It was actually the shell script that I had created and was using for installing devstack was not able to write '$DEST' in the local.conf file. </font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">Error Code in my script: </font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">         SCREEN_LOGDIR=$DEST/logs/screen</font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">         LOGFILE=$DEST/logs/stack.sh.log</font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">Rectified Code of my script: </font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">         SCREEN_LOGDIR=</font><b><font color="#0000ff">\$DEST</font></b><font color="#000000">/logs/screen</font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">         LOGFILE=</font><b><font color="#0000ff">\$DEST</font></b><font color="#000000">/logs/stack.sh.log</font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">Now after rectifying my script the Openstack installation is working fine.</font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000"><br></font></div><div class="gmail_default" style="font-family:monospace,monospace"><font color="#000000">Sorry for the confusion created earlier.</font></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 12, 2015 at 4:07 PM, Abhishek Shrivastava <span dir="ltr"><<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Its showing the same error on Ubuntu 13.10, so I think its not a Ubuntu Version issue.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 12, 2015 at 4:02 PM, Amit Das <span dir="ltr"><<a href="mailto:amit.das@cloudbyte.com" target="_blank">amit.das@cloudbyte.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Is this related to the version of Ubuntu being used ?</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Its 12.04 as per the email.</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><font style="background-color:rgb(255,255,255)" color="#000000" face="trebuchet ms, sans-serif">Regards,</font></div><font style="background-color:rgb(255,255,255)" color="#000000" face="trebuchet ms, sans-serif">Amit</font><div><a href="http://www.cloudbyte.com/" target="_blank"><font style="background-color:rgb(255,255,255)" color="#0000ff" face="trebuchet ms, sans-serif"><i>CloudByte Inc.</i></font></a></div></div></div></div><div><div>
<br><div class="gmail_quote">On Mon, Jan 12, 2015 at 3:55 PM, Abhishek Shrivastava <span dir="ltr"><<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I tried that also but still the error is same.</div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Mon, Jan 12, 2015 at 3:32 PM, Pasquale Porreca <span dir="ltr"><<a href="mailto:pasquale.porreca@dektech.com.au" target="_blank">pasquale.porreca@dektech.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Since it seems a permission error, this may help:
<a href="http://docs.openstack.org/developer/devstack/guides/single-machine.html#installation-shake-and-bake" target="_blank">http://docs.openstack.org/developer/devstack/guides/single-machine.html#installation-shake-and-bake</a><br>
    <br>
    NB: in my environment I had to edit the file sudoers with a text
    editor (echoing the string didn't work).<span><br>
    <br>
    <br>
    <div>On 01/12/15 09:33, Abhishek Shrivastava
      wrote:<br>
    </div>
    </span><blockquote type="cite"><span>
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>I am still getting the same error while installing the
          Openstack through devstack, If someone know the solution
          please reply.</div>
      </div>
      </span><div class="gmail_extra"><br>
        <div class="gmail_quote"><span>On Fri, Jan 9, 2015 at 1:53 PM,
          Abhishek Shrivastava <span dir="ltr"><<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>></span>
          wrote:<br>
          </span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
            <div dir="ltr">
              <div>Hi L<span style="font-size:13px;white-space:nowrap">iuxinguo,</span></div>
              <div><br>
              </div>
              Thanks for the suggestion, I'll try and make it work.</div>
            </span><div class="gmail_extra"><br>
              <div class="gmail_quote"><span>
                <div>
                  <div>On Fri, Jan 9, 2015 at 1:24 PM,
                    liuxinguo <span dir="ltr"><<a href="mailto:liuxinguo@huawei.com" target="_blank">liuxinguo@huawei.com</a>></span>
                    wrote:<br>
                  </div>
                </div>
                </span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div>
                      <div link="blue" vlink="purple" lang="ZH-CN">
                        <div><span>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi Abhishek,</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">For the error in the first
                              line:</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">“mkdir: cannot create
                              directory `/logs': Permission denied”</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">and the error at the end:</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">“ln: failed to create
                              symbolic link
                              `/logs/screen/screen-key.log': No such
                              file or directory”</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">The stack user does not have
                              the permission on “/” so it can not create
                              directory `/logs'.</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Please check the permission.</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">liu</span></p>
                          <p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> </span></p>
                          </span><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
                            <p class="MsoNormal"><span><b><span style="font-size:10.0pt">发件人<span lang="EN-US">:</span></span></b><span style="font-size:10.0pt" lang="EN-US">
                                Abhishek Shrivastava [mailto:<a href="mailto:abhishek@cloudbyte.com" target="_blank">abhishek@cloudbyte.com</a>]
                                <br>
                              </span></span><b><span style="font-size:10.0pt">发
                                  送时间<span lang="EN-US">:</span></span></b><span style="font-size:10.0pt" lang="EN-US">
                                2015</span><span style="font-size:10.0pt">年<span lang="EN-US">1</span>月<span lang="EN-US">9</span>日<span lang="EN-US"> 15:26<br>
                                </span><span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> OpenStack Development
                                  Mailing List (not for usage questions)<br>
                                </span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> [openstack-dev]
                                  [devstack] Opensatck installation
                                  issue.</span></span></span></p>
                          </div><span>
                          <div>
                            <div>
                              <p class="MsoNormal"><span lang="EN-US"> </span></p>
                              <div>
                                <p class="MsoNormal"><span style="color:black" lang="EN-US">Hi,</span><span lang="EN-US"></span></p>
                                <div>
                                  <p class="MsoNormal"><span lang="EN-US"> </span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"><span style="color:black" lang="EN-US">I'm
                                      trying to install
                                      <b>Openstack<i> </i></b>through<b><i>
                                        </i>devstack master</b> on my <b>Ubuntu</b>
                                      <b>12.04 VM</b>, but it is failing
                                      and generating the following
                                      error.</span><span lang="EN-US"></span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"><span lang="EN-US"> </span></p>
                                </div>
                                <div>
                                  <p class="MsoNormal"><span style="color:black" lang="EN-US">If
                                      anyone can help me resolving this
                                      issue please do reply.</span><span lang="EN-US"><br clear="all">
                                    </span></p>
                                  <div>
                                    <p class="MsoNormal"><span lang="EN-US"> </span></p>
                                  </div>
                                  <p class="MsoNormal"><span lang="EN-US">-- </span></p>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>
                                              <div>
                                                <p class="MsoNormal"><b><span style="color:#0b5394" lang="EN-US">Thanks & Regards,</span></b><span lang="EN-US"></span></p>
                                              </div>
                                              <p class="MsoNormal"><b><span style="color:#0b5394" lang="EN-US">Abhishek</span></b><span lang="EN-US"></span></p>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </span></div>
                      </div>
                      <br>
                    </div>
                  </div><span>
                  _______________________________________________<br>
                  OpenStack-dev mailing list<br>
                  <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
                  <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
                  <br>
                </span></blockquote>
              </div><span>
              <span><br>
                <br clear="all">
                <div><br>
                </div>
                -- <br>
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div><font color="#0b5394"><b>Thanks &
                                  Regards,<br>
                                </b></font></div>
                            <b><font color="#0b5394">Abhishek</font></b><br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </span></span></div>
          </blockquote>
        </div><span>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div><font color="#0b5394"><b>Thanks & Regards,<br>
                        </b></font></div>
                    <b><font color="#0b5394">Abhishek</font></b><br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </span></div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><span><font color="#888888">
</font></span></pre><span><font color="#888888">
    </font></span></blockquote><span><font color="#888888">
    <br>
    <pre cols="72">-- 
Pasquale Porreca

DEK Technologies
Via dei Castelli Romani, 22
00040 Pomezia (Roma)

Mobile +39 3394823805
Skype paskporr</pre>
  </font></span></div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b>Thanks & Regards,<br></b></font></div><b><font color="#0b5394">Abhishek</font></b><br></div></div></div></div></div></div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b>Thanks & Regards,<br></b></font></div><b><font color="#0b5394">Abhishek</font></b><br></div></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0b5394"><b><img src="https://docs.google.com/uc?export=download&id=0Byq0j7ZjFlFKV3ZCWnlMRXBCcU0&revid=0Byq0j7ZjFlFKa2V5VjdBSjIwUGx6bUROS2IrenNwc0kzd2IwPQ"><br></b></font></div><div><font color="#000000" face="times new roman, serif"><b>Thanks & Regards,<br></b></font></div><font color="#000000"><font face="times new roman, serif"><b>Abhishek</b></font><br></font></div></div><div><i><u><font color="#0000ff"><a href="http://www.cloudbyte.com">Cloudbyte Inc.</a></font></u></i></div></div></div></div></div></div></div>
</div>