<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 6:23 PM, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is your root filesystem full? The log clearly shows the chown stack<br>
/etc/keystone passing right before the copy is attempted.<br>
<br>
-Sean<br>
<span class=""><br>
On 01/12/2015 06:59 AM, Abhishek Shrivastava wrote:<br>
> Same as before.<br>
><br>
> On Mon, Jan 12, 2015 at 5:04 PM, Samta Rangare <<a href="mailto:samtarangare@gmail.com">samtarangare@gmail.com</a><br>
</span><span class="">> <mailto:<a href="mailto:samtarangare@gmail.com">samtarangare@gmail.com</a>>> wrote:<br>
><br>
> Whats the log now?<br>
><br>
> On Mon, Jan 12, 2015 at 4:53 PM, Abhishek Shrivastava<br>
</span><span class="">> <<a href="mailto:abhishek@cloudbyte.com">abhishek@cloudbyte.com</a> <mailto:<a href="mailto:abhishek@cloudbyte.com">abhishek@cloudbyte.com</a>>> wrote:<br>
><br>
> Hi Samta,<br>
><br>
> Thanks for the suggestion but still problem remains the same.<br>
><br>
> On Mon, Jan 12, 2015 at 4:29 PM, Samta Rangare<br>
</span><span class="">> <<a href="mailto:samtarangare@gmail.com">samtarangare@gmail.com</a> <mailto:<a href="mailto:samtarangare@gmail.com">samtarangare@gmail.com</a>>> wrote:<br>
><br>
> Hey abhishek,<br>
><br>
> As a quick fix to this problem, edit this file<br>
> devstack/lib/keystone +170<br>
> in this function<br>
> function configure_keystone {<br>
> edit this line with adding sudo<br>
> sudo cp -p $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF<br>
><br>
> Regards<br>
> Samta<br>
><br>
><br>
><br>
><br>
> On Mon, Jan 12, 2015 at 4:01 PM, Abhishek Shrivastava<br>
</span><span class="">> <<a href="mailto:abhishek@cloudbyte.com">abhishek@cloudbyte.com</a> <mailto:<a href="mailto:abhishek@cloudbyte.com">abhishek@cloudbyte.com</a>>> wrote:<br>
><br>
> Hi all,<br>
><br>
> I am writing this again because I am getting the same<br>
> error from past week while I'm installing Openstack<br>
> through devstack on Ubuntu 13.10.<br>
><br>
> I am attaching the new log file, please go through it<br>
> and if anyone can provide me the solution please do reply.<br>
><br>
> --<br>
</span>> *Thanks & Regards,<br>
> *<br>
> *Abhishek*<br>
<span class="">><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe:<br>
> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
</span>> <<a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>><br>
<span class="">> <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>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe:<br>
</span>> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a> <<a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">http://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>
><br>
><br>
><br>
> --<br>
> *Thanks & Regards,<br>
> *<br>
> *Abhishek*<br>
<span class="">><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe:<br>
> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
</span>> <<a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>><br>
<span class="">> <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>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe:<br>
> <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
</span>> <<a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">http://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>
><br>
><br>
><br>
> --<br>
> *Thanks & Regards,<br>
> *<br>
> *Abhishek*<br>
<span class="im HOEnZb">><br>
><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>
<br>
<br>
--<br>
</span><span class="HOEnZb"><font color="#888888">Sean Dague<br>
<a href="http://dague.net" target="_blank">http://dague.net</a><br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</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>