From aaff2ce6ba2b81d9bab528df0a58795d7e1eaf41 Mon Sep 17 00:00:00 2001 From: Felipe Monteiro Date: Sat, 13 Jan 2018 20:12:11 -0500 Subject: [PATCH] Fix typos in all-in-one code example and add auth info This PS simply fixes a few typos in an all-in-one code block example dedicated to setting up the gateway. It also adds additional information about how to set up auth information to use the python-openstackclient. Change-Id: Ie9cc63d3d435c474c3cbda90964f2eababa81139 --- doc/source/install/developer/all-in-one.rst | 20 +++++++++++++++++++ .../deployment/developer/16-setup-gateway.sh | 6 +++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/doc/source/install/developer/all-in-one.rst b/doc/source/install/developer/all-in-one.rst index 906221461d..d9302acde4 100644 --- a/doc/source/install/developer/all-in-one.rst +++ b/doc/source/install/developer/all-in-one.rst @@ -356,6 +356,26 @@ Alternatively, this step can be performed by running the script directly: ./tools/deployment/developer/19-use-it.sh +To run further commands from the CLI manually, execute the following to +set up authentication credentials:: + + export OS_CLOUD=openstack_helm + +Note that this command will only enable you to auth successfully using the +``python-openstackclient`` CLI. To use legacy clients like the +``python-novaclient`` from the CLI, reference the auth values in +``/etc/openstack/clouds.yaml`` and run:: + + export OS_USERNAME='admin' + export OS_PASSWORD='password' + export OS_PROJECT_NAME='admin' + export OS_PROJECT_DOMAIN_NAME='default' + export OS_USER_DOMAIN_NAME='default' + export OS_AUTH_URL='http://keystone.openstack.svc.cluster.local/v3' + +The example above uses the default values used by ``openstack-helm-infra``. + + Removing Helm Charts ==================== diff --git a/tools/deployment/developer/16-setup-gateway.sh b/tools/deployment/developer/16-setup-gateway.sh index 3bc56f8536..fb8307d346 100755 --- a/tools/deployment/developer/16-setup-gateway.sh +++ b/tools/deployment/developer/16-setup-gateway.sh @@ -21,9 +21,9 @@ OSH_EXT_SUBNET="172.24.4.0/24" sudo ip addr add ${OSH_BR_EX_ADDR} dev br-ex sudo ip link set br-ex up -# NOTE(portdirect): With Docker >= 1.13.1 the default the default FORWARD chain -# policy is configured to DROP, for the l3 agent to function as expected and -# VMs reach the outside world correctly this needs to be set to ACCEPT. +# NOTE(portdirect): With Docker >= 1.13.1 the default FORWARD chain policy is +# configured to DROP, for the l3 agent to function as expected and for +# VMs to reach the outside world correctly this needs to be set to ACCEPT. sudo iptables -P FORWARD ACCEPT # Setup masquerading on default route dev to public subnet