openstack_dockers/nova_service
Wim Nap 4b13a2863a change in nova.conf to make changes to default security group 2018-07-25 11:56:07 +02:00
..
.gitignore Trying to adhere to python naming convention. 2018-04-23 15:55:16 +02:00
Dockerfile Trying to adhere to python naming convention. 2018-04-23 15:55:16 +02:00
README.md Trying to adhere to python naming convention. 2018-04-23 15:55:16 +02:00
bootstrap.sh Trying to adhere to python naming convention. 2018-04-23 15:55:16 +02:00
run.sh Trying to adhere to python naming convention. 2018-04-23 15:55:16 +02:00
write_conf.sh change in nova.conf to make changes to default security group 2018-07-25 11:56:07 +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.