kolla/ansible
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
..
action_plugins Ansible2.0 changes: ansible_ssh_user to ansible_user 2016-10-20 17:09:22 +08:00
group_vars Allow cinder-volume to be configured to use NFS 2016-11-07 12:57:54 -05:00
inventory baremetal group defined in all-in-one 2016-11-03 14:51:11 +00:00
library Changed docker_restart_policy to unless-stopped 2016-09-26 04:32:28 -04:00
roles Allow cinder-volume to be configured to use NFS 2016-11-07 12:57:54 -05:00
bifrost.yml add bifrost deploy ansible support 2016-08-31 13:11:59 +00:00
certificates.yml Add Ansible scripts to generate TLS certificates for testing 2016-02-26 14:09:31 -05:00
destroy.yml Change cleanup to destroy as cleanup is a misnomer 2016-08-08 13:37:10 -04:00
kolla-host.yml add baremetal role to install kolla deps. 2016-08-10 16:03:08 +00:00
mariadb_recovery.yml MariaDB lights out recovery 2016-03-16 15:53:44 +00:00
post-deploy.yml Create openrc file on the deploy node 2015-11-23 17:02:54 -05:00
site.yml Merge "Add manila-data service" 2016-11-03 12:25:33 +00:00