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:

Administrator

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

Demo

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 "127.0.0.1 localhost". The result will look like this:

...
# Localhost Information
127.0.0.1 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
    Tip
    Tip

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

To learn more about Keystone, see Book “Operations Guide”, Chapter 4 “Managing Identity”, Section 4.1 “The Identity Service”.

32.6 Other Common Post-Installation Tasks Edit source

Here are the links to other common post-installation tasks that either the Administrator or Demo users can perform:

  • Book “Operations Guide”, Chapter 5 “Managing Compute”, Section 5.4 “Enabling the Nova Resize and Migrate Features”

  • Section 27.4, “Creating an External Network”

  • Section 27.3, “Uploading an Image for Use”

  • Book “User Guide”, Chapter 8 “Creating a Private Network”

  • Book “Operations Guide”, Chapter 8 “Managing Object Storage”, Section 8.1 “Running the Swift Dispersion Report”

  • Book “Security Guide”, Chapter 4 “SUSE® OpenStack Cloud: Service Admin Role Segregation in the Identity Service”

Print this page