Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
Applies to SUSE OpenStack Cloud 8

32 Other Common Post-Installation Tasks Edit source

32.1 Determining Your User Credentials Edit source

On your Cloud Lifecycle Manager, in the ~/scratch/ansible/next/ardana/ansible/group_vars/ directory you will find several files. In the one labeled as first control plane node you can locate the user credentials for both the Administrator user (admin) and your Demo user (demo) which you will use to perform many other actions on your cloud.

For example, if you are using the Entry-scale KVM model and used the default naming scheme given in the example configuration files, you can use these commands on your Cloud Lifecycle Manager to grep for your user credentials:


ardana > grep keystone_admin_pwd entry-scale-kvm-control-plane-1


ardana > grep keystone_demo_pwd entry-scale-kvm-control-plane-1

32.2 Configure your Cloud Lifecycle Manager to use the command-line tools Edit source

This playbook will do a series of steps to update your environment variables for your cloud so you can use command-line clients.

Run the following command, which will replace /etc/hosts on the Cloud Lifecycle Manager:

ardana > cd ~/scratch/ansible/next/ardana/ansible
ardana > ansible-playbook -i hosts/verb_hosts cloud-client-setup.yml

As the /etc/hosts file no longer has entries for Cloud Lifecycle Manager, sudo commands may become a bit slower. To fix this issue, once this step is complete, add "ardana" after " localhost". The result will look like this:

# Localhost Information localhost ardana

32.3 Protect home directory Edit source

The home directory of the user that owns the SUSE OpenStack Cloud 8 scripts should not be world readable. Change the permissions so that they are only readable by the owner:

ardana > chmod 0700 ~

32.4 Back up Your SSH Keys Edit source

As part of the cloud deployment setup process, SSH keys to access the systems are generated and stored in ~/.ssh on your Cloud Lifecycle Manager.

These SSH keys allow access to the subsequently deployed systems and should be included in the list of content to be archived in any backup strategy.

32.5 Retrieving Service Endpoints Edit source

  1. Log in to your Cloud Lifecycle Manager.

  2. Source the keystone admin credentials:

    ardana > unset OS_TENANT_NAME
    ardana > source ~/keystone.osrc
  3. Using the OpenStack command-line tool you can then query the Keystone service for your endpoints:

    ardana > openstack endpoint list

    You can use openstack -h to access the client help file and a full list of commands.

To learn more about Keystone, see Section 4.1, “The Identity Service”.

Print this page