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 4:07 PM, Abhishek Shrivastava < abhis...@cloudbyte.com> wrote: > Its showing the same error on Ubuntu 13.10, so I think its not a Ubuntu > Version issue. > > On Mon, Jan 12, 2015 at 4:02 PM, Amit Das <amit....@cloudbyte.com> wrote: > >> Is this related to the version of Ubuntu being used ? >> >> Its 12.04 as per the email. >> >> Regards, >> Amit >> *CloudByte Inc.* <http://www.cloudbyte.com/> >> >> On Mon, Jan 12, 2015 at 3:55 PM, Abhishek Shrivastava < >> abhis...@cloudbyte.com> wrote: >> >>> I tried that also but still the error is same. >>> >>> On Mon, Jan 12, 2015 at 3:32 PM, Pasquale Porreca < >>> pasquale.porr...@dektech.com.au> wrote: >>> >>>> Since it seems a permission error, this may help: >>>> http://docs.openstack.org/developer/devstack/guides/single-machine.html#installation-shake-and-bake >>>> >>>> NB: in my environment I had to edit the file sudoers with a text editor >>>> (echoing the string didn't work). >>>> >>>> >>>> On 01/12/15 09:33, Abhishek Shrivastava wrote: >>>> >>>> Hi all, >>>> >>>> I am still getting the same error while installing the Openstack >>>> through devstack, If someone know the solution please reply. >>>> >>>> On Fri, Jan 9, 2015 at 1:53 PM, Abhishek Shrivastava < >>>> abhis...@cloudbyte.com> wrote: >>>> >>>>> Hi Liuxinguo, >>>>> >>>>> Thanks for the suggestion, I'll try and make it work. >>>>> >>>>> On Fri, Jan 9, 2015 at 1:24 PM, liuxinguo <liuxin...@huawei.com> >>>>> wrote: >>>>> >>>>>> Hi Abhishek, >>>>>> >>>>>> >>>>>> >>>>>> For the error in the first line: >>>>>> >>>>>> “mkdir: cannot create directory `/logs': Permission denied” >>>>>> >>>>>> and the error at the end: >>>>>> >>>>>> “ln: failed to create symbolic link `/logs/screen/screen-key.log': No >>>>>> such file or directory” >>>>>> >>>>>> >>>>>> >>>>>> The stack user does not have the permission on “/” so it can not >>>>>> create directory `/logs'. >>>>>> >>>>>> >>>>>> >>>>>> Please check the permission. >>>>>> >>>>>> >>>>>> >>>>>> liu >>>>>> >>>>>> >>>>>> >>>>>> *发件人:* Abhishek Shrivastava [mailto:abhis...@cloudbyte.com] >>>>>> *发 送时间:* 2015年1月9日 15:26 >>>>>> *收件人:* OpenStack Development Mailing List (not for usage questions) >>>>>> *主题:* [openstack-dev] [devstack] Opensatck installation issue. >>>>>> >>>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> >>>>>> >>>>>> I'm trying to install *Openstack *through* devstack master* on my >>>>>> *Ubuntu* *12.04 VM*, but it is failing and generating the following >>>>>> error. >>>>>> >>>>>> >>>>>> >>>>>> If anyone can help me resolving this issue please do reply. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Thanks & Regards,* >>>>>> >>>>>> *Abhishek* >>>>>> >>>>>> _______________________________________________ >>>>>> OpenStack-dev mailing list >>>>>> OpenStack-dev@lists.openstack.org >>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Thanks & Regards, * >>>>> *Abhishek* >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Thanks & Regards, * >>>> *Abhishek* >>>> >>>> >>>> __________________________________________________________________________ >>>> OpenStack Development Mailing List (not for usage questions) >>>> Unsubscribe: >>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >>>> >>>> >>>> -- >>>> Pasquale Porreca >>>> >>>> DEK Technologies >>>> Via dei Castelli Romani, 22 >>>> 00040 Pomezia (Roma) >>>> >>>> Mobile +39 3394823805 >>>> Skype paskporr >>>> >>>> >>>> >>>> __________________________________________________________________________ >>>> OpenStack Development Mailing List (not for usage questions) >>>> Unsubscribe: >>>> openstack-dev-requ...@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-requ...@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-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > > -- > > *Thanks & Regards,* > *Abhishek* > -- *Thanks & Regards,* *Abhishek* *Cloudbyte Inc. <http://www.cloudbyte.com>*
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev