Applies to HPE Helion OpenStack 8

33 Other Common Post-Installation Tasks

33.1 Determining Your User Credentials

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

33.2 Configure your Cloud Lifecycle Manager to use the command-line tools

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

33.3 Protect home directory

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

ardana > chmod 0700 ~

33.4 Back up Your SSH Keys

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.

33.5 Retrieving Service Endpoints

  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 Book “Operations Guide”, Chapter 4 “Managing Identity”, Section 4.1 “The Identity Service”.

33.6 Other Common Post-Installation Tasks

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 28.4, “Creating an External Network”

  • Section 28.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 “HPE Helion OpenStack®: Service Admin Role Segregation in the Identity Service”

Print this page