HOS 2.1 Ceph Installation with Network Customisation (7-of-8)

2016-02-16

HOS 2.1 Ceph Installation with Network Customisation (7-of-8)

# Installation Verification

Once the installer has completed successfully, ansible sites.yml playbook completes without errors, and we have integrated ceph we can start verification and configuration.

Note: For anyone who suffers from OCD, yes this is a slightly different build than the environment that was used for the previous 1-6 blog posts – that has been rebuilt many times since I’ve had the chance to write this post. The process is the same.

Locate Login Account Details

cd ~/scratch/ansible/next/hos/ansible/group_vars/

# admin user
grep admin_pwd *

# demo user
grep demo_pwd *

# kibana user
grep kibana_p *

password details

Deployer /etc/hosts

update hlm alias

Verify Networking

ssh helion-cp1-c0-m1-mgmt

#IFS=$' ,\t\n'
while read ip name aliasname; do
    if [[ $ip != \#* ]] && [[ $ip != "" ]] ; then
                echo -n "Pinging hostname $name, $ip ..."
                ping -c2 "$name" &>/dev/null && echo success || echo fail
        fi
done < /etc/hosts

basic networking check

Configure Cinder Volume Type

source ~/service.osrc

cinder type-create ceph-standard

cinder type-key ceph-standard set volume_backend_name=another-fruity-ceph

cinder extra-specs-list

volumetypeCreate

source ~/service.osrc

cinder list

cinder create --volume_type ceph-standard --display_name allthingscloud.eu-volume 5

cinder show <volume-id>

cinder delete <volume-id>

cinder list

volumecreate

Configure the External Network (floating ips)

source ~/service.osrc

neutron net-create --shared --router:external ext-net

neutron subnet-create ext-net 172.16.62.0/24 --gateway 172.16.62.1 --allocation-pool start=172.16.62.150,end=172.16.62.200 --enable-dhcp

neutron net-external-list

ext-net

Add a private network

source demo-openrc.sh

neutron --insecure net-create private-demo-net

neutron --insecure subnet-create private-demo-net 192.168.100.0/24 --name private-demo-subnet --dns-nameserver 172.16.1.5 --gateway 192.168.100.1

neutron --insecure router-create demo-router

neutron --insecure router-interface-add demo-router private-demo-subnet

neutron --insecure router-gateway-set demo-router ext-net

Verify connectivity

ssh helion-cp1-c1-m1-mgmt

source service.osrc

ip netns

neutron router-port-list demo-router

ping -c 4 <external gateway ip address>

verifyExternalGateway

Upload a test image

cd ~/scratch/ansible/next/hos/ansible

ansible-playbook -i hosts/verb_hosts glance-cloud-configure.yml -e proxy="http://172.16.1.5:8080"

imageDownload

Tempest Verification Tests Setup

cd ~/scratch/ansible/next/hos/ansible

ansible-playbook -i hosts/verb_hosts cloud-client-setup.yml

source /etc/environment

TempestPrep

Run Tempest

cd ~/scratch/ansible/next/hos/ansible

ansible-playbook -i hosts/verb_hosts tempest-run.yml

Tempest Results

TempestResults

Access Horizon

grep vip-HZN-WEB /etc/hosts

HorizonIP

Horizon Portal

Access Operations Console

http://vip:9095

Operations Portal

ELK – Centralised Logging Access

http://vip:5601

ELKPortal

That’s it for now. The final blogpost in this series covers some of the errors encountered during the installation process.

Originally published on allthingscloud.eu (2016-02-16).

← All posts