[openstack-dev] [devstack]Openstack installation issue.
Abhishek Shrivastava
abhishek at cloudbyte.com
Wed Jan 14 12:32:07 UTC 2015
Hi all,
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:
1. *ERROR :* ln: failed to create symbolic link `/logs/screen/screen-
key.log': No such file or directory
2. *ERROR :* mkdir: cannot create directory '/logs': Permission denied
find: `/logs': No such file or directory
Traceback (most recent call last):
File "/home/devstack/devstack/tools/outfilter.py", line 85, in
<module>
sys.exit(main())
File "/home/devstack/devstack/tools/outfilter.py", line 53, in
main
outfile = open(opts.outfile, 'a', 0)
IOError: [Errno 2] No such file or directory:
'/logs/stack.sh.log.2015-01-14-144819'
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.
But later I found that the problem was not actually the DEST variable, but
it was something else.
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.
Error Code in my script:
SCREEN_LOGDIR=$DEST/logs/screen
LOGFILE=$DEST/logs/stack.sh.log
Rectified Code of my script:
SCREEN_LOGDIR=*\$DEST*/logs/screen
LOGFILE=*\$DEST*/logs/stack.sh.log
Now after rectifying my script the Openstack installation is working fine.
Sorry for the confusion created earlier.
On Mon, Jan 12, 2015 at 6:23 PM, Sean Dague <sean at dague.net> wrote:
> Is your root filesystem full? The log clearly shows the chown stack
> /etc/keystone passing right before the copy is attempted.
>
> -Sean
>
> On 01/12/2015 06:59 AM, Abhishek Shrivastava wrote:
> > Same as before.
> >
> > On Mon, Jan 12, 2015 at 5:04 PM, Samta Rangare <samtarangare at gmail.com
> > <mailto:samtarangare at gmail.com>> wrote:
> >
> > Whats the log now?
> >
> > On Mon, Jan 12, 2015 at 4:53 PM, Abhishek Shrivastava
> > <abhishek at cloudbyte.com <mailto:abhishek at cloudbyte.com>> wrote:
> >
> > Hi Samta,
> >
> > Thanks for the suggestion but still problem remains the same.
> >
> > On Mon, Jan 12, 2015 at 4:29 PM, Samta Rangare
> > <samtarangare at gmail.com <mailto:samtarangare at gmail.com>> wrote:
> >
> > Hey abhishek,
> >
> > As a quick fix to this problem, edit this file
> > devstack/lib/keystone +170
> > in this function
> > function configure_keystone {
> > edit this line with adding sudo
> > sudo cp -p $KEYSTONE_DIR/etc/keystone.conf.sample
> $KEYSTONE_CONF
> >
> > Regards
> > Samta
> >
> >
> >
> >
> > On Mon, Jan 12, 2015 at 4:01 PM, Abhishek Shrivastava
> > <abhishek at cloudbyte.com <mailto:abhishek at cloudbyte.com>>
> wrote:
> >
> > Hi all,
> >
> > I am writing this again because I am getting the same
> > error from past week while I'm installing Openstack
> > through devstack on Ubuntu 13.10.
> >
> > I am attaching the new log file, please go through it
> > and if anyone can provide me the solution please do
> reply.
> >
> > --
> > *Thanks & Regards,
> > *
> > *Abhishek*
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage
> questions)
> > Unsubscribe:
> >
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > <
> http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
> >
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> >
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe <
> http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
> >
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> >
> >
> > --
> > *Thanks & Regards,
> > *
> > *Abhishek*
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> > OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > <
> http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
> >
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> > OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > <
> http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> >
> >
> > --
> > *Thanks & Regards,
> > *
> > *Abhishek*
> >
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
>
> --
> Sean Dague
> http://dague.net
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
--
*Thanks & Regards,*
*Abhishek*
*Cloudbyte Inc. <http://www.cloudbyte.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150114/adf7e8f6/attachment.html>
More information about the OpenStack-dev
mailing list