nova-compute-power
This page is a draft
Contents
Deploying Openstack Nova Compute on PowerKVM using Juju charms
It is possible to deploy Openstack nova-compute to PowerKVM on POWER8 using a Juju charm called nova compute power.
What is described in this page was extracted from the charm's page or was noted during a test deployment.
This was tested with PowerKVM 2.1.1 and Openstack Kilo.
Install Juju
On Ubuntu machine:
Set up the PowerKVM node
On PowerKVM:
To generate .ssh directory
Edit /etc/ssh/sshd_config
Check if line below is in the file:
PermitRootLogin yes
Then:
Download and configure the charm
On Ubuntu machine:
Before actually deploying the charm, one should configure it.
Edit nova-compute-power/config.yaml
Attention to the lines:
openstack-release: OpenStack release to use for configuration of POWER hypervisor. It is advisable to use the same version all across the services, so there will be no compatibility problems. In other words, use the same Openstack version here and on the controller node.
power-user: The user that will be used to install rpms on the PowerKVM machine
power-key: The name of the file that will contain the ssh key
power-repo: RPM repository of OpenStack packages to deploy to POWER hypervisors.
power-hosts: POWER hosts that will be managed; space delimited.
power-password: sudo password on POWER hypervisor
Deploy
1 $ juju deploy --repository=~/charms local:trusty/nova-compute-power
Doing so will create a log file (it might take a while) into /var/log/juju-local
The default file is /var/log/juju-local/unit-nova-compute-power-0.log
On the PowerKVM machine:
Keep in mind that it will probably be necessary to update the file /etc/nova/nova.conf.
The charm itself contains a file nova.conf within templates directory that might be worth updating. That way it would even be possible to deploy the charm without having to configure the compute node afterwards.
Of course, the above is valid for a local deployment. It is possible to set a non-local environment, such as Openstack or MAAS.
ppc64el/nova-compute-power (last edited 2016-06-03 14:18:54 by localhost)