kolla-ansible/ansible/roles/nova/tasks
xionglingfeng 17e6e629f5 Allow cinder-volume to be configured to use NFS
Allow cinder-volume, nova-compute and nova-libvirtd to be configured to
use NFS. In order to mount and work with NFS shares, several containers
needed the NFS packages installed during build time.

One somewhat significant change is the addition of an explicit bind
volume for nova-compute that has shared mounts enabled.

According to docker-run(1), the shared mount propagation flag can only
be specified for bind mounted Docker volumes and not named volumes.

In an NFS setup, cinder-volume mounts the NFS shares so that it can
create and manage the Cinder volumes. When a new instance is created
with a Cinder volume or a Cinder volume is attached to an existing
instance, nova-compute mounts the Cinder volume from the NFS share for
nova-libvirtd. In order for nova-libvirtd to then see those Cinder
volumes the shared mounts flag must be enabled for the Docker volume.

Remove the rpcbind container as it is only necessary for operators who
are using NFSv3 or lower. There is no known need for this currently
however, this container can be added in the future should an operator
require it.

Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Co-authored-by: Andrew Widdersheim <amwiddersheim@gmail.com>
Change-Id: Iad77c05bce8876bdcc69b7ec22edd50e3bf48b9f
Closes-Bug: #1530515
Partially implements: blueprint  nfs-support-in-cinder
2016-11-07 12:57:54 -05:00
..
bootstrap_service.yml Create the nova instances directory when need during starting 2016-08-20 17:30:13 +00:00
bootstrap.yml add support for non-default database_port in kolla/ansible 2016-05-13 12:12:25 +00:00
ceph.yml Enabled nova->glance snapshots 2016-03-18 14:55:32 +00:00
config-nova-fake.yml Make configurable the location where config files are merged 2016-05-23 03:23:06 -04:00
config.yml Custom policy files 2016-10-28 10:47:05 +01:00
deploy.yml External Ceph - Implementation Nova 2016-07-27 20:25:00 +00:00
external-ceph.yml External Ceph - Implementation Nova 2016-07-27 20:25:00 +00:00
main.yml Allow nova role to pull images 2016-01-06 04:23:28 +00:00
precheck.yml Move precheck into its own role 2016-11-03 14:48:58 +08:00
pull.yml Remove unecessary blank lines 2016-05-02 07:44:29 -04:00
reconfigure.yml Remove do_reconfigure.yml file for all roles 2016-09-27 15:04:00 +00:00
register.yml Enable the nova microversion api 2016-08-07 18:06:02 +08:00
reload.yml Remove novncproxy and spice from reload 2016-09-10 16:14:18 +00:00
start_compute.yml Allow cinder-volume to be configured to use NFS 2016-11-07 12:57:54 -05:00
start_conductors.yml map the host localtime to the container 2016-05-03 09:27:51 +08:00
start_controllers.yml map the host localtime to the container 2016-05-03 09:27:51 +08:00
start.yml Playbook for nova upgrade 2016-02-19 13:58:18 -06:00
upgrade.yml Added serial option to site.yml. 2016-09-13 09:26:51 +00:00