[Openstack-operators] Getting error shell-init: error retrieving current directory: getcwd: cannot access parent directories:
Edgar Magana
edgar.magana at workday.com
Wed Feb 25 16:01:20 UTC 2015
Anwar,
I have an installation guide that I validate a few weeks ago and I did not run into any issues:
https://github.com/emagana/OpenStack-Icehouse-Install-Guide/blob/master/OpenStack-Icehouse-Installation.rst
Review your steps and I hope you can get it work comparing with my instructions. You may have missed something.
Edgar
From: Anwar Durrani <durrani.anwar at gmail.com<mailto:durrani.anwar at gmail.com>>
Date: Wednesday, February 25, 2015 at 2:34 AM
To: openstack-operators <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: [Openstack-operators] Getting error shell-init: error retrieving current directory: getcwd: cannot access parent directories:
Hello Team,
I was setting up Icehouse installation on my centos 6.5 ( 64bit)
Everything was fine up to image service installation, it was successfull, but the moment i start process to install Nova service on controller node : i have done following successfully
1.
yum install openstack-nova-api openstack-nova-cert openstack-nova-conductor \
openstack-nova-console openstack-nova-novncproxy openstack-nova-scheduler \
python-novaclient
2.
openstack-config --set /etc/nova/nova.conf \
database connection mysql://nova:password@controller.example.com<http://controller.example.com>/nova
3.
openstack-config --set /etc/nova/nova.conf \
DEFAULT rpc_backend qpid
4.
# openstack-config --set /etc/nova/nova.conf DEFAULT qpid_hostname controller.example.com<http://controller.example.com>openstack-config --set /etc/nova/nova.conf DEFAULT my_ip 10.0.0.1
# openstack-config --set /etc/nova/nova.conf DEFAULT vncserver_listen 10.0.0.11
# openstack-config --set /etc/nova/nova.conf DEFAULT vncserver_proxyclient_address 10.0.0.11
5.
$ mysql -u root -p
mysql> CREATE DATABASE nova;
mysql> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'localhost' \
IDENTIFIED BY '
password
';
mysql> GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'%' \
IDENTIFIED BY 'password';
6.) # su -s /bin/sh -c "nova-manage db sync" nova
The moment i pass this command i am getting following error :
[root at controller images]# su -s /bin/sh -c "nova-manage db sync" nova
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Any one have idea, what i am missing ?
--
Thanks & regards,
Anwar M. Durrani
+91-8605010721
<http://in.linkedin.com/pub/anwar-durrani/20/b55/60b>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150225/466076c2/attachment.html>
More information about the OpenStack-operators
mailing list