change manual in install-guide

fix commands for service endpoints creation
fix command for obtaining credentials

Change-Id: Ib39aa43c004d85e3201c7db8c1d3b9677fb2826a
This commit is contained in:
tikitavi 2017-03-28 12:23:21 +03:00
parent fb8640072c
commit 05c9ba210a
3 changed files with 11 additions and 8 deletions

View File

@ -22,7 +22,7 @@ To create the database manually, complete these steps:
* Grant proper access to the ``ec2api`` database:
.. code-block:: mysql
.. code-block:: console
GRANT ALL PRIVILEGES ON ec2api.* TO 'ec2api'@'localhost' \
IDENTIFIED BY 'EC2-API_DBPASS';

View File

@ -2,9 +2,12 @@ Create the ec2api service API endpoints:
.. code-block:: console
$ openstack endpoint create --region RegionOne \
ec2api public http://controller:XXXX/vY/%\(tenant_id\)s
$ openstack endpoint create --region RegionOne \
ec2api internal http://controller:XXXX/vY/%\(tenant_id\)s
$ openstack endpoint create --region RegionOne \
ec2api admin http://controller:XXXX/vY/%\(tenant_id\)s
$ openstack endpoint create --region RegionOne ec2api \
public http://controller:XXXX/
$ openstack endpoint create --region RegionOne ec2api \
admin http://controller:XXXX/
$ openstack endpoint create --region RegionOne ec2api \
internal http://controller:XXXX/
- where 'controller' is address of controller,
- and 'XXXX' is port your ec2api is installed on (8788 by default)

View File

@ -36,7 +36,7 @@ Verify operation of the ec2-api service.
Change the aws_access_key_id and aws_secret_acces_key above to the values
appropriate for your cloud (can be obtained by
**"keystone ec2-credentials-list"** command).
**"openstack ec2 credentials list"** command).
#. Run aws cli commands using new EC2 API endpoint URL (can be obtained from
keystone with the new port 8788) like this: