openstack_dockers/nova_service
Egon Rijpkema 75434ae097 lower cpu_allocation ratio from 16 to 4 2018-06-18 14:57:25 +02:00
..
Dockerfile Trying to adhere to python naming convention. 2018-04-23 15:52:21 +02:00
README.md Trying to adhere to python naming convention. 2018-04-23 15:52:21 +02:00
bootstrap.sh Trying to adhere to python naming convention. 2018-04-23 15:52:21 +02:00
run.sh Trying to adhere to python naming convention. 2018-04-23 15:52:21 +02:00
write_conf.sh lower cpu_allocation ratio from 16 to 4 2018-06-18 14:57:25 +02:00

README.md

ubuntu 16.04 openstack ocata nova controler node

How to build the docker image.

docker  build . -t="hpc/openstack-nova-service"

How to bootstrap the service.

Before we can take the container into service we need accounts in keystone. We also need an initial database. Both of these tasks are performed by the bootstrap script.

docker run --rm --it --add-host="controller:<keystone_ip>" hpc/novacontroler /etc/bootstrap.sh

How to run

docker run --rm --add-host="controller:<keystone_ip>" --privileged -p 8774:8774 -p 8778:8778 hpc/novacontroler /etc/run.sh

Where keystone_ip is the ip of the docker host where our keystone service is running.

Notes

This image is designed to be deployed from the hpc-cloud repo The -p option is added to the run command to make the container accessible from (containers on ) other hosts than the container host.