Skip to content
Snippets Groups Projects

Cern newton allpatches

Merged Ricardo Rocha requested to merge cern-newton-allpatches into cern-newton
54 files
+ 872
900
Compare changes
  • Side-by-side
  • Inline
Files
54
+ 50
45
@@ -101,13 +101,15 @@ They are loosely grouped as: mandatory, infrastructure, COE specific.
@@ -101,13 +101,15 @@ They are loosely grouped as: mandatory, infrastructure, COE specific.
Mesos Ubuntu
Mesos Ubuntu
========== =====================
========== =====================
This is a mandatory parameter and there is no default value.
This is a mandatory parameter and there is no default value.
--keypair-id \<keypair-id\>
--keypair-id \<keypair-id\>
The name or UUID of the SSH keypair to configure in the cluster servers
The name or UUID of the SSH keypair to configure in the cluster servers
for ssh access. You will need the key to be able to ssh to the
for ssh access. You will need the key to be able to ssh to the
servers in the cluster. The login name is specific to the cluster
servers in the cluster. The login name is specific to the cluster
driver. This is a mandatory parameter and there is no default value.
driver. If keypair is not provided in template it will be required at
 
Cluster create. This value will be overridden by any keypair value that
 
is provided during Cluster create.
--external-network-id \<external-network-id\>
--external-network-id \<external-network-id\>
The name or network ID of a Neutron network to provide connectivity
The name or network ID of a Neutron network to provide connectivity
@@ -204,11 +206,11 @@ This is a mandatory parameter and there is no default value.
@@ -204,11 +206,11 @@ This is a mandatory parameter and there is no default value.
is 'None'.
is 'None'.
--docker-volume-size \<docker-volume-size\>
--docker-volume-size \<docker-volume-size\>
The size in GB for the local storage on each server for the Docker
If specified, container images will be stored in a cinder volume of the
daemon to cache the images and host the containers. Cinder volumes
specified size in GB. Each cluster node will have a volume attached of
provide the storage. The default is 25 GB. For the 'devicemapper'
the above size. If not specified, images will be stored in the compute
storage driver, the minimum value is 3GB. For the 'overlay' storage
instance's local disk. For the 'devicemapper' storage driver, the minimum
driver, the minimum value is 1GB.
value is 3GB. For the 'overlay' storage driver, the minimum value is 1GB.
--docker-storage-driver \<docker-storage-driver\>
--docker-storage-driver \<docker-storage-driver\>
The name of a driver to manage the storage for the images and the
The name of a driver to manage the storage for the images and the
@@ -353,8 +355,8 @@ Network
@@ -353,8 +355,8 @@ Network
needed.
needed.
Storage
Storage
Cinder provides the block storage that is used for both hosting the
Cinder provides the block storage that can be used to host the
containers as well as persistent storage for the containers.
containers and as persistent storage for the containers.
Security
Security
Barbican provides the storage of secrets such as certificates used
Barbican provides the storage of secrets such as certificates used
@@ -427,6 +429,15 @@ follows:
@@ -427,6 +429,15 @@ follows:
name will be generated using a string and a number, for example
name will be generated using a string and a number, for example
"gamma-7-cluster".
"gamma-7-cluster".
 
--keypair \<keypair\>
 
The name or UUID of the SSH keypair to configure in the cluster servers
 
for ssh access. You will need the key to be able to ssh to the
 
servers in the cluster. The login name is specific to the cluster
 
driver. If keypair is not provided it will attempt to use the value in
 
the ClusterTemplate. If the ClusterTemplate is also missing a keypair value
 
then an error will be returned. The keypair value provided here will
 
override the keypair value from the ClusterTemplate.
 
--node-count \<node-count\>
--node-count \<node-count\>
The number of servers that will serve as node in the cluster.
The number of servers that will serve as node in the cluster.
The default is 1.
The default is 1.
@@ -857,14 +868,8 @@ Volume driver (volume-driver)
@@ -857,14 +868,8 @@ Volume driver (volume-driver)
Storage driver (docker-storage-driver)
Storage driver (docker-storage-driver)
Specified in the ClusterTemplate to select the Docker storage driver. The
Specified in the ClusterTemplate to select the Docker storage driver. The
supported storage drivers are 'devicemapper' and 'overlay', with
supported storage drivers are 'devicemapper' and 'overlay', with
'devicemapper' being the default. You may get better performance with
'devicemapper' being the default. Refer to the `Storage`_ section for more
the overlay driver depending on your use patterns, with the requirement
details.
that SELinux must be disabled inside the containers, although it still runs
in enforcing mode on the cluster servers. Magnum will create a Cinder volume
for each node, mount it on the node and configure it as a logical
volume named 'docker'. The Docker daemon will run the selected device
driver to manage this logical volume and host the container writable
layer there. Refer to the `Storage`_ section for more details.
Image (image-id)
Image (image-id)
Specified in the ClusterTemplate to indicate the image to boot the servers.
Specified in the ClusterTemplate to indicate the image to boot the servers.
@@ -1002,15 +1007,8 @@ Volume driver (volume-driver)
@@ -1002,15 +1007,8 @@ Volume driver (volume-driver)
Storage driver (docker-storage-driver)
Storage driver (docker-storage-driver)
Specified in the ClusterTemplate to select the Docker storage driver. The
Specified in the ClusterTemplate to select the Docker storage driver. The
supported storage driver are 'devicemapper' and 'overlay', with
supported storage driver are 'devicemapper' and 'overlay', with
'devicemapper' being the default. You may get better performance with
'devicemapper' being the default. Refer to the `Storage`_ section for more
the 'overlay' driver depending on your use patterns, with the requirement
details.
that SELinux must be disabled inside the containers, although it still runs
in enforcing mode on the cluster servers. Magnum will create a Cinder volume
for each node and attach it as a device. Then depending on the driver,
additional configuration is performed to make the volume available to
the particular driver. For instance, 'devicemapper' uses LVM; therefore
Magnum will create physical volume and logical volume using the attached
device. Refer to the `Storage`_ section for more details.
Image (image-id)
Image (image-id)
Specified in the ClusterTemplate to indicate the image to boot the servers
Specified in the ClusterTemplate to indicate the image to boot the servers
@@ -1985,25 +1983,32 @@ configured in the Docker daemon through a number of storage options.
@@ -1985,25 +1983,32 @@ configured in the Docker daemon through a number of storage options.
When the container is removed, the storage allocated to the particular
When the container is removed, the storage allocated to the particular
container is also deleted.
container is also deleted.
To manage this space in a flexible manner independent of the Nova
Magnum can manage the containers' filesystem in two ways, storing them
instance flavor, Magnum creates a separate Cinder block volume for each
on the local disk of the compute instances or in a separate Cinder block
node in the cluster, mounts it to the node and configures it to be used as
volume for each node in the cluster, mounts it to the node and
ephemeral storage. Users can specify the size of the Cinder volume with
configures it to be used as ephemeral storage. Users can specify the
the ClusterTemplate attribute 'docker-volume-size'. The default size is 5GB.
size of the Cinder volume with the ClusterTemplate attribute
Currently the block size is fixed at cluster creation time, but future
'docker-volume-size'. Currently the block size is fixed at cluster
lifecycle operations may allow modifying the block size during the
creation time, but future lifecycle operations may allow modifying the
life of the cluster.
block size during the life of the cluster.
To use the Cinder block storage, there is a number of Docker
Both local disk and the Cinder block storage can be used with a number
storage drivers available. Only 'devicemapper' is supported as the
of Docker storage drivers available.
storage driver but other drivers such as 'OverlayFS' are being
considered. There are important trade-off between the choices
* 'devicemapper': When used with a dedicated Cinder volume it is
for the storage drivers that should be considered. For instance,
configured using direct-lvm and offers very good performance. If it's
'OperlayFS' may offer better performance, but it may not support
used with the compute instance's local disk uses a loopback device
the filesystem metadata needed to use SELinux, which is required
offering poor performance and it's not recommended for production
to support strong isolation between containers running in the same
environments. Using the 'devicemapper' driver does allow the use of
cluster. Using the 'devicemapper' driver does allow the use of SELinux.
SELinux.
 
* 'overlay' When used with a dedicated Cinder volume offers as good
 
or better performance than devicemapper. If used on the local disk of
 
the compute instance (especially with high IOPS drives) you can get
 
significant performance gains. However, for kernel versions less than
 
4.9, SELinux must be disabled inside the containers resulting in worse
 
container isolation, although it still runs in enforcing mode on the
 
cluster compute instances.
Persistent storage
Persistent storage
------------------
------------------
Loading