Skip to content

Commit a52298a

Browse files
authored
Merge branch '4.19' into scope-419
2 parents 88f78a6 + 7ecbace commit a52298a

22 files changed

+198
-581
lines changed
Loading
Loading
Loading

source/_static/images/plugin1.jpg

-32.2 KB
Binary file not shown.

source/_static/images/plugin2.jpg

-34.3 KB
Binary file not shown.

source/_static/images/plugin3.jpg

-41 KB
Binary file not shown.

source/_static/images/plugin4.png

-5.87 KB
Binary file not shown.
-1.46 KB
Binary file not shown.

source/adminguide/projects.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,17 @@ to add members in CloudStack, but only one way is enabled at a time:
288288
the UI.
289289

290290

291+
Working with Project Roles
292+
--------------------------
293+
CloudStack allows adding project members with a desired project role. A
294+
project role will be assigned to the member in addition to their base
295+
account role. Project Roles are retrictive in nature and can be used to
296+
further restrict certain API access to the members within the project.
297+
It is important to note that a project role cannot be used to elevate an
298+
existing user's permissions. Project roles can be created or managed
299+
using `Project roles` tab in the project details UI.
300+
301+
291302
Sending Project Membership Invitations
292303
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293304

source/adminguide/storage.rst

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ combinations:
222222
It is possible to use this functionality with other configurations but some
223223
manual intervention might be needed by the Administrator to make it work.
224224

225-
226225
Storage Tags
227226
~~~~~~~~~~~~
228227

@@ -275,6 +274,73 @@ templates, and ISOs.
275274
.. note::
276275
If files or folders are not associated with a cloudstack resource, it doesn't mean that they are not used by cloudstack.
277276

277+
278+
Setting NFS Mount Options on the Storage Pool
279+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280+
281+
NFS mount options can be added while creating an NFS storage pool for
282+
KVM hosts. When the storage pool is mounted on the KVM hypervisor host,
283+
these options will be used. Options currently tested and supported are
284+
`vers` and `nconnect`.
285+
286+
Although it depends on the NFS server, but commonly supported `vers` values
287+
are `3` for NFSv3 and minor versions `4.0, 4.1 and 4.2` for NFSv4.
288+
`nconnect` values can range from 1 to 16.
289+
290+
Administrator can give the NFS mount options while adding a Primary Storage
291+
from the Create Zone Wizard as well as the Add Primary Storage form.
292+
|nfs-mount-options-create-zone-wizard.png|
293+
|nfs-mount-options-add-primary-storage.png|
294+
295+
NFS mount options can be changed on a pre-existing Storage Pool in maintenance
296+
mode using the Edit Primary Storage form. Running VMs using volumes in the
297+
Storage Pool will either be stopped or the volumes would be migrated to other
298+
available pools upon enabling maintenance mode.
299+
Storage Pool will be unmounted and mounted again on the KVM hosts using the
300+
new options upon cancelling the maintenance mode.
301+
|nfs-mount-options-edit-primary-storage.png|
302+
303+
Mount failing due to an incorrect mount option
304+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
305+
Add Storage Pool will fail with the error ``An incorrect mount option was specified``.
306+
307+
In the Update storage pool case, cancel maintenance will throw the above error.
308+
The Administrator should set the correct mount option and cancel the maintenance mode again.
309+
310+
311+
Version Requirements
312+
^^^^^^^^^^^^^^^^^^^^
313+
This feature needs libvirt version 5.1.0 and above on the KVM hosts.
314+
315+
The `nconnect` mount option exists in all Linux distributions with kernel 5.3 or higher
316+
317+
A note on the `nconnect` option
318+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
319+
320+
This option defines the count of TCP connections that the client makes
321+
to the NFS server. The `nconnect` setting is applied only during the
322+
first mount process to the particular NFS server for a given NFS version.
323+
324+
If the same client executes the mount command again to the same NFS server using
325+
the same version, it will get the same `nconnect` value as the first mount.
326+
All mount point to the same server at a given version share the same number
327+
of TCP connections. To change the `nconnect` settings all the such mount points
328+
need to be unmounted and then mounted again with the new `nconnect` value.
329+
330+
So, from CloudStack’s perspective also, the first storage pool created from an
331+
NFS server will set the `nconnect` setting on the hypervisor host corresponding
332+
to the server. Specifying a different `nconnect` mount option while creating a
333+
new storage pool from the same server will not change the `nconnect` setting on the host.
334+
335+
Similarly if there is only one pre-existing storage pool from a give NFS server
336+
mounted on the host, modifying the `nconnect` mount option via CloudStack will
337+
change the `nconnect` setting on that host. If there are more than one storage pools
338+
from the same server mounted on a host. Changing the `nconnect` mount option on one
339+
of the storage pools via CloudStack will not do anything. To change the `nconnect`
340+
setting on the host, after modifying `nconnect` mount option on all storage pools,
341+
the host needs to be restarted.
342+
343+
278344
Secondary Storage
279345
-----------------
280346

@@ -1463,4 +1529,10 @@ Deleting objects from a bucket
14631529
:alt: Import Volume
14641530
.. |unmanage-volume.png| image:: /_static/images/unmanage-volume.png
14651531
:alt: Unmanage Volume
1532+
.. |nfs-mount-options-create-zone-wizard.png| image:: /_static/images/nfs-mount-options-create-zone-wizard.png
1533+
:alt: NFS mount options in create Zone wizard
1534+
.. |nfs-mount-options-add-primary-storage.png| image:: /_static/images/nfs-mount-options-add-primary-storage.png
1535+
:alt: NFS mount options in add Primary Storage
1536+
.. |nfs-mount-options-edit-primary-storage.png| image:: /_static/images/nfs-mount-options-edit-primary-storage.png
1537+
:alt: NFS mount options in edit Primary Storage
14661538

source/adminguide/templates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ hypervisor-specific.
444444

445445

446446
Adding an ISO
447-
---------------
447+
-------------
448448

449449
To make additional operating system or other software available for use
450450
with Guest Instances, you can add an ISO. The ISO is typically thought of as

source/adminguide/templates/_cloud_init.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ These features can be implemented in `“Linux Template creation process” <_cr
6262
datasource:
6363
CloudStack: {}
6464
None: {}
65+
66+
.. note::
67+
For the vm instances running on VMware or XenServer/XCP-ng hypervisors, if there are multiple cloud-init data sources, it is a known issue that ds-identify is not able to detect if "CloudStack" DataSource is enabled. To fix the problem, please run the following command to enable cloud-init without any aid from ds-identify.
68+
69+
.. code:: bash
70+
71+
echo "policy: enabled" > /etc/cloud/ds-identify.cfg
6572
6673
#. **Password management**
6774

source/adminguide/templates/_create_linux.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ An overview of the procedure is as follow:
3030
#. Upload your Linux ISO.
3131

3232
For more information, see `“Adding an
33-
ISO” <virtual_machines.html#adding-an-iso>`_.
33+
ISO” <templates.html#adding-an-iso>`_.
3434

3535
#. Create an Instance with this ISO.
3636

3737
For more information, see `“Creating
38-
VMs” <virtual_machines.html#creating-vms>`_.
38+
Instances” <virtual_machines.html#creating-instances>`_.
3939

4040
#. Prepare the Linux Instance
4141

4242
#. Create a Template from the Instance.
4343

4444
For more information, see `“Creating a Template from an Existing
45-
Instance” <#creating-a-template-from-an-existing-virtual-machine>`_.
45+
Instance” <#creating-a-template-from-an-existing-instance>`_.
4646

4747

4848
System preparation for Linux
@@ -114,25 +114,25 @@ templating of Centos and Ubuntu.
114114
115115
User password management and reset cappabilities in GUI are available with:
116116

117-
* `Cloud-init integration <_cloud_init.html#linux-with-cloud-init>`_
118-
* `Adding Password Management to Your Templates <_password.html#adding-password-management-to-templates>`_ /Legacy for non systemd systems only/
117+
* `Cloud-init integration <templates/_cloud_init.html#linux-with-cloud-init>`_
118+
* `Adding Password Management to Your Templates <templates.html#adding-password-management-to-templates>`_ /Legacy for non systemd systems only/
119119

120120
#. **SSH keys management**
121121

122122
Cloudstack can create key pair and push certificates to Instances. This feature is available with:
123123

124-
* `Cloud-init integration <_cloud_init.html#linux-with-cloud-init>`_
124+
* `Cloud-init integration <templates/_cloud_init.html#linux-with-cloud-init>`_
125125
* `Implementing a SSH-Key bash script <http://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines.html#creating-an-instance-template-that-supports-ssh-keys>`_
126126

127127
#. **Partition management**
128128

129129
Volumes can autorextend after reboot when partition is extended in the GUI.
130-
This feature is possible with `Cloud-init integration <_cloud_init.html#linux-with-cloud-init>`_.
130+
This feature is possible with `Cloud-init integration <templates/_cloud_init.html#linux-with-cloud-init>`_.
131131

132132
#. **User-data**
133133

134134
Cloudstack can push user-data during Instance creation.
135-
This feature is possible with `Cloud-init integration <_cloud_init.html#linux-with-cloud-init>`_.
135+
This feature is possible with `Cloud-init integration <templates/_cloud_init.html#linux-with-cloud-init>`_.
136136

137137
#. **Template cleanup**
138138

@@ -214,4 +214,4 @@ templating of Centos and Ubuntu.
214214

215215
You are now ready to create the Final Template, for more information see
216216
`“Creating a Template from an Existing Virtual
217-
Machine” <#creating-a-template-from-an-existing-virtual-machine>`_.
217+
Machine” <#creating-a-template-from-an-existing-instance>`_.

source/adminguide/templates/_create_windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ An overview of the procedure is as follows:
3838
#. Create an instance with this ISO.
3939

4040
For more information, see `“Creating
41-
instances” <virtual_machines.html#creating-vms>`_.
41+
instances” <virtual_machines.html#creating-instances>`_.
4242

4343
#. Follow the steps in Sysprep for Windows Server 2008 R2 (below) or
4444
Sysprep for Windows Server 2003 R2, depending on your version of

source/adminguide/virtual_machines/importing_unmanaging_vms.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,6 @@ those same credentials are later used for SSH authentication when the QCOW2 imag
437437
.. parsed-literal::
438438
- **zoneid** (Zone to which Instance will be imported)
439439
- **host** (the host name or IP address of External Host)
440-
- **username** (the username of External Host for authentication)
441-
- **password** (the password of External Host for authentication)
442440
443441
**Response**:
444442

source/adminguide/virtual_machines/user-data.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ Instance deployment automatically (:ref:`adding-password-management-to-templates
217217
218218
datasource_list: [ CloudStack, None ]
219219
220+
For more information, see `Cloud-init integration <templates/_cloud_init.html#linux-with-cloud-init>`_
221+
220222
Custom user-data example
221223
~~~~~~~~~~~~~~~~~~~~~~~~
222224

0 commit comments

Comments
 (0)