kolla/docker
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
..
aodh Remove Fedora support 2016-11-03 10:50:22 +01:00
barbican Remove Fedora support 2016-11-03 10:50:22 +01:00
base remove override_install_langs option in /etc/yum.conf 2016-11-06 12:57:09 +00:00
bifrost Merge "Add kolla_ prefix for all sudoers files" 2016-11-04 15:46:11 +00:00
ceilometer Remove Fedora support 2016-11-03 10:50:22 +01:00
ceph Remove Fedora support 2016-11-03 10:50:22 +01:00
chrony Add chrony docker image 2016-11-04 07:19:11 +00:00
cinder Allow cinder-volume to be configured to use NFS 2016-11-07 12:57:54 -05:00
cloudkitty Add header blocks to all Dockerfiles 2016-09-13 16:53:31 +01:00
collectd Add validate no new line at end of file 2016-10-19 17:17:06 +00:00
congress Remove Fedora support 2016-11-03 10:50:22 +01:00
cron Remove Fedora support 2016-11-03 10:50:22 +01:00
designate Remove Fedora support 2016-11-03 10:50:22 +01:00
dind Remove Fedora support 2016-11-03 10:50:22 +01:00
elasticsearch Remove Fedora support 2016-11-03 10:50:22 +01:00
etcd Merge "Add kolla_ prefix for all sudoers files" 2016-11-04 15:46:11 +00:00
fluentd Remove Fedora support 2016-11-03 10:50:22 +01:00
freezer Add freezer container 2016-11-06 11:11:51 +08:00
glance Remove Fedora support 2016-11-03 10:50:22 +01:00
gnocchi Remove Fedora support 2016-11-03 10:50:22 +01:00
grafana change the mode for sudoers file 2016-11-04 21:35:56 +08:00
haproxy Add header blocks to all Dockerfiles 2016-09-13 16:53:31 +01:00
heat Remove Fedora support 2016-11-03 10:50:22 +01:00
heka Adding logrotate configuration for ceilometer 2016-11-06 06:40:48 +00:00
horizon Merge "Move to manage.py migrate in horizon" 2016-11-04 15:45:57 +00:00
influxdb Add header blocks to all Dockerfiles 2016-09-13 16:53:31 +01:00
ironic Remove Fedora support 2016-11-03 10:50:22 +01:00
iscsid Remove Fedora support 2016-11-03 10:50:22 +01:00
keepalived Remove Fedora support 2016-11-03 10:50:22 +01:00
keystone Merge "Remove Fedora support" 2016-11-04 13:39:07 +00:00
kibana Configure log path for kibana 2016-10-24 12:12:58 +00:00
kolla-toolbox Merge "Add kolla_ prefix for all sudoers files" 2016-11-04 15:46:11 +00:00
kubetoolbox Remove the unnecessary "if" condition 2016-10-22 00:20:18 +08:00
kuryr Add header blocks to Dockerfiles 2016-11-05 07:24:13 +08:00
magnum Remove Fedora support 2016-11-03 10:50:22 +01:00
manila Merge "Remove Fedora support" 2016-11-04 13:39:07 +00:00
mariadb Remove Fedora support 2016-11-03 10:50:22 +01:00
memcached Remove Fedora support 2016-11-03 10:50:22 +01:00
mistral Remove Fedora support 2016-11-03 10:50:22 +01:00
mongodb Remove Fedora support 2016-11-03 10:50:22 +01:00
multipathd Remove Fedora support 2016-11-03 10:50:22 +01:00
murano Remove Fedora support 2016-11-03 10:50:22 +01:00
neutron Merge "Add kolla_ prefix for all sudoers files" 2016-11-04 15:46:11 +00:00
nova Allow cinder-volume to be configured to use NFS 2016-11-07 12:57:54 -05:00
openstack-base Merge "Install MySQL-python with pip in openstack-base container (type source)" 2016-11-07 06:27:58 +00:00
openvswitch Remove Fedora support 2016-11-03 10:50:22 +01:00
rabbitmq Remove Fedora support 2016-11-03 10:50:22 +01:00
rally Remove Fedora support 2016-11-03 10:50:22 +01:00
sahara Remove Fedora support 2016-11-03 10:50:22 +01:00
searchlight Support Searchlight Docker container 2016-10-19 00:49:46 +00:00
senlin Add header blocks to all Dockerfiles 2016-09-13 16:53:31 +01:00
solum Add solum container 2016-11-04 21:59:50 +08:00
swift Remove Fedora support 2016-11-03 10:50:22 +01:00
telegraf Add header blocks to all Dockerfiles 2016-09-13 16:53:31 +01:00
tempest Remove Fedora support 2016-11-03 10:50:22 +01:00
tgtd Remove Fedora support 2016-11-03 10:50:22 +01:00
trove Remove Fedora support 2016-11-03 10:50:22 +01:00
vmtp change the mode for sudoers file 2016-11-04 21:35:56 +08:00
watcher Add header blocks to all Dockerfiles 2016-09-13 16:53:31 +01:00
zaqar Remove Fedora support 2016-11-03 10:50:22 +01:00
macros.j2 Remove Fedora support 2016-11-03 10:50:22 +01:00