Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@controller:~# apt-get install keystone
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- keystone is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- 1 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Do you want to continue [Y/n]? Y
- Setting up keystone (1:2013.2.3-0ubuntu1~cloud0) ...
- Traceback (most recent call last):
- File "/usr/bin/keystone-manage", line 51, in <module>
- cli.main(argv=sys.argv, config_files=config_files)
- File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 217, in main
- default_config_files=config_files)
- File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1632, in __call__
- else sys.argv[1:])
- File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2133, in _parse_cli_opts
- return self._parse_config_files()
- File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2147, in _parse_config_files
- ConfigParser._parse_file(config_file, namespace)
- File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1252, in _parse_file
- raise ConfigFileParseError(pe.filename, str(pe))
- oslo.config.cfg.ConfigFileParseError: Failed to parse /etc/keystone/keystone.conf: at /etc/keystone/keystone.conf:3, Unexpected continuation line: ' admin_token = 123456'
- dpkg: error processing keystone (--configure):
- subprocess installed post-installation script returned error exit status 1
- Errors were encountered while processing:
- keystone
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- root@controller:~# vim /etc/keystone/keystone.conf
- root@controller:~# apt-get install keystone
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- keystone is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- 1 not fully installed or removed.
- After this operation, 0 B of additional disk space will be used.
- Do you want to continue [Y/n]? Y
- Setting up keystone (1:2013.2.3-0ubuntu1~cloud0) ...
- keystone start/running, process 1490
- root@controller:~# vim /etc/keystone/keystone.conf
- root@controller:~# export SERVICE_ENDPOINT=http://controller:35357/v2.0
- root@controller:~# export SERVICE_TOKEN=123456
- root@controller:~# service keystone status
- keystone start/running, process 1490
- root@controller:~# keystone tenant-create --name=admin --description="Admin Tenant"
- Invalid OpenStack Identity credentials.
- root@controller:~# service keystone stop
- keystone stop/waiting
- root@controller:~# service keystone start
- keystone start/running, process 1516
- root@controller:~# keystone tenant-create --name=admin --description="Admin Tenant"
- +-------------+----------------------------------+
- | Property | Value |
- +-------------+----------------------------------+
- | description | Admin Tenant |
- | enabled | True |
- | id | 6f0a2e25312448959faae2170a49c145 |
- | name | admin |
- +-------------+----------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement