nova-compute-power
Size: 2817
Comment:
|
← Revision 5 as of 2016-06-03 14:18:54 ⇥
Size: 2943
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#acl ibmpackagesTeamACL:read,write,revert,delete All:read |
|
Line 5: | Line 7: |
= Deploying Openstack on PowerKVM using Juju charms = | = Deploying Openstack Nova Compute on PowerKVM using Juju charms = |
Line 83: | Line 85: |
= Deploy = | |
Line 92: | Line 95: |
On the PowerKVM machine: | |
Line 93: | Line 97: |
= Deploy = | {{{#!highlight sh # systemctl restart openvswitch }}} |
Line 95: | Line 101: |
Currently, the most straightforward option is to use dput. <<BR>> If you created a PPA called myppa within the userid johndoe, then you must send it to that ppa, as in: |
Keep in mind that it will probably be necessary to update the file /etc/nova/nova.conf. |
Line 99: | Line 103: |
{{{#!highlight sh dput ppa:johndoe/myppa my_package_1.0-1ppa1_source.changes }}} <<BR>> Soon after the upload, you will receive an e-mail with the outcome of your upload, either if it was Rejected or Accepted. In case it was rejected, the justification will be in the body of the e-mail. |
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. |
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)