We deployed the Newton version of the Openstack.
We also deployed_ Zabbix 3.2 _for cluster management.
We followed the step-by-step installation guide available at: docs.openstack.org
There are some important tips for compute node installation that must be considered:
- NTP or Chrony MUST be installed on every compute node, otherwise services will not connect to controller node.
- Compute nodes include nova-compute and cinder-storage services. Follow the corresponding documentation (above link) to install them.
- Zabbix-agent should also be installed to allow monitoring the node resources. Installation guide is here: https://www.zabbix.com/documentation/3.2/manual/installation/install_from_packages
- Zabbix-agent must be introduced in the zabbix control panel at: 192.168.225.229.192/zabbix
- For Cinder-storage to work, we must make sure that hard drives are installed to the SATA ports in the same order as the other compute nodes. HDD for Cinder must be at /dev/sdb
- Configuring Cinder requires cresating LVM logical volumes for the cinder-storage agent (described in cinder docs)
- Hostnames of the nodes are "iustackxx" ; xx starts from 01
IP address of the hosts must statically be set in /etc/network/interfaces file:
- management IP: 10.254.254.1xx
- overlay IP: 172.17.254.1xx
- external IP: MANUAL
DO NOT FORGET to enable virtualization in BIOS setup!!
We recommand cloning compute node: "iustack02" and deploying it the new node using CLONEZILLA tool. Documentation is available in another article.
Horizon
Issue 1: TO REMOVE "CREATE NEW VOLUME" buttons when launching an instance (We only launch SSD instances, any additional storage will be attached to VMs through Cinder volume after the VM is built)
open the file located at:
/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js
It containes a function named: onBootToVolumeSupported
It checks if Cinder service is available, enables the section in horizon. I commented out the corresponding line of code.
Issue 2: Change to default rules of the default security groups to enable SSH to VMs whitout the need for project admins to enable it by hand.
There had been some efforts by Openstack developers on the issue but failed!!
There is no way to do it I'm afraid :(