Keystone is not able to start ! Please help
Hi,
Can someone please help me sorting out this error ?
+ [[ PKI == \P\K\I ]]
+ rm -rf /etc/keystone/ssl
+ /opt/stack/keystone/bin/keystone-manage pki_setup
Traceback (most recent call last):
File "/opt/stack/keystone/bin/keystone-manage", line 28, in <module>
cli.main(argv=sys.argv, config_files=config_files)
File "/opt/stack/keystone/keystone/cli.py", line 198, in main
CONF.command.cmd_class.main()
File "/opt/stack/keystone/keystone/cli.py", line 99, in main
conf_pki.run()
File "/opt/stack/keystone/keystone/common/openssl.py", line 149, in run
self.build_ssl_config_file()
File "/opt/stack/keystone/keystone/common/openssl.py", line 81, in build_ssl_config_file
self._make_dirs(self.ssl_config_file_name)
File "/opt/stack/keystone/keystone/common/openssl.py", line 64, in _make_dirs
os.makedirs(dir, DIR_PERMS)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/Users'
+ sudo mkdir -p /var/cache/keystone
+ sudo chown student /var/cache/keystone
+ rm -f '/var/cache/keystone/*'
+ start_keystone
+ local service_port=5000
+ is_service_enabled tls-proxy
+ services=tls-proxy
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,tls-proxy, ]]
+ [[ tls-proxy == \n\o\v\a ]]
+ [[ tls-proxy == \c\i\n\d\e\r ]]
+ [[ tls-proxy == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ tls-proxy == \g\l\a\n\c\e ]]
+ [[ tls-proxy == \n\e\u\t\r\o\n ]]
+ [[ tls-proxy == \s\w\i\f\t ]]
+ [[ tls-proxy == s-* ]]
+ return 1
+ screen_it key 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug'
+ SCREEN_NAME=stack
+ SERVICE_DIR=/opt/stack/status
++ trueorfalse True True
++ local default=True
++ local testval=True
++ [[ -z True ]]
++ [[ 0 no false False FALSE =~ True ]]
++ [[ 1 yes true True TRUE =~ True ]]
++ echo True
++ return
+ USE_SCREEN=True
+ is_service_enabled key
+ services=key
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,key, ]]
+ return 0
+ screen_rc key 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug'
+ SCREEN_NAME=stack
+ SCREENRC=/home/student/devstack/stack-screenrc
+ [[ ! -e /home/student/devstack/stack-screenrc ]]
+ grep key /home/student/devstack/stack-screenrc
++ echo -ne '\015'
+ NL=$'\r'
+ echo 'screen -t key bash'
+ echo 'stuff "cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --deb"'
+ [[ True = \T\r\u\e ]]
+ screen -S stack -X screen -t key
+ [[ -n ...