Successful HP Helion OpenStack Commercial Edition 1.01 Basic KVM Installation

2015-01-14

Successful HP Helion OpenStack Commercial Edition 1.01 Basic KVM Installation

Install HOS Commercial Edition 1.01 using 8 physical servers – Notes

Server Inventory

Role Serial Number ILO IP ILO Username ILO Password IP address CPU Memory Disk
Seed Host ILOCZJ43402GV 172.30.0.117 Administrator xxxx 172.16.120.2 20 262144 1116
Undercloud ILOCZJ43402GW 172.30.0.118 Administrator xxxx 20 262144 1116
Overcloud MC ILOCZJ43402H5 172.30.0.119 Administrator xxxx 20 262144 1116
Overcloud Ctrl1 ILOCZJ43402H0 172.30.0.120 Administrator xxxx 20 262144 1116
Overcloud Ctrl2 ILOCZJ43402GX 172.30.0.121 Administrator xxxx 20 262144 1116
Overcloud Swift1 ILOCZJ43402H2 172.30.0.122 Administrator xxxx 20 262144 1116
Overcloud Swift2 ILOCZJ43402H3 172.30.0.123 Administrator xxxx 20 262144 1116
Overcloud Compute ILOCZJ43402HC 172.30.0.124 Administrator xxxx 20 262144 1116

Networking

Networks

  1. Management 172.16.120.0/24 VLAN 120 (Untagged – Native)
  2. External (Public) 172.16.122.0/24 VLAN 122 (Tagged)
  3. Service 172.16.121.0/24 VLAN 121 (Tagged)
  4. IPMI (iLO) 172.30.0.0/24 (Untagged – Native)

Prerequisites

Assumption that the servers will have already been racked and stacked and wired in to the top of rack switches.

Hardware

iLO


Bios settings

Raid Controller

[ modify to taste – OpenStack recommends the avoidance of raid controllers to reduce cost and complexity. However enterprises tend to prefer redundancy to avoid mundane failures impacting production. ]

DiskSize.JPG

Start of installation Process

[Note: specific local lab environment settings proxy for ubuntu package repo]

e.g.

The primary network interface

auto em1

iface em1 inet static

address 172.16.120.2

netmask 255.255.255.0

network 172.16.120.0

broadcast 172.16.120.255

gateway 172.16.120.1

# dns-* options are implemented by the resolvconf package, if installed

dns-nameservers 172.16.120.1

Specify one or more NTP servers.

Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board

on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for

more information.

server 127.127.1.0

fudge 127.127.1.0 stratum 10

  • service ntp restart

–2015-01-09 14:52:32–  http://172.16.1.5/files/helion/enterprise/HP_Helion_OpenStack_1.0.1.tgz

Connecting to 172.16.1.5:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: 7440363802 (6.9G) [application/octet-stream]

Saving to: ‘HP_Helion_OpenStack_1.0.1.tgz’

100%[====================================>] 7,440,363,802  276MB/s   in 26s

2015-01-09 14:52:58 (277 MB/s) – ‘HP_Helion_OpenStack_1.0.1.tgz’ saved [7440363802/7440363802]

–2015-01-09 15:07:06–  http://172.16.1.5/files/helion/tools/

Connecting to 172.16.1.5:80… connected.

HTTP request sent, awaiting response… 200 OK

Length: unspecified [text/html]

Saving to: ‘index.html’

[ <=>                                   ] 414         –.-K/s   in 0s

2015-01-09 15:07:06 (19.8 MB/s) – ‘index.html’ saved [414]

Loading robots.txt; please ignore errors.

–2015-01-09 15:07:06–  http://172.16.1.5/robots.txt

Reusing existing connection to 172.16.1.5:80.

HTTP request sent, awaiting response… 404 Not Found

2015-01-09 15:07:06 ERROR 404: Not Found.

Removing index.html since it should be rejected.

–2015-01-09 15:07:06–  http://172.16.1.5/files/helion/tools/Create-Baremetal.py

Reusing existing connection to 172.16.1.5:80.

HTTP request sent, awaiting response… 200 OK

Length: 4829 (4.7K) [application/octet-stream]

Saving to: ‘Create-Baremetal.py’

100%[======================================>] 4,829       –.-K/s   in 0s

2015-01-09 15:07:06 (280 MB/s) – ‘Create-Baremetal.py’ saved [4829/4829]

–2015-01-09 15:07:06–  http://172.16.1.5/files/helion/tools/python-hpilo-2.8.tar

Reusing existing connection to 172.16.1.5:80.

HTTP request sent, awaiting response… 200 OK

Length: 204800 (200K) [application/octet-stream]

Saving to: ‘python-hpilo-2.8.tar’

100%[======================================>] 204,800     –.-K/s   in 0.001s

2015-01-09 15:07:06 (207 MB/s) – ‘python-hpilo-2.8.tar’ saved [204800/204800]

FINISHED –2015-01-09 15:07:06–

Total wall clock time: 0.006s

Downloaded: 3 files, 205K in 0.001s (205 MB/s)

root@headnode03r03:~/work# ls

Create-Baremetal.py  HP_Helion_OpenStack_1.0.1.tgz  python-hpilo-2.8.tar

[Update Note:I had to copy everything back to the root directory as there were issues with the installation script when I placed the files in the work directory]

help=’CSV with iLO IP, username, password’, default=’Helion-iLO.csv’

Seed Complete – now for undercloud and over cloud


Coming soon article for verifying installation

Errors

Problem :

=======

root@headnode03r03:~# source /root/work/tripleo/tripleo-incubator/scripts/hp_ced_load_config.sh /root/work/tripleo/configs/kvm-custom-ips.json
Error: Script has no access to write variables to environment.
You must run this using one of the following forms:
  source hp_ced_load_config.sh <config.json>
or
  . hp_ced_load_config.sh <config.json>

Solved : Ensure you’re in a bash shell - run bash and then run the command

=======================================================

Problem :

=======

root@headnode03r03:~# source /root/work/tripleo/tripleo-incubator/scripts/hp_ced_load_config.sh /root/work/tripleo/configs/kvm-custom-ips.json
Error: [Errno 2] No such file or directory: '/root/tripleo/hp_passthrough/overcloud_pre_installer.json'

Solved : Ensure the media is installed in the correct installed in the /root/ directory. Early documentation requests that the media is expanded into a /root/work/ directory. This is no longer correct.
root@headnode03r03:~# mv work/tripleo/ /root/

=============================================================

Problem :

=======

+ hp_ced_validate_ip validate -a 172.16.120.3 -n 172.16.120.0/24 -p down
Valid IP address: 172.16.120.3
Address (172.16.120.3) on network (172.16.120.0/24)
ERROR: Found pingable IP, cannot continue
Pingable IP: 172.16.120.3

Solved : All servers not switched off - ensure lab is reset correctly before starting

=============================================================

Problem :

=======

+ die 'Error: BRIDGE_INTERFACE:eth0 has no assigned IP address'
+ echo Error: BRIDGE_INTERFACE:eth0 has no assigned IP address
Error: BRIDGE_INTERFACE:eth0 has no assigned IP address
+ exit 1

Solved : The seed host was not reset cleanly after first attempt - need to remove the baremetal bridge - brbm and place ip address back on em1…

Deleted brbm
Added IP back to em1
Added default gw

=====================================================================

Originally published on allthingscloud.eu (2015-01-14).

← All posts